Search arXivSearch

arXiv · 2607.24663

A corrective agentic hybrid RAG and an operations-grounded evaluation for a scientific facility

Abstract

Scientific user facilities accumulate decades of operational knowledge that no single search index covers: electronic logbooks, technical documents, internal wikis, operations chat messages, maintenance records, and live control-system data. We present APS-RAG, Advanced Photon Source Retrieval Augmented Generation, a deployed platform that makes the institutional knowledge at the Advanced Photon Source (APS) accessible to staff through natural-language queries, along with an operations-grounded evaluation. The retrieval engine fuses dense, sparse, and knowledge-graph (KG) channels with query-type-adaptive reciprocal-rank fusion, adds a corrective agentic loop, and runs a native-tool ReAct executor over a Model Context Protocol (MCP) tooling layer. We construct APS-Bench, a 50-question, question-answering (QA) dataset with auditable gold answers. Every retrieval-augmented variant numerically improves strict vital-nugget recall over a naive BM25 baseline (63.8%), with the full corrective Agentic GraphRAG scoring (70.3%). The cross-encoder reranker contributes significantly to answer quality: removing it and allowing the LLM to score relevance drastically reduces strict vital recall by 32.8%. The graph channel and corrective loop contribute positively as expected, but the performance gains are marginal. Additionally, we also compare the performance of open-source and closed-source LLMs in final answer synthesis. We release the APS-Bench construction methodology, the six-layer evaluation harness, and the underlying codebase, along with the '/aps-rag' retrieval agent skill framework, to support reproduction and adoption at other facilities. Together, the deployed platform and its operations-grounded evaluation present a promising workflow for trustworthy, statistically grounded AI assistance in facility operations, transferable to other large scientific instruments.

Explore related subjects

Keep this discovery

Explore connections, maps & timelines

BibTeXRIS

Rajat Sainju, Dariusz Jarosz, Hairong Shang, Michael Prince, Ryan M. Aydelott, Mathew J. Cherukara, Yine Sun, Michael D. Borland. 2026-07-27. A corrective agentic hybrid RAG and an operations-grounded evaluation for a scientific facility. https://arxiv.org/abs/2607.24663

Cite the original work for its findings. Save a collection to share your selection of sources.

KEEP EXPLORING

Related papers

High-power attosecond X-ray free-electron lasers: physics and design strategy

Attosecond pulses from X-ray free-electron laser (XFEL) have opened new opportunities for probing ultrafast electronic dynamics on the Angstrom--attosecond spatiotemporal scale. Most attosecond XFEL concepts rely on generating an ultrashort high-current spike through either external laser modulation or accelerator-based beam manipulation. Despite their different implementations, these approaches share the same essential physics, namely that the XFEL amplification is confined to a short effective lasing window within the electron beam. However, existing studies are often scheme-specific and do not yet provide a unified quantitative picture of how fundamental electron-beam properties constrain high-power attosecond performance. In this work, we investigate the general physics and scheme-independent requirements for generating high-power attosecond X-ray pulses from a short current spike. From the perspective of post-saturation superradiant evolution, we show that the effective lasing length of the electron beam governs both the attainable peak power and the pulse duration. We further examine the distinct roles of slice energy spread, slice emittance, energy chirp, undulator tapering, and transverse beam tilt. Our results reveal the trade-off between peak power, pulse shortening, and single-spike probability, and provide facility-independent guidelines for optimizing electron-beam phase-space manipulation toward terawatt-class attosecond XFEL operation.

physics.acc-ph

Realizing A Hard X-Ray Storage Ring Free Electron Laser Oscillator at the APS-U

We show that the APS-U could support a hard X-ray storage ring free electron laser oscillator, providing a promising avenue toward high repetition rate, narrow bandwidth coherent light sources. The results of our numerical simulations demonstrate that a transverse gradient undulator yields ~8% and ~6% single-pass gain at 8.05 keV and 10 keV respectively. We further identify a configuration at 5 keV that does not require a TGU but still exceeds a 5% gain threshold despite the relatively short 5-meter long insertion device. All cases presented retain spectral purity on the order of meV and reach a steady-state output whose equilibrium is consistent with the Renieri Saturation Limit. We have calculated the 5 keV case to have an average brightness of ~10^26 photons/(s * mm2 * mrad2 * 0.1% BW), representing an increase in more than four orders of magnitude from the standard APS-U undulator. These results indicate that a storage ring free electron laser oscillator at multi-keV photon energies is feasible with nominal APS-U parameters and standard x-ray cavity optics.

physics.acc-ph

Bayesian Optimization of The Relativistic Heavy Ion Collider Luminosity via $s^*$ Control

Maximizing luminosity at the interaction point (IP) requires the collision location $s_{IP}$ to coincide with the longitudinal position of the minimum beta function, $s^$. Accurate optics measurements and control of $s^$ are therefore essential for luminosity optimization. At the Relativistic Heavy Ion Collider (RHIC), average horizontal beta-beat measurements between operating IPs are approximately $20%$, with significant variation in measured $s^*$. Precise control of the beam waist position $s^$ is particularly challenging for modern high-energy colliders with short bunch lengths and large crossing angles. We present an online Bayesian optimization (BO) application using the GPTune framework to optimize sPHENIX luminosity through $s^$ control at RHIC. GPTune was first validated at the RHIC Electron Beam Ion Source (EBIS), where it achieved up to a $70%$ increase in beam intensity over the baseline, although experienced operators could reach similar performance with longer manual tuning. The framework was subsequently deployed during sPHENIX operations. Using an intensity-normalized Zero-Degree Calorimeter (ZDC) signal as the optimization objective, due to the unavailability of the live sPHENIX MVTX signal, GPTune identified local luminosity maxima, recovered from intentionally degraded $s^$ configurations, and revealed residual horizontal and vertical waist offsets in the interaction region. These results demonstrate the robustness and efficiency of Bayesian optimization for real-time collider tuning under noisy, time-varying conditions. The $s^$ control methodology provides a promising tool for precision luminosity optimization and is particularly relevant to next-generation short-bunch colliders such as the Electron-Ion Collider (EIC).

physics.acc-ph