English

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

Computation and Language 2024-06-11 v3 Artificial Intelligence High Energy Physics - Experiment Instrumentation and Detectors

Abstract

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.

Keywords

Cite

@article{arxiv.2403.15729,
  title  = {Towards a RAG-based Summarization Agent for the Electron-Ion Collider},
  author = {Karthik Suresh and Neeltje Kackar and Luke Schleck and Cristiano Fanelli},
  journal= {arXiv preprint arXiv:2403.15729},
  year   = {2024}
}

Comments

updated title to have no latex formatting and added acknowledgements

R2 v1 2026-06-28T15:30:51.904Z