从图数据中检索对于用开放域知识和私有企业数据增强大语言模型(LLM)至关重要,并且它也是近期GraphRAG系统(Edge et al., 2024)的关键组成部分。尽管在知识图谱和知识库问答方面已有数十年的研究,主流的LLM框架(例如Langchain和LlamaIndex)对从现代百科全书式知识图谱(如Wikidata)中进行检索的支持仍然十分有限。在本文中,我们分析了其根本原因,并指出由于现代RDF知识图谱(例如Wikidata、Freebase)的模式过于庞大,远超典型LLM的上下文窗口,同时使用资源标识符、关系类型重叠且缺乏规范化,因此对LLM而言效率较低。作为解决方案,我们提出在底层RDF图之上构建属性图视图,使LLM能够使用Cypher高效地进行查询。我们在Wikidata上实例化了这一想法,并推出了CypherBench,这是首个包含11个大规模、多领域属性图的基准,拥有780万个实体和超过10,000个问题。为实现这一目标,我们解决了若干关键挑战,包括开发RDF到属性图的转换引擎、创建用于文本到Cypher任务生成的系统化流程,以及设计新的评估指标。
英文摘要:
Retrieval from graph data is crucial for augmenting large language models (LLM) with both open-domain knowledge and private enterprise data, and it is also a key component in the recent GraphRAG system (edge et al., 2024). Despite decades of research on knowledge graphs and knowledge base question answering, leading LLM frameworks (e.g. Langchain and LlamaIndex) have only minimal support for retrieval from modern encyclopedic knowledge graphs like Wikidata. In this paper, we analyze the root cause and suggest that modern RDF knowledge graphs (e.g. Wikidata, Freebase) are less efficient for LLMs due to overly large schemas that far exceed the typical LLM context window, use of resource identifiers, overlapping relation types and lack of normalization. As a solution, we propose property graph views on top of the underlying RDF graph that can be efficiently queried by LLMs using Cypher. We instantiated this idea on Wikidata and introduced CypherBench, the first benchmark with 11 large-scale, multi-domain property graphs with 7.8 million entities and over 10,000 questions. To achieve this, we tackled several key challenges, including developing an RDF-to-property graph conversion engine, creating a systematic pipeline for text-to-Cypher task generation, and designing new evaluation metrics.
Learning to Erase Private Knowledge from Multi-Documents for Retrieval-Augmented Large Language Models
Beijing Advanced Innovation Center for Future Blockchain and Privacy Computing(未来区块链与隐私计算北京先进创新中心);School of Artificial Intelligence, Beihang University, China(北京航空航天大学人工智能学院);Institute of Computing Technology, Chinese Academy of Sciences(中国科学院计算技术研究所);School of Computer Science and Engineering, Beihang University(北京航空航天大学计算机科学与工程学院);Institute of Artificial Intelligence, Beihang University(北京航空航天大学人工智能研究所);Beijing Academy of Blockchain and Edge Computing(北京区块链与边缘计算研究院)
On the Diminishing Returns of Complex Robust RAG Training in the Era of Powerful LLMs
State Key Laboratory of AI Safety, Institute of Computing Technology, Chinese Academy of Sciences(人工智能安全国家重点实验室,计算技术研究所,中国科学院);Tongyi Lab, Alibaba Group(通义实验室,阿里巴巴集团);Institute of Computing Technology(计算技术研究所)
ToolGen: Unified Tool Retrieval and Calling via Generation
LibrAI;Mohamed bin Zayed University of Artificial Intelligence(穆罕默德·本·扎耶德人工智能大学);Microsoft(微软公司);University of California, Los Angeles(加州大学洛杉矶分校);The University of Melbourne(墨尔本大学)
Gaoling School of Artificial Intelligence, Renmin University of China(中国人民大学高瓴人工智能学院);CAS Key Laboratory of AI Safety, Institute of Computing Technology, Chinese Academy of Sciences(中国科学院计算技术研究所人工智能安全重点实验室)
Robust Neural Information Retrieval: An Adversarial and Out-of-distribution Perspective
Institute of Computing Technology, Chinese Academy of Sciences(中国科学院计算技术研究所);University of Chinese Academy of Sciences(中国科学院大学);University of Amsterdam(阿姆斯特丹大学)
Retrieval Augmented Generation Evaluation in the Era of Large Language Models: A Comprehensive Survey
State Key Laboratory of Cognitive Intelligence, University of Science and Technology of China(认知智能国家重点实验室,中国科学技术大学);McGill University(麦吉尔大学);Tencent Company(腾讯公司);Artificial Intelligence Research Institute, iFLYTEK Co., Ltd(人工智能研究院,iFLYTEK公司)
Huazhong University of Science and Technology(华中科技大学);École Normale Supérieure (ENS) – Université Paris Sciences et Lettres (PSL)(巴黎高等师范学院(ENS)–巴黎文理研究大学(PSL));International School for Advanced Studies (SISSA)(国际高等研究学院(SISSA))
Enhancing Retrieval-Augmented Generation with Entity Linking for Educational Platforms
Department of Mathematics and Computer Science, University of Catania, Italy(卡塔尼亚大学数学与计算机科学系);Institute of Cognitive Sciences and Technologies (ISTC), National Research Council of Italy (CNR)(意大利国家研究委员会认知科学与技术研究所(ISTC))
A Survey of Generative Search and Recommendation in the Era of Large Language Models
The Hong Kong Polytechnic University(香港理工大学);National University of Singapore(新加坡国立大学);University of Science and Technology of China(中国科学技术大学);Chinese Academy of Sciences(中国科学院);Harbin Institute of Technology (Shenzhen)(哈尔滨工业大学(深圳))
RATE: An LLM-Powered Retrieval Augmented Generation Technology-Extraction Pipeline
Dept. of Management, Science and Technology(管理、科学与技术系);Amirkabir University of Technology(阿姆尔卡比尔科技大学);Dept. of Electrical Engineering(电气工程系);Sharif University of Technology(沙里夫科技大学)
Cocktail: A Comprehensive Information Retrieval Benchmark with LLM-Generated Documents Integration
Gaoling School of Artificial Intelligence, Renmin University of China(中国人民大学高瓴人工智能学院);Institute of Computing Technology, CAS(中国科学院计算技术研究所);Huawei Noah’s Ark Lab(华为诺亚方舟实验室)