Lune

ICML2026Top-tier venue

Guidance: Sentence-Level Citation Enforcement via Prefix-Tail Guidance during LLM Decoding

Yirui Zhan, Xu, Jun Gao

Abstract

In correctness-sensitive scenarios, it is crucial for Large Language Models (LLMs) to strictly follow the provided evidence. However, even with reference texts, models often suffer from hallucinations, especially when processing long contexts. Existing work attempts to reinforce the use of citations through Retrieval-Augmented Generation (RAG) or post-hoc methods, while citations remain a probabilistic output rather than a foundation for the generated content. To address this, we propose Guidance, which aims to correct outputs and naturally incorporate citations during the LLM decoding phase. Specifically, we first build a structured fact pool (Prefix-Tail pairs) from the documents. Then, during inference, Guidance predicts the model's intent using a lookahead strategy. When it detects a match with a context prefix, it automatically replaces the output with the verified fact and its citation. This approach is training-free and can be plugged into general-purpose or citation-fine-tuned LLMs. Experiments on LongBench-Cite demonstrate that Guidance improves the citation F1 score by 11.2% over state-of-the-art baselines. The source code is available at: https://github.com/marlcplhra/Guidance.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

Questions to start from

Lune can draw on

the full paper · related work

Get the answer

Free to start. No credit card required.

Lineage

  • Let's Verify Step by Step cites Scaling Laws for Reward Model Overoptimization
  • Self-RAG: Learning to Retrieve, Generate, and Critique through Self-Reflection cites FActScore: Fine-grained Atomic Evaluation of Factual Precision in Long Form Text Generation
Builds onCited byLeft to right by year; the more cited, the higher.

Builds on13

  1. Let's Verify Step by StepHunter Lightman, Vineet Kosaraju, Yuri Burda, Harrison Edwards et al.ICLR 2024 · 3,045 citations
  2. Self-RAG: Learning to Retrieve, Generate, and Critique through Self-ReflectionAkari Asai, Zeqiu Wu, Yizhong Wang, Avirup Sil et al.ICLR 2024 · 1,798 citations
  3. Scaling Laws for Reward Model OveroptimizationLeo Gao, John Schulman, Jacob HiltonICML 2023 · 963 citations
  4. FActScore: Fine-grained Atomic Evaluation of Factual Precision in Long Form Text GenerationSewon Min, Kalpesh Krishna, Xinxi Lyu, Mike Lewis et al.EMNLP 2023 · 225 citations
  5. LongBench: A Bilingual, Multitask Benchmark for Long Context UnderstandingYushi Bai, Xin Lv, Jiajie Zhang, Hongchang Lyu et al.ACL 2024 · 94 citations

Related papers

  1. Cite Pretrain: Retrieval-Free Knowledge Attribution for Large Language ModelsYukun Huang, Sanxing Chen, Jian Pei, Manzil Zaheer et al.ICLR 2026 · 1 citation
  2. Learning Fine-Grained Grounded Citations for Attributed Large Language ModelsLei Huang, Xiaocheng Feng, Weitao Ma, Yuxuan Gu et al.ACL Findings 2024 · 10 citations
  3. Enabling Large Language Models to Generate Text with CitationsTianyu Gao, Howard Yen, Jiatong Yu, Danqi ChenEMNLP 2023 · 152 citations
  4. Learning to Generate Answers with Citations via Factual Consistency ModelsRami Aly, Zhiqiang Tang, Samson Tan, George KarypisACL 2024 · 2 citations
  5. Citation-Enhanced Generation for LLM-based ChatbotsWeitao Li, Junkai Li, Weizhi Ma, Yang LiuACL 2024 · 12 citations
Dusk over the sea between two cliffs drawn in fine vertical lines