We propose a simple, unsupervised method that injects pragmatic principles in retrieval-augmented generation (RAG) frameworks such as Dense Passage Retrieval to enhance the utility of retrieved contexts. Our approach first identifies which sentences in a pool of documents retrieved by RAG are most relevant to the question at hand, cover all the topics addressed in the input question and no more, and then highlights these sentences within their context, before they are provided to the LLM, without truncating or altering the context in any other way. We show that this simple idea brings consistent improvements in experiments on three question answering tasks (ARC-Challenge, PubHealth and PopQA) using five different LLMs. It notably enhances relative accuracy by up to 19.7% on PubHealth and 10% on ARC-Challenge compared to a conventional RAG system.
FACTOID: FACtual enTailment fOr hallucInation Detection
AI Institute, University of South Carolina(南卡罗来纳大学AI学院);Islamic University of Technology(伊斯兰技术大学);National Institute of Technology, Silchar(锡尔卡尔国家理工学院);Indira Gandhi Delhi Technical University for Women(英迪拉·甘地德里女子技术大学);Stanford University(斯坦福大学);Amazon AI(亚马逊人工智能)
Say What You Mean: Natural Language Access Control with Large Language Models for Internet of Things
School of Computer Science and Technology, Shandong University(山东大学计算机科学与技术学院);School of Computer Science, Nanjing University(南京大学计算机科学学院);Institute of Artificial Intelligence, Beijing Advanced Innovation Center for Future Blockchain and Privacy Computing, Beihang University(北京航空航天大学人工智能研究院);Zhongguancun Laboratory, Beijing, China(中关村实验室,北京,中国)