RoToR: Towards More Reliable Responses for Order-Invariant Inputs

Soyoung Yoon, Dongha Ahn, Youngwon Lee, Minkyu Jung, HyungJoo Jang +1 more
2/10/2025
cs.CLcs.AI

Official code: soyoung97/RoToR (0 stars, MIT, last commit 2025-06-15).

Abstract

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)

View on arXivView PDF

Code Implementations(1)

soyoung97/RoToROfficial100%
MIT

Official Repository for the RoToR paper.

00Shell, PythonJan 13, 20251 years agoMIT

Similar Papers

Cite this paper

@article{yoon2025rotor,
  title  = {RoToR: Towards More Reliable Responses for Order-Invariant Inputs},
  author = {Soyoung Yoon and Dongha Ahn and Youngwon Lee and Minkyu Jung and HyungJoo Jang and Seung-won Hwang},
  year   = {2025},
  eprint = {2502.08662},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2502.08662v3}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2502.08662.svg)](https://codeofpaper.com/paper/2502.08662)

Discussion