Manuscript Offprint

arXiv:2609.00796

SFAD: Speculative Factuality-Aware Decoding

Guanqiao Chen, Di Wang, Lijie Hu

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Abstract

As one of the most critical challenges in large language models, contextual faithfulness directly determines their reliability in knowledge-intensive applications. This task is particularly challenging as it requires balancing factual consistency with generation efficiency. Contrastive decoding methods require dual forward passes (with and without context) to compare model outputs, doubling inference computational overhead, while post-training alignment demands extensive reinforcement learning with substantial computational overhead. To address this challenge, we present SFAD, a speculative decoding framework that enhances contextual faithfulness without inference degradation. We first construct ConFide, a preference dataset with fine-grained atomic perturbations, to train a context-faithful draft model via Direct Preference Optimization. During inference, Epistemic Friction detects potential hallucinations by quantifying distributional tension weighted by specialist certainty. When friction exceeds the threshold, Asymmetric Logit Steering refines the target distribution through residual-based logit injection; otherwise, standard speculation proceeds. Extensive experiments demonstrate that SFAD substantially improves faithfulness while achieving 2.48×2.48\times speedup, offering a practical solution for efficient LLMs.

1 Introduction

Large Language Models (LLMs) (Guo et al., 2025a; Achiam et al., 2023) have achieved remarkable success by leveraging vast parametric knowledge acquired during pretraining (Petroni et al., 2019; Roberts et al., 2020). However, this internal knowledge is inherently static and constrained by the training distribution, rendering it prone to becoming outdated or incomplete (Cheng et al., 2024b; Li et al., 2026b; Zhang et al., 2025a; Cheng et al., 2024a). To address this limitation, retrieval-augmented generation (RAG) (Qin et al., 2025;

Figure

Figure 1: The ConFide pipeline for factuality-aware preference data construction.

Guu et al., 2020; Cheng et al., 2025a) and external tool integration have become increasingly prevalent, intensifying the demand for models to prioritize provided context over parametric priors. Yet LLMs frequently exhibit hallucinations (Huang et al., 2025a; Ji et al., 2023; Cheng et al., 2025b) due to knowledge conflicts, where models favor internal knowledge over task-specific external contexts (Xie et al., 2024; Chen et al., 2022; Zhang et al., 2025b), undermining their contextual faithfulness in knowledge-intensive applications.

Enhancing contextual faithfulness while maintaining inference efficiency presents significant challenges. Decoding-based methods (Shi et al., 2024; Xu, 2023; Khandelwal et al., 2025; Yang et al., 2025c) contrast logits from contextualized inputs against uncontextualized baselines to amplify evidence-aligned signals. However, this requires dual forward, effectively doubling computational cost and halving generation speed. Post-training

Figure

Figure 2: SFAD framework.

methods (Yan et al., 2025; Wang et al., 2025c; Yang et al., 2025b; Zhou et al., 2026) employ reinforcement learning to align models with contextual evidence, but typically require extensive compute and large-scale preference data. These limitations motivate the need for approaches that enhance faithfulness without compromising efficiency or requiring substantial resources.

To resolve these problems, we propose SFAD, a speculative decoding framework that unifies contextual faithfulness enhancement with speculative acceleration. Our key insight is to leverage a context-faithful draft model as a factuality sentinel: by training a smaller model to prioritize contextual evidence, we enable it to detect and correct hallucinations in the larger target model during speculative decoding. Specifically, we first construct ConFide, a preference dataset that improves contextual faithfulness by generating diverse hard-negative samples through atomic decomposition and controllable perturbations. Training the draft model on ConFide and ConFiQA (Bi et al., 2025) via Direct Preference Optimization instills strong contextual loyalty. During inference, SFAD introduces Epistemic Friction, a metric that quantifies distributional tension weighted by specialist certainty to dynamically detect knowledge conflicts. When friction signals potential hallucinations, Asymmetric Logit Steering selectively refines the target distribution through residual-based injection; other-

wise, standard speculative decoding proceeds unmodified. This adaptive mechanism maintains the 2∼3×2 \sim 3\times speedup of speculative decoding while substantially improving contextual faithfulness.

Our contributions are threefold: (1) Dataset: we introduce ConFide, a fine-grained preference dataset designed for training context-faithful draft models through atomic-level perturbations; (2) Framework: we propose SFAD, the first speculative decoding framework specifically designed for hallucination mitigation, which features Epistemic Friction for conflict detection and Asymmetric Logit Steering for selective correction; and (3) Evaluation: extensive experiments demonstrate that SFAD achieves substantial faithfulness improvements across diverse benchmarks while delivering a 2.48×2.48\times speedup, approaching the performance of models 5×5\times larger with minimal computational overhead.

References (36)