Routesplain: Towards Faithful and Intervenable Routing for Software-related Tasks

Adam Štorek, Vikas Upadhyay, Marianne Menglin Liu, Daniel W. Peterson, Anshul Mittal +3 more
11/12/2025
cs.SEcs.CLcs.LG

No confident code implementation found for this paper.

Abstract

LLMs now tackle a wide range of software-related tasks, yet we show that their performance varies markedly both across and within these tasks. Routing user queries to the appropriate LLMs can therefore help improve response quality while reducing cost. Prior work, however, has focused mainly on general-purpose LLM routing via black-box models. We introduce Routesplain, the first LLM router for software-related tasks, including multilingual code generation and repair, input/output prediction, and computer science QA. Unlike existing routing approaches, Routesplain first extracts human-interpretable concepts from each query (e.g., task, domain, reasoning complexity) and only routes based on these concepts, thereby providing intelligible, faithful rationales. We evaluate Routesplain on 16 state-of-the-art LLMs across eight software-related tasks; Routesplain outperforms individual models both in terms of accuracy and cost, and equals or surpasses all black-box baselines, with concept-level intervention highlighting avenues for further router improvements.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{torek2025routesplain,
  title  = {Routesplain: Towards Faithful and Intervenable Routing for Software-related Tasks},
  author = {Adam Štorek and Vikas Upadhyay and Marianne Menglin Liu and Daniel W. Peterson and Anshul Mittal and Sujeeth Bharadwaj and Fahad Shah and Dan Roth},
  year   = {2025},
  eprint = {2511.09373},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2511.09373v1}
}

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/2511.09373.svg)](https://codeofpaper.com/paper/2511.09373)

Discussion