장기 대화 에이전트는 세션을 초월하여 복잡한 상관관계를 지닌 다중 유형의 정보를 기억하고 질의할 수 있어야 한다. 기존 에이전트 메모리 시스템은 이기종 벡터 데이터베이스와 그래프 데이터베이스에 의존하여 메모리 정보를 단편화하고 높은 데이터베이스 간 I/O 지연을 초래한다. 검색 측면에서는 일반적인 검색-증강 생성(RAG) 방식의 방법들이 노이즈를 유발하고 상관 단서를 놓치며 토큰 예산 제어가 부족하여 대규모 언어 모델(LLM)의 정확도와 효율성을 저하시키는 경향이 있다. 우리는 단편화된 메모리 표현과 저장소를 통합된 메모리 네이티브 아키텍처로 통합하는 응집형 메모리 시스템인 Mandol을 제안한다. 핵심 구성 요소는 다음과 같다: (1) 메모리를 원시 메모리 정보를 나타내는 기본 층과 기본 메모리들을 추적 가능한 추상 메모리로 응집하는 고수준 추상 층으로 구성하는 계층적 메모리 모델로, 두 층 모두 구조화된 시맨틱 그래프로 균일하게 표현된다; (2) SemanticMap과 SemanticGraph를 결합한 응집형 시맨틱 데이터 구조로, 키-값, 벡터, 그래프 구조를 기본적으로 융합하고 데이터베이스 간 I/O를 제거하는 통합 하이브리드 검색 연산자를 제공한다; (3) 질의 적응형 라우팅, 정량적 노이즈 제거 및 충돌 해결, 토큰 제한 컨텍스트 생성을 갖춘 정량적 질의 메커니즘으로, 검색 시 LLM을 일절 사용하지 않는다. 널리 사용되는 두 장기 대화 벤치마크인 LoCoMo와 LongMemEval에서의 실험 결과, Mandol은 대표적인 에이전트 메모리 시스템들 중 최고의 전체 정확도를 달성한다. 성능 비교 측면에서 Mandol은 10 QPS 동시 부하 환경에서 5.4배의 검색 속도 향상과 4.8배의 삽입 속도 향상을 달성하면서도 소비자급 하드웨어에서 낮은 지연 시간을 유지한다.
통신 질의응답(QA)은 검색-증강 생성(RAG)에 있어 까다로운 환경이다: 증거가 표준, 논문, 백과사전적 자료, 웹 문서에 분산되어 있으며, 답변은 기술적 표, 방정식, 전문 프로토콜 언어에 크게 의존하는 경우가 많다. 저자원 하위 도메인에서는 생성기 미세조정이 과도하게 특화되어 일반적 능력을 저하시킬 수 있으므로, 쿼리 측 검색기 적응이 매력적인 대안이 된다. 이에 우리는 고정된 생성기와 쿼리 적응형 RAG 시스템이 생성기 측 적응을 능가할 수 있는지, 그리고 해당 환경에서 어떤 검색기 목적 함수가 가장 적합한지를 탐구한다. 우리는 제한된 매개변수 및 소프트 검색 가정 하에서, 쿼리 인코더 튜닝의 유효 차원이 더 작을 때 지도 미세조정보다 추정 항이 더 작아질 수 있음을 보임으로써, 생성기 미세조정이 아닌 검색을 적응 대상으로 삼는 것을 이론적으로 동기화한다. 특히 관련성이 높은 두 가지 목적 함수를 식별한다 -- 생성 유용성을 최적화하는 잠재 문서 RAG 가능도와, 의미론적 검색 기하 구조를 개선하는 InfoNCE 대조 목적 함수 -- 그리고 이를 통신 도메인의 다운스트림 QA 성능을 목표로 하는 검색기 최적화 방법을 통해 결합하여 활용한다. 구체적으로, 우리는 ARMOR(Adaptive Regularized Mixture Optimization for Retrievers)를 소개하는데, 이 방법은 RAG 검색 분포와 InfoNCE 소프트맥스에 대해 별도의 온도를 학습하고, 적응된 쿼리 인코더를 고정된 기본 쿼리 인코더 방향으로 정규화한다. 통신 특화 검색 및 생성형 QA 벤치마크에 걸쳐, ARMOR가 여러 도메인 내 설정에서 증거 검색과 답변 생성을 개선함을 보인다. 코드는 https://github.com/heshandevaka/ARMOR.git에서 이용 가능하다.
어휘 기반, 의미 기반, 멀티모달 접근 방식을 포함한 다양한 검색기는 멀티모달 문서 이해에 있어 상호 보완적인 강점을 제공하지만, 대부분의 시스템은 개별 추론 단계의 요구에 적응할 수 없는 고정된 파이프라인을 통해 이들을 결합한다. 본 연구에서는 검색 오케스트레이션 자체를 추론 과정의 일부로 학습할 수 있는지를 묻는다. 우리는 메타 에이전트가 다단계 문서 질의응답 과정에서 도구를 사용하는 태스크 에이전트가 다양한 검색기를 어떻게 조율해야 하는지를 자율적으로 탐색하는 실패 기반 진화 프레임워크를 제안한다. 메타 에이전트는 잘못된 추론 궤적을 분석하고, 동일한 도구 환경을 능동적으로 탐색하여 근본 원인을 진단하며, 태스크 에이전트의 지침을 반복적으로 재작성함으로써 검색을 고정된 전처리 단계에서 적응적이고 단계적인 추론 결정으로 전환한다. 진화된 에이전트는 각 검색기를 언제 호출할지, 이들을 어떻게 결합할지, 그리고 여러 모달리티와 페이지에 걸쳐 증거를 어떻게 구성할지를 학습한다. MMLongBench-Doc과 DocBench에서 진화된 에이전트는 진화되지 않은 기준선 대비 최대 +19.6포인트의 성능 향상을 달성하며, MACT, MDocAgent, SimpleDoc을 포함한 최신 시스템들을 일관되게 능가한다. 상세한 검색 분석을 통해 이러한 개선이 고정된 검색 방식에 대한 의존이 아닌 적응적 라우팅과 증거 구성에서 비롯됨을 확인하였으며, 진화 역학은 좁은 어휘 기반 동작에서 풍부한 다중 도구 조율로의 점진적 전환을 보여준다. 이러한 결과는 자율적 다중 에이전트 조율이 멀티모달 문서 추론을 위한 유망한 패러다임임을 확립한다.
검색-증강 생성(RAG)은 대규모 언어 모델(LLM)을 외부 지식에 그라운딩하는 표준적인 방법으로 자리잡았지만, 대부분의 시스템은 질문의 난이도에 관계없이 모든 질문에 대해 고정된 수의 패시지를 검색한다. 이는 쉬운 질문에 불필요한 연산을 낭비하고 어려운 질문에는 충분한 정보를 제공하지 못하며, 생성된 답변을 신뢰할 수 있는지에 대한 신호를 전혀 제공하지 않는다. 질의응답 시스템 중 상당수가 상용 언어 모델 API 위에 구축되는 추세 속에서, 기반 모델을 재학습하지 않고도 검색량과 자체 답변에 대한 신뢰 수준을 결정할 수 있는 방법은 실질적인 가치가 명확하다. 본 논문은 AB-RAG(Adaptive Budgeted Retrieval-Augmented Generation)를 제안한다. AB-RAG는 학습이 필요 없고 백본에 구애받지 않는 프레임워크로, 답변을 생성한 뒤 세 가지 신호의 조합으로 신뢰도를 추정하고, 고정된 검색 예산 내에서 중단 여부 또는 추가 근거 검색 여부를 결정한다. 추정기는 모델 자체의 확신도, 답변과 근거 간의 일치도, 검색 점수의 분산을 결합한다. 토큰 확률을 노출하는 모델의 경우 확신도 신호를 직접 읽고, 폐쇄형 API의 경우 자기일관성(self-consistency)으로 근사하므로 모델 내부에 접근하지 않아도 동작한다. 세 가지 백본과 두 개의 데이터셋에 걸친 실험에서 핵심 결과는, 신뢰도 추정치가 모든 백본에서 정답과 오답을 신뢰성 있게 구분한다는 것이다. 사실형 데이터셋에서 고신뢰도와 저신뢰도 답변 간 정확 일치(Exact Match) 점수가 57.6% 대 0%의 뚜렷한 분리를 달성하였다. 적응형 정책은 성능이 우수한 백본에서 정확도를 향상시키며, 본 연구는 짧은 답변에 부적합한 것으로 판명된 신뢰도 신호, 그리고 측정을 통해 부호가 발견되고 수정된 검색 신호를 포함한 부정적·복합적 결과도 솔직하게 보고한다. 연구 전체는 단일 소비자용 노트북에서 소수의 달러에 불과한 API 비용으로 수행되었다.
본 논문에서는 멀티턴 검색-증강 생성(RAG) 시스템을 평가하는 SemEval-2026 Task 8(MTRAGEval)을 위한 시스템 5ting을 소개한다. 멀티턴 RAG는 문맥 이탈(context drift), 불충분한 명세(under-specification), 환각(hallucination) 위험을 수반한다. 본 시스템은 FAISS 인덱싱을 활용한 BGE-M3 밀집 검색, 이중 쿼리 병합 검색, LLM 기반 재순위화(reranking)를 결합하고, 검색된 증거에 제한된 역할 분리 생성(role-separated generation)을 후속 단계로 적용한다. 검색기는 Task A에서 nDCG@5 = 0.4719를 달성하였으며, 엔드-투-엔드 시스템은 Task C에서 조화 점수(harmonic score) 0.5597, RL_F = 0.7692로 순위에 올랐다.
멀티턴 검색-증강 생성(RAG)은 변화하는 사용자 의도, 대화 노이즈, 엄격한 컨텍스트 제한으로 인해 도전적인 과제이다. 우리는 SemEval-2026 Task 8을 위해 밀집(dense) 검색과 희소(sparse) 검색을 제어된 쿼리 재작성 및 크로스인코더 재랭킹과 결합한 학습이 필요 없는(training-free) 하이브리드 검색 파이프라인을 제안한다. Task A의 공식 테스트 세트에서 우리 시스템은 nDCG@5 0.5453을 달성하여 38개 팀 중 3위를 기록하였으며, 가장 강력한 기준선(baseline) 점수인 0.4795를 상회하였다. Task C의 경우, Task A에서 검색된 문서를 재사용하고 공식 프롬프트(prompt)에 따라 안내되는 경량 생성 파이프라인을 적용하여 관련성과 충실도의 조화 평균으로 0.5312를 달성하고 29개 팀 중 15위를 기록하였다. 모든 검색 구성 요소는 오픈소스이며, 쿼리 재작성 및 답변 생성은 대규모 언어 모델(LLM) API에 의존한다.
의미론적 간섭 하에서 인간의 일화 기억과 검색-증강 생성(RAG) 시스템의 검색 한계는 어떻게 비교될까? 우리는 두 시스템 모두에 적용되는 통합 신호 탐지 이론(SDT) 프레임워크를 제시하고, 이를 매칭된 패러다임에서 행동 및 계산 데이터에 피팅하는 데 사용한다. 두 시스템 모두 연관 수(팬)에 따른 로그적 정확도 감소를 보이지만, 인간은 밀집 구절 검색($α/σ= 0.67$)보다 낮은 간섭 민감도($α/σ= 0.41$)를 나타내며, 인지적으로 영감을 받은 HippoRAG는 두 값 사이($α/σ= 0.44$)에 위치한다. 행동 실험($N = 112$)과 시뮬레이션이 프레임워크를 검증하며, 매개변수 복원은 식별 가능성($r \geq .93$)을 확인하고 모델 비교는 로그 명세가 거듭제곱 법칙 대안보다 우수함을 지지한다($Δ$BIC $> 15$). 우리는 인코딩 특이성, 시간적 맥락 결합, 검색 게이팅을 인과적 역할이 아직 규명되지 않은 후보 메커니즘으로 논의한다. 여섯 가지 반증 가능한 예측이 인지 기억 연구와 AI 검색 평가를 연결한다.
대규모 언어 모델(LLM) 에이전트를 위한 최근 벤치마크들은 주로 추론, 계획 수립, 실행 능력 평가에 집중하고 있으며, 또 다른 핵심 구성 요소인 메모리—에이전트가 장기 정보를 기억하고, 업데이트하고, 검색하는 방식을 포함하는—는 벤치마크의 부재로 인해 충분히 평가되지 못하고 있다. 우리는 메모리 메커니즘을 갖춘 에이전트를 메모리 에이전트라 칭한다. 본 논문에서는 기억 과학 및 인지 과학의 고전 이론을 바탕으로, 메모리 에이전트에 필수적인 네 가지 핵심 역량을 식별한다: 정확한 검색(accurate retrieval), 테스트 시간 학습(test-time learning), 장거리 이해(long-range understanding), 선택적 망각(selective forgetting). 기존 벤치마크들은 제한된 컨텍스트 길이에 의존하거나 책 기반 QA와 같은 정적·장문 컨텍스트 환경에 맞춰져 있어, 점진적으로 정보를 축적하는 메모리 에이전트의 대화형 멀티턴 특성을 반영하지 못한다. 또한 네 가지 역량 모두를 다루는 기존 벤치마크는 존재하지 않는다. 우리는 메모리 에이전트를 위해 특별히 설계된 새로운 벤치마크인 MemoryAgentBench를 제안한다. 본 벤치마크는 기존 장문 컨텍스트 데이터셋을 변환하고 새롭게 구성된 데이터셋을 멀티턴 형식으로 통합함으로써, 메모리 에이전트의 점진적 정보 처리 특성을 효과적으로 시뮬레이션한다. 데이터셋을 신중하게 선별하고 정제함으로써, 본 벤치마크는 위에서 제시한 네 가지 핵심 메모리 역량을 포괄적으로 다루며, 메모리 품질을 평가하기 위한 체계적이고 도전적인 테스트베드를 제공한다. 우리는 단순한 컨텍스트 기반 및 검색-증강 생성(RAG) 시스템부터 외부 메모리 모듈과 도구 통합을 갖춘 고급 에이전트에 이르기까지 다양한 메모리 에이전트를 평가한다. 실험 결과, 현재의 방법들은 네 가지 역량 모두를 완전히 습득하지 못하고 있음이 드러나, LLM 에이전트를 위한 포괄적인 메모리 메커니즘에 대한 추가 연구의 필요성을 강조한다.
검색-증강 생성(RAG)은 관련 데이터 검색과 대규모 언어 모델(LLM)의 생성 능력을 결합하여, 생성된 출력이 문맥적으로 적절할 뿐만 아니라 정확하고 최신의 내용을 담도록 보장한다. 본 논문에서는 고급 RAG 모듈의 기반 구성 요소 성능에 대한 포괄적인 평가를 지원하는 오픈소스 모듈형 코드베이스인 XRAG를 소개한다. 이 구성 요소들은 사전 검색(pre-retrieval), 검색(retrieval), 사후 검색(post-retrieval), 생성(generation)의 네 가지 핵심 단계로 체계적으로 분류된다. 우리는 재구성된 데이터셋을 통해 이를 체계적으로 분석하여 각 요소의 효과성에 대한 종합적인 벤치마크를 제공한다. RAG 시스템의 복잡성이 지속적으로 증가함에 따라, 우리는 RAG 시스템 내 잠재적 실패 지점을 식별하는 것의 중요성을 강조한다. 우리는 RAG 엔지니어링에 내재된 실패 지점을 분석하기 위한 일련의 실험 방법론과 진단 테스트 프로토콜을 수립한다. 이어서 이러한 모듈의 전반적인 성능을 강화하기 위한 맞춤형 해결책을 제안한다. 본 연구는 RAG 시스템 내 고급 핵심 구성 요소의 성능을 철저히 평가하고, 일반적인 실패 지점에 대한 최적화 방향을 제시한다.
대규모 언어 모델 기반 에이전트는 다중 라운드 반성(multi-round reflection)을 통해 단일 태스크 내 실패를 복구할 수 있지만, 각 태스크는 독립적인 에피소드로 남아 있다: 한 태스크에서 여러 반성 라운드를 통해 얻은 교훈은 다음 태스크가 시작되기 전에 사라진다. 우리는 코드 생성 태스크에서 이 격차를 연구한다. 에이전트는 과학 논문의 한 섹션으로부터 오픈소스 Manim 라이브러리를 이용하여 Python 코드를 작성하고 수학적 애니메이션을 렌더링한다. 우리는 ManimAgent를 제안한다. 이는 자기 진화형 멀티모달 에이전트로, 가중치 업데이트나 인간 시드 없이 자체 태스크 스트림으로부터 완전히 성장하는 이중 채널 에피소딕 메모리 뱅크(Episodic Memory Bank)를 통해 태스크 간 반성 경험을 이어간다. 각 애니메이션이 수렴한 후, 비전-언어 모델이 렌더링된 키프레임을 채점하며, 결과 신호는 성공 근거를 소프트 참조 예시(Reference Examples)로 저장하는 긍정 채널 M+와, 검증된 실패 패턴을 하드 기지 함정(Known Pitfalls)으로 저장하는 부정 채널 M-를 채운다. 메모리 없음, 동일 예산의 검색-증강 생성(RAG), 셔플된 메모리 기준선에 대한 고정 프로브 평가에서, 블라인드 인간 평가자의 Pass@1은 상승하고 반성 라운드 수는 메모리 크기가 증가함에 따라 감소한다. 코드, 고정된 메모리 스냅샷, 태스크 스트림을 공개할 예정이다.
Navigating the deluge of heterogeneous medical data, from academic literature (PubMed) to clinical guidelines (Web) and private knowledge bases, remains a critical bottleneck for evidence-based medicine. While commercial black-box tools lack transparency, standard open-source RAG implementations frequently suffer from reasoning drift when handling complex, long-tail queries. We present DEEPMED Search, a fully open-source, agentic platform designed for transparent medical deep research. Built on a high-performance Next.js architecture, DEEPMED Search features a source-adaptive router that autonomously dispatches sub-queries to PubMed, web search, or local graph-based knowledge bases based on information density. Crucially, the platform integrates an introspective verification module, powered by a causal-consistent multi-agent debate framework, to validate retrieved evidence against diagnostic logic before synthesis. To demonstrate its robustness, we showcase DEEPMED Search's ability to autonomously decompose high-difficulty rare disease queries, filter out confounding noise, and generate structured, citation-backed research reports in minutes. By open-sourcing this software, we provide the community with a robust infrastructure to democratize access to trustworthy, glass-box medical reasoning in research and prototyping settings.
Reviewing nuclear regulatory documents requires multi-hop reasoning across tens of thousands of pages, where judgments depend on evidence assembled across multiple chapters. We frame this task as planning: an LLM-based agent observes the evidence collected so far, picks the next document fragment to inspect, and stops when the evidence is sufficient. The agent operates over a vectorless document tree using browse, read, and search tools, and maintains a dynamic knowledge graph (KG) as state. On a 200-question benchmark over NuScale Final Safety Analysis Report (FSAR) documents, the system reaches 81.5% accuracy with a RAGAS Faithfulness of 0.93. The dominant performance factor is planning: against PageIndex, which uses the same document tree without state-conditioned action selection, the gap is +38.0pp (43.5% to 81.5%, p<0.001). The system also outperforms LightRAG (73.0%, p<0.05), HippoRAG (70.5%, p<0.01), and GraphRAG (49.5%, p<0.001), and matches RAPTOR (75.5%, p=0.11) without offline indexing. Edge inference adds 2.8x cost without raising accuracy; we retain it as a traceability module. Of 7,391 inferred edges, 3 Violates edges (0.04%) flag scope boundaries (Q058) and partial conformance (Q176) as typed annotations that a human reviewer can audit.
Retrieval-Augmented Generation (RAG) improves the factuality of large language models by grounding responses in external evidence, yet real-world deployments remain fragile. Failures often stem from missing or weakly relevant evidence, as well as from generation that does not faithfully reflect the retrieved context. Many existing approaches rely on fine-tuning, privileged access to internal model signals, or resource-insensitive escalation strategies, which limits their practicality in black-box and budget-constrained settings. We propose D2R-RAG (Diagnose-to-Repair RAG), a model-agnostic and resource-aware framework that combines lightweight failure diagnosis with adaptive repair. D2R-RAG derives interpretable failure signatures from observable signals in the query, retrieved evidence, and generated response, and then selects from a small set of corrective actions under explicit latency and VRAM constraints. Experiments on FEVER and HotpotQA show that D2R-RAG improves reliability over recent baselines and achieves better accuracy--efficiency trade-offs across multiple compute budgets. The code is available at https://github.com/CyberScienceLab/D2R-RAG/.
Open-ended scientific discovery with large language models (LLMs) increasingly operates as a long-horizon loop of hypothesis search and verification, where a reward signal guides which hypotheses to test next. A notable recent example is AutoDiscovery, which uses "Bayesian surprise" - the belief shift an LLM undergoes after observing evidence for a hypothesis - as both a discovery metric and a reward for search. We first observe that AutoDiscovery treats surprisal as a static quantity, while surprisal in human reasoning is non-stationary - it is defined relative to beliefs that evolve with experience, a prerequisite for continual scientific discovery. We address this mismatch with evidence-informed LLM beliefs: priors updated with evidence from previous hypotheses to compute non-stationary surprisal for new hypotheses. We compare in-context belief-updating mechanisms and find that embedding-based retrieval-augmented generation over prior discoveries best anticipates eventual posteriors, identifying 37.5% of static surprisals as spurious. We then modify search to avoid these spurious rewards and prioritize hypotheses that remain surprising under non-stationary beliefs. Concretely, we introduce two complementary changes to the original search procedure: belief-update filtering and diversity maximization. Across five discovery domains, our method increases accumulated non-stationary surprisal by 30.62% on average compared to the original search procedure, demonstrating that continual scientific discovery with LLMs requires not only better belief measurement but also search procedures that avoid redundancy and encourage diversity.
Enterprise business intelligence queries span structured warehouses and unstructured document repositories -- modalities with fundamentally different access methods, cost profiles, and correctness semantics. Existing AI-enabled interfaces force users to select the right tool: NL2SQL systems cannot reason over slide decks, and RAG pipelines lack access to live warehouse tables. We present COGNI, a production conversational BI system that treats natural-language analytics as a heterogeneous query processing problem, organized as four architectural layers. First, an indexing layer implements slide-adaptive chunking -- recursive chunking for plain-text slides, hierarchical chunking for structured content such as tables, charts, and key-value blocks - achieving $88.3\%$ on our internal enterprise benchmark. Second, a routing layer built on a LoRA fine-tuned Qwen-2.5-1.5B-Instruct model that produces a dual output - modality decision and complexity assessment at $93.8\%$ accuracy and approximately $7\times$ lower cost than frontier-model. Third, a retrieval layer executes complexity-adaptive pipelines: a self-correcting NL2SQL agent at $93.9\%$ G-Eval, and Recursive Language Models reaching $91.0\%$ on multi-hop synthesis queries. Finally, a caching layer validates query equivalence across multiple dimensions beyond embedding similarity, achieving zero false cache hits and $8.4\times$ latency reduction.
Retrieval-augmented generation (RAG) is routinely extended with methods meant to improve retrieval: query expansion, hierarchical and cross-document summarization, graph-based expansion, per-query routing, rank fusion, and corrective re-retrieval. The benefits reported for these methods come almost exclusively from homogeneous corpora, predominantly Wikipedia prose. Whether they hold on the mixed-format collections common in practice, where code, markdown, tables, scientific PDFs, and prose are interleaved within one corpus, has not been measured. To study this directly, we build \textbf{HetDocQA}, a heterogeneous benchmark with \emph{chunker-agnostic} span-overlap relevance labels and collection-disjoint splits, and pair it with MuSiQue and QASPER as homogeneous controls. We evaluate eight methods on a shared backbone, with bootstrap confidence intervals and multiple-comparison correction. A strong cross-encoder reranker accounts for most of the pipeline's quality; beyond it, only two methods yield reliable gains: query expansion and SSCC. SSCC, a per-source calibrated corrector introduced here, sets a separate acceptance threshold for each score source and helps only on heterogeneous data. The remaining reranking and pool-expansion methods in common use, among them hierarchical summarization, graph expansion, routing, and rank fusion, give no reliable gain once that reranker is present.
RAG ingestion pipelines frequently augment search corpus index with semantic enrichment indices (e.g., synthetic queries or summaries generated from corpus chunks) that are subsequently queried alongside the base index to improve retrieval via better alignment between document representations and user intent. While these supplementary representations substantially improve retrieval quality, they introduce a computational bottleneck: the configuration space of enrichment types and generator models is combinatorial, and the cost of exhaustive index-time evaluation scales linearly with corpus size. We introduce CAMI (Cost-Aware Multi-Indexing), a framework that formalizes multi-index construction as a budgeted, multi-objective portfolio selection problem. CAMI targets the upstream decision of which enrichment views to generate and materialize before the retrieval backend is applied. CAMI incorporates three primary mechanisms: (i) an agentic discovery phase that proposes corpus-specific representation templates; (ii) an atomic-unit search procedure that evaluates individual enrichment-model pairs and recombines them via fidelity-local closure to identify synergistic portfolios; and (iii) a confidence-aware promotion schedule that prunes unpromising configurations early, decoupling optimization spend from total corpus size. We evaluate CAMI across diverse retrieval corpora. Our findings reveal that the framework systematically isolates high-recall portfolios under strict budget constraints, outperforming standard content-only baselines in challenging settings by up to 9.4% recall@10. Further, CAMI is able to systematically identify these high-recall portfolios using up to 5x less budget compared to random search baselines, making our approach practical in real production scenarios.
Multi-step retrieval-augmented generation (RAG) has been widely deployed as LLM-powered web services for complex question answering, where iterative retrieval-reasoning rounds deliver strong multi-hop accuracy. However, this paradigm causes historical documents and reasoning traces to accumulate across rounds, inflating cumulative input tokens approximately as $O(N^2)$ with progressively increasing noise density. In API-based service architectures, such growth directly amplifies per-request billing cost, network payload, and response latency. Existing compression approaches rely on pretrained modules or GPU-level KV cache access, introducing model hosting overhead incompatible with API-native, Serverless, and edge-side deployments. To address this issue, this paper proposes ConCise, a training-free state-layer protocol that restructures cross-round context transmission for multi-step RAG services. Specifically, ConCise replaces raw-text accumulation with an append-only chain of structured conclusions, compressing cumulative context growth from $O(N^2)$ to approximately $O(N)$. Furthermore, a fused generation mechanism is introduced to jointly emit reasoning and conclusions in a single API call, eliminating repeated input billing from serial dual-invocation overhead. Extensive experiments across twelve paired configurations spanning three models, two datasets, and two representative frameworks demonstrate that ConCise achieves 64.63\% average token savings while maintaining acceptable accuracy, providing a plug-and-play, deployment-friendly solution for cost-efficient multi-step RAG service optimization.
University students often struggle to navigate complex academic policies, leading to advising bottlenecks and delayed access to critical information. Although large language models (LLMs) offer promise for automated assistance, their tendency toward hallucination and inability to enforce institutional constraints make them unsuitable for high-stakes policy guidance without careful architectural design. We present Carolina Guide, a retrieval-augmented generation (RAG) system for academic policy assistance at the University of South Carolina (USC). The system employs a modular multi-agent pipeline with institutional guardrails to provide citation-supported, policy-grounded answers to student queries while refusing unsafe requests such as course recommendations or personalized advising. We evaluate the system on a 90 query test set across 6 departments, achieving 98.9% retrieval success at the >= 2 threshold (genuinely relevant results) with the first relevant chunk at rank-1 for 98.9% of queries (MRR at 10 for rel >= 2 = 0.989). Through systematic baseline comparisons and ablation studies, we show that each architectural component-MMR reranking, adequate retrieval context (k=20), and citation enforcement-contributes measurable practical value despite limited statistical power at 90 queries. The evaluation of the guardrail on 30 adversarial queries demonstrates Safety F1 of 0.89, correctly refusing 86% of unsafe queries while maintaining 93% coverage of benign queries. These results show that production-ready LLM systems for institutional policy guidance require rethinking standard RAG patterns to prioritize safety, transparency, and departmental autonomy over conversational sophistication.
Long-context reasoning requires models to access, retrieve, and integrate evidence scattered across documents, dialogues, and accumulated interaction histories. Standard retrieval-augmented generation reduces this problem to top-$K$ chunk retrieval, but such passive access can discard relevant evidence before reasoning begins, especially when relevance depends on broader context. We propose HMARS, a hierarchical multi-agent memory system that treats long contexts as managed memory rather than a flat retrieval corpus. Sub-agents maintain grounded access to bounded memory regions, mid-agents manage regional context and provide query-specific coordination, and a frontier model performs final reasoning over retrieved evidence pages. To evaluate this view, we construct two diagnostic benchmarks targeting evidence breadth and context-dependent relevance. Across long-document and multi-turn memory tasks, HMARS achieves the best overall performance against retrieval, reranking, full-context, graph-based, and agentic long-context baselines. Evidence coverage analysis further shows that its gains come from retrieving the required supporting evidence more completely, rather than merely changing the final answer prompt.