AutoIndex: Learning Representation Programs for Retrieval
Not on the map. Why?
Abstract (arXiv)
We present AutoIndex, a framework for learning representation programs: executable transformations that map raw documents into the representations exposed to a retrieval system. Rather than tuning retrievers, rerankers, or a small set of preprocessing hyperparameters, AutoIndex searches over programs that slice, enrich, normalize, reweight, or reorganize documents before indexing. At each iteration, AutoIndex performs validation-guided program search, in which agents diagnose failures of the current program and synthesize candidate updates, retaining only updates that improve retrieval quality under the resulting index. We evaluate AutoIndex on CRUMB, a benchmark of heterogeneous retrieval tasks, with BM25 held fixed across all experiments. The learned programs improve recall over a static full-document BM25 baseline on all 8 tasks, with average gains of +8.4% in Recall@100 and +8.3% in nDCG@10, and largest gains of +30.5% in Recall@100 and +43.6% in nDCG@10. These results suggest that document representation should not be treated as a fixed preprocessing choice made before retrieval begins, but as an explicit optimization target. Code to reproduce our results is available at https://github.com/auto-index/autoindex.
Key facts. No citing papers in the map yet (data through 14 Oct 2026). Builds on 22 of its 64 references that are in the map. First posted on arXiv 21 Jul 2026.
Builds on
22 of 64 references.
References · 22
- 2021Evaluating Large Language Models Trained on Codecited by 8,320
- 2020Dense Passage Retrieval for Open-Domain Question Answeringcited by 3,824
- 2020ColBERT: Efficient and Effective Passage Search via Contextualized Late Interaction over BERTcited by 1,178
- 2019Generalization through Memorization: Nearest Neighbor Language Modelscited by 800
- 2019Document Expansion by Query Predictioncited by 231
- 2025AIDE: AI-Driven Exploration in the Space of Codecited by 226
- 2023Dense X Retrieval: What Retrieval Granularity Should We Use?cited by 88
- 2024BM25S: Orders of magnitude faster lexical search via eager sparse scoringcited by 88
- 2024Searching for Best Practices in Retrieval-Augmented Generationcited by 83
- 2024Late Chunking: Contextual Chunk Embeddings Using Long-Context Embedding Modelscited by 73
- 2024LumberChunker: Long-Form Narrative Document Segmentationcited by 36
- 2020Leveraging Semantic and Lexical Matching to Improve the Recall of Document Retrieval Systems: A Hybrid Approachcited by 32
10 more
- 2023Copy Is All You Needcited by 27
- 2023Doc2Query--: When Less is Morecited by 21
- 2025MoC: Mixtures of Text Chunking Learners for Retrieval-Augmented Generation Systemcited by 19
- 2024BGE Landmark Embedding: A Chunking-Free Embedding Method For Retrieval Augmented Long-Context Large Language Modelscited by 15
- 2025Benchmarking Information Retrieval Models on Complex Retrieval Taskscited by 6
- 2025RAGSmith: A Framework for Finding the Optimal Composition of Retrieval-Augmented Generation Methods Across Datasetscited by 5
- 2026KARL: Knowledge Agents via Reinforcement Learningcited by 5
- 2026RL-Index: Reinforcement Learning for Retrieval Index Reasoningcited by 2
- 2026Document Optimization for Black-Box Retrieval via Reinforcement Learningcited by 1
- 2026AutoRAGTuner: A Declarative Framework for Automatic Optimization of RAG Pipelinescited by 1
Built on by
Not cited yet.