# Recalibrating a Typed-Decision Model in an Afternoon: A Hands-On Recipe for Laya's Confidence Scores

typed-decisionモデルを午後の半日で再較正する実践レシピ：Layaの信頼度スコア向け

Mohammed Nayeem Khan, Aliyas Ahmad Misri · arXiv · 2026年11月12日

- **課題** pooled ECEは0.073と良好に見えますが、バケットごとのmacro-ECEは0.143で、過信と過小信頼が相殺されて隠れてしまいます。
- **手法** バケットごとの温度補正の倍率を交差適合で求め、Platt、ヒストグラム、出現頻度による補正と比較しました。
- **結果** バケットごとの温度補正はmacro-ECEを0.073に下げ、単一の全体温度はpooled ECEを0.173に上げました。

## pooled ECEが隠すバケットごとの過信と過小信頼

typed-decisionモデルは確率を返しますが、その確率を閾値に応じて回答・保留・エスカレーションの規則に使う場合は、信頼度が確率として正しいかどうかが重要になります。この論文は、Layaのチェックポイントで全体をまとめたpooled ECEが0.073と良好に見えても、質問の種類と選択肢の数で分けたバケットごとのmacro-ECEは0.143で、約2倍大きいことを指摘しています。そのため、全体の平均だけを見ていては、較正の問題は見えてきません。

## バケットごとの温度補正の計算方法

Layaは選択肢ごとにロジットを作り、バケットごとに保存された温度で割ってから確率を出力します。この論文では、保存された温度をそのまま信用せず、公開されている確率pを1/T乗してから再正規化する方法で、バケットごとに倍率Tを求めています。温度補正はロジットを正の数で割る演算なので、選択肢の順位は変わらず、信頼度だけが変わります。この方法はPlatt、ヒストグラム、出現頻度による補正と比べられ、信頼度の値だけがあれば、これらの方法も使えます。負の対数損失（NLL）を最小化するTを格子上で探すことが中心で、論文ではバケットごとにこの倍率を独立に求めています。

## 交差適合と手法の比較

補正マップは、当てはめに使ったデータで過学習することがあるため、1,065件の項目を5つのフォールドに分け、別のフォールドで求めた補正マップを各項目に適用する交差適合を使いました。この方式では、バケットごとの温度補正によってmacro-ECEが0.073に下がり、10回のフォールド割り当ての平均は0.078でした。同じ比較で、単一の全体温度はpooled ECEを0.073から0.173に上げています。ただし、1回のフォールド割り当てではヒストグラムが0.059で最も低く、10回の繰り返しではPlattが0.046で最も低くなりました。小規模なバケットではこの順位が揺らいだため、手法間の差はシードごとの標準偏差とあわせて読む必要があります。

## 再学習したチェックポイントと補正表の限界

この研究で再学習された30個のチェックポイントは、バケットごとの温度表を1つも保存していませんでした。25個は、choiceの温度が上限の5.0にありました。これはこの学習設定とこのデータに限られた観察であり、学習器全般についての主張には広げていません。

## 論文情報

- **著者**: Mohammed Nayeem Khan, Aliyas Ahmad Misri
- **学会・ジャーナル**: arXiv · プレプリント
- **公開日**: 2026年11月12日
- **登録日**: 2026年11月13日
- **更新日**: 2026年11月12日
- **バージョン**: v1
- **arXiv**: 2611.16499
- **カテゴリ**: cs.AI · cs.SE
- **ライセンス**: [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/)
- **掲載内容**: 論文情報・解説・論文の図

