Tail-Targeted LoRA Scorers for Conformal Factuality

A language model that writes a biography will mix true statements with invented ones. One principled fix is to split the text into small atomic claims, give each claim a confidence score, and delete every claim below a threshold. That threshold is set on a held-out labeled set so that, with a chosen probability such as 90%, the surviving text contains no false claim. The guarantee holds for any scoring function. How much true text survives the cut depends entirely on how well the scores rank true claims above false ones. We propose to train that scoring function directly. A small low-rank adapter, attached to a frozen copy of the generator, would be optimized for one quantity: how many true claims survive at the threshold the guarantee forces. Its target is not average calibration and not overall detection accuracy.

The idea is in two sentences. Statistical filtering already gives the factuality guarantee for free, so the only thing worth improving is the ranking at the extreme high-confidence end, where the most confident false claim in each answer sits. We train a cheap, switchable adapter to push exactly those claims down. We then measure whether this keeps more true text than sampling-based scores, log-probabilities, or detectors trained with ordinary classification losses.

Core Claim

Language Models with Conformal Factuality Guarantees uses split conformal prediction, a method that picks a threshold from a small labeled calibration set so the guarantee holds on average over new prompts. It prunes sub-claims scored by sampling frequency or self-reported confidence. It reports raising biography factuality "from ~30% to 80% while retaining about half of the original claims," and Natural Questions factuality from 78% to 93% while removing about a quarter of claims. The authors state the limitation themselves: if the model is confident in its hallucinations, the filter must delete almost everything.

The obvious response in the literature points to calibration. On the Calibration of Large Language Models and Alignment shows that full instruction tuning pushes MMLU calibration error above 0.20, while low-rank adaptation (LoRA, which freezes the pretrained weights and learns a small product of two thin matrices as the weight update) largely preserves it. That suggests LoRA-tuned models should make better conformal scorers.

We argue this is the wrong target. The conformal threshold depends only on the ordering of scores, so any monotone recalibration, such as temperature scaling, leaves the retained set unchanged. Expected calibration error is therefore irrelevant to how much text survives. What matters, per answer, is the score of the single most confident false claim relative to the true claims. Our claim is that an adapter trained on a differentiable surrogate of this quantity retains substantially more true claims than frequency scoring or classification-trained detectors, at the same guaranteed error level and lower inference cost.

Research Program

For each generation $i$ with claims $c$, let $s_\theta(c)$ be the adapter's score. Let $F_i$ and $T_i$ be the false and true claims, and let $m_i = \mathrm{smoothmax}_{c \in F_i} s_\theta(c)$ be a log-sum-exp approximation of the worst false score. The conformal threshold $\tau_\alpha$ is approximately the $(1-\alpha)$ quantile of the $m_i$ across generations. Training maximizes

$$ \mathcal{L}(\theta) = \frac{1}{\sum_i |T_i|}\sum_i \sum_{c \in T_i} \sigma\big((s_\theta(c) - \hat\tau_\alpha)/t\big), $$

where $\hat\tau_\alpha$ is a soft quantile of the $m_i$ within a minibatch, $\sigma$ is the logistic function, and $t$ is a temperature. We train at several values of $\alpha$ jointly so that one adapter serves a range of error levels.

The generator is Meta-Llama-3.1-8B-Instruct, the model used by both SRM-LoRA and TSV. It stays frozen. The scorer is a LoRA adapter on the same backbone that reads the prompt, the full generation, and one highlighted claim, and emits a single "true" logit. Because generation is untouched, there is no risk of the correction-damage trade-off that SRM-LoRA documents when training against hallucination. The adapter is loaded only for the scoring pass.

Training labels come from biographies generated for a disjoint pool of entities and labeled with the automatic retrieval pipeline of FActScore, which reports under 2% error against human experts. The calibration and test sets use held-out entities. A 50-generation human-labeled subset checks that the guarantee holds against human judgment, not only against the automatic labeler.

We also analyze where the adapter's gain comes from. FActScore documents a rarity penalty: precision near 80% for very frequent entities drops sharply for rare ones. Because conformal guarantees are only marginal, a scorer could buy retention on famous people while failing on rare ones. We therefore report retention and realized error per rarity bin.

