Manuscript Offprint

arXiv:2610.34329

SHIFT-JEV: Certified Abstention and Gain-Gated Continual Adaptation for LLM-Based Decision Models under Distribution Shift

Muhammad Atif Saeed, Azka Atiq, Adarsh Kumar, Akhtar Jamil, Uzair Iqbal, Roland Aydin

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

A PREPRINT

Muhammad Atif Saeed

Department of AI & Data Science

National University of Computer & Emerging Sciences

Islamabad, Pakistan

atif.saeed@isb.nu.edu.pk

Adarsh Kumar

Data Engineer

University of Arkansas at Little Rock

Arkansas, USA

akumar1@ualr.edu

Uzair Iqbal

Department of Software Engineering

Faculty of Computer Science & Information Technology

University of Malaya, Malaysia

uzairiqbal@um.edu.my

Azka Atiq

Department of AI & Data Science

National University of Computer & Emerging Sciences

Islamabad, Pakistan

azka.atiq@isb.nu.edu.pk

Akhtar Jamil

Department of Computer Science

National University of Computer & Emerging Sciences

Islamabad, Pakistan

akhtar.jamil@nu.edu.pk

Roland Aydin

German Research Center for

Artificial Intelligence (DFKI)

Saarbrücken, Germany

roland.aydin@uni-saarland.de

October 2026

Abstract

Large language models (LLMs) can act as decision models that return a probability distribution over a fixed set of options, but deployed decision models face domain, label-prior, emerging-class and candidate-set shift. We study how such models fail under shift and propose SHIFT-JEV, a monitoring, abstention and continual-adaptation procedure for them. It scores the risk of each decision from uncertainty, format and option-consistency signals, certifies abstention thresholds with Learn-then-Test, monitors the decision stream with drift and label-shift detectors, and accepts a model update only when an expected-gain gate finds a significant held-out improvement without loss on earlier regimes. On a benchmark of ten shifted test environments with Qwen3-0.6B and Qwen3-4B (three seeds each) and Phi-4-mini, fine-tuning with KL anchors and temperature scaling lowers calibration error under shift from 0.289 to 0.087. At a target risk of 10%, a learned uncertainty score with a certified threshold exceeds the target in 3–5 of 27 environment–seed tests, against 5–15 for a max-probability score with the same certification and 9–14 for conformal prediction sets; drift-based routing changes little. A predicted-label χ2\chi^{2} test detects 95–99% of class-prior shifts that confidence- and embedding-based detectors miss. In continual adaptation SHIFT-JEV reaches 70.5% accuracy on Qwen3-0.6B, above replay, LwF,

A PREPRINT

EWC and fine-tuning baselines in every seed, whereas on Qwen3-4B its conservative gate leaves it 0.4–1.4 points behind them.

Keywords LLM decision models · selective prediction · conformal risk control · distribution shift · continual learning

1 Introduction

Many software systems choose among a small set of predefined options: they route a support ticket, identify the intent of a customer message, check a document against a rule or grade a model response. General chat LLMs can perform these tasks, but their free-form answers must be parsed, they are slow to generate and they carry no usable confidence. Decision models such as Jev [1] instead return a probability distribution over the candidate options in a single call, which downstream code consumes directly. Such models have recently been used as cheap first-stage judges [2, 3], as detectors of alignment failures [4], for social-science annotation [5] and for coding administrative records [6]. Li and Wagle [7] showed that an ordinary instruction-tuned LLM already behaves as a decision model (LLM-as-Jev): listing the options with bracketed numbers, pre-filling “Best answer: [” and scoring each option identifier through a prefix-free trie yields calibrated decisions without training, and a tree-factorized loss with KL anchors fine-tunes the model without damaging its chat behaviour.

These evaluations use test data that resembles the calibration data. Deployment does not. A routing model meets new products and phrasing (domain shift), changing frequencies of the correct options (class-prior shift), requests that no offered option covers (emerging classes), and option lists that are reordered, reworded, extended or missing the right answer (candidate-set shift). Because software acts on the returned probabilities automatically, a model that is confidently wrong under shift is more harmful than one that fails visibly. LLM judges are over-confident [8], conformal guarantees for LLMs fail under dataset shift unless re-verified [9, 10], risk controlled over a population can exceed its budget within groups [11, 12], and sequential fine-tuning can collapse coverage before it lowers accuracy [13]. No existing work studies how LLM decision models behave under these shifts or how to keep their errors within a budget.

We address three research questions. RQ1: how do the accuracy and calibration of frozen and fine-tuned LLM decision models degrade under the four shift types? RQ2: can abstention keep the realized error rate of answered inputs below a target α\alpha under shift, and which signals and threshold rules achieve this? RQ3: when labelled data from a new regime arrive, can the model adapt without forgetting earlier regimes while declining updates that do not help?

We answer them with SHIFT-JEV (Fig. 1), which adds three modules to the LLM-as-Jev interface. Module A monitors each decision and the decision stream. Module B abstains when a learned risk score exceeds a threshold certified by Learn-then-Test; drift distances are used to route inputs to a threshold but never enter the score. Module C adapts the LoRA adapter to a new regime and keeps the update only when it measurably helps.

This paper makes three contributions. First, it introduces a shift benchmark for LLM decision models with one in-distribution and ten shifted test environments covering all four shift types, seven external benchmarks at the base paper's sample sizes, stream protocols at three severities and a four-stage continual protocol that includes a no-shift control stage. Second, it proposes a monitoring, certified-abstention and gain-gated adaptation procedure and isolates which of its parts matter: the risk score and the data used for certification matter, drift-based routing does not, label-shift monitoring is essential, and the accuracy gains of adaptation come mainly from replay and severity-scaled anchoring, with the gate acting chiefly as a safeguard against

A PREPRINT

useless updates. Third, it reports a comparison with six abstention rules, five continual-learning baselines and a range of ablations over two Qwen3 sizes with three seeds each and a second model family, using statistics that do not treat repeated evaluations of the same items as independent, and it states where SHIFT-JEV does not help.

Stage 1 LLM-as-Jev decision model

Figure

Stage 2 Reliability layer (Module A: monitoring; Module B: certified abstention)

Stage 3 Module C: continual adaptation with an expected-gain gate

Figure

the adapter and thresholds {τg}\{\tau_g\} are redeployed in Stages 1–2

Figure 1: Overview of SHIFT-JEV. Stage 1: the LLM-as-Jev decision model scores numbered options through a prefix-free trie and exposes decision probabilities, the probability mass on legal identifier tokens and a state embedding. Stage 2: in the scoring lane, uncertainty, format and consistency features give the risk score r(x)r(x); in the routing lane, an option-invariant drift distance assigns the input to a known regime g or to unknown and drives the stream detectors. The model answers only if r(x)r(x) is below the threshold certified for that regime, or below the conservative τshift\tau_{shift} for unknown inputs and after an alarm. Stage 3: a labelled batch from a new regime drives a severity-scaled LoRA update that is kept only if it significantly improves held-out accuracy without losing more than 5 points on earlier regimes.

References (82)