AutoIndex: Learning Representation Programs for Retrieval

📅 2026-07-20
📈 Citations: 0
Influential: 0
📄 PDF
🤖 AI Summary
This work addresses the limitation of traditional retrieval systems, which treat document representation as a static preprocessing step and thus struggle to adapt to downstream tasks. The authors propose AutoIndex, a novel framework that formulates document representation construction as a learnable program synthesis problem. AutoIndex dynamically generates retrieval-oriented representations by searching over executable transformation programs—such as slicing, augmentation, and normalization—and iteratively refines them using validation feedback. By integrating proxy-guided program search with retrieval quality evaluation, the method enables explicit optimization of document representations. Evaluated on the CRUMB benchmark across all eight tasks, AutoIndex consistently outperforms the full-document BM25 baseline, achieving average improvements of 8.4% in Recall@100 and 8.3% in nDCG@10, with peak gains reaching 30.5% and 43.6%, respectively.
📝 Abstract
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.
Problem

Research questions and friction points this paper is trying to address.

document representation
retrieval
representation learning
information retrieval
program synthesis
Innovation

Methods, ideas, or system contributions that make the work stand out.

representation programs
program synthesis
retrieval optimization
document preprocessing
validation-guided search
🔎 Similar Papers
No similar papers found.