Crimson AI NewsA CrimsonLingua Network service
EN ع
← Back to news
Research paper Hugging Face

New CORD Adapter Preserves Top-1 Predictions in Post-Hoc Calibration

AI By Crimson AI Hugging Face Papers 5 September 2026 · 00:00 23 views
Share: X Telegram

Researchers introduce CORD, a post-fit adapter that repairs calibrated probability vectors to exactly preserve original top-1 predictions while maintaining calibration quality, achieving zero prediction change rate across benchmarks.

New CORD Adapter Preserves Top-1 Predictions in Post-Hoc Calibration

Key points

Post-hoc calibration is widely used to correct the confidence scores of machine learning models, but it can inadvertently alter the model's top-1 prediction—the class with the highest probability. While accuracy metrics capture the net effect on correctness, they do not reveal how often predictions actually change. To address this, researchers have proposed a new method called Calibrator-Output Repair for Top-1 Decision Preservation (CORD).

CORD is a post-fit adapter that works by repairing the full calibrated probability vector. It uses only the original and calibrated outputs to determine the mass assigned to the original top-1 class, then redistributes the remaining probability mass over the other classes according to the calibrated conditional distribution. This ensures that the repaired vector's argmax recovers the original prediction, achieving a zero Top-1 Prediction Change Rate (TPCR) by construction.

Importantly, CORD does not alter the fitted calibrator or its direct output, does not train any additional supervised model, and requires no user-tuned hyperparameters. On the calibration split, it coordinates the repaired masses to retain the calibrated outputs' mean mass on original predictions whenever possible.

Experiments on CIFAR-10, CIFAR-100, and ImageNet-1K show that CORD not only achieves zero TPCR but also lowers mean Expected Calibration Error (ECE), Negative Log-Likelihood (NLL), and Brier score compared to the direct calibrated outputs in every dataset. These improvements persist under distribution shift and across different calibration-set sizes.

The method effectively removes the prediction-preservation constraint from calibrator fitting, allowing calibrators to focus on confidence accuracy while CORD handles decision preservation. The code is available on GitHub, and the paper is on arXiv.

Source
Hugging Face · Hugging Face Papers
Related news
Research paper
Hugging Face 15 Oct 2026

New Survey Maps How Multimodal AI Agents Remember and Evolve

A Hugging Face survey proposes a two-axis framework for multimodal agent memory, separating how information is formed and represen...

8
Research paper
Hugging Face 15 Oct 2026

CriticOPD Fixes On-Policy Distillation by Letting Teachers Critique Student Errors

Hugging Face researchers introduce CriticOPD, a method that restores the teacher's ability to recover from student mistakes during...

8
Research paper
Hugging Face 15 Oct 2026

ActionOPD: Distilling Agent Decisions, Not Tokens

A new Hugging Face paper proposes ActionOPD, an action-level on-policy distillation method that aligns a student agent's decisions...

9