Introduction
Large Language Models (LLMs) are increasingly deployed for summarizing long documents and answering complex queries. However, a persistent challenge is their tendency to "hallucinate" or misattribute information. While citations provide a path toward verifiability, training models to cite accurately is a significant bottleneck. Traditional methods rely on expensive human annotations or distillation from proprietary APIs like GPT-4. Furthermore, existing benchmarks often focus on coarse "chunk-level" attribution, which lacks the precision needed for rapid verification.
SelfCite introduces a self-supervised framework that enables LLMs to provide accurate, sentence-level citations without human labels. By leveraging the model's internal logic through "context ablation," SelfCite aligns the model to cite evidence that is both necessary and sufficient for its claims.
Methodology: Self-Supervised Reward via Context Ablation
The core of SelfCite is a reward signal derived from the model's own probability distributions. Instead of external validation, the system evaluates a citation candidate based on two metrics:
- Necessity (Probability Drop): Measures if removing the cited sentence from the context causes a significant drop in the model's probability of generating the response. A large drop indicates the citation is necessary.
- Sufficiency (Probability Hold): Measures if the model maintains a high probability for the response when shown only the cited sentence. A high hold indicates the citation is sufficient.
The SelfCite Reward is the sum of these two scores. To prevent the model from simply citing large blocks of text to maximize scores, the authors implement Length Balancing by injecting random citations into rejected training examples, forcing the model to learn precision over volume.
Training and Optimization
The researchers utilize the SelfCite reward in a two-stage process:
- Best-of-N (BoN) Sampling: During inference, the model generates $N$ citation candidates for a statement, and the one with the highest SelfCite reward is selected. While highly accurate, this is computationally expensive.
- Preference Optimization (SimPO): To improve efficiency, the authors use BoN results to create a preference dataset. The model is then fine-tuned using Simple Preference Optimization (SimPO), effectively embedding the citation logic into the model weights. This allows the model to achieve high-quality citations at nearly the same speed as a standard LLM.
Evaluation and Results
SelfCite was evaluated using LongBench-Cite, a comprehensive benchmark for long-context QA with sentence-level citations, alongside the ALCE benchmark for zero-shot chunk-level evaluation.
Key findings include:
- Performance Gains: SelfCite improved citation F1 scores by up to 5.3 points on LongBench-Cite.
- Competitive Edge: A Llama-3.1-8B model tuned with SelfCite outperformed proprietary giants like GPT-4o and Claude-3-Sonnet in citation F1 metrics.
- Robust Generalization: Despite being trained for sentence-level tasks, the model excelled on chunk-level benchmarks (ALCE), demonstrating a robust underlying understanding of attribution.
- Efficiency: The SimPO-tuned model added negligible latency (26.2s vs. 24.3s for the base model), whereas the BoN approach was nearly 6x slower.
Discussion and Limitations
SelfCite demonstrates that an LLM’s internal probability distribution is a reliable signal for attribution. By targeting "contributive" context—the specific text that caused the model to generate a response—rather than just "corroborative" context, the framework produces more honest outputs.
However, the method has limitations. It is a "white-box" requirement, meaning it needs access to the model's log-probabilities, which excludes most closed-source APIs. Additionally, while it significantly improves citation quality, it does not inherently guarantee the factual correctness of the underlying answer, though it makes errors much easier for users to identify. Future work may explore on-policy reinforcement learning (like PPO) to further refine citation strategies.
Summary updated