As language models continue to scale, Large Language Models (LLMs) have exhibited emerging capabilities in In-Context Learning (ICL), enabling them to solve language tasks by prefixing a few in-context demonstrations (ICDs) as context. Inspired by these advancements, researchers have extended these techniques to develop Large Multimodal Models (LMMs) with ICL capabilities. However, applying ICL usually faces two major challenges: 1) using more ICDs will largely increase the inference time and 2) the performance is sensitive to the selection of ICDs. These challenges are further exacerbated in LMMs due to the integration of multiple data types and the combinational complexity of multimodal ICDs. Recently, to address these challenges, some NLP studies introduce non-learnable In-Context Vectors (ICVs) which extract useful task information from ICDs into a single vector and then insert it into the LLM to help solve the corresponding task. However, although useful in simple NLP tasks, these non-learnable methods fail to handle complex multimodal tasks like Visual Question Answering (VQA). In this study, we propose Learnable In-Context VEctor (LIVE) to distill essential task information from demonstrations, improving ICL performance in LMMs. Experiments show that LIVE can significantly reduce computational costs while enhancing accuracy in VQA tasks compared to traditional ICL and other non-learnable ICV methods. The code is available at \url{https://github.com/ForJadeForest/LIVE-Learnable-In-Context-Vector}.
LiveQA: A Question Answering Dataset over Sports Live
Key Laboratory of Computational Linguistics, MOE, Peking University(北京大学计算语言学教育部重点实验室);Graduate School of Informatics, Kyoto University(京都大学信息学研究生院);University of Washington(华盛顿大学)
Which Client is Reliable?: A Reliable and Personalized Prompt-based Federated Learning for Medical Image Question Answering
Graduate School of Information Science and Technology, Hokkaido University(北海道大学信息科学与技术研究院);Faculty of Information Science and Technology, Hokkaido University(北海道大学信息科学与技术学院)
Integrating UMLS Knowledge into Large Language Models for Medical Question Answering
National University of Singapore(新加坡国立大学);Duke-NUS Medical School(杜克-新加坡国立大学医学院);University of Tokyo(东京大学);National Institute of Advanced Industrial Science and Technology(日本产业技术综合研究所);Singapore General Hospital(新加坡中央医院);Zhejiang Lab(之江实验室);National Institutes of Health(美国国立卫生研究院);Yale University(耶鲁大学)
LiveSearchBench: An Automatically Constructed Benchmark for Retrieval and Reasoning over Dynamic Knowledge
University of Science and Technology of China(中国科学技术大学);Shanghai AI Laboratory(上海人工智能实验室);Shanghai Jiao Tong University(上海交通大学);London School of Economics(伦敦经济学院);BUPT(北京邮电大学);Harbin Institute of Technology(哈尔滨工业大学);SUTD(新加坡科技设计大学);University of Oxford(牛津大学)
Independent Researcher(独立研究员);School of Computer Science, The University of Sydney, Australia(悉尼大学计算机科学学院);College of Computing & Data Science, Nanyang Technological University, Singapore(南洋理工大学计算与数据科学学院)
TableQuery: Querying tabular data with natural language
Saama(萨玛);Activeloop(活跃循环);Oregon State University(俄勒冈州立大学)
本文介绍了TableQuery,这是一种使用预训练的深度学习模型来查询表格数据的新工具,用于回答自由文本的问题。针对表格数据的问答的现有深度学习方法具有各种局限性,例如必须将整个表格作为输入馈送到神经网络模型中,这使得它们不适合大多数现实世界的应用。由于真实世界的数据可能包含数百万行,因此可能无法完全放入内存中。此外,数据可以存储在实时更新的实时数据库中,并且每次更新时将整个数据库串行化为神经网络友好格式是不切实际的。在TableQuery中,我们使用针对自由文本问答预先训练的深度学习模型,将自然语言查询转换为结构化查询,可以针对数据库或电子表格运行。这种方法消除了将整个数据装入内存以及序列化数据库的需要。此外,针对自由文本问答预训练的深度学习模型可以在HuggingFace Model Hub(7)等平台上轻松获得。TableQuery不需要重新训练;当新训练的问答模型具有更好的性能时,它可以替换TableQuery中的现有模型。
Two-Layer Retrieval-Augmented Generation Framework for Low-Resource Medical Question Answering Using Reddit Data: Proof-of-Concept Study
Emory University(埃默里大学);Georgia Institute of Technology(佐治亚理工学院);Weill Cornell Medicine(威尔康奈尔医学院);Morehouse School of Medicine(莫尔豪斯医学院);University of Pennsylvania(宾夕法尼亚大学);Brown University(布朗大学);Icahn School of Medicine at Mount Sinai(西奈山伊坎医学院);Rutgers New Jersey Medical School(罗格斯新泽西医学院)