Baselines

The naive reference point is the unfiltered generation's FActScore on our generator, with no pruning. This sets the factuality floor and the 100% retention ceiling.

The strongest existing method is conformal factuality with frequency scoring, reimplemented exactly as in Language Models with Conformal Factuality Guarantees on our generator and splits. It scores each claim by how often it appears across additional samples. Its reported figures are the 30%-to-80% factuality gain with about half of claims retained on biographies, and 78% to 93% with about a quarter removed on Natural Questions. Those numbers come from a different generator, so we compare against our reproduction rather than the quoted values. To beat it, our scorer must retain more true claims at equal realized error for α of 0.05, 0.1, and 0.2. It should do so both at matched scoring compute and when frequency scoring is given as many samples as we can afford. We sweep the sample count to draw its full cost-retention curve.

We add three further inference-time scorers. The first is self-reported confidence. The second is mean token log-probability of the claim span, following the confidence functions compared in Selective-LAMA. The third is consensus scoring in the style of ConGrs, which aligns multiple samples into an agreement graph and reports up to 31% factual precision gains on biographies.

The learned-detector competitor is a Truthfulness Separator Vector from Steer LLM Latents for Hallucination Detection. This is a roughly 4,000-parameter activation vector in layers 4 to 10; the paper reports 84.2% AUROC on TruthfulQA. We train it on our claim labels with the same data and tuning budget.

The key ablation is the identical LoRA scorer trained with plain binary cross-entropy. It isolates whether the tail-targeted objective, rather than adapter capacity, produces the gain. All learned scorers receive the same training claims, the same hyperparameter search budget of 20 trials, and the same calibration split.

Why not just…?

Why not just recalibrate log-probabilities with temperature or isotonic scaling? Both are monotone, and conformal retention depends only on score order, so they cannot change which claims survive. We will confirm this empirically as a sanity check. It is the reason calibration-preserving LoRA, as shown in the Xu calibration study, does not by itself address the over-pruning problem.

Why not just draw more samples for frequency scoring? This is a real alternative. Frequency scores capture some epistemic signal and need no training. We settle the question with the compute-matched sweep. If frequency scoring with enough samples matches our retention, the contribution shrinks to a cost reduction. We will report it as that, since each extra sample requires a full generation plus claim matching, whereas our scorer needs one forward pass per batch of claims.

Why not just train a detector with a standard loss, such as TSV or a probe? This is the most serious threat. A good AUROC detector may already rank the tail well. The BCE-trained LoRA ablation and the TSV baseline answer it directly. If they match the tail-objective adapter at α ≤ 0.1, the objective is unnecessary, and the honest conclusion is that any competent claim-level detector suffices.

Why not just fine-tune the generator to stop hallucinating or to abstain? The Xu study shows fine-tuning degrades calibration. SRM-LoRA shows plain LoRA still leaves an 11.46% hallucination rate, and its own geometric variant leaves 10.04%. HaluEval finds a 19.5% hallucination rate in ChatGPT responses to general queries. Training alone leaves a floor and offers no guarantee. We include an SRM-style LoRA generator paired with frequency filtering to test whether a better generator narrows our margin.

Proposed Experiments

The primary benchmark is FActScore biographies, with the same entity split used for training the scorer and for FActScore labeling. Transfer tests use Natural Questions long answers and HaluEval-QA claims without retraining. Metrics are realized error rate, which must stay at or below α; true-claim retention; the fraction of answers pruned to nothing; retention per rarity bin; and scoring cost in forward-pass FLOPs.

Three results decide the question. The first is whether the tail objective beats BCE-trained LoRA at α = 0.1 by a margin larger than seed variance. The second is whether our scorer's retention exceeds frequency scoring at every point on the compute sweep. The third is whether the gain holds on rare entities rather than coming only from frequent ones. Failure on the first means the objective adds nothing. Failure on the second means the work reduces to an efficiency result. Failure on the third means the method mostly exploits entity popularity, which marginal guarantees would hide.