Routing Without Embeddings: Fast And Interpretable Routing With Regular Expressions
The DOI matches its DataCite record; 6 of the 6 references it cites were found in a registry or an index.
Abstract
Large Language Model (LLM) routers commonly rely on neural query embeddings, with larger encoders expected to better capture query intent and difficulty. Yet scaling Qwen2.5 encoders from 0.5B to 72B parameters brings little improvement in routing accuracy (Figure 1b), suggesting that small encoders may already capture the query properties needed for routing. We therefore investigate which properties matter and whether they can be extracted directly from text without a neural encoder. We introduce REGEXROUTE, a pipeline that uses sparse autoencoders (SAEs) to discover interpretable regular-expression (regex) features. Using unlabeled text, an LLM turns descriptions of grouped SAE latents into regex extractors and refines them to match latent activation patterns. These extractors supply numerical features to a lightweight routing head, eliminating neural encoding at inference (Figure 1a). Across four benchmarks, one fixed set of 128 features achieves 76.43% average routing accuracy, comparable to 76.41% for the strongest neural text encoder baseline, with much smaller latency and strong robustness. These findings establish explicit, interpretable text features as a practical basis for designing and understanding LLM routers.
Overview
The claims and statistics of this paper haven’t been checked yet.
Free: it reads the open-access text and checks the first 5 claims that cite a source we can check. Create a free account to check every claim.
Integrity signals
Registry
Cites
Statistics
Verification
Claims the paper makes
The claims and statistics of this paper haven’t been checked yet.
Free: it reads the open-access text and checks the first 5 claims that cite a source we can check. Create a free account to check every claim.
Self-check
Percentages, sums and reported differences re-computed from the paper’s own numbers.
The self-check needs the paper’s full text.
Citations
Cites
OpenAssistant Conversations - Democratizing Large Language Model Alignment
Köpf, A., Kilcher, Y., von Rütte, D., Anagnostidis, S., Tam, Z.-R., Stevens, K., Barhoum, A., Duc, N. M., Stanley, O., Nagyfi, R., et al. (2023) · arXiv · doi:10.48550/arxiv.2304.07327 · Cited by 218
Scaling and evaluating sparse autoencoders
Gao, L., la Tour, T. D., Tillman, H., Goh, G., Troll, R., Radford, A., Sutskever, I., Leike, J., & Wu, J. (2024) · arXiv · doi:10.48550/arxiv.2406.04093 · Cited by 21
GraphRouter: A Graph-based Router for LLM Selections
Feng, T., Shen, Y., & You, J. (2024) · arXiv · doi:10.48550/arxiv.2410.03834 · Cited by 2 · cited 1×
“This need motivated a range of router designs, from nearest-neighbor and clustering methods (Zhang et al., 2025; Jitkrittum et al., 2025) to learned classifiers (Song et al., 2025; Feng et al., 2025b; Zhuang et al., 2024).”
Frick, E., Chen, C., Tennyson, J., Li, T., Chiang, W.-L., Angelopoulos, A. N., & Stoica, I. (2025) · arXiv · doi:10.48550/arxiv.2502.14855
EmbedLLM: Learning Compact Representations of Large Language Models
Zhuang, R., Wu, T., Wen, Z., Li, A., Jiao, J., & Ramchandran, K. (2024) · arXiv · doi:10.48550/arxiv.2410.02223
CARROT: A Cost Aware Rate Optimal Router
Somerstep, S., Polo, F. M., de Oliveira, A. F. M., Mangal, P., Silva, M., Bhardwaj, O., Yurochkin, M., & Maity, S. (2025) · arXiv · doi:10.48550/arxiv.2502.03261 · cited 3×
“We conduct experiments on four benchmarks: EmbedLLM (Zhuang et al., 2024), NineBy30k (Lu et al., 2026), R2Bench (Xue et al., 2026), and CARROT (Somerstep et al., 2025).”
Metadata
- Authors
- Lu, Y., Zhang, Q., Shan, H., Chen, H., & Xing, J.
- Venue
- arXiv
- Publisher
- arXiv
- Published
- 2026
- arXiv
- 2609.34326
- References
- 6
- Type
- Preprint
About these checks
Registry, retraction, Cites and statistics results are computed, not judged, with one exception: a printed reference that no index lists is read once by a model before it counts as a citation error. Claims are extracted by a model and kept only when their quote appears verbatim in the text; each cited source is then checked, with a model’s help, for whether it says what the claim relies on. Those verdicts can be wrong — read the claim’s quote and the cited source before relying on one.
Statistics and arithmetic are recomputed, not judged.
Confidence bands are shown only for fields calibrated on our annotated test set. None is calibrated yet, so no band is shown.
What counts as a claim ›How we measure confidence ›How we check this ›
Are you an author, or do you see a problem with this page? Request a review
Data sources
Bibliographic data: Semantic Scholar, OpenAlex, Crossref.
Contains information from the Semantic Scholar Academic Graph Datasets, made available under the ODC Attribution License (ODC-BY 1.0).
Semantic Scholar’s data is described in: Kinney, R., et al. (2023). The Semantic Scholar Open Data Platform. arXiv:2301.10140.