SelRoute: Query-Type-Aware Routing for Long-Term Conversational Memory Retrieval
Matthew McKee

TL;DR
SelRoute is a query-type-aware routing framework that enhances long-term conversational memory retrieval by directing queries to specialized pipelines, achieving high recall and broad generalization without requiring GPU or LLM inference at query time.
Contribution
Introduces SelRoute, a novel routing framework that dynamically selects retrieval pipelines based on query type, improving retrieval effectiveness and efficiency in conversational memory systems.
Findings
SelRoute achieves Recall@5 of 0.800 on LongMemEval_M with a 109M parameter model.
A regex-based classifier attains 83% routing accuracy, maintaining high retrieval performance.
The system generalizes well across multiple benchmarks, with identified limitations on reasoning-intensive retrieval.
Abstract
Retrieving relevant past interactions from long-term conversational memory typically relies on large dense retrieval models (110M-1.5B parameters) or LLM-augmented indexing. We introduce SelRoute, a framework that routes each query to a specialized retrieval pipeline -- lexical, semantic, hybrid, or vocabulary-enriched -- based on its query type. On LongMemEval_M (Wu et al., 2024), SelRoute achieves Recall@5 of 0.800 with bge-base-en-v1.5 (109M parameters) and 0.786 with bge-small-en-v1.5 (33M parameters), compared to 0.762 for Contriever with LLM-generated fact keys. A zero-ML baseline using SQLite FTS5 alone achieves NDCG@5 of 0.692, already exceeding all published baselines on ranking quality -- a gap we attribute partly to implementation differences in lexical retrieval. Five-fold stratified cross-validation confirms routing stability (CV gap of 1.3-2.4 Recall@5 points; routes…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
