Generative large language models are becoming common in retrieval pipelines, where they are called at inference time to rewrite queries or rerank documents. While effective, these online uses add significant computational cost to every search request.

The arXiv paper "Document Optimization for Black-Box Retrieval via Reinforcement Learning" proposes a different strategy: instead of invoking an LLM during the query, optimize the documents themselves ahead of time using reinforcement learning. This shifts the expensive work offline, which could make retrieval cheaper while still leveraging LLM capabilities.

The abstract gives limited detail on the method or results, but the framing highlights a growing research direction: moving LLM reasoning from online inference to offline preparation, especially when the retriever itself is a black box that cannot be modified.