Lune

SIGMOD2026顶会

HAMMER: An Automatic RAG Tuning System via Hierarchical Memory-Guided Monte Carlo Tree Search

Yingli Zhou, Zixuan Wang, Yixiang Fang

摘要

Retrieval-Augmented Generation (RAG) effectively integrates external knowledge into large language models (LLMs), enhancing accuracy, adaptability, interpretability, and trustworthiness. The modern RAG systems contain multiple modules with many tunable parameters, each of which can greatly influence the overall performance of downstream applications. To identify the optimal configuration for a given RAG pipeline, existing studies have relied on hyperparameter optimization (HPO) methods. However, these methods overlook parameter dependencies, lack experience-based learning, and incur substantial computational costs. To tackle those issues, we propose HAMMER, a hierarchical memory–guided Monte Carlo Tree Search (MCTS) system. Inspired by human learning, HAMMER employs a hierarchical graph memory to organize experimental insights and integrates it with MCTS for more reliable tuning. We further design a theoretically guaranteed query selection technique to reduce cost while preserving effectiveness. Extensive experiments on eight real-world datasets show that HAMMER improves exact match by up to 20.0% and F1-score by 15.2%, while reducing both tuning time and token consumption by up to 9×.

问 Lune

几分钟看清这篇 Paper 的位置,不用再花一下午。

Lune 能读引用它和与它最相关的顶会 Paper,讲清它说了什么、后来怎样、哪里站不住,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。

可以从这些问题问起

Lune 可以查阅

摘要 · 相关的 Paper

获取答案

免费开始,无需绑卡

相关 Paper

  1. CARROT: A Learned Cost-Constrained Retrieval Optimization System for RAGZiting Wang, Haitao Yuan, Wei Dong, Gao Cong 等ICDE 2026 · 1 次引用
  2. Conflict-Aware Soft Prompting for Retrieval-Augmented GenerationEunseong Choi, June Park, Hyeri Lee, Jongwuk LeeEMNLP 2025 · 1 次引用
  3. AutoRAG-HP: Automatic Online Hyper-Parameter Tuning for Retrieval-Augmented GenerationJia Fu, Xiaoting Qin, Fangkai Yang, Lu Wang 等EMNLP Findings 2024 · 8 次引用
  4. Retrieval-Augmented Generation with Hierarchical KnowledgeHaoyu Huang, Yongfeng Huang, Junjie Yang, Zhenyu Pan 等EMNLP Findings 2025 · 20 次引用
  5. In-depth Analysis of Graph-based RAG in a Unified FrameworkYingli Zhou, Yaodong Su, Youran Sun, Shu Wang 等VLDB 2025 · 48 次引用
黄昏的海面,两侧是细线勾勒的悬崖