CLAIIRLGOct 11, 2024

ACER: Automatic Language Model Context Extension via Retrieval

arXiv:2410.09141v1h-index: 21
Originality Incremental advance
AI Analysis

This addresses the challenge of costly task-specific data for long-context processing, offering a more efficient solution for AI applications requiring complex information digestion.

The paper tackles the problem of long-context modeling in language AI by proposing ACER, an automatic data synthesis pipeline that uses short-context LMs to generate task-specific training data, resulting in improved performance over generalist long-context models and retrieval-read pipelines in tasks like long-context retrieval augmented generation.

Long-context modeling is one of the critical capabilities of language AI for digesting and reasoning over complex information pieces. In practice, long-context capabilities are typically built into a pre-trained language model~(LM) through a carefully designed context extension stage, with the goal of producing generalist long-context capabilities. In our preliminary experiments, however, we discovered that the current open-weight generalist long-context models are still lacking in practical long-context processing tasks. While this means perfectly effective long-context modeling demands task-specific data, the cost can be prohibitive. In this paper, we draw inspiration from how humans process a large body of information: a lossy \textbf{retrieval} stage ranks a large set of documents while the reader ends up reading deeply only the top candidates. We build an \textbf{automatic} data synthesis pipeline that mimics this process using short-context LMs. The short-context LMs are further tuned using these self-generated data to obtain task-specific long-context capabilities. Similar to how pre-training learns from imperfect data, we hypothesize and further demonstrate that the short-context model can bootstrap over the synthetic data, outperforming not only long-context generalist models but also the retrieval and read pipeline used to synthesize the training data in real-world tasks such as long-context retrieval augmented generation.

Foundations

The foundational work for this paper's niche, ranked by how specifically the neighbourhood builds on it — not by global fame.

Your Notes