CtrlA: Adaptive Retrieval-Augmented Generation via Inherent Control
<|reference_start|>CtrlA: Adaptive Retrieval-Augmented Generation via Inherent Control: Retrieval-augmented generation (RAG) has emerged as a promising solution for mitigating hallucinations of large language models (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}.<|reference_end|>
@article{liu2024ctrla:,
    title={CtrlA: Adaptive Retrieval-Augmented Generation via Inherent Control},
    author={Huanshuo Liu and Hao Zhang and Zhijiang Guo and Jing Wang and Kuicai
  Dong and Xiangyang Li and Yi Quan Lee and Cong Zhang and Yong Liu},
    journal={arXiv preprint arXiv:2405.18727},
    year={2024},
    archivePrefix={arXiv},
    eprint={2405.18727},
    primaryClass={cs.CL cs.AI cs.IR}
}