論文解説
Recalibrating a Typed-Decision Model in an Afternoon: A Hands-On Recipe for Laya's Confidence Scores
typed-decisionモデルを午後の半日で再較正する実践レシピ:Layaの信頼度スコア向け
- 課題 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
- 掲載内容
- 論文情報・解説・論文の図
この解説は、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}
}