Goto

Collaborating Authors

 Education


From Hidden States to Stated Confidence: Self-Distillation for Reasoning Models

arXiv.org Artificial Intelligence

Reinforcement learning with binary correctness rewards trains correctness, not calibrated confidence. The confidence that reasoning models verbalize is overconfident and tracks how willing a model is to commit to an answer rather than how likely the answer is to be right, so post-hoc rescaling rarely transfers. We look inside the model instead. On factual question answering, a linear probe on the hidden state between the chain of thought and the answer has 5-38x lower expected calibration error (ECE) than the verbalized score across four benchmarks and two model families. Since a probe needs hidden-state access, we introduce probe-guided self-distillation (Probe-SD): the probe scores the model's own sampled traces, each trace's stated confidence is overwritten with that score, and the base checkpoint is finetuned on the result, so the model itself states calibrated confidence at test time. On Qwen3-14B, Probe-SD cuts out-of-domain ECE from 0.542 to 0.113, beats post-hoc recalibration and self-distillation with sample-based labels, and keeps the confidence stated while reasoning consistent with the final score. Its question-level variant, Probe-SD-Q, lowers ECE further to 0.099, and the gains carry over to multiple-choice QA with shuffled options. The probe mainly separates questions the model knows from those it does not. As an answer selector it nearly ties majority voting, so we use it as a confidence, not a selector.


Exact Algebraic Computation of Learning Coefficients for Two-Dimensional Singular Models

arXiv.org Artificial Intelligence

Classical information criteria such as the Bayesian Information Criterion (BIC) rely on regularity assumptions that break down for singular models, leading to incorrect model selection in settings such as deep learning. The Widely Applicable Bayesian Information Criterion (WBIC) relies on local learning coefficients $ฮป$, which in the analytic case coincides with local Real Log Canonical Thresholds (RLCT) of the Kullback-Leibler divergence of the model, to capture correct marginal likelihood asymptotics. Exact computation of the learning coefficients has been limited to special cases, and only sampling-based estimation methods are generally applicable. We present the first deterministic algorithm that computes local RLCTs exactly for any two-dimensional model whose Kullback-Leibler distance is contact equivalent to a polynomial, derive a bound on its complexity, and demonstrate its effectiveness for a broad class of models, with applications including polynomial neural networks. Beyond providing ground truth to calibrate sampling-based estimators, exact computation reveals algebraic structure in learning coefficients that sampling cannot and out-speeds it in the shallow regime.


Multi-Token Prediction Done Right

arXiv.org Artificial Intelligence

Multi-Token Prediction (MTP) is now a common ingredient in language-model pre-training, as it improves downstream performance and enables faster inference through speculative decoding. We identify a flaw in standard MTP training, in which a residual component of the MTP gradient interferes with both next-token and multi-token learning, increasingly so with scale. Specifically, the MTP cross-entropy gradient can be decomposed exactly into a KL self-distillation term that pulls each MTP head toward the model's own next-token prediction (NTP) distribution and improves speculative decoding, and a residual that has a low signal-to-noise ratio and buries the useful KL signal. We introduce the KL gradient-recovery trick: when two distributions share a linear output head, the gradient of their KL divergence can be recovered exactly by combining their cross-entropy gradients through straight-through gradient routing. Unlike minimizing the KL directly, this trick requires no vocabulary-sized logit matrices and is compatible with standard fused cross-entropy kernels. This enables Soft Multi-Token Prediction (Soft-MTP), a one-line code change to MTP that removes the noisy residual and backpropagates only the KL self-distillation signal by reusing the existing NTP and MTP cross-entropy computations. Soft-MTP supports both DeepSeek- and Meta-style MTP, adds no parameters, and incurs no measurable overhead. From 167M to 1.2B parameters, Soft-MTP improves over standard MTP with lower NTP perplexity, faster speculative decoding and higher zero-shot accuracy at every scale, lower MTP perplexity from 689M onward, and stronger math and code reasoning after fine-tuning at 1.2B. Soft-MTP also matches, if not exceeds, direct KL divergence minimization on most metrics. Soft-MTP is, in effect, a free lunch for MTP optimization. Our code can be found at https://github.com/JaydenTeoh/Soft-MTP.


Distillation Defenses Easily Break After Reinforcement Learning

arXiv.org Artificial Intelligence

