让大模型零成本用非文本数据做推理,不需训练就能跨模态思考。
Can LLMs Reason Over Non-Text Modalities in a Training-Free Manner? A Case Study with In-Context Representation Learning
- 用非文本模型的表示替代文本输入,实现零训练跨模态推理。
- 在分子领域任务中,零样本表现接近微调效果,支持多模态理解。
- 适合想快速接入图像、结构等非文本数据的AI研究者和开发者。
大语言模型(LLM)的卓越性能可通过测试时计算增强,依赖外部工具甚至其他深度学习模型。然而,现有将非文本模态表示集成到LLM的方法通常需要额外的昂贵监督训练,限制了对新领域和模态的即时适应。本文探索了在无需训练的情况下,将非文本基础模型(FM)的表示融入文本型LLM的可行性。提出上下文表示学习(ICRL)作为概念验证,使LLM能通过少样本学习自适应利用非文本模态表示。不同于传统上下文学习使用文本-标签对,ICRL以FM表示替换文本输入,使LLM在无微调情况下执行多模态推理。我们在分子领域任务上评估了ICRL,探讨三个核心问题:(i) 如何在无训练条件下将FM表示映射到LLM;(ii) 影响ICRL性能的关键因素;(iii) ICRL有效性的内在机制。据我们所知,ICRL是首个无需训练即可集成非文本模态表示到文本型LLM的框架,为可适配的多模态泛化提供了有前景的方向。
原文摘要 · Abstract (English)
The remarkable performance of Large Language Models (LLMs) can be enhanced with test-time computation, which relies on external tools and even other deep learning models. However, existing approaches for integrating non-text modality representations into LLMs typically require additional costly supervised training, restricting on-the-fly adaptation to new domains and modalities. In this work, we explore the feasibility of integrating representations from non-text foundational models (FMs) into text-based LLMs in a training-free manner. We propose In-Context Representation Learning (ICRL) as a proof-of-concept to allow LLMs to adaptively utilize non-text modality representations with few-shot learning. Unlike traditional in-context learning, which incorporates text-label pairs, ICRL replaces text inputs with FM representations, enabling the LLM to perform multi-modal inference without fine-tuning. We evaluate ICRL on a suite of tasks in the molecular domain, investigating three core research questions: (i) how to map FM representations into LLMs in a training-free manner, (ii) what factors influence ICRL performance, and (iii) what mechanisms underlie the effectiveness of ICRL. To the best of our knowledge, ICRL is the first training-free framework for integrating non-text modality representations into text-based LLMs, presenting a promising direction for adaptable, multi-modal generalization.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。