[元論文 ↗](https://arxiv.org/abs/2611.16499v1) · [PDF ↗](https://arxiv.org/pdf/2611.16499v1)

この解説は、Refivuの韓国語解説をAIで翻訳したものです。不正確な翻訳や誤りが含まれる可能性があります。論文と図の利用条件は各出典に従います。

## アブストラクト

A typed-decision model such as Laya reads a text and a list of options that the caller defines, for example ticket categories, and returns a probability for each option. Code around it compares the top probability with a threshold to answer, abstain or escalate to a person. Earlier work reports, for a Turkish model, that temperature scaling can raise held-out calibration error (ECE). This tutorial gives a five-step recipe (measure, diagnose, fit, validate, deploy) in 130 lines of numpy with standard methods, none new. On 1,065 synthetic, LLM-labelled items the released Laya checkpoint has a pooled ECE of 0.073 but a bucket-macro ECE of 0.143 (0.127-0.184), the mean over buckets (questions grouped by type and option count): the 12-option bucket is over-confident by +0.22, the three-to-five-option bucket under-confident by 0.05, and they cancel. One global temperature makes pooled ECE worse (0.173); a cross-fitted temperature per bucket brings macro-ECE to 0.073 (0.078 over 10 fold assignments) and reaches 0.089 with 10 labelled items per bucket, but holding out one of seven evaluation sets gives 0.099. After the refit, a gate aimed at 10% error answers 46.3% of items (10.5% wrong) against 6.9% on the published confidences, but one cut-off per bucket on the published confidences answers 45.4%, so most of the gain comes from separating buckets. Confidence-only maps (Platt, histogram, isotonic) need 20 or more labelled items per bucket to approach the temperature; with 320 per bucket the lowest macro-ECE belongs to Platt. In these files the retrained checkpoints store no per-bucket table and the stored 12-option value 0.1006 is clamped to 0.5 at runtime; the refit helps 31 of 33 checkpoints on random folds and 21 with a set held out. Fit and test share one generator and LLM labels, so these are findings about these checkpoints and this data.

## この論文を引用

Mohammed Nayeem Khan, Aliyas Ahmad Misri (2026). Recalibrating a Typed-Decision Model in an Afternoon: A Hands-On Recipe for Laya's Confidence Scores. arXiv:2611.16499v1. https://arxiv.org/abs/2611.16499v1

**BibTeX**

```
@misc{khan2026recalibrating,
  title = {{Recalibrating a Typed-Decision Model in an Afternoon: A Hands-On Recipe for Laya's Confidence Scores}},
  author = {Mohammed Nayeem Khan and Aliyas Ahmad Misri},
  year = {2026},
  eprint = {2611.16499},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2611.16499v1}
}
```

## この論文の用語

- [Brier score](https://refivu.com/ja/terms/5fd6d59d3a08-brier-score)
- [Expected Calibration Error](https://refivu.com/ja/terms/5989f8ad43cb-expected-calibration-error)
- [temperature scaling](https://refivu.com/ja/terms/f06bf589474e-temperature-scaling)
- [cross-ﬁtting](https://refivu.com/ja/terms/58603061149e-cross-fitting)
- [Platt scaling](https://refivu.com/ja/terms/1ada8f49f3f0-platt-scaling)
- [histogram binning](https://refivu.com/ja/terms/76e43990758c-histogram-binning)
- [risk-coverage curve](https://refivu.com/ja/terms/c0fd43f6c0a9-risk-coverage-curve)

## ほかの論文解説

- [ORCHID-SAGE: Fully Reproducible CALPHAD Assessment from Evidence to Phase Diagram](https://refivu.com/ja/papers/7bdc6793-f96c-4909-866a-faa678245608-orchid-sage-fully-reproducible-calphad-assessment-from.md)
- [A Sensitivity Framework for Assessing External Validity](https://refivu.com/ja/papers/21950225-6379-406e-8119-a682680084fa-a-sensitivity-framework-for-assessing-external-validity.md)
- ["It's Just a Small Weapon": What Rewarding Misbehavior During RL Does to Character-Trained Models](https://refivu.com/ja/papers/ff82eb4f-09a9-4988-85f7-9aec117b7142-it-s-just-a-small-weapon-what-rewarding.md)
- [Owned Edits to a Shared Decision Rule: Learning Private Exceptions as Typed, Gated, Withdrawable Weight Edits](https://refivu.com/ja/papers/18df3a28-3d2d-426c-aa2a-34fe0ab029b2-owned-edits-to-a-shared-decision-rule-learning.md)
- [Controlling the Probability of Unknown Unknowns in Pre-Deployment Testing of AI Systems](https://refivu.com/ja/papers/3f5fec17-327a-4b7d-af9c-53d8145effe8-controlling-the-probability-of-unknown-unknowns-in-pre.md)
- [A Mechanistic Interpretability Study of an Astronomy Foundation Model](https://refivu.com/ja/papers/5e797f9b-473e-491d-82f9-9afe128c2455-a-mechanistic-interpretability-study-of-an-astronomy.md)
- [Eliciting and Mitigating Specification Satisficing in Coding Agents](https://refivu.com/ja/papers/cfe84310-98d7-4917-8b3c-5b23d97305e8-eliciting-and-mitigating-specification-satisficing-in-coding.md)
- [ReSID: Rethinking Long-Tail Retrieval in Generative Recommendation through Item Reachability](https://refivu.com/ja/papers/d76f3e52-72f0-4e84-ac25-890b832b4bc0-resid-rethinking-long-tail-retrieval-in-generative.md)
- [RICapBench: A Fine-Grained Visual Understanding Benchmark Dataset for Vision-Language Models in Remote Sensing](https://refivu.com/ja/papers/c872f032-3186-451e-99a1-b0da1513908b-ricapbench-a-fine-grained-visual-understanding-benchmark.md)
- [Causals: An Open Knowledge Graph for Research on Causal Reasoning](https://refivu.com/ja/papers/8af2faca-2268-43d6-b554-fd473adf02dc-causals-an-open-knowledge-graph-for-research-on.md)
- [Indic-Task Gains and Regressions after Reinforcement Learning](https://refivu.com/ja/papers/8e75a357-8237-4f0f-8a8b-05cabcb3f839-indic-task-gains-and-regressions-after-reinforcement.md)
- [GOOSELoc: A Multimodal Benchmark for Ground-to-Aerial Localization in Unstructured Off-Road Terrain](https://refivu.com/ja/papers/41c50e6f-7f66-4a65-a19f-9bd7097ae9a5-gooseloc-a-multimodal-benchmark-for-ground-to-aerial.md)

---

AI解説には誤りが含まれることがあります。 [Refivu](https://refivu.com/ja/papers/17bdb555-a961-43b5-b278-cc57e21b0f2e-recalibrating-a-typed-decision-model-in-an-afternoon)
