arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2403.15729cs.CLcs.AIhep-exphysics.ins-det
收藏

面向电子-离子对撞机的基于RAG的摘要智能体研究

Towards a RAG-based Summarization Agent for the Electron-Ion Collider

College of William \& Mary Williamsburg, VA, USA

Karthik Suresh, Neeltje Kackar, Luke Schleck, Cristiano Fanelli

AI总结:

本文提出RAGS4EIC系统,通过结合向量数据库检索与大语言模型生成,为电子-离子对撞机实验信息提供带引用的摘要服务,并采用RAGAs评估和LangChain框架实现高效可扩展的部署。

摘要:

大规模实验所产生的文档、论文、数据及其他资源,其复杂性和庞大的信息量使得浏览这些信息需要耗费大量时间和精力,导致获取和利用这些多样化信息变得困难,尤其对于新合作者和早期职业科学家而言更是如此。为解决这一问题,一个基于检索增强生成(Retrieval Augmented Generation,RAG)的面向EIC的摘要人工智能系统(RAGS4EIC)正在开发中。该AI智能体不仅能够压缩信息,还能有效引用相关响应,为合作者提供显著优势。我们的项目采用两步方法:首先,查询一个包含所有相关实验信息的综合向量数据库;其次,利用大语言模型(Large Language Model,LLM)根据用户查询和检索到的数据生成带有引用的简明摘要。我们描述了使用RAG评估(RAGAs)评分机制来评估响应有效性的评估方法。此外,我们描述了基于提示模板的指令微调概念,该概念在摘要生成中提供了灵活性和准确性。重要的是,该实现依赖于LangChain,它作为我们整个工作流程的基础。这种集成确保了效率和可扩展性,有助于在电子-离子对撞机(Electron Ion Collider,EIC)社区内的各种用户群体中实现顺畅部署和可访问性。这一创新的AI驱动框架不仅简化了对海量数据集的理解,还鼓励协作参与,从而赋能研究人员。作为演示,我们开发了一个Web应用程序,用于详细解释RAG智能体开发的每个阶段。

英文摘要:

The complexity and sheer volume of information encompassing documents, papers, data, and other resources from large-scale experiments demand significant time and effort to navigate, making the task of accessing and utilizing these varied forms of information daunting, particularly for new collaborators and early-career scientists. To tackle this issue, a Retrieval Augmented Generation (RAG)--based Summarization AI for EIC (RAGS4EIC) is under development. This AI-Agent not only condenses information but also effectively references relevant responses, offering substantial advantages for collaborators. Our project involves a two-step approach: first, querying a comprehensive vector database containing all pertinent experiment information; second, utilizing a Large Language Model (LLM) to generate concise summaries enriched with citations based on user queries and retrieved data. We describe the evaluation methods that use RAG assessments (RAGAs) scoring mechanisms to assess the effectiveness of responses. Furthermore, we describe the concept of prompt template-based instruction-tuning which provides flexibility and accuracy in summarization. Importantly, the implementation relies on LangChain, which serves as the foundation of our entire workflow. This integration ensures efficiency and scalability, facilitating smooth deployment and accessibility for various user groups within the Electron Ion Collider (EIC) community. This innovative AI-driven framework not only simplifies the understanding of vast datasets but also encourages collaborative participation, thereby empowering researchers. As a demonstration, a web application has been developed to explain each stage of the RAG Agent development in detail.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