cs.LGMar 28, 2026

Conditional Factuality Controlled LLMs with Generalization Certificates via Conformal Sampling

Authors: Kai Ye, Qingtao Pan, Shuo Li

Organizations: Case Western Reserve University

Abstract

Large language models (LLMs) need reliable test-time control of hallucinations. Existing conformal methods for LLMs typically provide only marginal guarantees and rely on a single global threshold, which can under-cover hard prompts, over-cover easy ones, and produce oversized prediction sets. We propose Conditional Factuality Control (CFC), a post-hoc conformal framework that returns set-valued outputs with conditional coverage guarantees. CFC defines a continuous, feature-conditional acceptance threshold through augmented quantile regression on a latent ``success'' score, and deploys it through a fixed-point threshold rule at inference time. Theoretically, we show that CFC satisfies a conditional coverage guarantee under exchangeability and analyze its efficiency, proving that, under mild assumptions on the score distributions, the conditional rule is strictly more sample-efficient than marginal conformal prediction at the same target coverage. We further derive a PAC-style variant, CFC-PAC, which shrinks the nominal risk level based on a stability bound, yielding a finite-sample certificate that the conditional miscoverage deviates from the target by at most O(log⁡(1/δ)/N)O(\sqrt{\log(1/δ)/N}). Empirically, on synthetic data, real-world reasoning and QA benchmarks, and a Flickr8k VLM setting, CFC and CFC-PAC consistently attain near-target coverage across difficulty groups while using smaller prediction sets than CP and non-CP baselines.

Figures & tables

Appendix figures & tables9 assets

Supplementary material from the paper’s appendix.

Appendix

Explore similar work

CardsList
  1. Inference-Time Conformal Reasoning with Valid Factuality Control for Large Language Models

    Jun 7, 2026Ting Wang, Yuanjie Shi, Yan Yan +1LLM InferenceLLM Reasoning with Graphs

  2. Differentiable Conformal Training for LLM Reasoning Factuality

    Apr 22, 2026Nathan Hittesdorf, Marco Salzetta, Lu ChengLLM Hallucination MitigationConformal Prediction

  3. Adaptive Conformal Prediction for Improving Factuality of Generations by Large Language Models

    Apr 15, 2026Aleksandr Rubashevskii, Dzianis Piatrashyn, Preslav Nakov +1Conformal PredictionLanguage Model Calibration