联合还是逐选项?用于闭集决策的紧凑编码器:从1700万到10亿参数

·

研究论文 · 2026/10/27

本文研究用于闭集决策(如工具选择)的小型编码器的最小规模及选项读取方式(联合或逐选项)。在3200万参数的三种子研究中,逐选项评分在37个基准决策套件的留出样本上,在匹配优化器步数时比联合评分高5.8个机会校正技能点,在近似匹配训练计算量时高2.8点;两个外部基准结果一致,但在未见任务上不显著。交叉读取器与初始化表明,该优势需要重排序器初始化,其查询-候选对输入与逐选项读取匹配;从原始编码器看,两种读取器无差别。逐选项评分需要多5到13倍的编码器前向传递:中位延迟最多两倍,但平均延迟超过四倍。在六个已发布的联合编码器(1700万到10亿参数)中,6800万和1.5亿参数模型在209个重叠审计的System1-Arena任务上分别比4.35亿参数的DeBERTa-v3零样本分类器高4.9和5.9个准确率点,在145个训练中未见任务上至少持平。最小模型在16个处理器线程上对中位请求的响应时间为14毫秒,而分类器为728毫秒。重新排序选项会改变联合模型12%到23%的答案(逐选项评分:无变化)。在6800万参数以内,它们在公共排行榜的私有、主要分布内测试中领先同规模模型。

本文为闭集决策任务提供了小型编码器的实用设计指南,通过大规模实验揭示了逐选项评分与联合评分的权衡,并展示了小模型在准确率和延迟上的显著优势,对高效部署有直接参考价值。

Many language-model pipelines end in a closed-set decision, such as selecting a tool. Prompting a large language model for it is slow and order-sensitive. We ask how small an encoder for such decisions can be and whether it should read the options jointly or separately. In a three-seed study at 32 million parameters, per-option scoring beats joint scoring on a held-out sample of a 37-benchmark decision suite by 5.8 points of chance-corrected skill at matched optimizer steps and by 2.8 at approximately matched training compute; two external benchmarks agree, though not significantly on their unseen tasks. Crossing reader with initialisation shows that the advantage requires a reranker initialisation, whose query-candidate pair input matches per-option reading; from the raw encoder the two readers are indistinguishable. Per-option scoring needs 5 to 13 times more encoder passes: at most twice the median latency, but more than four times the mean. Of six released joint encoders (17 million to 1 billion parameters), the 68- and 150-million-parameter models exceed a 435-million-parameter DeBERTa-v3 zero-shot classifier by 4.9 and 5.9 accuracy points on 209 overlap-audited System1-Arena tasks and are at least on par with it on the 145 tasks unseen in training. The smallest answers a median request in 14 milliseconds on 16 processor threads, against 728 for the classifier. Reordering options changes 12 to 23% of the joint models' answers (per-option scoring: none). Up to 68 million parameters, they lead their size range on a public leaderboard's private, mainly in-distribution tests.

阅读原文

参与讨论