联合还是按选项?用于闭集决策的紧凑编码器:参数规模从1700万到10亿
Joint or Per-Option? Compact Encoders for Closed-Set Decisions from 17 Million to 1 Billion Parameters
AI总结:
该研究对比联合与按选项的闭集决策编码器,发现按选项评分的3200万参数模型表现更优,6800万、1.5亿参数的联合编码器性能超4.35亿参数的DeBERTa-v3,且延迟更低、对选项顺序不敏感。
摘要:
许多语言模型管道最终会做出闭集决策,例如选择工具。用大型语言模型进行提示操作速度慢且对顺序敏感。本文研究用于此类决策的编码器可小到何种程度,以及编码器应联合读取选项还是单独读取选项。在一项参数规模为3200万的三种子实验中,在37个基准决策套件的保留样本上,按选项评分在匹配优化器步骤下的机会校正技能比联合评分高5.8个百分点,在训练计算量大致匹配的情况下高2.8个百分点;两个外部基准也得出了一致结果,尽管在其未见任务上的结果不显著。将读取器与初始化结合分析发现,该优势需要重排序器初始化,其查询-候选对输入与按选项读取匹配;从原始编码器来看,两种读取器无差异。按选项评分需要5到13倍的编码器传递次数:最多为中位数延迟的2倍,但超过平均延迟的4倍。在发布的6个联合编码器(参数规模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.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。