RoToR:面向顺序不变输入实现更可靠响应
RoToR: Towards More Reliable Responses for Order-Invariant Inputs
AI总结:
本文提出零样本顺序不变语言模型RoToR和自适应框架Selective Routing,通过最小修改位置ID并区分顺序不变与敏感输入,有效缓解列表式任务中的位置偏差。
摘要:
缓解语言模型(LMs)在列表式输入上的位置偏差是一个众所周知且重要的问题(例如“迷失在中间”现象)。尽管已有零样本顺序不变语言模型被提出以解决该问题,但它们在实用列表式问题上的成功仍然有限。在本工作中,作为第一项贡献,我们识别并克服了两个限制,以使零样本顺序不变语言模型更具实用性:(1)因修改位置ID分配以强制顺序不变性而导致的训练与推理分布不匹配;(2)在实用列表式问题中无法适应顺序不变输入与顺序敏感输入混合出现的情况。随后,为克服这些问题,我们提出:(1)RoToR,一种零样本顺序不变语言模型,通过对位置ID进行最小修改来处理真正顺序不变的输入;(2)Selective Routing,一种自适应框架,可在列表式任务中同时处理顺序不变和顺序敏感输入。在Lost in the middle(LitM)、知识图谱问答(KGQA)和MMLU基准上,我们表明结合Selective Routing的RoToR能够以零样本方式有效处理实用列表式输入任务(https://github.com/soyoung97/RoToR)。
英文摘要:
Mitigating positional bias of language models (LMs) for listwise inputs is a well-known and important problem (e.g., lost-in-the-middle). While zero-shot order-invariant LMs have been proposed to solve this issue, their success on practical listwise problems has been limited. In this work, as a first contribution, we identify and overcome two limitations to make zero-shot invariant LMs more practical: (1) training and inference distribution mismatch arising from modifying positional ID assignments to enforce invariance, and (2) failure to adapt to mixture of order-invariant and sensitive inputs in practical listwise problems. Then, to overcome these issues we propose (1) RoToR, a zero-shot invariant LM for genuinely order-invariant inputs with minimal modifications of positional IDs, and (2) Selective Routing, an adaptive framework that handles both order-invariant and order-sensitive inputs in listwise tasks. On the Lost in the middle (LitM), Knowledge Graph QA (KGQA), and MMLU benchmarks, we show that RoToR with Selective Routing can effectively handle practical listwise input tasks in a zero-shot manner (https://github.com/soyoung97/RoToR)
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。