AWS Machine Learning Blog described a scheme for Amazon Bedrock that compresses context based on the user query. After fragment retrieval, the smaller model selects relevant parts from them, and then the main model generates the answer.

According to AWS, this order reduces the number of input tokens and RAG costs while maintaining the quality of the answer. The material discusses applying the approach in large-scale RAG systems.

Available data are presented as metadata and a brief description of the publication, not as the full text of the article. Therefore, the specific models, the size of the savings, the quality measurements, or the experimental conditions cannot be established from them.