Distillation attacks copy the reasoning capabilities of closed-source large language models, allowing bad actors to replicate state-of-the-art performance at low cost. Attackers systematically collect a large volume of frontier model reasoning traces and then train (i.e., "distill") their own models on these traces. Existing defenses against distillation attacks are typically evaluated immediately after distillation, implicitly assuming attackers do not train their models any further. In this paper, we argue that a more realistic threat model includes further training with reinforcement learning after distillation. A misspecified threat model can give a false sense of security -- some defenses that seem effective after distillation can be broken after subsequent reinforcement learning. Practically, reinforcement learning lowers the bar for a distillation attack to be effective. We show that simple attacks can steal reasoning capabilities from existing closed-source language models using data easily obtainable from current APIs, yielding reasoning improvements equivalent to more sophisticated attacks that extract the full hidden traces. Results indicate that any distillation defense that leaks sufficient information to reconstruct approximate reasoning traces is likely ineffective. We conclude by discussing broader implications and batch-level distillation defenses which could be more effective.


Multi-Objective Causal Bandits: Minimal Intervention Space and Policy-Level Learning

arXiv.org Artificial Intelligence

Many decision-making problems involve multiple objectives, where actions affect several performance metrics, fairness criteria, or safety constraints. We study multi-objective causal bandits with multiple reward nodes, where actions correspond to interventions on subsets of variables in a causal graph and performance is evaluated through Pareto optimality. Existing approaches to multi-objective bandits often rely on pairwise Pareto dominance or optimize a fixed scalarization. However, pairwise comparisons alone can fail to identify actions dominated by randomized policies, whose expected reward vectors lie in the convex hull of action-level rewards. Thus, an intervention may be suboptimal even if no single intervention dominates it, because it can be dominated by a randomized policy over other interventions. We formalize this policy-level phenomenon and show that it has consequences for both causal action-space reduction and online learning. First, we provide a necessary-and-sufficient graphical characterization of possibly Pareto- optimal minimal intervention sets. Our characterization yields a minimal, sound, and complete candidate intervention family from the graph alone, correcting prior formulations that may include intervention sets that are never Pareto-optimal under any compatible structural causal model. Second, over this reduced intervention space, we design an online UCB-style algorithm that eliminates actions using dominance tests against convex combinations of other actions, and prove logarithmic gap-dependent Pareto regret. Finally, we study constrained multi-objective causal bandits, where feasibility and optimality may be realized only with randomized policies, and develop an online UCB-style constrained bandit algorithm with sublinear regret and constraint-violation guarantees.


Counting Under Disagreement: Dollar-Weighted Measurement, Selective Machine Labelling and Budgeted Human Review from Disagreeing AI Readers of Administrative Text

arXiv.org Artificial Intelligence

We study AI-assisted measurement when one text label applies to many administrative records, the target is a monetary total, and the human readings that anchor the machines disagree. The testbed is 121,070 grant-purpose texts from US tax filings (799,675 records, $126.4B), labelled by a rule-based classifier and three language models, with a designed sample of 651 texts read independently by three people under one codebook, who then adjudicated the 152 texts they split on. We state exact conditions for a fixed-predictor difference estimator and for a cross-fitted predictor whose folds are assigned to the whole frame independently of the sample, under Poisson sampling, and assess the implemented fixed-size procedures by simulation: 8 predictors whose own totals span $12.5-15.0B agree to within $0.4B once rectified. Two rules that accept machine labels at a stated dollar-weighted error, weighted conformal p-values under a dollar measure and Learn-then-Test on the design estimate of the error, are evaluated on nested held-out folds and on design re-draws with synthetic truths; their error control in deployment is not established, and the count-based rule accepts no text under a dollar-drawn sample. In a replay that counts every reference label a policy queries, pilot included (not the readings behind it), a two-phase review policy whose calibrator is fitted on its own first phase reduces the RMSE of the total by 42% at 100 queries relative to dollar-proportional sampling, while pure Neyman allocation fails with an uncalibrated predictor. Independent readers shift the estimated total by $3.93B, 2.7 times the sampling interval; the adjudicated reading puts it at $13.49B; institution-level intervals under-cover at every size. Reference-dependent results are re-run under each reader. The results identify benefits and limits of using learned predictions to decide what a person should verify.


Real-time event-level zero-shot learning at 150 ns: towards a foundation model for particle physics experiment triggering

arXiv.org Artificial Intelligence

The hardware-based Level-1 triggers of the Large Hadron Collider (LHC) experiments select collisions with algorithms designed for one signature each, acting on a coarse, low-latency view of every event. We present a learned event embedding for several trigger tasks and evaluate its transfer to processes absent from training. Using paired offline and Level-1 views of the same simulated collisions, we train an offline transformer with a supervised metric loss and distil it, event by event, into a quantised Level-1 transformer whose bit widths are learned under a fixed resource budget. Trained on 25 Standard Model processes, the embedding places 28 held-out processes next to their physical relatives. A nearest-neighbour selection against background collisions, which never enter encoder training, rejects 99% of them. It retains a median of 90% of seen and 96% of unseen Standard Model events and 88% of a set of 52 beyond-the-Standard-Model benchmark samples, the best-performing score across the three groups among the baselines evaluated on the same events. A second gate against the seen processes isolates high-mass dilepton signals into label-free clusters, and long-lived signals too when displaced-track information is available. With 7512 parameters and an FPGA latency of 147 ns, the encoder uses one event representation, learned once, to derive several selections, opening the door to a foundation model for the LHC's hardware-based triggers.


