Papers
Topics
Authors
Recent
Gemini 2.5 Flash
Gemini 2.5 Flash
38 tokens/sec
GPT-4o
59 tokens/sec
Gemini 2.5 Pro Pro
41 tokens/sec
o3 Pro
7 tokens/sec
GPT-4.1 Pro
50 tokens/sec
DeepSeek R1 via Azure Pro
28 tokens/sec
2000 character limit reached

CtrlA: Adaptive Retrieval-Augmented Generation via Inherent Control (2405.18727v2)

Published 29 May 2024 in cs.CL, cs.AI, and cs.IR

Abstract: Retrieval-augmented generation (RAG) has emerged as a promising solution for mitigating hallucinations of LLMs with retrieved external knowledge. Adaptive RAG enhances this approach by enabling dynamic retrieval during generation, activating retrieval only when the query exceeds LLM's internal knowledge. Existing methods primarily focus on detecting LLM's confidence via statistical uncertainty. Instead, we present the first attempts to solve adaptive RAG from a representation perspective and develop an inherent control-based framework, termed \name. Specifically, we extract the features that represent the honesty and confidence directions of LLM and adopt them to control LLM behavior and guide retrieval timing decisions. We also design a simple yet effective query formulation strategy to support adaptive retrieval. Experiments show that \name is superior to existing adaptive RAG methods on a diverse set of tasks, the honesty steering can effectively make LLMs more honest and confidence monitoring is a promising indicator of retrieval trigger.Our code is available at \url{https://github.com/HSLiu-Initial/CtrlA}.

User Edit Pencil Streamline Icon: https://streamlinehq.com
Authors (9)
  1. Huanshuo Liu (3 papers)
  2. Hao Zhang (947 papers)
  3. Zhijiang Guo (55 papers)
  4. Kuicai Dong (17 papers)
  5. Xiangyang Li (58 papers)
  6. Yi Quan Lee (5 papers)
  7. Cong Zhang (121 papers)
  8. Yong Liu (721 papers)
  9. Jing Wang (740 papers)