UMAMI: A Multimodal Benchmark Dataset for Evidence-Grounded Dietary Decisions

arXiv.org Artificial Intelligence

Dietary decisions require identifying a food's nutrient content and considering individual dietary needs, but recognizing food from an image alone does not provide this information. Visually similar foods can have different nutrient profiles, so selecting the wrong food record can lead to incorrect decisions even when nutrient rules are applied correctly. Furthermore, satisfying nutrient constraints does not necessarily establish a food's relevance to a person's intake. Evaluating these challenges together requires connecting food images, nutrient records, and individual intake histories. To support this evaluation, we introduce UMAMI (Unified Multimodal Assessment of Meals and Intake), a multimodal dataset and benchmark linking independently collected food images with nutrient profiles and respondent health and intake records. Using this dataset, we construct three diagnostic tasks covering visual nutrient question answering, personalized food recommendation, and condition-aware food substitution. Paired instances and input controls examine how visual identity and respondent context affect decisions. Our experiments identify errors in both food-record selection and nutrient-rule application, while showing that higher rule compliance does not necessarily improve alignment with subsequent recorded intake. These findings highlight the need to evaluate how multimodal systems select and use structured evidence for dietary decisions. The dataset, code, and dashboard are available at https://umami-benchmark.github.io.


Contrastive On-Policy Distillation via Dual-Branch Supervision

arXiv.org Artificial Intelligence

ABSTRACT For on-policy distillation (OPD), more capable models are a natural choice as teachers. However, higher task performance does not necessarily imply greater teachability. A controlled token intervention study suggests that even a model weaker than the student can serve as an informative contrastive reference. Building on this observation, we propose Contrastive On-Policy Distillation (cOPD), which provides dual branch supervision by contrasting strong teacher, weak teacher, and student predictions at student generated prefixes. Our analysis explains how this three way comparison helps select token candidates associated with better or worse reasoning outcomes under an idealized model. We evaluate cOPD across diverse teacher student configurations spanning different training stages, parameter scales, and model families, on tasks including mathematical reasoning, instruction following, and question answering with abstention. Further analyses show that cOPD suppresses undesirable response patterns and suggest that it facilitates exploration. 1 INTRODUCTION Distillation has rapidly emerged as a core technique for large language model (LLM) post-training. Recent LLMs, including Qwen3 (Yang et al., 2025), DeepSeekV4 (Xu et al., 2026), and GLM-5 (Zeng et al., 2026), have incorporated OPD into their post-training pipelines for capability transfer and consolidation, highlighting its growing practical importance alongside supervised fine-tuning (SFT) and reinforcement learning (RL). As OPD uses the teacher's predictive distribution as a training target, using more capable models as teachers is both a natural and widely adopted design choice (Jin et al., 2026; Yang et al., 2025; Gu et al., 2024).


The KL Divergence Is Never Negative, Except in PyTorch

arXiv.org Artificial Intelligence

A Kullback--Leibler (KL) divergence is never negative, yet PyTorch users have reported negative values for years, and the standard advice is to clamp them at zero. The sign is only the visible part of a silent failure. Many machine-learning applications compare nearby distributions, where conventional KL formulas lose accuracy. On 8.5 million inputs with certified references across 18 closed-form KL families and F.kl_div, we find widespread errors in values and gradients on CPU and GPU. Among scalar families in ordinary parameter ranges, over 85% of FP32 values have at least 1% relative error near KL 10^(-7) (FP16: 10^(-3)), and about 30% become negative at smaller divergences. More precision is not the cure: evaluated one precision higher, the same formulas still leave 7--51% of FP32 values significantly wrong for 22 of 23 configurations. Stable closed-form decompositions, compensated arithmetic, and analytic gradients remove over 97% of significant errors in the working format. Strict repairs eliminate significant errors on 7.2 million scored closed-form samples and correctly round all 567 million scored F.kl_div components. The errors affect parameter fitting, Bayesian decisions, identical-start distillation (up to 97% top-1 disagreement), KL-based layer rankings in a quantized LLM, and 19--59% of GPT-2 circuit edge scores. With the repaired code they all but vanish. Code and data: https://github.com/xi-xiaoran/stablekl