Upload folder using huggingface_hub
Browse files- iclr26/6FyYLNnDL6/appendix_chunks.jsonl +38 -0
- iclr26/6FyYLNnDL6/appendix_text_v3.txt +113 -0
- iclr26/6FyYLNnDL6/assets.json +57 -0
- iclr26/6FyYLNnDL6/assets/_page_1_Figure_1.jpeg +3 -0
- iclr26/6FyYLNnDL6/assets/_page_1_Figure_2.jpeg +3 -0
- iclr26/6FyYLNnDL6/assets/_page_2_Figure_1.jpeg +3 -0
- iclr26/6FyYLNnDL6/assets/_page_7_Figure_1.jpeg +3 -0
- iclr26/6FyYLNnDL6/assets/_page_8_Figure_3.jpeg +3 -0
- iclr26/6FyYLNnDL6/chunks_v3_anonymized.jsonl +106 -0
- iclr26/6FyYLNnDL6/dataset_meta.json +63 -0
- iclr26/6FyYLNnDL6/main_body_chunks.jsonl +60 -0
- iclr26/6FyYLNnDL6/marker_meta.json +1816 -0
- iclr26/6FyYLNnDL6/model_text_v3.txt +179 -0
- iclr26/6FyYLNnDL6/paper.blocks.json +0 -0
- iclr26/6FyYLNnDL6/paper.md +627 -0
- iclr26/6FyYLNnDL6/parse_report.json +76 -0
- iclr26/6FyYLNnDL6/reference_chunks.jsonl +8 -0
- iclr26/6FyYLNnDL6/reference_text_v3.txt +23 -0
- iclr26/6FyYLNnDL6/sanitization_report.json +59 -0
- iclr26/6FyYLNnDL6/sanitized_v3.txt +377 -0
iclr26/6FyYLNnDL6/appendix_chunks.jsonl
ADDED
|
@@ -0,0 +1,38 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{"paper_id": "6FyYLNnDL6", "chunk_id": "6FyYLNnDL6:0068", "section": "[Instruction] Answer the question.", "page_start": 14, "page_end": 14, "type": "Text", "text": "IMPORTANT: Respond ONLY with the exact answer in the same format as the examples. Do NOT add any extra text, explanations, or punctuation. Do NOT include \"Answer:\" or any similar prefix in your response.", "source": "marker_v2", "marker_block_id": "/page/13/Text/7"}
|
| 2 |
+
{"paper_id": "6FyYLNnDL6", "chunk_id": "6FyYLNnDL6:0069", "section": "[Examples]", "page_start": 14, "page_end": 14, "type": "Text", "text": "Question: Which major Russian city borders the body of water in which Saaremaa is located?", "source": "marker_v2", "marker_block_id": "/page/13/Text/9"}
|
| 3 |
+
{"paper_id": "6FyYLNnDL6", "chunk_id": "6FyYLNnDL6:0070", "section": "[Examples]", "page_start": 14, "page_end": 14, "type": "Text", "text": "Answer: Saint Petersburg", "source": "marker_v2", "marker_block_id": "/page/13/Text/10"}
|
| 4 |
+
{"paper_id": "6FyYLNnDL6", "chunk_id": "6FyYLNnDL6:0071", "section": "[Examples]", "page_start": 14, "page_end": 14, "type": "Text", "text": "Question: Who was thee first president of the association that wrote the code of ethics for psychology?", "source": "marker_v2", "marker_block_id": "/page/13/Text/11"}
|
| 5 |
+
{"paper_id": "6FyYLNnDL6", "chunk_id": "6FyYLNnDL6:0072", "section": "[Examples]", "page_start": 14, "page_end": 14, "type": "Text", "text": "Answer: G. Stanley Hall", "source": "marker_v2", "marker_block_id": "/page/13/Text/12"}
|
| 6 |
+
{"paper_id": "6FyYLNnDL6", "chunk_id": "6FyYLNnDL6:0073", "section": "[Examples]", "page_start": 14, "page_end": 14, "type": "Text", "text": "Question: Where did the Baldevins bryllup director die?", "source": "marker_v2", "marker_block_id": "/page/13/Text/13"}
|
| 7 |
+
{"paper_id": "6FyYLNnDL6", "chunk_id": "6FyYLNnDL6:0074", "section": "[Examples]", "page_start": 14, "page_end": 14, "type": "Text", "text": "Answer: Copenhagen", "source": "marker_v2", "marker_block_id": "/page/13/Text/14"}
|
| 8 |
+
{"paper_id": "6FyYLNnDL6", "chunk_id": "6FyYLNnDL6:0075", "section": "[Current Question]", "page_start": 14, "page_end": 14, "type": "Text", "text": "{ Summary of the retrieved documents }", "source": "marker_v2", "marker_block_id": "/page/13/Text/16"}
|
| 9 |
+
{"paper_id": "6FyYLNnDL6", "chunk_id": "6FyYLNnDL6:0076", "section": "[Current Question]", "page_start": 14, "page_end": 14, "type": "Text", "text": "Question: { Question }", "source": "marker_v2", "marker_block_id": "/page/13/Text/17"}
|
| 10 |
+
{"paper_id": "6FyYLNnDL6", "chunk_id": "6FyYLNnDL6:0077", "section": "[Current Question]", "page_start": 14, "page_end": 14, "type": "Text", "text": "Answer:", "source": "marker_v2", "marker_block_id": "/page/13/Text/18"}
|
| 11 |
+
{"paper_id": "6FyYLNnDL6", "chunk_id": "6FyYLNnDL6:0078", "section": "[Current Question]", "page_start": 14, "page_end": 14, "type": "Caption", "text": "Figure 6: Prompt template for LLM QA.", "source": "marker_v2", "marker_block_id": "/page/13/Caption/19"}
|
| 12 |
+
{"paper_id": "6FyYLNnDL6", "chunk_id": "6FyYLNnDL6:0079", "section": "A USE OF LLMS", "page_start": 14, "page_end": 14, "type": "Text", "text": "Large language models (LLMs) were employed solely as writing assistants to enhance the language, improve clarity, and check grammatical correctness. They were not used to generate research ideas, design or implement methodologies, conduct data analysis, or produce any of the results presented in this work. The authors assume full responsibility for the entire content of the paper.", "source": "marker_v2", "marker_block_id": "/page/13/Text/21"}
|
| 13 |
+
{"paper_id": "6FyYLNnDL6", "chunk_id": "6FyYLNnDL6:0080", "section": "B PROMPT TEMPLATES", "page_start": 14, "page_end": 14, "type": "Text", "text": "Figure 5 displays the prompt employed to train the compressor model for generating a summary of the retrieved documents, conditioned on the given query. This prompt is notably concise. For end-task answer generation, the prompt provided to the LLM M is illustrated in Figure 6, which incorporates few-shot in-context examples, the (generated summary of) retrieved documents, and the question.", "source": "marker_v2", "marker_block_id": "/page/13/Text/23"}
|
| 14 |
+
{"paper_id": "6FyYLNnDL6", "chunk_id": "6FyYLNnDL6:0081", "section": "C CASE STUDY", "page_start": 14, "page_end": 14, "type": "Text", "text": "To conduct an in-depth analysis of the advantages of our compressor, we performed case studies on one single-hop QA dataset (NQ) and one multi-hop QA dataset (2Wiki), with the results presented in Table 4 and Table 5, respectively. For each case, we compared the summaries generated by off-the-shelf Qwen2.5-1.5B-Instruct, RECOMP, and our method CORE based on the same set of documents, as well as the predicted answers generated by the LLM after prepending these summaries. As shown in the tables, although the summaries produced by off-the-shelf Qwen2.5-1.5B", "source": "marker_v2", "marker_block_id": "/page/13/Text/25"}
|
| 15 |
+
{"paper_id": "6FyYLNnDL6", "chunk_id": "6FyYLNnDL6:0082", "section": "Top-5 documents", "page_start": 15, "page_end": 15, "type": "Text", "text": "last men conscripted, who were born in 1952 and who reported for duty in June 1973. On February 2, 1972, a drawing was held to determine draft priority numbers for men born in 1953, but in early 1973 it was announced by Secretary of Defense Melvin Laird that no further draft orders would be issued. In March 1973, 1974, and 1975, the Selective Service assigned draft priority numbers for all men born in 1954, 1955, and 1956, in case the draft was extended, but it never was. Command Sergeant Major Jeff Mellinger, believed to be the last drafted enlisted ranked.", "source": "marker_v2", "marker_block_id": "/page/14/Text/6"}
|
| 16 |
+
{"paper_id": "6FyYLNnDL6", "chunk_id": "6FyYLNnDL6:0083", "section": "Top-5 documents", "page_start": 15, "page_end": 15, "type": "Text", "text": "The Gates Commission issued its report in February 1970, describing how adequate military strength could be maintained without having conscription. The existing draft law was expiring at the end of June 1971, but the Department of Defense and Nixon administration decided the draft needed to continue for at least some time. In February 1971, the administration requested of Congress a two-year extension of the draft, to June 1973. Senatorial opponents of the war wanted to reduce this to a one-year extension, or eliminate the draft altogether, or tie the draft renewal to a timetable for troop withdrawal from Vietnam; Senator.", "source": "marker_v2", "marker_block_id": "/page/14/Text/7"}
|
| 17 |
+
{"paper_id": "6FyYLNnDL6", "chunk_id": "6FyYLNnDL6:0084", "section": "Top-5 documents", "page_start": 15, "page_end": 15, "type": "Text", "text": "draft operated from 1940 until 1946 when further inductions were suspended, and its legislative authorization expired without further extension by Congress in 1947. During this time, more than 10 million men had been inducted into military service. However, the Selective Service System remained intact. Scattered opposition was encountered especially in the northern cities where some African-Americans protested the system. The tiny Nation of Islam was at the forefront, with many Black Muslims jailed for refusing the draft, and their leader Elijah Muhammed was sentenced to federal prison for 5 years for inciting draft resistance. Organized draft resistance also developed in.", "source": "marker_v2", "marker_block_id": "/page/14/Text/8"}
|
| 18 |
+
{"paper_id": "6FyYLNnDL6", "chunk_id": "6FyYLNnDL6:0085", "section": "Top-5 documents", "page_start": 15, "page_end": 15, "type": "Text", "text": "was the first time any form of student deferment was used. During the Korean War a student carrying at least twelve semester hours was spared until the end of his current semester. The United States breathed easier with the Korean War Armistice on July 27, 1953; however, technology brought new promises and threats. U.S. air and nuclear power fueled the Eisenhower doctrine of \"massive retaliation\". This strategy demanded more machines and fewer foot soldiers, so the draft slipped to the back burner. However, the head of the SSS, Maj. Gen. Hershey, urged caution fearing the conflict looming in Vietnam. In.", "source": "marker_v2", "marker_block_id": "/page/14/Text/9"}
|
| 19 |
+
{"paper_id": "6FyYLNnDL6", "chunk_id": "6FyYLNnDL6:0086", "section": "Top-5 documents", "page_start": 15, "page_end": 15, "type": "Text", "text": "policy of using the draft as force to compel \"voluntary\" enlistment was unique in U.S. history. Previous drafts had not aimed at encouraging individuals to sign up in order to gain preferential placement or less dangerous postings. However, the incremental buildup of Vietnam without a clear threat to the country bolstered this. Some estimates suggest conscription encompassed almost one-third of all eligible men during the period of 1965–69. This group represented those without exemption or resources to avoid military service. During the active combat phase, the possibility of avoiding combat by selecting their service and military specialty led as many.", "source": "marker_v2", "marker_block_id": "/page/14/Text/10"}
|
| 20 |
+
{"paper_id": "6FyYLNnDL6", "chunk_id": "6FyYLNnDL6:0087", "section": "Top-5 documents", "page_start": 15, "page_end": 15, "type": "Table", "text": "Compressor Generated summary Predicted answer Off-the-shell Qwen2.5- 1.5B-Instruct The US stopped drafting for the Vietnam War in late 1972 after the draft expired at the end of June 1971. late 1972 RECOMP The U.S. stopped drafting for the Vietnam War after the Selective Service System was officially abolished in December 1972 due to growing public opposition and the expiration of the draft's legal authority in 1971. While the draft was formally ended, some individuals were still consripted into the military December 1972 Ours The U.S. stopped drafting for the Vietnam War in 1973 after announcing the decision by Secretary of Defense Melvin Laird earlier that year. Although the Selective Service System was later updated to include draft priority numbers, this decision marked the end of the draft's use for national service. 1973", "source": "marker_v2", "marker_block_id": "/page/14/Table/11"}
|
| 21 |
+
{"paper_id": "6FyYLNnDL6", "chunk_id": "6FyYLNnDL6:0088", "section": "Question: Who is Charles Bretagne Marie De La Tremoille's paternal grandfather? ´ Gold answer: [Charles Armand Rene de La Tr ´ emoille] ´", "page_start": 16, "page_end": 16, "type": "Text", "text": "Top-5 documents:", "source": "marker_v2", "marker_block_id": "/page/15/Text/5"}
|
| 22 |
+
{"paper_id": "6FyYLNnDL6", "chunk_id": "6FyYLNnDL6:0089", "section": "Question: Who is Charles Bretagne Marie De La Tremoille's paternal grandfather? ´ Gold answer: [Charles Armand Rene de La Tr ´ emoille] ´", "page_start": 16, "page_end": 16, "type": "Text", "text": "as at Versailles: he was brigadier of cavalry (January 1709), first gentleman of the King's chamber (June 1709), governor of Thouars (July 1709), and Marechal de camp (February 1719). His sister ´ Marie Armande Victoire de La Tremoille married Emmanuel Th ´ eodose de La Tour d'Auvergne. ´ On 13 April 1706 he married Marie-Madeleine Motier de La Fayette (1691–1717), the daughter of Rene-Armand, marquis de La Fayette and Marie-Madeleine de Marillac, and granddaughter of the author Marie-Madeleine Pioche de la Vergne, comtesse de la Fayette. They had one child, Charles Armand Rene de La Tr ´ emoille, born in 1708. Charles Louis Bretagne de La ´", "source": "marker_v2", "marker_block_id": "/page/15/Text/6"}
|
| 23 |
+
{"paper_id": "6FyYLNnDL6", "chunk_id": "6FyYLNnDL6:0090", "section": "Question: Who is Charles Bretagne Marie De La Tremoille's paternal grandfather? ´ Gold answer: [Charles Armand Rene de La Tr ´ emoille] ´", "page_start": 16, "page_end": 16, "type": "Text", "text": "Charles Bretagne Marie de La Tremoille Charles Bretagne Marie de La Tr ´ emoille (24 March ´ 1764 – 10 November 1839), 8th duc de Thouars, was a French soldier and the son of Jean Bretagne Charles de La Tremoille and his wife, Marie-Maximilienne, princess of Salm-Kyrburg. La ´ Tremoille married Louise-Emmanuelle de Ch ´ atillon in 1781. She was a grand daughter of Louis ˆ Cesar de La Baume Le Blanc, the famous writer. The couple had one daughter: At the outbreak ´ of the French Revolution, he sided with King Louis XVI, as did the rest of his family. In 1789, La Tremoille and his parents ´", "source": "marker_v2", "marker_block_id": "/page/15/Text/7"}
|
| 24 |
+
{"paper_id": "6FyYLNnDL6", "chunk_id": "6FyYLNnDL6:0091", "section": "Question: Who is Charles Bretagne Marie De La Tremoille's paternal grandfather? ´ Gold answer: [Charles Armand Rene de La Tr ´ emoille] ´", "page_start": 16, "page_end": 16, "type": "Text", "text": "Jean Bretagne Charles de La Tremoille Jean-Bretagne-Charles de La Tr ´ emoille (5 February 1737 ´ – 19 May 1792), 7th duc de Thouars, was a French soldier and the son of Charles Armand Rene´ de La Tremoille and his wife, Marie Hortense de La Tour d'Auvergne. La Tr ´ emoille began his ´ military career in the Seven Years' War as the head of the regiment of Aquitaine-Cavalry. He was seriously wounded and afterwards promoted to the rank of sergeant, and later of brigadier, of the armies of the king. During the French Revolution, La Tremoille remained faithful to King Louis ´ XVI. He emigrated in", "source": "marker_v2", "marker_block_id": "/page/15/Text/8"}
|
| 25 |
+
{"paper_id": "6FyYLNnDL6", "chunk_id": "6FyYLNnDL6:0092", "section": "Question: Who is Charles Bretagne Marie De La Tremoille's paternal grandfather? ´ Gold answer: [Charles Armand Rene de La Tr ´ emoille] ´", "page_start": 16, "page_end": 16, "type": "Text", "text": "Charles Louis Bretagne de La Tremoille Charles Louis Bretagne de La Tr ´ emoille (15 March ´ 1683 – 9 October 1719), 6th duke of Thouars, was the son of Charles Belgique Hollande de La Tremoille and Madeleine de Cr ´ equy, daughter and heiress of Charles III de Cr ´ equy. He became ´ duke of Thouars upon his father's death in 1709. He was also count of Laval and Montfort and inherited the ancient French claim to the Kingdom of Naples. The Neapolitan claim gave the family the rank of \"princes etrangers\" at the French court. The Duke made a career in the ´ military as well", "source": "marker_v2", "marker_block_id": "/page/15/Text/9"}
|
| 26 |
+
{"paper_id": "6FyYLNnDL6", "chunk_id": "6FyYLNnDL6:0093", "section": "Question: Who is Charles Bretagne Marie De La Tremoille's paternal grandfather? ´ Gold answer: [Charles Armand Rene de La Tr ´ emoille] ´", "page_start": 16, "page_end": 16, "type": "Text", "text": "de Saint-Didier. They had two daughters: Following her death, La Tremoille married for a third ´ time in 1830 to Valentine Eugenie Jos ´ ephine Walsh de Serrant. They had two children: La ´ Tremoille died shortly after his son's birth, in 1839. Charles Bretagne Marie de La Tr ´ emoille ´ Charles Bretagne Marie de La Tremoille (24 March 1764 – 10 November 1839), 8th duc de ´ Thouars, was a French soldier and the son of Jean Bretagne Charles de La Tremoille and his wife, ´ Marie-Maximilienne, princess of Salm-Kyrburg. La Tremoille married Louise-Emmanuelle de ´ Chatillon in 1781. She was a grand daughter of Louis C ˆ esar de ´", "source": "marker_v2", "marker_block_id": "/page/15/Text/10"}
|
| 27 |
+
{"paper_id": "6FyYLNnDL6", "chunk_id": "6FyYLNnDL6:0094", "section": "Question: Who is Charles Bretagne Marie De La Tremoille's paternal grandfather? ´ Gold answer: [Charles Armand Rene de La Tr ´ emoille] ´", "page_start": 16, "page_end": 16, "type": "Table", "text": "Compressor Generated summary Predicted answer Off-the-shell Qwen2.5- 1.5B-Instruct Charles Bretagne Marie de La Tremoille's paternal grandfather ´ was Jean Bretagne Charles de La Tremoille. ´ Jean Bretagne Charles de La Tremoille ´ RECOMP Charles Bretagne Marie de La Tremoille's paternal grandfather ´ was Charles Louis Bretagne de La Tremoille, who was the son ´ of Charles Belgique Hollande de La Tremoille and Madeleine ´ de Crequy. This makes him the direct paternal grandfather of ´ Charles Bretagne Marie de La Tremoille. ´ Charles Louis Bretagne de La Tremoille ´ Ours ´ Charles Bretagne Marie de La Tremoille's paternal grandfather is Charles Armand Rene de La Tr ´ emoille, her father's father, the ´ 7th duc de Thouars. Charles Armand Rene´ de La Tremoille ´", "source": "marker_v2", "marker_block_id": "/page/15/Table/11"}
|
| 28 |
+
{"paper_id": "6FyYLNnDL6", "chunk_id": "6FyYLNnDL6:0095", "section": "Question: Who is Charles Bretagne Marie De La Tremoille's paternal grandfather? ´ Gold answer: [Charles Armand Rene de La Tr ´ emoille] ´", "page_start": 17, "page_end": 17, "type": "TableGroup", "text": "Table 6: Failure Cases on NQ dataset. Question Generated Summary Predicted Answer Gold Answer who is the president of usa right now The current president of the USA is **Donald Trump**, who was elected on January 20, 2017, and is the 45th president. He is a businessman and reality TV personality, and his inauguration marked a shift in the country's political landscape. Joe Biden Donald Trump who has been ranked no. 1 in the latest football rankings announced by fifa The latest FIFA football rankings, announced in 2018, have ranked France as the top team, after winning the 2018 World Cup. This change was implemented using the Elo rating system, and the rankings were introduced to better reflect football team strengths. France Germany", "source": "marker_v2", "marker_block_id": "/page/16/TableGroup/346"}
|
| 29 |
+
{"paper_id": "6FyYLNnDL6", "chunk_id": "6FyYLNnDL6:0096", "section": "Question: Who is Charles Bretagne Marie De La Tremoille's paternal grandfather? ´ Gold answer: [Charles Armand Rene de La Tr ´ emoille] ´", "page_start": 17, "page_end": 17, "type": "Text", "text": "are concise, they largely fail to capture key information relevant to answering the question. In contrast, RECOMP demonstrates better summarization capability but is prone to being overwhelmed by lengthy documents, resulting in misjudgments and even generating misleading information—such as the statement in Table 4: \" The U.S. stopped drafting for the Vietnam War after the Selective Service System was officially abolished in December 1972 \"—which leads the downstream LLM to produce the incorrect answer \"1972\". Our method, CORE, accurately extracts answer-critical information from lengthy documents, exemplified by the summary: \" The U.S. stopped drafting for the Vietnam War in 1973 after announcing the decision by Secretary of Defense Melvin Laird earlier that year \", thereby enabling the LLM to generate the correct answer \"1973\". This indicates that our compressor, trained with an end-task target-oriented reinforcement learning optimization strategy, can produce document summaries that are most helpful for answering the given question while effectively filtering out irrelevant information.", "source": "marker_v2", "marker_block_id": "/page/16/Text/3"}
|
| 30 |
+
{"paper_id": "6FyYLNnDL6", "chunk_id": "6FyYLNnDL6:0097", "section": "Question: Who is Charles Bretagne Marie De La Tremoille's paternal grandfather? ´ Gold answer: [Charles Armand Rene de La Tr ´ emoille] ´", "page_start": 17, "page_end": 17, "type": "Text", "text": "To further understand the limitations of our approach, we present two failure cases from the NQ dataset where the model provided incorrect answers based on our generated summaries. As shown in Table 6, the first case reveals that although the summary contained the key information required for the correct answer, the downstream LLM still produced an error, potentially due to its over-reliance on parametric knowledge. In the second case, the summary itself omitted critical information needed to answer the question, which likely led to the incorrect response.", "source": "marker_v2", "marker_block_id": "/page/16/Text/4"}
|
| 31 |
+
{"paper_id": "6FyYLNnDL6", "chunk_id": "6FyYLNnDL6:0098", "section": "D IMPACT OF DIFFERENT COMPRESSORS ON PERFORMANCE", "page_start": 17, "page_end": 17, "type": "Text", "text": "In our previous experiments, we employed Qwen2.5-1.5B as the initial model to train our compressor. In this section, we utilize two additional models—Llama3.2-1B and Llama3.2-3B—as starting points to train our compressor and the baseline compressor, respectively. The experimental results are presented in Table 7 and Table 8. As shown in the results, our method CORE continues to achieve lossless compression with both models, maintaining a high token compression ratio while exhibiting no performance degradation in terms of Exact Match (EM) and F1 score compared to uncompressed RAG. Furthermore, under both new model configurations, our approach consistently outperforms the baseline methods, indicating that its superiority is not dependent on a specific model architecture and thus demonstrates strong robustness.", "source": "marker_v2", "marker_block_id": "/page/16/Text/6"}
|
| 32 |
+
{"paper_id": "6FyYLNnDL6", "chunk_id": "6FyYLNnDL6:0099", "section": "D IMPACT OF DIFFERENT COMPRESSORS ON PERFORMANCE", "page_start": 17, "page_end": 17, "type": "Text", "text": "We also observe that our method adheres to a form of scaling law: the compressor trained using the 3B model outperforms the one trained with the 1B model. Specifically, the 1B compressor improves performance by 1–4 EM points over the uncompressed baseline, while the 3B compressor yields gains of 3–9 EM points.", "source": "marker_v2", "marker_block_id": "/page/16/Text/7"}
|
| 33 |
+
{"paper_id": "6FyYLNnDL6", "chunk_id": "6FyYLNnDL6:0100", "section": "D IMPACT OF DIFFERENT COMPRESSORS ON PERFORMANCE", "page_start": 18, "page_end": 18, "type": "TableGroup", "text": "Table 7: Open-domain QA results using Qwen2.5-14B-Instruct as the downstream LLM (M). The reported token counts represent the length of in-context documents, excluding few-shot examples. RECOMP and our method CORE are both trained using llama3.2-1B-Instruct . NQ TriviaQA HotpotQA 2WikiMultihopQA EM F1 # tok EM F1 # tok EM F1 # tok EM F1 # tok No Retrieval 0.2136 0.3097 0 0.5323 0.5998 0 0.2105 0.2948 0 0.2611 0.2951 0 RAG without compre ession Top1 Document 0.3446 0.4441 142 0.6082 0.6870 143 0.2920 0.3893 147 0.2679 0.3187 153 Top3 Documents 0.3778 0.4845 427 0.6260 0.7102 430 0.3164 0.4187 442 0.2789 0.3358 460 Top5 Documents 0.3803 0.4916 712 0.6410 0.7248 715 0.3299 0.4369 737 0.2964 0.3521 766 Top10 Documents 0.3867 0.5003 1425 0.6440 0.7292 1428 0.3395 0.4488 1471 0.3104 0.3675 1531 Compression of top 3 5 docs llama3.2-1B 0.3147 0.4227 64 0.5552 0.6415 60 0.2648 0.3639 58 0.2498 0.3003 61 Deepseek-V3 (671B) 0.3773 0.5039 54 0.6528 0.7433 51 0.3359 0.4483 48 0.2507 0.3031 45 RECOMP (1B) 0.3410 0.4655 57 0.6071 0.6880 48 0.2987 0.4121 49 0.3045 0.3653 33 CORE (1B) 0.3947 0.4923 47 0.6483 0.7287 43 0.3344 0.4454 45 0.3378 0.3969 34 Compression of top 10 docs (w vith the co mpresso r trained on top 5 d locs) llama3.2-1B 0.3141 0.4228 62 0.5651 0.6512 5 8 0.2663 0.3661 56 0.2493 0.3006 61 Deepseek-V3 (671B) 0.3779 0.5107 56 0.6529 0.7445 53 0.3462 0.4569 50 0.2900 0.3464 40 RECOMP (1B) 0.3421 0.4661 59 0.6095 0.6917 52 0.2982 0.4105 55 0.3072 0.3681 44 CORE (1B) 0.4033 0.5033 47 0.6521 0.7296 45 0.3412 0.4500 48 0.3586 0.4162 42", "source": "marker_v2", "marker_block_id": "/page/17/TableGroup/149"}
|
| 34 |
+
{"paper_id": "6FyYLNnDL6", "chunk_id": "6FyYLNnDL6:0101", "section": "D IMPACT OF DIFFERENT COMPRESSORS ON PERFORMANCE", "page_start": 18, "page_end": 18, "type": "TableGroup", "text": "Table 8: Open-domain QA results using Qwen2.5-14B-Instruct as the downstream LLM (M). The reported token counts represent the length of in-context documents, excluding few-shot examples. RECOMP and our method CORE are both trained using llama3.2-3B-Instruct . NQ TriviaQA HotpotQA 2WikiMultihopQA EM F1 # tok EM F1 # tok EM F1 # tok EM F1 # tok No Retrieval 0.2136 0.3097 0 0.5323 0.5998 0 0.2105 0.2948 0 0.2611 0.2951 0 RAG without compre ession Top1 Document 0.3446 0.4441 142 0.6082 0.6870 143 0.2920 0.3893 147 0.2679 0.3187 153 Top3 Documents 0.3778 0.4845 427 0.6260 0.7102 430 0.3164 0.4187 442 0.2789 0.3358 460 Top5 Documents 0.3803 0.4916 712 0.6410 0.7248 715 0.3299 0.4369 737 0.2964 0.3521 766 Top10 Documents 0.3867 0.5003 1425 0.6440 0.7292 1428 0.3395 0.4488 1471 0.3104 0.3675 1531 Compression of top : 5 docs llama3.2-3B 0.3252 0.4334 60 0.5650 0.6521 59 0.2772 0.3809 58 0.2485 0.2995 60 Deepseek-V3 (671B) 0.3773 0.5039 54 0.6528 0.7433 51 0.3359 0.4483 48 0.2507 0.3031 45 RECOMP (3B) 0.3657 0.4912 55 0.6183 0.6920 47 0.3025 0.4238 52 0.3274 0.3806 42 CORE (3B) 0.4310 0.5234 32 0.6650 0.7306 38 0.3507 0.4736 51 0.3905 0.4474 40 Compression of top 10 docs (w vith the co mpresso or trained on top 5 a locs) llama3.2-3B 0.3318 0.4359 61 0.5720 0.6588 57 0.2791 0.3854 60 0.2491 0.3011 59 Deepseek-V3 (671B) 0.3779 0.5107 56 0.6529 0.7445 53 0.3462 0.4569 50 0.2900 0.3464 40 RECOMP (3B) 0.3682 0.4963 52 0.6205 0.6973 44 0.3077 0.4261 54 0.3312 0.3869 50 CORE (3B) 0.4526 0.5467 33 0.6736 0.7404 37 0.3693 0.4926 51 0.4071 0.4633 48", "source": "marker_v2", "marker_block_id": "/page/17/TableGroup/150"}
|
| 35 |
+
{"paper_id": "6FyYLNnDL6", "chunk_id": "6FyYLNnDL6:0102", "section": "D IMPACT OF DIFFERENT COMPRESSORS ON PERFORMANCE", "page_start": 19, "page_end": 19, "type": "TableGroup", "text": "Table 9: Zero-Shot Evaluation on HotpotQA of Models Trained on Natural Questions. EM F1 #tok No Retrieval 21.05 29.48 0 Full Documents 32.99 43.69 737 BM25 24.18 35.73 71 NoiseFilter-IB 27.97 38.62 38 RECOMP 28.96 39.95 56 CORE 33.67 45.06 36 RECOMP-Transfer 26.68 37.29 58 CORE-Transfer 31.25 42.84 35 Table 10: Evaluation on Noisy Natural Questions.", "source": "marker_v2", "marker_block_id": "/page/18/TableGroup/304"}
|
| 36 |
+
{"paper_id": "6FyYLNnDL6", "chunk_id": "6FyYLNnDL6:0103", "section": "D IMPACT OF DIFFERENT COMPRESSORS ON PERFORMANCE", "page_start": 19, "page_end": 19, "type": "Table", "text": "EM F1 #tok full documents 35.21 45.38 1427 RECOMP 33.29 43.90 59 CORE 38.19 48.85 48", "source": "marker_v2", "marker_block_id": "/page/18/Table/4"}
|
| 37 |
+
{"paper_id": "6FyYLNnDL6", "chunk_id": "6FyYLNnDL6:0104", "section": "E CROSS-DATASET GENERALIZATION PERFORMANCE", "page_start": 19, "page_end": 19, "type": "Text", "text": "To verify the universal compression capability of our method, we directly transfer the model trained on the single-hop question answering dataset NQ to the multi-hop dataset HotpotQA for evaluation. The results, shown in Table 9, indicate that our transferred model achieves nearly lossless performance compared to using full documents without compression, while substantially outperforming the transfer results of the RECOMP baseline. Moreover, although both our method and the baseline underperform relative to models trained directly on the target HotpotQA dataset, our approach exhibits a smaller performance drop and demonstrates greater robustness compared to the baseline.", "source": "marker_v2", "marker_block_id": "/page/18/Text/6"}
|
| 38 |
+
{"paper_id": "6FyYLNnDL6", "chunk_id": "6FyYLNnDL6:0105", "section": "F ROBUSTNESS AGAINST NOISY CONTEXTS", "page_start": 19, "page_end": 19, "type": "Text", "text": "To evaluate the robustness of our approach against adversarial retrievals and noisy contexts, we constructed a noisy version of the NQ dataset. For each question, we constructed the input context by combining the top-3 passages retrieved by the DPR retriever with 7 randomly selected passages from the Wikipedia corpus to serve as irrelevant/noisy information. This resulted in a context of 10 passages, which were then shuffled to randomize the order. We then compared the performance of our method against the full-document baseline. Experimental results are presented in the table 10. In the \"full documents\" setting, the downstream LLM directly uses all these 10 passages to answer the question, whereas in our method, the compressor first summarizes the context, and the LLM then generates an answer based on the compressed content. The model we used was trained on the standard NQ dataset without any such noise augmentation. Our method not only matches but slightly surpasses the performance of using all documents, demonstrating its strong noise resistance and ability to extract key information from cluttered contexts. In addition, we compared our approach with the RECOMP baseline, and our method consistently outperforms it, reaffirming the superior compression capability and robustness of our model. Furthermore, our method achieves a high compression rate, condensing the source content from 1,427 tokens to just 48.", "source": "marker_v2", "marker_block_id": "/page/18/Text/8"}
|
iclr26/6FyYLNnDL6/appendix_text_v3.txt
ADDED
|
@@ -0,0 +1,113 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
[p. 14 | section: [Instruction] Answer the question. | type: Text]
|
| 2 |
+
IMPORTANT: Respond ONLY with the exact answer in the same format as the examples. Do NOT add any extra text, explanations, or punctuation. Do NOT include "Answer:" or any similar prefix in your response.
|
| 3 |
+
|
| 4 |
+
[p. 14 | section: [Examples] | type: Text]
|
| 5 |
+
Question: Which major Russian city borders the body of water in which Saaremaa is located?
|
| 6 |
+
|
| 7 |
+
[p. 14 | section: [Examples] | type: Text]
|
| 8 |
+
Answer: Saint Petersburg
|
| 9 |
+
|
| 10 |
+
[p. 14 | section: [Examples] | type: Text]
|
| 11 |
+
Question: Who was thee first president of the association that wrote the code of ethics for psychology?
|
| 12 |
+
|
| 13 |
+
[p. 14 | section: [Examples] | type: Text]
|
| 14 |
+
Answer: G. Stanley Hall
|
| 15 |
+
|
| 16 |
+
[p. 14 | section: [Examples] | type: Text]
|
| 17 |
+
Question: Where did the Baldevins bryllup director die?
|
| 18 |
+
|
| 19 |
+
[p. 14 | section: [Examples] | type: Text]
|
| 20 |
+
Answer: Copenhagen
|
| 21 |
+
|
| 22 |
+
[p. 14 | section: [Current Question] | type: Text]
|
| 23 |
+
{ Summary of the retrieved documents }
|
| 24 |
+
|
| 25 |
+
[p. 14 | section: [Current Question] | type: Text]
|
| 26 |
+
Question: { Question }
|
| 27 |
+
|
| 28 |
+
[p. 14 | section: [Current Question] | type: Text]
|
| 29 |
+
Answer:
|
| 30 |
+
|
| 31 |
+
[p. 14 | section: [Current Question] | type: Caption]
|
| 32 |
+
Figure 6: Prompt template for LLM QA.
|
| 33 |
+
|
| 34 |
+
[p. 14 | section: A USE OF LLMS | type: Text]
|
| 35 |
+
Large language models (LLMs) were employed solely as writing assistants to enhance the language, improve clarity, and check grammatical correctness. They were not used to generate research ideas, design or implement methodologies, conduct data analysis, or produce any of the results presented in this work. The authors assume full responsibility for the entire content of the paper.
|
| 36 |
+
|
| 37 |
+
[p. 14 | section: B PROMPT TEMPLATES | type: Text]
|
| 38 |
+
Figure 5 displays the prompt employed to train the compressor model for generating a summary of the retrieved documents, conditioned on the given query. This prompt is notably concise. For end-task answer generation, the prompt provided to the LLM M is illustrated in Figure 6, which incorporates few-shot in-context examples, the (generated summary of) retrieved documents, and the question.
|
| 39 |
+
|
| 40 |
+
[p. 14 | section: C CASE STUDY | type: Text]
|
| 41 |
+
To conduct an in-depth analysis of the advantages of our compressor, we performed case studies on one single-hop QA dataset (NQ) and one multi-hop QA dataset (2Wiki), with the results presented in Table 4 and Table 5, respectively. For each case, we compared the summaries generated by off-the-shelf Qwen2.5-1.5B-Instruct, RECOMP, and our method CORE based on the same set of documents, as well as the predicted answers generated by the LLM after prepending these summaries. As shown in the tables, although the summaries produced by off-the-shelf Qwen2.5-1.5B
|
| 42 |
+
|
| 43 |
+
[p. 15 | section: Top-5 documents | type: Text]
|
| 44 |
+
last men conscripted, who were born in 1952 and who reported for duty in June 1973. On February 2, 1972, a drawing was held to determine draft priority numbers for men born in 1953, but in early 1973 it was announced by Secretary of Defense Melvin Laird that no further draft orders would be issued. In March 1973, 1974, and 1975, the Selective Service assigned draft priority numbers for all men born in 1954, 1955, and 1956, in case the draft was extended, but it never was. Command Sergeant Major Jeff Mellinger, believed to be the last drafted enlisted ranked.
|
| 45 |
+
|
| 46 |
+
[p. 15 | section: Top-5 documents | type: Text]
|
| 47 |
+
The Gates Commission issued its report in February 1970, describing how adequate military strength could be maintained without having conscription. The existing draft law was expiring at the end of June 1971, but the Department of Defense and Nixon administration decided the draft needed to continue for at least some time. In February 1971, the administration requested of Congress a two-year extension of the draft, to June 1973. Senatorial opponents of the war wanted to reduce this to a one-year extension, or eliminate the draft altogether, or tie the draft renewal to a timetable for troop withdrawal from Vietnam; Senator.
|
| 48 |
+
|
| 49 |
+
[p. 15 | section: Top-5 documents | type: Text]
|
| 50 |
+
draft operated from 1940 until 1946 when further inductions were suspended, and its legislative authorization expired without further extension by Congress in 1947. During this time, more than 10 million men had been inducted into military service. However, the Selective Service System remained intact. Scattered opposition was encountered especially in the northern cities where some African-Americans protested the system. The tiny Nation of Islam was at the forefront, with many Black Muslims jailed for refusing the draft, and their leader Elijah Muhammed was sentenced to federal prison for 5 years for inciting draft resistance. Organized draft resistance also developed in.
|
| 51 |
+
|
| 52 |
+
[p. 15 | section: Top-5 documents | type: Text]
|
| 53 |
+
was the first time any form of student deferment was used. During the Korean War a student carrying at least twelve semester hours was spared until the end of his current semester. The United States breathed easier with the Korean War Armistice on July 27, 1953; however, technology brought new promises and threats. U.S. air and nuclear power fueled the Eisenhower doctrine of "massive retaliation". This strategy demanded more machines and fewer foot soldiers, so the draft slipped to the back burner. However, the head of the SSS, Maj. Gen. Hershey, urged caution fearing the conflict looming in Vietnam. In.
|
| 54 |
+
|
| 55 |
+
[p. 15 | section: Top-5 documents | type: Text]
|
| 56 |
+
policy of using the draft as force to compel "voluntary" enlistment was unique in U.S. history. Previous drafts had not aimed at encouraging individuals to sign up in order to gain preferential placement or less dangerous postings. However, the incremental buildup of Vietnam without a clear threat to the country bolstered this. Some estimates suggest conscription encompassed almost one-third of all eligible men during the period of 1965–69. This group represented those without exemption or resources to avoid military service. During the active combat phase, the possibility of avoiding combat by selecting their service and military specialty led as many.
|
| 57 |
+
|
| 58 |
+
[p. 15 | section: Top-5 documents | type: Table]
|
| 59 |
+
Compressor Generated summary Predicted answer Off-the-shell Qwen2.5- 1.5B-Instruct The US stopped drafting for the Vietnam War in late 1972 after the draft expired at the end of June 1971. late 1972 RECOMP The U.S. stopped drafting for the Vietnam War after the Selective Service System was officially abolished in December 1972 due to growing public opposition and the expiration of the draft's legal authority in 1971. While the draft was formally ended, some individuals were still consripted into the military December 1972 Ours The U.S. stopped drafting for the Vietnam War in 1973 after announcing the decision by Secretary of Defense Melvin Laird earlier that year. Although the Selective Service System was later updated to include draft priority numbers, this decision marked the end of the draft's use for national service. 1973
|
| 60 |
+
|
| 61 |
+
[p. 16 | section: Question: Who is Charles Bretagne Marie De La Tremoille's paternal grandfather? ´ Gold answer: [Charles Armand Rene de La Tr ´ emoille] ´ | type: Text]
|
| 62 |
+
Top-5 documents:
|
| 63 |
+
|
| 64 |
+
[p. 16 | section: Question: Who is Charles Bretagne Marie De La Tremoille's paternal grandfather? ´ Gold answer: [Charles Armand Rene de La Tr ´ emoille] ´ | type: Text]
|
| 65 |
+
as at Versailles: he was brigadier of cavalry (January 1709), first gentleman of the King's chamber (June 1709), governor of Thouars (July 1709), and Marechal de camp (February 1719). His sister ´ Marie Armande Victoire de La Tremoille married Emmanuel Th ´ eodose de La Tour d'Auvergne. ´ On 13 April 1706 he married Marie-Madeleine Motier de La Fayette (1691–1717), the daughter of Rene-Armand, marquis de La Fayette and Marie-Madeleine de Marillac, and granddaughter of the author Marie-Madeleine Pioche de la Vergne, comtesse de la Fayette. They had one child, Charles Armand Rene de La Tr ´ emoille, born in 1708. Charles Louis Bretagne de La ´
|
| 66 |
+
|
| 67 |
+
[p. 16 | section: Question: Who is Charles Bretagne Marie De La Tremoille's paternal grandfather? ´ Gold answer: [Charles Armand Rene de La Tr ´ emoille] ´ | type: Text]
|
| 68 |
+
Charles Bretagne Marie de La Tremoille Charles Bretagne Marie de La Tr ´ emoille (24 March ´ 1764 – 10 November 1839), 8th duc de Thouars, was a French soldier and the son of Jean Bretagne Charles de La Tremoille and his wife, Marie-Maximilienne, princess of Salm-Kyrburg. La ´ Tremoille married Louise-Emmanuelle de Ch ´ atillon in 1781. She was a grand daughter of Louis ˆ Cesar de La Baume Le Blanc, the famous writer. The couple had one daughter: At the outbreak ´ of the French Revolution, he sided with King Louis XVI, as did the rest of his family. In 1789, La Tremoille and his parents ´
|
| 69 |
+
|
| 70 |
+
[p. 16 | section: Question: Who is Charles Bretagne Marie De La Tremoille's paternal grandfather? ´ Gold answer: [Charles Armand Rene de La Tr ´ emoille] ´ | type: Text]
|
| 71 |
+
Jean Bretagne Charles de La Tremoille Jean-Bretagne-Charles de La Tr ´ emoille (5 February 1737 ´ – 19 May 1792), 7th duc de Thouars, was a French soldier and the son of Charles Armand Rene´ de La Tremoille and his wife, Marie Hortense de La Tour d'Auvergne. La Tr ´ emoille began his ´ military career in the Seven Years' War as the head of the regiment of Aquitaine-Cavalry. He was seriously wounded and afterwards promoted to the rank of sergeant, and later of brigadier, of the armies of the king. During the French Revolution, La Tremoille remained faithful to King Louis ´ XVI. He emigrated in
|
| 72 |
+
|
| 73 |
+
[p. 16 | section: Question: Who is Charles Bretagne Marie De La Tremoille's paternal grandfather? ´ Gold answer: [Charles Armand Rene de La Tr ´ emoille] ´ | type: Text]
|
| 74 |
+
Charles Louis Bretagne de La Tremoille Charles Louis Bretagne de La Tr ´ emoille (15 March ´ 1683 – 9 October 1719), 6th duke of Thouars, was the son of Charles Belgique Hollande de La Tremoille and Madeleine de Cr ´ equy, daughter and heiress of Charles III de Cr ´ equy. He became ´ duke of Thouars upon his father's death in 1709. He was also count of Laval and Montfort and inherited the ancient French claim to the Kingdom of Naples. The Neapolitan claim gave the family the rank of "princes etrangers" at the French court. The Duke made a career in the ´ military as well
|
| 75 |
+
|
| 76 |
+
[p. 16 | section: Question: Who is Charles Bretagne Marie De La Tremoille's paternal grandfather? ´ Gold answer: [Charles Armand Rene de La Tr ´ emoille] ´ | type: Text]
|
| 77 |
+
de Saint-Didier. They had two daughters: Following her death, La Tremoille married for a third ´ time in 1830 to Valentine Eugenie Jos ´ ephine Walsh de Serrant. They had two children: La ´ Tremoille died shortly after his son's birth, in 1839. Charles Bretagne Marie de La Tr ´ emoille ´ Charles Bretagne Marie de La Tremoille (24 March 1764 – 10 November 1839), 8th duc de ´ Thouars, was a French soldier and the son of Jean Bretagne Charles de La Tremoille and his wife, ´ Marie-Maximilienne, princess of Salm-Kyrburg. La Tremoille married Louise-Emmanuelle de ´ Chatillon in 1781. She was a grand daughter of Louis C ˆ esar de ´
|
| 78 |
+
|
| 79 |
+
[p. 16 | section: Question: Who is Charles Bretagne Marie De La Tremoille's paternal grandfather? ´ Gold answer: [Charles Armand Rene de La Tr ´ emoille] ´ | type: Table]
|
| 80 |
+
Compressor Generated summary Predicted answer Off-the-shell Qwen2.5- 1.5B-Instruct Charles Bretagne Marie de La Tremoille's paternal grandfather ´ was Jean Bretagne Charles de La Tremoille. ´ Jean Bretagne Charles de La Tremoille ´ RECOMP Charles Bretagne Marie de La Tremoille's paternal grandfather ´ was Charles Louis Bretagne de La Tremoille, who was the son ´ of Charles Belgique Hollande de La Tremoille and Madeleine ´ de Crequy. This makes him the direct paternal grandfather of ´ Charles Bretagne Marie de La Tremoille. ´ Charles Louis Bretagne de La Tremoille ´ Ours ´ Charles Bretagne Marie de La Tremoille's paternal grandfather is Charles Armand Rene de La Tr ´ emoille, her father's father, the ´ 7th duc de Thouars. Charles Armand Rene´ de La Tremoille ´
|
| 81 |
+
|
| 82 |
+
[p. 17 | section: Question: Who is Charles Bretagne Marie De La Tremoille's paternal grandfather? ´ Gold answer: [Charles Armand Rene de La Tr ´ emoille] ´ | type: TableGroup]
|
| 83 |
+
Table 6: Failure Cases on NQ dataset. Question Generated Summary Predicted Answer Gold Answer who is the president of usa right now The current president of the USA is **Donald Trump**, who was elected on January 20, 2017, and is the 45th president. He is a businessman and reality TV personality, and his inauguration marked a shift in the country's political landscape. Joe Biden Donald Trump who has been ranked no. 1 in the latest football rankings announced by fifa The latest FIFA football rankings, announced in 2018, have ranked France as the top team, after winning the 2018 World Cup. This change was implemented using the Elo rating system, and the rankings were introduced to better reflect football team strengths. France Germany
|
| 84 |
+
|
| 85 |
+
[p. 17 | section: Question: Who is Charles Bretagne Marie De La Tremoille's paternal grandfather? ´ Gold answer: [Charles Armand Rene de La Tr ´ emoille] ´ | type: Text]
|
| 86 |
+
are concise, they largely fail to capture key information relevant to answering the question. In contrast, RECOMP demonstrates better summarization capability but is prone to being overwhelmed by lengthy documents, resulting in misjudgments and even generating misleading information—such as the statement in Table 4: " The U.S. stopped drafting for the Vietnam War after the Selective Service System was officially abolished in December 1972 "—which leads the downstream LLM to produce the incorrect answer "1972". Our method, CORE, accurately extracts answer-critical information from lengthy documents, exemplified by the summary: " The U.S. stopped drafting for the Vietnam War in 1973 after announcing the decision by Secretary of Defense Melvin Laird earlier that year ", thereby enabling the LLM to generate the correct answer "1973". This indicates that our compressor, trained with an end-task target-oriented reinforcement learning optimization strategy, can produce document summaries that are most helpful for answering the given question while effectively filtering out irrelevant information.
|
| 87 |
+
|
| 88 |
+
[p. 17 | section: Question: Who is Charles Bretagne Marie De La Tremoille's paternal grandfather? ´ Gold answer: [Charles Armand Rene de La Tr ´ emoille] ´ | type: Text]
|
| 89 |
+
To further understand the limitations of our approach, we present two failure cases from the NQ dataset where the model provided incorrect answers based on our generated summaries. As shown in Table 6, the first case reveals that although the summary contained the key information required for the correct answer, the downstream LLM still produced an error, potentially due to its over-reliance on parametric knowledge. In the second case, the summary itself omitted critical information needed to answer the question, which likely led to the incorrect response.
|
| 90 |
+
|
| 91 |
+
[p. 17 | section: D IMPACT OF DIFFERENT COMPRESSORS ON PERFORMANCE | type: Text]
|
| 92 |
+
In our previous experiments, we employed Qwen2.5-1.5B as the initial model to train our compressor. In this section, we utilize two additional models—Llama3.2-1B and Llama3.2-3B—as starting points to train our compressor and the baseline compressor, respectively. The experimental results are presented in Table 7 and Table 8. As shown in the results, our method CORE continues to achieve lossless compression with both models, maintaining a high token compression ratio while exhibiting no performance degradation in terms of Exact Match (EM) and F1 score compared to uncompressed RAG. Furthermore, under both new model configurations, our approach consistently outperforms the baseline methods, indicating that its superiority is not dependent on a specific model architecture and thus demonstrates strong robustness.
|
| 93 |
+
|
| 94 |
+
[p. 17 | section: D IMPACT OF DIFFERENT COMPRESSORS ON PERFORMANCE | type: Text]
|
| 95 |
+
We also observe that our method adheres to a form of scaling law: the compressor trained using the 3B model outperforms the one trained with the 1B model. Specifically, the 1B compressor improves performance by 1–4 EM points over the uncompressed baseline, while the 3B compressor yields gains of 3–9 EM points.
|
| 96 |
+
|
| 97 |
+
[p. 18 | section: D IMPACT OF DIFFERENT COMPRESSORS ON PERFORMANCE | type: TableGroup]
|
| 98 |
+
Table 7: Open-domain QA results using Qwen2.5-14B-Instruct as the downstream LLM (M). The reported token counts represent the length of in-context documents, excluding few-shot examples. RECOMP and our method CORE are both trained using llama3.2-1B-Instruct . NQ TriviaQA HotpotQA 2WikiMultihopQA EM F1 # tok EM F1 # tok EM F1 # tok EM F1 # tok No Retrieval 0.2136 0.3097 0 0.5323 0.5998 0 0.2105 0.2948 0 0.2611 0.2951 0 RAG without compre ession Top1 Document 0.3446 0.4441 142 0.6082 0.6870 143 0.2920 0.3893 147 0.2679 0.3187 153 Top3 Documents 0.3778 0.4845 427 0.6260 0.7102 430 0.3164 0.4187 442 0.2789 0.3358 460 Top5 Documents 0.3803 0.4916 712 0.6410 0.7248 715 0.3299 0.4369 737 0.2964 0.3521 766 Top10 Documents 0.3867 0.5003 1425 0.6440 0.7292 1428 0.3395 0.4488 1471 0.3104 0.3675 1531 Compression of top 3 5 docs llama3.2-1B 0.3147 0.4227 64 0.5552 0.6415 60 0.2648 0.3639 58 0.2498 0.3003 61 Deepseek-V3 (671B) 0.3773 0.5039 54 0.6528 0.7433 51 0.3359 0.4483 48 0.2507 0.3031 45 RECOMP (1B) 0.3410 0.4655 57 0.6071 0.6880 48 0.2987 0.4121 49 0.3045 0.3653 33 CORE (1B) 0.3947 0.4923 47 0.6483 0.7287 43 0.3344 0.4454 45 0.3378 0.3969 34 Compression of top 10 docs (w vith the co mpresso r trained on top 5 d locs) llama3.2-1B 0.3141 0.4228 62 0.5651 0.6512 5 8 0.2663 0.3661 56 0.2493 0.3006 61 Deepseek-V3 (671B) 0.3779 0.5107 56 0.6529 0.7445 53 0.3462 0.4569 50 0.2900 0.3464 40 RECOMP (1B) 0.3421 0.4661 59 0.6095 0.6917 52 0.2982 0.4105 55 0.3072 0.3681 44 CORE (1B) 0.4033 0.5033 47 0.6521 0.7296 45 0.3412 0.4500 48 0.3586 0.4162 42
|
| 99 |
+
|
| 100 |
+
[p. 18 | section: D IMPACT OF DIFFERENT COMPRESSORS ON PERFORMANCE | type: TableGroup]
|
| 101 |
+
Table 8: Open-domain QA results using Qwen2.5-14B-Instruct as the downstream LLM (M). The reported token counts represent the length of in-context documents, excluding few-shot examples. RECOMP and our method CORE are both trained using llama3.2-3B-Instruct . NQ TriviaQA HotpotQA 2WikiMultihopQA EM F1 # tok EM F1 # tok EM F1 # tok EM F1 # tok No Retrieval 0.2136 0.3097 0 0.5323 0.5998 0 0.2105 0.2948 0 0.2611 0.2951 0 RAG without compre ession Top1 Document 0.3446 0.4441 142 0.6082 0.6870 143 0.2920 0.3893 147 0.2679 0.3187 153 Top3 Documents 0.3778 0.4845 427 0.6260 0.7102 430 0.3164 0.4187 442 0.2789 0.3358 460 Top5 Documents 0.3803 0.4916 712 0.6410 0.7248 715 0.3299 0.4369 737 0.2964 0.3521 766 Top10 Documents 0.3867 0.5003 1425 0.6440 0.7292 1428 0.3395 0.4488 1471 0.3104 0.3675 1531 Compression of top : 5 docs llama3.2-3B 0.3252 0.4334 60 0.5650 0.6521 59 0.2772 0.3809 58 0.2485 0.2995 60 Deepseek-V3 (671B) 0.3773 0.5039 54 0.6528 0.7433 51 0.3359 0.4483 48 0.2507 0.3031 45 RECOMP (3B) 0.3657 0.4912 55 0.6183 0.6920 47 0.3025 0.4238 52 0.3274 0.3806 42 CORE (3B) 0.4310 0.5234 32 0.6650 0.7306 38 0.3507 0.4736 51 0.3905 0.4474 40 Compression of top 10 docs (w vith the co mpresso or trained on top 5 a locs) llama3.2-3B 0.3318 0.4359 61 0.5720 0.6588 57 0.2791 0.3854 60 0.2491 0.3011 59 Deepseek-V3 (671B) 0.3779 0.5107 56 0.6529 0.7445 53 0.3462 0.4569 50 0.2900 0.3464 40 RECOMP (3B) 0.3682 0.4963 52 0.6205 0.6973 44 0.3077 0.4261 54 0.3312 0.3869 50 CORE (3B) 0.4526 0.5467 33 0.6736 0.7404 37 0.3693 0.4926 51 0.4071 0.4633 48
|
| 102 |
+
|
| 103 |
+
[p. 19 | section: D IMPACT OF DIFFERENT COMPRESSORS ON PERFORMANCE | type: TableGroup]
|
| 104 |
+
Table 9: Zero-Shot Evaluation on HotpotQA of Models Trained on Natural Questions. EM F1 #tok No Retrieval 21.05 29.48 0 Full Documents 32.99 43.69 737 BM25 24.18 35.73 71 NoiseFilter-IB 27.97 38.62 38 RECOMP 28.96 39.95 56 CORE 33.67 45.06 36 RECOMP-Transfer 26.68 37.29 58 CORE-Transfer 31.25 42.84 35 Table 10: Evaluation on Noisy Natural Questions.
|
| 105 |
+
|
| 106 |
+
[p. 19 | section: D IMPACT OF DIFFERENT COMPRESSORS ON PERFORMANCE | type: Table]
|
| 107 |
+
EM F1 #tok full documents 35.21 45.38 1427 RECOMP 33.29 43.90 59 CORE 38.19 48.85 48
|
| 108 |
+
|
| 109 |
+
[p. 19 | section: E CROSS-DATASET GENERALIZATION PERFORMANCE | type: Text]
|
| 110 |
+
To verify the universal compression capability of our method, we directly transfer the model trained on the single-hop question answering dataset NQ to the multi-hop dataset HotpotQA for evaluation. The results, shown in Table 9, indicate that our transferred model achieves nearly lossless performance compared to using full documents without compression, while substantially outperforming the transfer results of the RECOMP baseline. Moreover, although both our method and the baseline underperform relative to models trained directly on the target HotpotQA dataset, our approach exhibits a smaller performance drop and demonstrates greater robustness compared to the baseline.
|
| 111 |
+
|
| 112 |
+
[p. 19 | section: F ROBUSTNESS AGAINST NOISY CONTEXTS | type: Text]
|
| 113 |
+
To evaluate the robustness of our approach against adversarial retrievals and noisy contexts, we constructed a noisy version of the NQ dataset. For each question, we constructed the input context by combining the top-3 passages retrieved by the DPR retriever with 7 randomly selected passages from the Wikipedia corpus to serve as irrelevant/noisy information. This resulted in a context of 10 passages, which were then shuffled to randomize the order. We then compared the performance of our method against the full-document baseline. Experimental results are presented in the table 10. In the "full documents" setting, the downstream LLM directly uses all these 10 passages to answer the question, whereas in our method, the compressor first summarizes the context, and the LLM then generates an answer based on the compressed content. The model we used was trained on the standard NQ dataset without any such noise augmentation. Our method not only matches but slightly surpasses the performance of using all documents, demonstrating its strong noise resistance and ability to extract key information from cluttered contexts. In addition, we compared our approach with the RECOMP baseline, and our method consistently outperforms it, reaffirming the superior compression capability and robustness of our model. Furthermore, our method achieves a high compression rate, condensing the source content from 1,427 tokens to just 48.
|
iclr26/6FyYLNnDL6/assets.json
ADDED
|
@@ -0,0 +1,57 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
[
|
| 2 |
+
{
|
| 3 |
+
"filename": "_page_1_Figure_1.jpeg",
|
| 4 |
+
"path": "/network/scratch/j/jianan.zhao/ReviewAgent/data/processed_papers/iclr26_20260429_1952_all/marker_raw/6FyYLNnDL6/marker_markdown/6FyYLNnDL6/_page_1_Figure_1.jpeg",
|
| 5 |
+
"bytes": 32800,
|
| 6 |
+
"width": 456,
|
| 7 |
+
"height": 440,
|
| 8 |
+
"aspect_ratio": 1.0363636363636364,
|
| 9 |
+
"keep": true,
|
| 10 |
+
"reject_reason": null,
|
| 11 |
+
"model_path": "assets/_page_1_Figure_1.jpeg"
|
| 12 |
+
},
|
| 13 |
+
{
|
| 14 |
+
"filename": "_page_1_Figure_2.jpeg",
|
| 15 |
+
"path": "/network/scratch/j/jianan.zhao/ReviewAgent/data/processed_papers/iclr26_20260429_1952_all/marker_raw/6FyYLNnDL6/marker_markdown/6FyYLNnDL6/_page_1_Figure_2.jpeg",
|
| 16 |
+
"bytes": 33372,
|
| 17 |
+
"width": 449,
|
| 18 |
+
"height": 436,
|
| 19 |
+
"aspect_ratio": 1.0298165137614679,
|
| 20 |
+
"keep": true,
|
| 21 |
+
"reject_reason": null,
|
| 22 |
+
"model_path": "assets/_page_1_Figure_2.jpeg"
|
| 23 |
+
},
|
| 24 |
+
{
|
| 25 |
+
"filename": "_page_2_Figure_1.jpeg",
|
| 26 |
+
"path": "/network/scratch/j/jianan.zhao/ReviewAgent/data/processed_papers/iclr26_20260429_1952_all/marker_raw/6FyYLNnDL6/marker_markdown/6FyYLNnDL6/_page_2_Figure_1.jpeg",
|
| 27 |
+
"bytes": 112584,
|
| 28 |
+
"width": 1092,
|
| 29 |
+
"height": 635,
|
| 30 |
+
"aspect_ratio": 1.7196850393700787,
|
| 31 |
+
"keep": true,
|
| 32 |
+
"reject_reason": null,
|
| 33 |
+
"model_path": "assets/_page_2_Figure_1.jpeg"
|
| 34 |
+
},
|
| 35 |
+
{
|
| 36 |
+
"filename": "_page_7_Figure_1.jpeg",
|
| 37 |
+
"path": "/network/scratch/j/jianan.zhao/ReviewAgent/data/processed_papers/iclr26_20260429_1952_all/marker_raw/6FyYLNnDL6/marker_markdown/6FyYLNnDL6/_page_7_Figure_1.jpeg",
|
| 38 |
+
"bytes": 62904,
|
| 39 |
+
"width": 971,
|
| 40 |
+
"height": 357,
|
| 41 |
+
"aspect_ratio": 2.719887955182073,
|
| 42 |
+
"keep": true,
|
| 43 |
+
"reject_reason": null,
|
| 44 |
+
"model_path": "assets/_page_7_Figure_1.jpeg"
|
| 45 |
+
},
|
| 46 |
+
{
|
| 47 |
+
"filename": "_page_8_Figure_3.jpeg",
|
| 48 |
+
"path": "/network/scratch/j/jianan.zhao/ReviewAgent/data/processed_papers/iclr26_20260429_1952_all/marker_raw/6FyYLNnDL6/marker_markdown/6FyYLNnDL6/_page_8_Figure_3.jpeg",
|
| 49 |
+
"bytes": 16270,
|
| 50 |
+
"width": 394,
|
| 51 |
+
"height": 318,
|
| 52 |
+
"aspect_ratio": 1.2389937106918238,
|
| 53 |
+
"keep": true,
|
| 54 |
+
"reject_reason": null,
|
| 55 |
+
"model_path": "assets/_page_8_Figure_3.jpeg"
|
| 56 |
+
}
|
| 57 |
+
]
|
iclr26/6FyYLNnDL6/assets/_page_1_Figure_1.jpeg
ADDED
|
Git LFS Details
|
iclr26/6FyYLNnDL6/assets/_page_1_Figure_2.jpeg
ADDED
|
Git LFS Details
|
iclr26/6FyYLNnDL6/assets/_page_2_Figure_1.jpeg
ADDED
|
Git LFS Details
|
iclr26/6FyYLNnDL6/assets/_page_7_Figure_1.jpeg
ADDED
|
Git LFS Details
|
iclr26/6FyYLNnDL6/assets/_page_8_Figure_3.jpeg
ADDED
|
Git LFS Details
|
iclr26/6FyYLNnDL6/chunks_v3_anonymized.jsonl
ADDED
|
@@ -0,0 +1,106 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{"paper_id": "6FyYLNnDL6", "chunk_id": "6FyYLNnDL6:0000", "section": "ABSTRACT", "page_start": 1, "page_end": 1, "type": "Text", "text": "Retrieval-Augmented Generation (RAG) has emerged as a promising approach to enhance the timeliness of knowledge updates and the factual accuracy of responses in large language models. However, incorporating a large number of retrieved documents significantly increases input length, leading to higher computational costs. Existing approaches to document compression tailored for RAG often degrade task performance, as they typically rely on predefined heuristics in the absence of clear compression guidelines. These heuristics fail to ensure that the compressed content effectively supports downstream tasks. To address these limitations, we propose CORE, a novel method for lossless context compression in RAG. CORE is optimized end-to-end and does not depend on predefined compression labels, which are often impractical to obtain. Instead, it leverages downstream task performance as a feedback signal, iteratively refining the compression policy to enhance task effectiveness. Extensive experiments across four datasets demonstrate the effectiveness of CORE. With a high compression ratio of 3%, CORE not only prevents performance degradation compared to including full documents (i.e., without compression) but also improves the average Exact Match (EM) score by 3.3 points. The code for CORE is available at .", "source": "marker_v2", "marker_block_id": "/page/0/Text/4"}
|
| 2 |
+
{"paper_id": "6FyYLNnDL6", "chunk_id": "6FyYLNnDL6:0001", "section": "1 INTRODUCTION", "page_start": 1, "page_end": 1, "type": "Text", "text": "Large language models (LLMs) have undergone rapid development in recent years, significantly enhancing performance across various language tasks due to their emergent capabilities in semantic understanding and reasoning. Nevertheless, LLMs still face challenges in updating knowledge and providing factual responses (Fan et al., 2024) . To address these issues, Retrieval-Augmented Generation (RAG) has emerged as a promising approach. By retrieving the most relevant documents from external knowledge bases and prepending them as contextual information to the original input, RAG substantially improves LLM performance on knowledge-intensive tasks (Ram et al., 2023) .", "source": "marker_v2", "marker_block_id": "/page/0/Text/6"}
|
| 3 |
+
{"paper_id": "6FyYLNnDL6", "chunk_id": "6FyYLNnDL6:0002", "section": "1 INTRODUCTION", "page_start": 1, "page_end": 1, "type": "Text", "text": "While RAG enhances performance, its effectiveness is closely tied to the number of retrieved documents used, since a broader context increases the probability of encompassing critical evidence. As illustrated in Figure 1, performance was weakest without any retrieved documents (i.e., without RAG). Accuracy improved consistently as more documents were added to the context, ultimately exceeding the no-RAG baseline by over 10 Exact Match (EM) points. However, this performance gain came with two significant limitations: (1) a substantial increase in computational cost from processing a larger number of context tokens (Xu et al., 2024) , and (2) the model's difficulty in effectively leveraging all provided documents, often resulting in the omission of key information located in the middle of the context (Liu et al., 2023) .", "source": "marker_v2", "marker_block_id": "/page/0/Text/7"}
|
| 4 |
+
{"paper_id": "6FyYLNnDL6", "chunk_id": "6FyYLNnDL6:0003", "section": "1 INTRODUCTION", "page_start": 1, "page_end": 1, "type": "Text", "text": "These limitations have motivated recent research efforts aimed at compressing the retrieved context (Jin et al., 2024b; Wu et al., 2025; Jin et al., 2024a; Zhang et al., 2024a) . Prominent approaches include document summarization (Xu et al., 2024) , key information extraction (Cao et al., 2024; Xu et al., 2024) , the construction of key supporting evidence (Jin et al., 2024b) , and noise filtering based on information theory (Zhu et al., 2024) . Despite recent progress, these methods have several notable shortcomings. First, compression often results in a performance trade-off. For instance, RECOMP", "source": "marker_v2", "marker_block_id": "/page/0/Text/8"}
|
| 5 |
+
{"paper_id": "6FyYLNnDL6", "chunk_id": "6FyYLNnDL6:0004", "section": "1 INTRODUCTION", "page_start": 2, "page_end": 2, "type": "FigureGroup", "text": "Figure 1: Performance evolution with an increasing number of retrieved documents on two datasets. Traditional RAG requires more documents for better performance, while our method achieves comparable or superior results with significant token compression.", "source": "marker_v2", "marker_block_id": "/page/1/FigureGroup/293"}
|
| 6 |
+
{"paper_id": "6FyYLNnDL6", "chunk_id": "6FyYLNnDL6:0005", "section": "1 INTRODUCTION", "page_start": 2, "page_end": 2, "type": "Text", "text": "(Xu et al., 2024) suffers a 3–5 point drop in EM score (Table 1) , making it unsuitable for accuracysensitive applications. Second, most compression methods are heuristic in nature. The models are typically trained to generate summaries that are generally good but not necessarily useful for the downstream answer-generation LLM. This limitation arises from the lack of an ideal supervisory signal that defines what an optimal summary should be for the downstream task. This fundamental gap hinders the end-to-end optimization of existing methods. Finally, some compression models (Zhu et al., 2024) have parameter counts comparable to the LLM that performs the end task, resulting in substantial computational costs that undermine the efficiency gains of compression.", "source": "marker_v2", "marker_block_id": "/page/1/Text/4"}
|
| 7 |
+
{"paper_id": "6FyYLNnDL6", "chunk_id": "6FyYLNnDL6:0006", "section": "1 INTRODUCTION", "page_start": 2, "page_end": 2, "type": "Text", "text": "Addressing these critical shortcomings requires a method that aligns compression with downstream task requirements, thereby minimizing performance trade-offs. To bridge this gap, we propose CORE, a novel method designed to achieve lossless context compression for RAG. Unlike previous compression methods, CORE is optimized in an end-to-end manner. Since obtaining predefined summary labels for supervision is impractical, we instead use downstream task performance as a feedback signal to evaluate the compression model's output. This feedback enables iterative refinement of the compression policy, guiding the compression model toward improved downstream performance. To this end, we employ Group Relative Policy Optimization (GRPO), a technique particularly well-suited for this purpose (Liu et al., 2024; Shao et al., 2024; Chen et al., 2025a) . In our framework, the accuracy of the downstream QA task is formalized as a reward, with the compression policy optimized through group-wise relative comparisons. Furthermore, our compression model is substantially smaller than the downstream LLM, which significantly reduces the computational overhead associated with encoding retrieved documents.", "source": "marker_v2", "marker_block_id": "/page/1/Text/5"}
|
| 8 |
+
{"paper_id": "6FyYLNnDL6", "chunk_id": "6FyYLNnDL6:0007", "section": "1 INTRODUCTION", "page_start": 2, "page_end": 2, "type": "Text", "text": "We evaluate CORE on four benchmark datasets: two single-hop QA datasets ( Natural Questions and TriviaQA ) and two multi-hop datasets ( HotpotQA and 2WikiMultihopQA ). As shown in Table 1, CORE achieves state-of-the-art performance across all baselines. With a compression ratio of 3%, our approach not only avoids performance degradation compared to prepending full documents but also improves the average EM score by 3.3 points. We further demonstrate two key advantages of our approach. First, the effectiveness of CORE is not tied to a specific model architecture, as demonstrated by the fact that lossless compression can be achieved when various models are trained as compressors (Figure 3) . Second, the compressor exhibits strong transferability: a compression model trained using feedback from one LLM generalizes effectively to other LLMs (Table 2) . Finally, an in-depth case study (Tables 4 and 5) provides a qualitative analysis of the benefits of CORE.", "source": "marker_v2", "marker_block_id": "/page/1/Text/6"}
|
| 9 |
+
{"paper_id": "6FyYLNnDL6", "chunk_id": "6FyYLNnDL6:0008", "section": "2 CORE-RAG", "page_start": 2, "page_end": 2, "type": "Text", "text": "This section introduces our proposed method, COmpression via REinforcement learning (CORE), which is shown in Figure 2. First, we provide an overview of the entire workflow. Then, we detail the end-to-end training strategy for the compression model, which is designed to drastically reduce the number of document tokens while preserving task performance.", "source": "marker_v2", "marker_block_id": "/page/1/Text/8"}
|
| 10 |
+
{"paper_id": "6FyYLNnDL6", "chunk_id": "6FyYLNnDL6:0009", "section": "2 CORE-RAG", "page_start": 3, "page_end": 3, "type": "FigureGroup", "text": "Figure 2: Overview of our method CORE. The upper section illustrates the inference pipeline. The lower section depicts the end-to-end training method for the compression model.", "source": "marker_v2", "marker_block_id": "/page/2/FigureGroup/349"}
|
| 11 |
+
{"paper_id": "6FyYLNnDL6", "chunk_id": "6FyYLNnDL6:0010", "section": "2.1 Problem Formulation", "page_start": 3, "page_end": 3, "type": "Text", "text": "We adopt the same problem formulation as prior work (Xu et al., 2024). Given an input question q, a target output y, and a set of k retrieved documents D, our objective is to compress D with respect to q into a summary s that preserves the most useful information while using significantly fewer tokens than D. This summary s is then prepended to the original input q and fed into an LLM to generate the final answer for the downstream task. This overall pipeline is illustrated in the upper half of Figure 2. The process involves two key components: a compression model \\pi_{\\theta} \\colon (q, D) \\mapsto s and a large language model M \\colon (s, q) \\mapsto \\hat{y} , which generates the predicted answer \\hat{y} . We treat M as a black-box system and focus exclusively on training the compressor \\pi_{\\theta} . The compressor itself is also a language model, but it is intentionally designed to be significantly smaller than M to reduce the computational cost of encoding the retrieved documents.", "source": "marker_v2", "marker_block_id": "/page/2/Text/4"}
|
| 12 |
+
{"paper_id": "6FyYLNnDL6", "chunk_id": "6FyYLNnDL6:0011", "section": "2.2 Training the Compressor", "page_start": 3, "page_end": 3, "type": "Text", "text": "Our compressor is designed to generate document summaries that are highly useful to the LLM (M) for downstream tasks. This objective is challenging because the criteria for an effective summary are task-dependent, and direct supervision is unavailable. We therefore formulate this as an end-to-end training problem and employ reinforcement learning to optimize the compressor without relying on pre-defined compression labels. The overall architecture of our training framework is illustrated in the lower portion of Figure 2. The following sections describe the key components of our approach: distillation warm-up, policy optimization, and reward calculation.", "source": "marker_v2", "marker_block_id": "/page/2/Text/6"}
|
| 13 |
+
{"paper_id": "6FyYLNnDL6", "chunk_id": "6FyYLNnDL6:0012", "section": "2.2.1 DISTILLATION FOR WARM-START", "page_start": 3, "page_end": 3, "type": "Text", "text": "Due to the limited parameter size of our compression model, its capability for question-focused document summarization is constrained. To provide a strong initial policy for RL and ensure training stability, we employ knowledge distillation from a teacher model to initialize our compressor. Specifically, we first utilize a large-scale language model (DeepSeek-V3) as the teacher to generate summaries of retrieved documents related to the given question. We then evaluate the performance of the downstream LLM (M) on the QA task under two conditions: (1) with the teacher-generated summary \\hat{s} prepended to the input question q, and (2) with the original question alone. The corresponding performance scores are denoted as p_{\\text{summary}} and p_{\\text{original}} , respectively. By comparing these results, we retain instances where p_{\\text{summary}} > p_{\\text{original}} , indicating that the summary enhances RAG performance. We also retain cases where p_{\\text{original}} = 1 (i.e., the model produces a fully correct answer without the summary) and p_{\\text{summary}} < p_{\\text{original}} ; for these, we set the target summary \\hat{s} to an empty string. All other instances are discarded. The resulting filtered and modified dataset is denoted as", "source": "marker_v2", "marker_block_id": "/page/2/Text/8"}
|
| 14 |
+
{"paper_id": "6FyYLNnDL6", "chunk_id": "6FyYLNnDL6:0013", "section": "2.2.1 DISTILLATION FOR WARM-START", "page_start": 4, "page_end": 4, "type": "Text", "text": "\\mathcal{X}_f , which is used for supervised fine-tuning of the compression model. The fine-tuning objective is defined as:", "source": "marker_v2", "marker_block_id": "/page/3/Text/1"}
|
| 15 |
+
{"paper_id": "6FyYLNnDL6", "chunk_id": "6FyYLNnDL6:0014", "section": "2.2.1 DISTILLATION FOR WARM-START", "page_start": 4, "page_end": 4, "type": "Text", "text": "\\mathcal{L}_{\\text{distill}} = \\frac{1}{|\\mathcal{X}_f|} \\sum_{(q,D,\\hat{s}) \\in \\mathcal{X}_f} \\mathcal{L}_{\\text{CE}}(\\pi_{\\theta}(q,D),\\hat{s}), \\tag{1}", "source": "marker_v2", "marker_block_id": "/page/3/Text/2"}
|
| 16 |
+
{"paper_id": "6FyYLNnDL6", "chunk_id": "6FyYLNnDL6:0015", "section": "2.2.1 DISTILLATION FOR WARM-START", "page_start": 4, "page_end": 4, "type": "Text", "text": "where \\pi_{\\theta}(q, D) denotes the output of the compression model and \\mathcal{L}_{CE} is the cross-entropy loss. This distillation process yields a robust initialization for RL and promotes stability in subsequent training.", "source": "marker_v2", "marker_block_id": "/page/3/Text/3"}
|
| 17 |
+
{"paper_id": "6FyYLNnDL6", "chunk_id": "6FyYLNnDL6:0016", "section": "2.2.2 END-TO-END TRAINING WITH RL", "page_start": 4, "page_end": 4, "type": "Text", "text": "Following the distillation phase, the compressor possesses a preliminary compression capability. However, as summaries from even the largest teacher models are not guaranteed to be optimal for the downstream task, further end-to-end optimization is necessary. We therefore formulate this optimization as a reinforcement learning problem. In this framework, the compressor functions as a policy that generates a summary from an input question and its corresponding documents. A reward function, which directly reflects performance on the downstream task (e.g., question-answering accuracy), then evaluates the summary's quality. The objective is to optimize the compressor's parameters to maximize the expected cumulative reward, thereby directly aligning its outputs with the downstream task's objectives.", "source": "marker_v2", "marker_block_id": "/page/3/Text/5"}
|
| 18 |
+
{"paper_id": "6FyYLNnDL6", "chunk_id": "6FyYLNnDL6:0017", "section": "2.2.2 END-TO-END TRAINING WITH RL", "page_start": 4, "page_end": 4, "type": "Text", "text": "Specifically, we employ Group Relative Policy Optimization (GRPO) (Shao et al., 2024) algorithm. Unlike Proximal Policy Optimization (PPO), which trains a separate critic model, GRPO estimates the baseline directly from a group of rollouts. Given an existing policy, \\pi_{\\theta_{\\text{old}}} , and a reference policy, \\pi_{\\theta_{\\text{ref}}} , the GRPO objective maximizes the compressor policy \\pi_{\\theta} using G rollouts \\tau = \\{s_i\\}_{i=1}^G \\sim \\pi_{\\theta_{\\text{old}}}(\\cdot|x) , for each input x \\sim \\mathcal{D} :", "source": "marker_v2", "marker_block_id": "/page/3/Text/6"}
|
| 19 |
+
{"paper_id": "6FyYLNnDL6", "chunk_id": "6FyYLNnDL6:0018", "section": "2.2.2 END-TO-END TRAINING WITH RL", "page_start": 4, "page_end": 4, "type": "Equation", "text": "\\mathcal{J}(\\theta) = \\mathbb{E}_{x \\sim \\mathcal{D}, \\ \\{s_i\\}_{i=1}^G \\sim \\pi_{\\theta_{\\text{old}}}(\\cdot \\mid x)} \\frac{1}{G} \\sum_{i=1}^G \\left[ \\min \\left( \\frac{\\pi_{\\theta}(s_i \\mid x)}{\\pi_{\\theta_{\\text{old}}}(s_i \\mid x)} A_i, \\ \\text{clip} \\left( \\frac{\\pi_{\\theta}(s_i \\mid x)}{\\pi_{\\theta_{\\text{old}}}(s_i \\mid x)}, 1 - \\epsilon, 1 + \\epsilon \\right) A_i \\right) - \\beta \\mathbb{D}_{\\text{KL}} \\left( \\pi_{\\theta} \\parallel \\pi_{\\theta_{\\text{ref}}} \\right) \\right], (2)", "source": "marker_v2", "marker_block_id": "/page/3/Equation/7"}
|
| 20 |
+
{"paper_id": "6FyYLNnDL6", "chunk_id": "6FyYLNnDL6:0019", "section": "2.2.2 END-TO-END TRAINING WITH RL", "page_start": 4, "page_end": 4, "type": "Text", "text": "where A_i = (r_i - \\text{mean}(\\{r_j\\}_{j=1}^G))/\\text{std}(\\{r_j\\}_{j=1}^G) represents the normalized advantage of the i-th rollout within the group, \\epsilon is the clipping ratio, and \\beta is the coefficient for the KL divergence penalty. The inclusion of the KL divergence term ensures that the updated policy does not deviate significantly from the reference policy.", "source": "marker_v2", "marker_block_id": "/page/3/Text/8"}
|
| 21 |
+
{"paper_id": "6FyYLNnDL6", "chunk_id": "6FyYLNnDL6:0020", "section": "2.2.3 REWARD CALCULATION", "page_start": 4, "page_end": 4, "type": "Text", "text": "Generating End-Task Output. It is important to note that the reward is not computed directly from the compressor's output summary. Instead, the summary s generated by the compressor is prepended to the original input question q, and this combined input is fed into the LLM M:(s,q)\\mapsto \\hat{y} to produce a predicted answer \\hat{y} . The reward is then calculated by comparing \\hat{y} to the gold answer y. Throughout the training process, the parameters of M remain fixed and are not updated.", "source": "marker_v2", "marker_block_id": "/page/3/Text/10"}
|
| 22 |
+
{"paper_id": "6FyYLNnDL6", "chunk_id": "6FyYLNnDL6:0021", "section": "2.2.3 REWARD CALCULATION", "page_start": 4, "page_end": 4, "type": "Text", "text": "Computing Rewards. We design simple rule-based rewards based on end-task performance to guide the compressor's improvement, which consists of two components:", "source": "marker_v2", "marker_block_id": "/page/3/Text/11"}
|
| 23 |
+
{"paper_id": "6FyYLNnDL6", "chunk_id": "6FyYLNnDL6:0022", "section": "2.2.3 REWARD CALCULATION", "page_start": 4, "page_end": 4, "type": "Text", "text": "• EM Reward ( r_{\\rm EM} ). We employ EM as the main reward function, which is a widely adopted metric for evaluating the accuracy of QA tasks. The EM reward is binary: it yields a value of 1 if the generated answer perfectly matches the ground truth, and 0 otherwise.", "source": "marker_v2", "marker_block_id": "/page/3/Text/12"}
|
| 24 |
+
{"paper_id": "6FyYLNnDL6", "chunk_id": "6FyYLNnDL6:0023", "section": "2.2.3 REWARD CALCULATION", "page_start": 4, "page_end": 4, "type": "Equation", "text": "r_{\\rm EM} = \\begin{cases} 1 & \\text{if } y = \\hat{y}, \\\\ 0 & \\text{otherwise.} \\end{cases} (3)", "source": "marker_v2", "marker_block_id": "/page/3/Equation/13"}
|
| 25 |
+
{"paper_id": "6FyYLNnDL6", "chunk_id": "6FyYLNnDL6:0024", "section": "2.2.3 REWARD CALCULATION", "page_start": 4, "page_end": 4, "type": "Text", "text": "• F1 Reward (r_{\\rm F1}) . Since exact matches occur infrequently in practice, relying solely on EM rewards leads to sparse reward signals. Furthermore, the EM metric fails to distinguish between partially correct answers, as all non-exact matches receive zero reward. Therefore, we introduce F1 reward, which provides a finer-grained evaluation by measuring the degree of partial match.", "source": "marker_v2", "marker_block_id": "/page/3/Text/14"}
|
| 26 |
+
{"paper_id": "6FyYLNnDL6", "chunk_id": "6FyYLNnDL6:0025", "section": "2.2.3 REWARD CALCULATION", "page_start": 4, "page_end": 4, "type": "Equation", "text": "r_{\\rm FI} = \\frac{2 \\times I_N}{P_N + R_N},\\tag{4}", "source": "marker_v2", "marker_block_id": "/page/3/Equation/15"}
|
| 27 |
+
{"paper_id": "6FyYLNnDL6", "chunk_id": "6FyYLNnDL6:0026", "section": "2.2.3 REWARD CALCULATION", "page_start": 4, "page_end": 4, "type": "Text", "text": "where P_N denotes the number of tokens in the predicted answer, R_N denotes the number of tokens in the gold answer, and I_N is the number of intersecting tokens between the two answers.", "source": "marker_v2", "marker_block_id": "/page/3/Text/16"}
|
| 28 |
+
{"paper_id": "6FyYLNnDL6", "chunk_id": "6FyYLNnDL6:0027", "section": "2.2.3 REWARD CALCULATION", "page_start": 5, "page_end": 5, "type": "Text", "text": "The final reward function combines these reward signals through weighted summation:", "source": "marker_v2", "marker_block_id": "/page/4/Text/1"}
|
| 29 |
+
{"paper_id": "6FyYLNnDL6", "chunk_id": "6FyYLNnDL6:0028", "section": "2.2.3 REWARD CALCULATION", "page_start": 5, "page_end": 5, "type": "Equation", "text": "r = r_{\\rm EM} + \\alpha \\cdot r_{\\rm Fl},\\tag{5}", "source": "marker_v2", "marker_block_id": "/page/4/Equation/2"}
|
| 30 |
+
{"paper_id": "6FyYLNnDL6", "chunk_id": "6FyYLNnDL6:0029", "section": "2.2.3 REWARD CALCULATION", "page_start": 5, "page_end": 5, "type": "Text", "text": "where α ∈ (0, 1] is a hyperparameter that controls the relative contribution of the F1 reward.", "source": "marker_v2", "marker_block_id": "/page/4/Text/3"}
|
| 31 |
+
{"paper_id": "6FyYLNnDL6", "chunk_id": "6FyYLNnDL6:0030", "section": "2.2.4 TRAINING TEMPLATE", "page_start": 5, "page_end": 5, "type": "Text", "text": "Figure 5 displays the prompt employed to train the compressor model for generating a summary of the retrieved documents, conditioned on the given question. This prompt is notably concise. For end-task answer generation, the prompt provided to the LLM M is illustrated in Figure 6, which incorporates few-shot in-context examples, the (generated summary of) retrieved documents, and the question.", "source": "marker_v2", "marker_block_id": "/page/4/Text/5"}
|
| 32 |
+
{"paper_id": "6FyYLNnDL6", "chunk_id": "6FyYLNnDL6:0031", "section": "2.2.5 EFFICIENCY ANALYSIS", "page_start": 5, "page_end": 5, "type": "Text", "text": "Training Efficiency. Since our method employs reinforcement learning for training, it incurs greater time and computational costs compared to approaches that do not utilize reinforcement learning (Xu et al., 2024; Cao et al., 2024) . However, our training process only optimizes a lightweight compressor model with relatively few parameters, while the larger generator LLM responsible for producing task answers remains fixed and is not updated during training. This design ensures high training efficiency—for instance, training one epoch takes approximately 2 hours using eight H20 GPUs, and convergence is typically achieved within just two epochs. In contrast, other reinforcement learning-based methods, such as ReSearch (Chen et al., 2025a) and R1-Searcher (Song et al., 2025) , require direct fine-tuning of the large generator LLM, leading to considerably higher training time and resource consumption. Furthermore, it is important to emphasize that our method exhibits strong generalization capability. As shown in Section 3.3, a model trained only once demonstrates broad applicability, thereby reducing the need for frequent retraining and further lowering the overall training cost.", "source": "marker_v2", "marker_block_id": "/page/4/Text/7"}
|
| 33 |
+
{"paper_id": "6FyYLNnDL6", "chunk_id": "6FyYLNnDL6:0032", "section": "2.2.5 EFFICIENCY ANALYSIS", "page_start": 5, "page_end": 5, "type": "Text", "text": "Inference Efficiency. Our method significantly enhances inference efficiency. In contrast to RAG approaches that do not employ a compressor—and thus require the generator LLM to directly encode lengthy documents, often spanning thousands of tokens—our approach introduces a lightweight compressor that processes long documents and summarizes them into compact representations of only a few dozen tokens before feeding them to the generator LLM. Since the compressor is an order of magnitude smaller in parameter size than the generator LLM, it substantially reduces the encoding time that would otherwise be incurred by the generator, leading to notable gains in inference efficiency. It is also important to note that the use of reinforcement learning does not adversely affect inference efficiency, as it is only involved during the training phase.", "source": "marker_v2", "marker_block_id": "/page/4/Text/8"}
|
| 34 |
+
{"paper_id": "6FyYLNnDL6", "chunk_id": "6FyYLNnDL6:0033", "section": "3.1 EXPERIMENTAL SETTINGS", "page_start": 5, "page_end": 5, "type": "Text", "text": "Datasets and Evaluation Metrics. We evaluate our method on four benchmark datasets: two single-hop question-answering datasets, Natural Questions (NQ) (Kwiatkowski et al., 2019) and TriviaQA (Joshi et al., 2017) , as well as two multi-hop question-answering datasets, HotpotQA (Yang et al., 2018) and 2WikiMultihopQA (Ho et al., 2020) . Results are reported on the test sets of Natural Questions and TriviaQA, as well as the development sets of HotpotQA and 2WikiMultihopQA. Following RECOMP (Xu et al., 2024) , the performance is measured using Exact Match and token-level F1 scores, while efficiency is assessed by the number of tokens provided in the context.", "source": "marker_v2", "marker_block_id": "/page/4/Text/11"}
|
| 35 |
+
{"paper_id": "6FyYLNnDL6", "chunk_id": "6FyYLNnDL6:0034", "section": "3.1 EXPERIMENTAL SETTINGS", "page_start": 5, "page_end": 5, "type": "Text", "text": "Compression Model (πθ). We trained our compression model using Qwen2.5-1.5B-Instruct to generate summaries of the retrieved documents. To evaluate the effect of using different models as compressors, we also trained compressors using Llama3.2-1B-Instruct and Llama3.2-3B-Instruct (Section 3.3) .", "source": "marker_v2", "marker_block_id": "/page/4/Text/12"}
|
| 36 |
+
{"paper_id": "6FyYLNnDL6", "chunk_id": "6FyYLNnDL6:0035", "section": "3.1 EXPERIMENTAL SETTINGS", "page_start": 5, "page_end": 5, "type": "Text", "text": "Large Language Model (M). We use Qwen2.5-14B-Instruct as the primary LLM model M to generate predicted answers which are used to guide the training of the compressor. To evaluate the generalization ability of our method, we also transfer to another LLM model, LLama3.1-8B-Instruct (Table 2) .", "source": "marker_v2", "marker_block_id": "/page/4/Text/13"}
|
| 37 |
+
{"paper_id": "6FyYLNnDL6", "chunk_id": "6FyYLNnDL6:0036", "section": "3.1 EXPERIMENTAL SETTINGS", "page_start": 6, "page_end": 6, "type": "TableGroup", "text": "Table 1: Open-domain QA results using Qwen2.5-14B-Instruct as the downstream LLM (M). The reported token counts represent the length of in-context documents, excluding few-shot examples. RECOMP, NoiseFilter-IB and our method CORE are all trained using Qwen2.5-1.5B-Instruct. NQ 7 TriviaQA L F IotpotQ. A 2Wiki Multiho pQA EM F1 # tok EM F1 # tok EM F1 # tok EM F1 # tok No Retrieval 21.36 30.97 0 53.23 59.98 0 21.05 29.48 0 26.11 29.51 0 RAG without compression on Top1 Document 34.46 44.41 142 60.82 68.70 143 29.20 38.93 147 26.79 31.87 153 Top3 Documents 37.78 48.45 427 62.60 71.02 430 31.64 41.87 442 27.89 33.58 460 Top5 Documents 38.03 49.16 712 64.10 72.48 715 32.99 43.69 737 29.64 35.21 766 Top10 Documents 38.67 50.03 1425 64.40 72.92 1428 33.95 44.88 1471 31.04 36.75 1531 Compression of top 5 do cuments ; BM25 25.23 36.47 37 55.36 63.90 39 24.18 35.73 71 25.42 30.29 68 Qwen2.5-1.5B 31.94 43.03 36 57.99 66.70 30 27.36 37.47 33 25.93 31.18 32 DeepSeek-V3 (671B) 37.73 50.39 54 64.13 73.20 50 33.59 44.83 48 27.99 32.67 92 RECOMP-Abs (1.5B) 34.18 46.26 58 60.31 68.50 53 28.96 39.95 56 30.25 36.73 52 RECOMP-Ext (1.5B) 33.84 46.05 56 60.18 68.39 48 29.93 41.09 45 30.78 37.07 51 NoiseFilter-IB (1.5B) 35.15 45.94 48 59.51 68.15 35 27.97 38.62 38 27.85 34.69 40 LongLLMLingua (1.5B) 33.65 43.15 152 58.96 66.82 148 28.03 38.49 149 29.37 33.62 153 QGC (1.5B) 36.23 45.88 49 61.02 68.45 47 29.16 40.05 45 31.14 36.83 51 CORE (1.5B) 41.02 50.40 46 65.63 72.55 32 33.67 45.06 36 36.72 42.05 49 Compression of top 10 a locumen ts (with t the comp ressor ti rained or ı top 5 d locs) BM25 25.91 36.88 38 55.28 63.16 37 23.49 35.01 68 25.61 30.54 65 Qwen2.5-1.5B 32.94 44.84 40 58.45 67.31 33 28.17 38.48 36 26.22 31.57 34 DeepSeek-V3 (671B) 37.79 51.07 56 65.29 74.45 53 34.62 45.69 50 29.00 34.64 40 RECOMP-Abs (1.5B) 34.40 46.93 59 61.42 69.88 52 31.54 42.92 52 31.98 38.16 49 RECOMP-Ext (1.5B) 33.96 46.34 60 61.03 69.51 50 31.92 43.18 55 32.52 38.87 44 NoiseFilter-IB (1.5B) 35.36 46.24 50 59.92 68.32 38 28.21 38.83 38 28.63 35.16 42 LongLLMLingua (1.5B) 33.78 43.37 154 59.17 66.97 150 28.33 38.95 148 29.62 34.11 151 QGC (1.5B) 36.03 45.62 50 61.23 68.74 49 29.12 39.63 46 31.71 37.52 50 CORE (1.5B) 41.88 51.26 52 66.76 73.64 33 34.68 46.35 37 37.99 43.28 48", "source": "marker_v2", "marker_block_id": "/page/5/TableGroup/211"}
|
| 38 |
+
{"paper_id": "6FyYLNnDL6", "chunk_id": "6FyYLNnDL6:0037", "section": "3.1 EXPERIMENTAL SETTINGS", "page_start": 6, "page_end": 6, "type": "Text", "text": "Retrieval Corpus and Retrievers. Following previous studies (Xu et al., 2024), we use the Wikipedia corpus from December 20, 2018, as the retrieval source for all four datasets. The articles are segmented into non-overlapping 100-word documents. To ensure that our method is not dependent on a specific retriever, we experiment with several mainstream retrievers. Specifically, we use DPR (Karpukhin et al., 2020) for NQ, a hybrid of DPR and BM25 (Robertson et al., 1995) for TriviaQA, and the Contriever model (Izacard et al., 2021) trained on the MS MARCO dataset (Nguyen et al., 2016) for HotpotQA and 2WikiMultihopQA.", "source": "marker_v2", "marker_block_id": "/page/5/Text/3"}
|
| 39 |
+
{"paper_id": "6FyYLNnDL6", "chunk_id": "6FyYLNnDL6:0038", "section": "3.1 EXPERIMENTAL SETTINGS", "page_start": 6, "page_end": 6, "type": "Text", "text": "Baselines. To evaluate the effectiveness of our method, we compared it against various baselines. First, we evaluated the uncompressed approach—retaining the original in-context RALM setup—by prepending the top 1, 3, 5, and 10 retrieved documents to the prompt. We also tested alternative compression methods, including the traditional BM25 algorithm (which ranks sentences by their similarity to the input), off-the-shelf Qwen2.5-1.5B-Instruct model (with comparable parameter size to our approach), and DeepSeek-V3 model (671B parameters, far exceeding our compressor's capacity). Furthermore, we included state-of-the-art context compression methods for RAG, RECOMP (Xu et al., 2024), NoiseFilter-IB (Zhu et al., 2024), LongLLMLingua (Jiang et al., 2024) and QGC (Cao et al., 2024). For RECOMP, we evaluated both its abstractive and extractive variants. To ensure a fair comparison, all trainable approaches were all trained using the same model.", "source": "marker_v2", "marker_block_id": "/page/5/Text/4"}
|
| 40 |
+
{"paper_id": "6FyYLNnDL6", "chunk_id": "6FyYLNnDL6:0039", "section": "3.1 EXPERIMENTAL SETTINGS", "page_start": 6, "page_end": 6, "type": "Text", "text": "Implementation Details. For the distillation warm-up phase, we perform full-parameter supervised fine-tuning on the off-the-shell language model for two epochs using LLaMA-Factory ^1 . This warmed-up model then serves as the initializer for the subsequent reinforcement learning phase. We adopt the Verl framework ^2 for RL training. The initialized compression model is trained for two epochs on each dataset. Training is conducted on eight NVIDIA H20 GPUs using full parameter GRPO optimization, with a learning rate of 1e-5, a batch size of 256, five rollouts per sample, and a KL loss coefficient of 0.001. The downstream LLM (M) used for reward generation is served using the vLLM inference engine during RL training.", "source": "marker_v2", "marker_block_id": "/page/5/Text/5"}
|
| 41 |
+
{"paper_id": "6FyYLNnDL6", "chunk_id": "6FyYLNnDL6:0040", "section": "3.1 EXPERIMENTAL SETTINGS", "page_start": 6, "page_end": 6, "type": "Footnote", "text": "& lt;sup>1</sup>", "source": "marker_v2", "marker_block_id": "/page/5/Footnote/6"}
|
| 42 |
+
{"paper_id": "6FyYLNnDL6", "chunk_id": "6FyYLNnDL6:0041", "section": "3.1 EXPERIMENTAL SETTINGS", "page_start": 6, "page_end": 6, "type": "Footnote", "text": "& lt;sup>2</sup>", "source": "marker_v2", "marker_block_id": "/page/5/Footnote/7"}
|
| 43 |
+
{"paper_id": "6FyYLNnDL6", "chunk_id": "6FyYLNnDL6:0042", "section": "3.2 OVERALL PERFORMANCE", "page_start": 7, "page_end": 7, "type": "Text", "text": "The detailed comparison results are presented in Table 1. We evaluate the following approaches: traditional RAG without compression using the top 1, 3, 5, and 10 documents prepended to the original input; BM25-based compression; off-the-shelf LLMs (Qwen2.5-1.5B-Instruct and DeepSeek-V3); and state-of-the-art trainable RAG compressors (RECOMP-Abstractive, RECOMP-Extractive, and NoiseFilter-IB). For fair comparison, all trainable methods were trained using the same backbone model, Qwen2.5-1.5B-Instruct. These compressors were trained on five-document inputs, and we report their performance both on in-domain five-document compression and out-of-domain generalization to ten-document compression.", "source": "marker_v2", "marker_block_id": "/page/6/Text/2"}
|
| 44 |
+
{"paper_id": "6FyYLNnDL6", "chunk_id": "6FyYLNnDL6:0043", "section": "3.2 OVERALL PERFORMANCE", "page_start": 7, "page_end": 7, "type": "Text", "text": "RAG versus No RAG. As shown in Table 1, prepending the original input with retrieved documents yields a substantial improvement over the no-retrieval baseline, indicating that these documents provide valuable information for generating the answer. Performance improves as the number of retrieved documents increases from 1 to 10, albeit with diminishing returns—a trend attributable to the decreasing relevance of lower-ranked documents. However, this performance gain comes at the cost of a significant increase in the number of additional tokens the LLM must encode, rising from 0 to over 1,400 tokens.", "source": "marker_v2", "marker_block_id": "/page/6/Text/3"}
|
| 45 |
+
{"paper_id": "6FyYLNnDL6", "chunk_id": "6FyYLNnDL6:0044", "section": "3.2 OVERALL PERFORMANCE", "page_start": 7, "page_end": 7, "type": "Text", "text": "Lossless Compression of CORE. Our compressor was trained using a context of five documents. As presented in Table 1, compared to prepending the full content of all five documents to the original input (i.e., the uncompressed baseline), our method achieves a high compression rate of approximately 6% with no loss in performance . Remarkably, on all four datasets, the approach not only maintains performance but also enhances EM by 1 to 7 points. For example, on NQ, the model achieves an EM of 41.02 with compressed input, surpassing the uncompressed score of 38.03.", "source": "marker_v2", "marker_block_id": "/page/6/Text/4"}
|
| 46 |
+
{"paper_id": "6FyYLNnDL6", "chunk_id": "6FyYLNnDL6:0045", "section": "3.2 OVERALL PERFORMANCE", "page_start": 7, "page_end": 7, "type": "Text", "text": "Comparison with Compression Baselines. When compressing the top five documents, all baseline compression methods result in performance degradation to varying degrees compared to the uncompressed baseline. Specifically, BM25 leads to a substantial performance drop. Using the offthe-shelf Qwen2.5-1.5B-Instruct model for compression yields better results than BM25 but still underperforms relative to the uncompressed baseline. Surprisingly, even the large-scale DeepSeek-V3 model (with 671B parameters) achieves only near-lossless compression on TriviaQA and HotpotQA, while performance on NQ and 2Wiki remains below the uncompressed baseline. As for the trained compressors (RECOMP, NoiseFilter-IB, LongLLMLingua, and QGC), all of them exhibit performance degradation compared to no compression. The decline generally ranges from 2 to 6 EM poin ts across nearly all datasets. In contrast, our method, CORE, delivers the best performance. It not only surpasses compression methods of comparable size by 4-5 EM points but also maintains an advantage over the hundreds-of-times-larger DeepSeek model. This clearly demonstrates the benefit and importance of end-to-end optimization.", "source": "marker_v2", "marker_block_id": "/page/6/Text/5"}
|
| 47 |
+
{"paper_id": "6FyYLNnDL6", "chunk_id": "6FyYLNnDL6:0046", "section": "3.2 OVERALL PERFORMANCE", "page_start": 7, "page_end": 7, "type": "Text", "text": "Generalization to 10-Doc Compression. When generalizing the trained compressors to handle the top-10 documents without retraining, the aforementioned conclusions remain valid. CORE continues to achieve lossless compression and performs best among all compression methods. On NQ, it achieves a token compression ratio of 3.6% while improving the EM by 3.2 points compared to using all ten documents. Similar trends are observed on TriviaQA, with a compression ratio of 2.3% and a gain of 2.4 EM points relative to the full-document baseline. On HotpotQA, CORE achieves a compression ratio of 2.5% and an improvement of 0.7 EM points. For 2WikiMultihopQA, it obtains a compression ratio of 3.1% along with a notable increase of 6.9 EM points.", "source": "marker_v2", "marker_block_id": "/page/6/Text/6"}
|
| 48 |
+
{"paper_id": "6FyYLNnDL6", "chunk_id": "6FyYLNnDL6:0047", "section": "3.3 ROBUSTNESS AND GENERALIZATION ABILITY ANALYSIS", "page_start": 7, "page_end": 7, "type": "Text", "text": "Robustness of CORE Across Compressor Architectures. To evaluate whether the effectiveness of CORE depends on the choice of compressor model, we compared the performance of compressors trained using different model architectures—while keeping the downstream LLM (Qwen2.5-14B-Instruct) fixed. The compressors tested include LLaMA3.2-1B-Instruct, Qwen2.5-1.5B-Instruct, and LLaMA3.2-3B-Instruct, which vary in architecture and parameter count. As shown in Figure 3, the results indicate that: (1) These trained compressors consistently achieve lossless compression and outperform the uncompressed baseline (represented by the red reference line in the figure, which corresponds to prepending the full document content), confirming that our training framework is robust and not tied to a specific compressor architecture. (2) Compression performance improves as the size of the compressor model increases, consistent with scaling laws. More detailed results can be found in Tables 7 and 8.", "source": "marker_v2", "marker_block_id": "/page/6/Text/8"}
|
| 49 |
+
{"paper_id": "6FyYLNnDL6", "chunk_id": "6FyYLNnDL6:0048", "section": "3.3 ROBUSTNESS AND GENERALIZATION ABILITY ANALYSIS", "page_start": 8, "page_end": 8, "type": "FigureGroup", "text": "Figure 3: The impact of different models used to train the compressor.", "source": "marker_v2", "marker_block_id": "/page/7/FigureGroup/208"}
|
| 50 |
+
{"paper_id": "6FyYLNnDL6", "chunk_id": "6FyYLNnDL6:0049", "section": "3.3 ROBUSTNESS AND GENERALIZATION ABILITY ANALYSIS", "page_start": 8, "page_end": 8, "type": "TableGroup", "text": "Table 2: Zero-shot transfer of the trained compressor to Llama-3.1-8B-Instruct. NQ 7 TriviaQA HotpotQA 2WikiMultihopQA EM F1 # tok EM F1 # tok EM F1 # tok EM F1 # tok No Retrieval 24.04 34.91 0 55.64 62.57 0 19.93 27.75 0 27.64 31.18 0 RAG without compres ssion Top1 Document 33.80 44.06 142 59.17 67.50 143 27.95 37.49 147 28.41 33.43 153 Top3 Documents 36.87 47.81 427 61.13 70.06 430 30.17 40.71 442 28.67 34.23 460 Top5 Documents 37.65 48.87 712 62.26 71.04 715 31.44 42.16 737 29.43 35.18 766 Top10 Documents 38.12 49.93 1425 63.95 72.71 1428 32.19 42.62 1471 30.45 36.04 1531 Compression of top 5 docume nts Qwen2.5-1.5B 32.60 44.21 36 56.76 65.77 30 26.86 36.90 33 25.45 30.88 32 DeepSeek-V3 (671B) 37.56 50.11 54 62.52 72.34 50 33.05 44.25 48 28.64 33.87 92 RECOMP-Abs (1.5B) 33.41 45.50 58 58.50 67.37 53 28.85 39.76 56 31.63 37.81 52 RECOMP-Ext (1.5B) 33.12 45.06 60 57.98 66.84 55 29.03 40.04 52 31.85 38.02 55 CORE (1.5B) 40.72 50.00 46 64.08 71.13 32 32.17 43.71 36 35.99 41.42 49 Compression of top 1 0 docum ents Qwen2.5-1.5B 32.88 44.66 40 57.44 66.56 33 27.31 37.31 36 25.80 31.30 34 DeepSeek-V3 (671B) 37.49 51.28 56 63.79 73.80 53 34.24 45.35 50 31.45 37.09 40 RECOMP-Abs (1.5B) 34.18 46.80 59 59.69 68.89 52 30.17 41.42 55 33.61 39.78 44 RECOMP-Ext (1.5B) 34.06 46.55 60 59.33 68.71 50 30.52 41.98 55 33.52 39.42 44 CORE (1.5B) 41.77 51.27 52 65.25 72.45 33 33.25 45.09 37 37.59 42.87 48", "source": "marker_v2", "marker_block_id": "/page/7/TableGroup/209"}
|
| 51 |
+
{"paper_id": "6FyYLNnDL6", "chunk_id": "6FyYLNnDL6:0050", "section": "3.3 ROBUSTNESS AND GENERALIZATION ABILITY ANALYSIS", "page_start": 8, "page_end": 8, "type": "Text", "text": "Transferability of CORE Across Downstream LLMs. We evaluate the transferability of our trained compressor and other baseline compressors to a new downstream LLM, the LLaMA-3.1-8B model. The results are presented in Table 2. Note that all trainable compressors, including our own, were trained using feedback generated by Qwen2.5-14B-Instruct. The findings reveal that existing trained compressors (e.g., RECOMP) exhibit limited generalization capability, as indicated by a larger performance gap relative to the baseline of prepending full documents. In contrast, CORE demonstrates stronger generalization, achieving lossless compression on the new downstream LLM. Specifically, it not only maintains performance but also surpasses the full-document baseline (i.e., no compression) across all four datasets while retaining a high compression rate. These results suggest that the summaries produced by our method are inherently high-quality and preserve key information necessary for accurate answering, thereby enabling effective transfer to other LLMs.", "source": "marker_v2", "marker_block_id": "/page/7/Text/5"}
|
| 52 |
+
{"paper_id": "6FyYLNnDL6", "chunk_id": "6FyYLNnDL6:0051", "section": "3.4 ABLATION STUDY", "page_start": 8, "page_end": 8, "type": "Text", "text": "Table 3 presents an ablation study on the two stages of our method: distillation and GRPO. Here, \"w/o distillation\" denotes training the compressor with GRPO directly, bypassing the warm-start phase, while \"w/o GRPO\" indicates using only the distillation step without subsequent reinforcement learning. The results demonstrate that removing either component leads to performance degradation, confirming the necessity of both. In addition, the decline is more substantial when GRPO is omitted, highlighting the crucial role of reinforcement learning in the absence of explicit supervision. Distillation injects external knowledge into the model, providing a favorable starting point for RL training and thereby enabling RL to more effectively unlock the compressor's full potential.", "source": "marker_v2", "marker_block_id": "/page/7/Text/7"}
|
| 53 |
+
{"paper_id": "6FyYLNnDL6", "chunk_id": "6FyYLNnDL6:0052", "section": "3.4 ABLATION STUDY", "page_start": 9, "page_end": 9, "type": "TableGroup", "text": "Table 3: Ablation study. Dataset Metric w/o distillation w/o GRPO CORE EM 36.37 34.18 41.02 NQ F1 46.91 46.26 50.40 EM 65.23 60.31 65.63 TQA F1 72.41 68.50 72.55 EM 32.01 28.96 33.67 HotpotQA F1 42.73 39.95 45.06 EM 31.40 30.25 36.72 2Wiki F1 36.89 36.73 42.05", "source": "marker_v2", "marker_block_id": "/page/8/TableGroup/495"}
|
| 54 |
+
{"paper_id": "6FyYLNnDL6", "chunk_id": "6FyYLNnDL6:0053", "section": "3.4 ABLATION STUDY", "page_start": 9, "page_end": 9, "type": "FigureGroup", "text": "Figure 4: The impact of α.", "source": "marker_v2", "marker_block_id": "/page/8/FigureGroup/496"}
|
| 55 |
+
{"paper_id": "6FyYLNnDL6", "chunk_id": "6FyYLNnDL6:0054", "section": "3.5 THE IMPACT OF α.", "page_start": 9, "page_end": 9, "type": "Text", "text": "Figure 4 illustrates the performance of our method under different values of α, which controls the weighting coefficient of the F1 reward term. Setting α = 0 corresponds to using only the EM reward. Results indicate that performance improves when α > 0 across all datasets, demonstrating the effectiveness of the F1 reward in mitigating the sparsity issue associated with the EM reward. However, the optimal value of α is dataset-dependent; values between 0.2 and 0.5 generally yield strong performance.", "source": "marker_v2", "marker_block_id": "/page/8/Text/6"}
|
| 56 |
+
{"paper_id": "6FyYLNnDL6", "chunk_id": "6FyYLNnDL6:0055", "section": "3.6 CASE STUDY", "page_start": 9, "page_end": 9, "type": "Text", "text": "To conduct an in-depth analysis of the advantages of our compressor, we performed case studies on one single-hop QA dataset (NQ) and one multi-hop QA dataset (2Wiki), with the results presented in Table 4 and Table 5, respectively. For each case, we compared the summaries generated by off-the-shelf Qwen2.5-1.5B-Instruct, RECOMP, and our method CORE based on the same set of documents, as well as the predicted answers generated by the LLM after prepending these summaries. As shown in the tables, although the summaries produced by off-the-shelf Qwen2.5-1.5B are concise, they largely fail to capture key information relevant to answering the question. In contrast, RECOMP demonstrates better summarization capability but is prone to being overwhelmed by lengthy documents, resulting in misjudgments and even generating misleading information—such as the statement in Table 4: \" The U.S. stopped drafting for the Vietnam War after the Selective Service System was officially abolished in December 1972 \"—which leads the downstream LLM to produce the incorrect answer \"1972\". Our method, CORE, accurately extracts answer-critical information from lengthy documents, exemplified by the summary: \" The U.S. stopped drafting for the Vietnam War in 1973 after announcing the decision by Secretary of Defense Melvin Laird earlier that year \", thereby enabling the LLM to generate the correct answer \"1973\". This indicates that our compressor, trained with an end-task target-oriented reinforcement learning optimization strategy, can produce document summaries that are most helpful for answering the given question while effectively filtering out irrelevant information.", "source": "marker_v2", "marker_block_id": "/page/8/Text/8"}
|
| 57 |
+
{"paper_id": "6FyYLNnDL6", "chunk_id": "6FyYLNnDL6:0056", "section": "4 RELATED WORK", "page_start": 9, "page_end": 9, "type": "Text", "text": "Context Compression in RAG. RAG enhances the performance of LLMs on knowledge-intensive tasks by retrieving the most relevant documents from extensive knowledge bases and prepending them as contextual information to the original input (Ram et al., 2023; Fan et al., 2024; Lin et al., 2023; Shi et al., 2023) . However, this approach requires the LLM to process significantly longer token sequences, resulting in increased computational costs. To mitigate this issue, researchers have begun to explore methods for compressing retrieved documents in RAG systems (Xu et al., 2024; Cao et al., 2024; Jin et al., 2024b; Zhu et al., 2024; Kim & Thorne, 2025; Rau et al., 2024; Wu et al., 2025; Louis et al., 2025; Jin et al., 2024a; Li et al., 2024a; b; Zhang et al., 2024a) . For instance, Xu et al. (2024) propose compressing retrieved documents into textual summaries before in-context augmentation, training the compressor through data selection and distillation. Similarly, Cao et al. (2024) introduce a Query-Guided Compressor (QGC) that uses queries to guide the compression process, effectively preserving essential information. Jin et al. (2024b) refine retrieved documents into Key Supporting Evidence (KSE) through a combination of knowledge synthesis, supervised fine-tuning (SFT), and preference alignment. Meanwhile, Zhu et al. (2024) present an informationtheoretic approach called NoiseFilter-IB, which filters noise by maximizing the mutual information", "source": "marker_v2", "marker_block_id": "/page/8/Text/10"}
|
| 58 |
+
{"paper_id": "6FyYLNnDL6", "chunk_id": "6FyYLNnDL6:0057", "section": "4 RELATED WORK", "page_start": 10, "page_end": 10, "type": "Text", "text": "between the compressed content and the ground-truth output. Additionally, Kim & Thorne (2025) train a compressor to extract critical information using reward functions based on predefined heuristic rules. However, most of these methods are heuristic in nature, and due to the lack of ideal compression labels, the compressed content they produce cannot be guaranteed to benefit downstream LLMs. In contrast, our method, CORE, adopts an end-to-end optimization approach to address these limitations.", "source": "marker_v2", "marker_block_id": "/page/9/Text/1"}
|
| 59 |
+
{"paper_id": "6FyYLNnDL6", "chunk_id": "6FyYLNnDL6:0058", "section": "4 RELATED WORK", "page_start": 10, "page_end": 10, "type": "Text", "text": "Reinforcement Learning. Reinforcement learning (RL) has recently achieved notable success, enabling LLMs to develop reasoning capabilities without explicit step-by-step supervision (Liu et al., 2024; Shao et al., 2024; Guo et al., 2025) . Building on these advances, several studies have applied RL to improve RAG (Ke et al., 2024) . For example, Kulkarni et al. (2024) use RL to autonomously decide whether to retrieve documents, while Zhang et al. (2024b) employ RL to optimize the ranking of retrieved documents. Similarly, Mao et al. (2024) propose a framework for training query rewriting models for RAG without relying on human annotations. MMOA-RAG (Chen et al., 2025b) enhances RAG through multi-agent reinforcement learning, incorporating a query rewriter, retriever, and generator. Meanwhile, RL has been applied to address other challenges in RAG, such as enhancing the quality of retrieved content. For instance, Oreo (Li & Ramakrishnan, 2025) trains a reconstructor with PPO and ROUGE-based rewards to rewrite passages for improved performance. In contrast, our work CORE tackles the distinct problem of computational efficiency. Our approach leverages the GRPO algorithm, direct task-performance rewards, and a lightweight compressor to enhance efficiency without compromising accuracy. Moreover, a line of research has utilized RL to integrate search with reasoning in a step-by-step manner (Singh et al., 2025) . For instance, Chen et al. (2025a) introduce a framework called ReSearch, which trains LLMs to reason with search using RL, without requiring supervised data for reasoning steps. Related approaches include R1- Searcher (Song et al., 2025) , WebThinker (Li et al., 2025) , and DeepResearcher (Zheng et al., 2025) . Although these methods are end-to-end, they differ fundamentally from our problem setting. These approaches typically involve directly training the LLM generator—which tends to be a large-scale model with a high parameter count. However, such training becomes infeasible when the model is a black box (e.g., GPT-4), as internal weights or gradients are inaccessible. Furthermore, these methods introduce extensive internal thinking processes that substantially increase context length and inference time. In contrast, our approach treats the generator LLM as a fixed black-box model and trains only a lightweight plug-in compressor to produce document summaries. This design significantly improves both training and inference efficiency. A parallel line of work applies RL to prompt compression. For example, PCRL (Jung & Kim, 2024) and TACO-RL (Shandilya et al., 2025) learn to compress prompts via token-level keep-or-drop decisions, using the similarity between model outputs with compressed and original prompts as the reward. Our work, CORE, introduces key distinctions in both objective and methodology. First, we target the more complex problem of compressing multiple retrieved documents in RAG, rather than single prompts. Second, we employ a generative compressor that can rephrase and synthesize content, instead of making token-level binary actions. Most importantly, we optimize compression using a direct task-performance reward with GRPO, which enables us to achieve true lossless compression at significantly higher ratios—a stark contrast to the performance degradation observed in prior prompt compression methods.", "source": "marker_v2", "marker_block_id": "/page/9/Text/2"}
|
| 60 |
+
{"paper_id": "6FyYLNnDL6", "chunk_id": "6FyYLNnDL6:0059", "section": "5 CONCLUSION", "page_start": 10, "page_end": 10, "type": "Text", "text": "This paper analyzes the limitations of current context compression methods for RAG. A primary challenge is the lack of optimal reference summaries for supervised learning, which often results in performance degradation in downstream tasks. To overcome this, we frame context compression as a reinforcement learning problem, utilizing downstream task performance as a reward signal to train the compression policy, thereby enabling end-to-end optimization. Extensive experiments demonstrate that our proposed method, CORE, achieves effectively lossless compression by maintaining a high compression ratio while preserving original task performance. Surprisingly, CORE not only preserves but actually enhances performance on all downstream tasks. Further in-depth analysis provides additional insights into the efficacy of our approach.", "source": "marker_v2", "marker_block_id": "/page/9/Text/4"}
|
| 61 |
+
{"paper_id": "6FyYLNnDL6", "chunk_id": "6FyYLNnDL6:0060", "section": "REFERENCES", "page_start": 11, "page_end": 11, "type": "ListGroup", "text": "Zhiwei Cao, Qian Cao, Yu Lu, Ningxin Peng, Luyang Huang, Shanbo Cheng, and Jinsong Su. Retaining key information under high compression ratios: Query-guided compressor for llms. In Proceedings of the 62nd Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers) , pp. 12685–12695, 2024. Mingyang Chen, Tianpeng Li, Haoze Sun, Yijie Zhou, Chenzheng Zhu, Haofen Wang, Jeff Z Pan, Wen Zhang, Huajun Chen, Fan Yang, et al. Learning to reason with search for llms via reinforcement learning. arXiv preprint arXiv:2503.19470 , 2025a. Yiqun Chen, Lingyong Yan, Weiwei Sun, Xinyu Ma, Yi Zhang, Shuaiqiang Wang, Dawei Yin, Yiming Yang, and Jiaxin Mao. Improving retrieval-augmented generation through multi-agent reinforcement learning. arXiv preprint arXiv:2501.15228 , 2025b. Wenqi Fan, Yujuan Ding, Liangbo Ning, Shijie Wang, Hengyun Li, Dawei Yin, Tat-Seng Chua, and Qing Li. A survey on rag meeting llms: Towards retrieval-augmented large language models. In Proceedings of the 30th ACM SIGKDD conference on knowledge discovery and data mining , pp. 6491–6501, 2024. Daya Guo, Dejian Yang, Haowei Zhang, Junxiao Song, Ruoyu Zhang, Runxin Xu, Qihao Zhu, Shirong Ma, Peiyi Wang, Xiao Bi, et al. Deepseek-r1: Incentivizing reasoning capability in llms via reinforcement learning. arXiv preprint arXiv:2501.12948 , 2025. Xanh Ho, Anh-Khoa Duong Nguyen, Saku Sugawara, and Akiko Aizawa. Constructing a multi-hop qa dataset for comprehensive evaluation of reasoning steps. arXiv preprint arXiv:2011.01060 , 2020. Gautier Izacard, Mathilde Caron, Lucas Hosseini, Sebastian Riedel, Piotr Bojanowski, Armand Joulin, and Edouard Grave. Unsupervised dense information retrieval with contrastive learning. arXiv preprint arXiv:2112.09118 , 2021. Huiqiang Jiang, Qianhui Wu, Xufang Luo, Dongsheng Li, Chin-Yew Lin, Yuqing Yang, and Lili Qiu. Longllmlingua: Accelerating and enhancing llms in long context scenarios via prompt compression. In Proceedings of the 62nd Annual Meeting of the Association for Computational Lin guistics (Volume 1: Long Papers) , pp. 1658–1677, 2024. Bowen Jin, Jinsung Yoon, Jiawei Han, and Sercan O Arik. Long-context llms meet rag: Overcoming challenges for long inputs in rag. arXiv preprint arXiv:2410.05983 , 2024a. Jiajie Jin, Yutao Zhu, Yujia Zhou, and Zhicheng Dou. Bider: Bridging knowledge inconsistency for efficient retrieval-augmented llms via key supporting evidence. In Findings of the Association for Computational Linguistics ACL 2024 , pp. 750–761, 2024b. Mandar Joshi, Eunsol Choi, Daniel S Weld, and Luke Zettlemoyer. Triviaqa: A large scale distantly supervised challenge dataset for reading comprehension. arXiv preprint arXiv:1705.03551 , 2017.", "source": "marker_v2", "marker_block_id": "/page/10/ListGroup/318"}
|
| 62 |
+
{"paper_id": "6FyYLNnDL6", "chunk_id": "6FyYLNnDL6:0061", "section": "REFERENCES", "page_start": 12, "page_end": 12, "type": "ListGroup", "text": "Hoyoun Jung and Kyung-Joong Kim. Discrete prompt compression with reinforcement learning. IEEE Access , 12:72578–72587, 2024. Vladimir Karpukhin, Barlas Oguz, Sewon Min, Patrick SH Lewis, Ledell Wu, Sergey Edunov, Danqi Chen, and Wen-tau Yih. Dense passage retrieval for open-domain question answering. In EMNLP (1) , pp. 6769–6781, 2020. Zixuan Ke, Weize Kong, Cheng Li, Mingyang Zhang, Qiaozhu Mei, and Michael Bendersky. Bridging the preference gap between retrievers and llms. arXiv preprint arXiv:2401.06954 , 2024. Sangryul Kim and James Thorne. Context filtering with reward modeling in question answering. In Proceedings of the 31st International Conference on Computational Linguistics , pp. 11048– 11055, 2025. Mandar Kulkarni, Praveen Tangarajan, Kyung Kim, and Anusua Trivedi. Reinforcement learning for optimizing rag for domain chatbots. arXiv preprint arXiv:2401.06800 , 2024. Tom Kwiatkowski, Jennimaria Palomaki, Olivia Redfield, Michael Collins, Ankur Parikh, Chris Alberti, Danielle Epstein, Illia Polosukhin, Jacob Devlin, Kenton Lee, et al. Natural questions: a benchmark for question answering research. Transactions of the Association for Computational Linguistics , 7:453–466, 2019. Sha Li and Naren Ramakrishnan. Oreo: A plug-in context reconstructor to enhance retrievalaugmented generation. In Proceedings of the 2025 International ACM SIGIR Conference on Innovative Concepts and Theories in Information Retrieval (ICTIR) , pp. 238–253, 2025. Xiaoxi Li, Jiajie Jin, Guanting Dong, Hongjin Qian, Yutao Zhu, Yongkang Wu, Ji-Rong Wen, and Zhicheng Dou. Webthinker: Empowering large reasoning models with deep research capability. arXiv preprint arXiv:2504.21776 , 2025. Xinze Li, Sen Mei, Zhenghao Liu, Yukun Yan, Shuo Wang, Shi Yu, Zheni Zeng, Hao Chen, Ge Yu, Zhiyuan Liu, et al. Rag-ddr: Optimizing retrieval-augmented generation using differentiable data rewards. arXiv preprint arXiv:2410.13509 , 2024a. Zhonghao Li, Xuming Hu, Aiwei Liu, Kening Zheng, Sirui Huang, and Hui Xiong. Refiner: Restructure retrieval content efficiently to advance question-answering capabilities. arXiv preprint arXiv:2406.11357 , 2024b. Xi Victoria Lin, Xilun Chen, Mingda Chen, Weijia Shi, Maria Lomeli, Richard James, Pedro Rodriguez, Jacob Kahn, Gergely Szilvasy, Mike Lewis, et al. Ra-dit: Retrieval-augmented dual instruction tuning. In The Twelfth International Conference on Learning Representations , 2023. Aixin Liu, Bei Feng, Bing Xue, Bingxuan Wang, Bochao Wu, Chengda Lu, Chenggang Zhao, Chengqi Deng, Chenyu Zhang, Chong Ruan, et al. Deepseek-v3 technical report. arXiv preprint arXiv:2412.19437 , 2024. Nelson F Liu, Kevin Lin, John Hewitt, Ashwin Paranjape, Michele Bevilacqua, Fabio Petroni, and Percy Liang. Lost in the middle: How language models use long contexts. arXiv preprint arXiv:2307.03172 , 2023. Maxime Louis, Herve D´ ejean, and St ´ ephane Clinchant. Pisco: Pretty simple compression for ´ retrieval-augmented generation. arXiv preprint arXiv:2501.16075 , 2025. Shengyu Mao, Yong Jiang, Boli Chen, Xiao Li, Peng Wang, Xinyu Wang, Pengjun Xie, Fei Huang, Huajun Chen, and Ningyu Zhang. Rafe: Ranking feedback improves query rewriting for rag. arXiv preprint arXiv:2405.14431 , 2024. Tri Nguyen, Mir Rosenberg, Xia Song, Jianfeng Gao, Saurabh Tiwary, Rangan Majumder, and Li Deng. Ms marco: A human-generated machine reading comprehension dataset. 2016. Ori Ram, Yoav Levine, Itay Dalmedigos, Dor Muhlgay, Amnon Shashua, Kevin Leyton-Brown, and Yoav Shoham. In-context retrieval-augmented language models. Transactions of the Association for Computational Linguistics , 11:1316–1331, 2023.", "source": "marker_v2", "marker_block_id": "/page/11/ListGroup/346"}
|
| 63 |
+
{"paper_id": "6FyYLNnDL6", "chunk_id": "6FyYLNnDL6:0062", "section": "REFERENCES", "page_start": 13, "page_end": 13, "type": "ListGroup", "text": "David Rau, Shuai Wang, Herve D´ ejean, and St ´ ephane Clinchant. Context embeddings for efficient ´ answer generation in rag. arXiv preprint arXiv:2407.09252 , 2024. Stephen E Robertson, Steve Walker, Susan Jones, Micheline M Hancock-Beaulieu, Mike Gatford, et al. Okapi at TREC-3 . British Library Research and Development Department, 1995. Shivam Shandilya, Menglin Xia, Supriyo Ghosh, Huiqiang Jiang, Jue Zhang, Qianhui Wu, Victor Ruhle, and Saravan Rajmohan. Taco-rl: Task aware prompt compression optimization with rein- ¨ forcement learning. In Findings of the Association for Computational Linguistics: ACL 2025 , pp. 1582–1597, 2025. Zhihong Shao, Peiyi Wang, Qihao Zhu, Runxin Xu, Junxiao Song, Xiao Bi, Haowei Zhang, Mingchuan Zhang, YK Li, Yang Wu, et al. Deepseekmath: Pushing the limits of mathematical reasoning in open language models. arXiv preprint arXiv:2402.03300 , 2024. Weijia Shi, Sewon Min, Michihiro Yasunaga, Minjoon Seo, Rich James, Mike Lewis, Luke Zettlemoyer, and Wen-tau Yih. Replug: Retrieval-augmented black-box language models. arXiv preprint arXiv:2301.12652 , 2023. Aditi Singh, Abul Ehtesham, Saket Kumar, and Tala Talaei Khoei. Agentic retrieval-augmented generation: A survey on agentic rag. arXiv preprint arXiv:2501.09136 , 2025. Huatong Song, Jinhao Jiang, Yingqian Min, Jie Chen, Zhipeng Chen, Wayne Xin Zhao, Lei Fang, and Ji-Rong Wen. R1-searcher: Incentivizing the search capability in llms via reinforcement learning. arXiv preprint arXiv:2503.05592 , 2025. Chenyuan Wu, Ninglu Shao, Zheng Liu, Shitao Xiao, Chaozhuo Li, Chen Zhang, Senzhang Wang, and Defu Lian. Lighter and better: Towards flexible context adaptation for retrieval augmented generation. In Proceedings of the Eighteenth ACM International Conference on Web Search and Data Mining , pp. 271–280, 2025. Fangyuan Xu, Weijia Shi, and Eunsol Choi. Recomp: Improving retrieval-augmented lms with context compression and selective augmentation. In The Twelfth International Conference on Learning Representations , 2024. Zhilin Yang, Peng Qi, Saizheng Zhang, Yoshua Bengio, William W Cohen, Ruslan Salakhutdinov, and Christopher D Manning. Hotpotqa: A dataset for diverse, explainable multi-hop question answering. arXiv preprint arXiv:1809.09600 , 2018. Qianchi Zhang, Hainan Zhang, Liang Pang, Hongwei Zheng, and Zhiming Zheng. Adacomp: Extractive context compression with adaptive predictor for retrieval-augmented large language models. arXiv preprint arXiv:2409.01579 , 2024a. Taolin Zhang, Dongyang Li, Qizhou Chen, Chengyu Wang, Longtao Huang, Hui Xue, Xiaofeng He, and Jun Huang. R 4: Reinforced retriever-reorder-responder for retrieval-augmented large language models. In ECAI 2024 , pp. 2314–2321. IOS Press, 2024b. Yuxiang Zheng, Dayuan Fu, Xiangkun Hu, Xiaojie Cai, Lyumanshan Ye, Pengrui Lu, and Pengfei Liu. Deepresearcher: Scaling deep research via reinforcement learning in real-world environments. arXiv preprint arXiv:2504.03160 , 2025. Kun Zhu, Xiaocheng Feng, Xiyuan Du, Yuxuan Gu, Weijiang Yu, Haotian Wang, Qianglong Chen, Zheng Chu, Jingchang Chen, and Bing Qin. An information bottleneck perspective for effective noise filtering on retrieval-augmented generation. In Proceedings of the 62nd Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers) , pp. 1044–1069, 2024.", "source": "marker_v2", "marker_block_id": "/page/12/ListGroup/327"}
|
| 64 |
+
{"paper_id": "6FyYLNnDL6", "chunk_id": "6FyYLNnDL6:0063", "section": "REFERENCES", "page_start": 14, "page_end": 14, "type": "Text", "text": "Compress the information in the retrieved documents into a 2-sentence summary that could be used to answer the question. If the documents do not contain relevant information, simply output \" \".", "source": "marker_v2", "marker_block_id": "/page/13/Text/1"}
|
| 65 |
+
{"paper_id": "6FyYLNnDL6", "chunk_id": "6FyYLNnDL6:0064", "section": "REFERENCES", "page_start": 14, "page_end": 14, "type": "Text", "text": "Question: { Question }", "source": "marker_v2", "marker_block_id": "/page/13/Text/2"}
|
| 66 |
+
{"paper_id": "6FyYLNnDL6", "chunk_id": "6FyYLNnDL6:0065", "section": "REFERENCES", "page_start": 14, "page_end": 14, "type": "Text", "text": "Retrieved documents: { Documents }", "source": "marker_v2", "marker_block_id": "/page/13/Text/3"}
|
| 67 |
+
{"paper_id": "6FyYLNnDL6", "chunk_id": "6FyYLNnDL6:0066", "section": "REFERENCES", "page_start": 14, "page_end": 14, "type": "Text", "text": "Compressed documents:", "source": "marker_v2", "marker_block_id": "/page/13/Text/4"}
|
| 68 |
+
{"paper_id": "6FyYLNnDL6", "chunk_id": "6FyYLNnDL6:0067", "section": "REFERENCES", "page_start": 14, "page_end": 14, "type": "Caption", "text": "Figure 5: Prompt template used to generate the summary.", "source": "marker_v2", "marker_block_id": "/page/13/Caption/5"}
|
| 69 |
+
{"paper_id": "6FyYLNnDL6", "chunk_id": "6FyYLNnDL6:0068", "section": "[Instruction] Answer the question.", "page_start": 14, "page_end": 14, "type": "Text", "text": "IMPORTANT: Respond ONLY with the exact answer in the same format as the examples. Do NOT add any extra text, explanations, or punctuation. Do NOT include \"Answer:\" or any similar prefix in your response.", "source": "marker_v2", "marker_block_id": "/page/13/Text/7"}
|
| 70 |
+
{"paper_id": "6FyYLNnDL6", "chunk_id": "6FyYLNnDL6:0069", "section": "[Examples]", "page_start": 14, "page_end": 14, "type": "Text", "text": "Question: Which major Russian city borders the body of water in which Saaremaa is located?", "source": "marker_v2", "marker_block_id": "/page/13/Text/9"}
|
| 71 |
+
{"paper_id": "6FyYLNnDL6", "chunk_id": "6FyYLNnDL6:0070", "section": "[Examples]", "page_start": 14, "page_end": 14, "type": "Text", "text": "Answer: Saint Petersburg", "source": "marker_v2", "marker_block_id": "/page/13/Text/10"}
|
| 72 |
+
{"paper_id": "6FyYLNnDL6", "chunk_id": "6FyYLNnDL6:0071", "section": "[Examples]", "page_start": 14, "page_end": 14, "type": "Text", "text": "Question: Who was thee first president of the association that wrote the code of ethics for psychology?", "source": "marker_v2", "marker_block_id": "/page/13/Text/11"}
|
| 73 |
+
{"paper_id": "6FyYLNnDL6", "chunk_id": "6FyYLNnDL6:0072", "section": "[Examples]", "page_start": 14, "page_end": 14, "type": "Text", "text": "Answer: G. Stanley Hall", "source": "marker_v2", "marker_block_id": "/page/13/Text/12"}
|
| 74 |
+
{"paper_id": "6FyYLNnDL6", "chunk_id": "6FyYLNnDL6:0073", "section": "[Examples]", "page_start": 14, "page_end": 14, "type": "Text", "text": "Question: Where did the Baldevins bryllup director die?", "source": "marker_v2", "marker_block_id": "/page/13/Text/13"}
|
| 75 |
+
{"paper_id": "6FyYLNnDL6", "chunk_id": "6FyYLNnDL6:0074", "section": "[Examples]", "page_start": 14, "page_end": 14, "type": "Text", "text": "Answer: Copenhagen", "source": "marker_v2", "marker_block_id": "/page/13/Text/14"}
|
| 76 |
+
{"paper_id": "6FyYLNnDL6", "chunk_id": "6FyYLNnDL6:0075", "section": "[Current Question]", "page_start": 14, "page_end": 14, "type": "Text", "text": "{ Summary of the retrieved documents }", "source": "marker_v2", "marker_block_id": "/page/13/Text/16"}
|
| 77 |
+
{"paper_id": "6FyYLNnDL6", "chunk_id": "6FyYLNnDL6:0076", "section": "[Current Question]", "page_start": 14, "page_end": 14, "type": "Text", "text": "Question: { Question }", "source": "marker_v2", "marker_block_id": "/page/13/Text/17"}
|
| 78 |
+
{"paper_id": "6FyYLNnDL6", "chunk_id": "6FyYLNnDL6:0077", "section": "[Current Question]", "page_start": 14, "page_end": 14, "type": "Text", "text": "Answer:", "source": "marker_v2", "marker_block_id": "/page/13/Text/18"}
|
| 79 |
+
{"paper_id": "6FyYLNnDL6", "chunk_id": "6FyYLNnDL6:0078", "section": "[Current Question]", "page_start": 14, "page_end": 14, "type": "Caption", "text": "Figure 6: Prompt template for LLM QA.", "source": "marker_v2", "marker_block_id": "/page/13/Caption/19"}
|
| 80 |
+
{"paper_id": "6FyYLNnDL6", "chunk_id": "6FyYLNnDL6:0079", "section": "A USE OF LLMS", "page_start": 14, "page_end": 14, "type": "Text", "text": "Large language models (LLMs) were employed solely as writing assistants to enhance the language, improve clarity, and check grammatical correctness. They were not used to generate research ideas, design or implement methodologies, conduct data analysis, or produce any of the results presented in this work. The authors assume full responsibility for the entire content of the paper.", "source": "marker_v2", "marker_block_id": "/page/13/Text/21"}
|
| 81 |
+
{"paper_id": "6FyYLNnDL6", "chunk_id": "6FyYLNnDL6:0080", "section": "B PROMPT TEMPLATES", "page_start": 14, "page_end": 14, "type": "Text", "text": "Figure 5 displays the prompt employed to train the compressor model for generating a summary of the retrieved documents, conditioned on the given query. This prompt is notably concise. For end-task answer generation, the prompt provided to the LLM M is illustrated in Figure 6, which incorporates few-shot in-context examples, the (generated summary of) retrieved documents, and the question.", "source": "marker_v2", "marker_block_id": "/page/13/Text/23"}
|
| 82 |
+
{"paper_id": "6FyYLNnDL6", "chunk_id": "6FyYLNnDL6:0081", "section": "C CASE STUDY", "page_start": 14, "page_end": 14, "type": "Text", "text": "To conduct an in-depth analysis of the advantages of our compressor, we performed case studies on one single-hop QA dataset (NQ) and one multi-hop QA dataset (2Wiki), with the results presented in Table 4 and Table 5, respectively. For each case, we compared the summaries generated by off-the-shelf Qwen2.5-1.5B-Instruct, RECOMP, and our method CORE based on the same set of documents, as well as the predicted answers generated by the LLM after prepending these summaries. As shown in the tables, although the summaries produced by off-the-shelf Qwen2.5-1.5B", "source": "marker_v2", "marker_block_id": "/page/13/Text/25"}
|
| 83 |
+
{"paper_id": "6FyYLNnDL6", "chunk_id": "6FyYLNnDL6:0082", "section": "Top-5 documents", "page_start": 15, "page_end": 15, "type": "Text", "text": "last men conscripted, who were born in 1952 and who reported for duty in June 1973. On February 2, 1972, a drawing was held to determine draft priority numbers for men born in 1953, but in early 1973 it was announced by Secretary of Defense Melvin Laird that no further draft orders would be issued. In March 1973, 1974, and 1975, the Selective Service assigned draft priority numbers for all men born in 1954, 1955, and 1956, in case the draft was extended, but it never was. Command Sergeant Major Jeff Mellinger, believed to be the last drafted enlisted ranked.", "source": "marker_v2", "marker_block_id": "/page/14/Text/6"}
|
| 84 |
+
{"paper_id": "6FyYLNnDL6", "chunk_id": "6FyYLNnDL6:0083", "section": "Top-5 documents", "page_start": 15, "page_end": 15, "type": "Text", "text": "The Gates Commission issued its report in February 1970, describing how adequate military strength could be maintained without having conscription. The existing draft law was expiring at the end of June 1971, but the Department of Defense and Nixon administration decided the draft needed to continue for at least some time. In February 1971, the administration requested of Congress a two-year extension of the draft, to June 1973. Senatorial opponents of the war wanted to reduce this to a one-year extension, or eliminate the draft altogether, or tie the draft renewal to a timetable for troop withdrawal from Vietnam; Senator.", "source": "marker_v2", "marker_block_id": "/page/14/Text/7"}
|
| 85 |
+
{"paper_id": "6FyYLNnDL6", "chunk_id": "6FyYLNnDL6:0084", "section": "Top-5 documents", "page_start": 15, "page_end": 15, "type": "Text", "text": "draft operated from 1940 until 1946 when further inductions were suspended, and its legislative authorization expired without further extension by Congress in 1947. During this time, more than 10 million men had been inducted into military service. However, the Selective Service System remained intact. Scattered opposition was encountered especially in the northern cities where some African-Americans protested the system. The tiny Nation of Islam was at the forefront, with many Black Muslims jailed for refusing the draft, and their leader Elijah Muhammed was sentenced to federal prison for 5 years for inciting draft resistance. Organized draft resistance also developed in.", "source": "marker_v2", "marker_block_id": "/page/14/Text/8"}
|
| 86 |
+
{"paper_id": "6FyYLNnDL6", "chunk_id": "6FyYLNnDL6:0085", "section": "Top-5 documents", "page_start": 15, "page_end": 15, "type": "Text", "text": "was the first time any form of student deferment was used. During the Korean War a student carrying at least twelve semester hours was spared until the end of his current semester. The United States breathed easier with the Korean War Armistice on July 27, 1953; however, technology brought new promises and threats. U.S. air and nuclear power fueled the Eisenhower doctrine of \"massive retaliation\". This strategy demanded more machines and fewer foot soldiers, so the draft slipped to the back burner. However, the head of the SSS, Maj. Gen. Hershey, urged caution fearing the conflict looming in Vietnam. In.", "source": "marker_v2", "marker_block_id": "/page/14/Text/9"}
|
| 87 |
+
{"paper_id": "6FyYLNnDL6", "chunk_id": "6FyYLNnDL6:0086", "section": "Top-5 documents", "page_start": 15, "page_end": 15, "type": "Text", "text": "policy of using the draft as force to compel \"voluntary\" enlistment was unique in U.S. history. Previous drafts had not aimed at encouraging individuals to sign up in order to gain preferential placement or less dangerous postings. However, the incremental buildup of Vietnam without a clear threat to the country bolstered this. Some estimates suggest conscription encompassed almost one-third of all eligible men during the period of 1965–69. This group represented those without exemption or resources to avoid military service. During the active combat phase, the possibility of avoiding combat by selecting their service and military specialty led as many.", "source": "marker_v2", "marker_block_id": "/page/14/Text/10"}
|
| 88 |
+
{"paper_id": "6FyYLNnDL6", "chunk_id": "6FyYLNnDL6:0087", "section": "Top-5 documents", "page_start": 15, "page_end": 15, "type": "Table", "text": "Compressor Generated summary Predicted answer Off-the-shell Qwen2.5- 1.5B-Instruct The US stopped drafting for the Vietnam War in late 1972 after the draft expired at the end of June 1971. late 1972 RECOMP The U.S. stopped drafting for the Vietnam War after the Selective Service System was officially abolished in December 1972 due to growing public opposition and the expiration of the draft's legal authority in 1971. While the draft was formally ended, some individuals were still consripted into the military December 1972 Ours The U.S. stopped drafting for the Vietnam War in 1973 after announcing the decision by Secretary of Defense Melvin Laird earlier that year. Although the Selective Service System was later updated to include draft priority numbers, this decision marked the end of the draft's use for national service. 1973", "source": "marker_v2", "marker_block_id": "/page/14/Table/11"}
|
| 89 |
+
{"paper_id": "6FyYLNnDL6", "chunk_id": "6FyYLNnDL6:0088", "section": "Question: Who is Charles Bretagne Marie De La Tremoille's paternal grandfather? ´ Gold answer: [Charles Armand Rene de La Tr ´ emoille] ´", "page_start": 16, "page_end": 16, "type": "Text", "text": "Top-5 documents:", "source": "marker_v2", "marker_block_id": "/page/15/Text/5"}
|
| 90 |
+
{"paper_id": "6FyYLNnDL6", "chunk_id": "6FyYLNnDL6:0089", "section": "Question: Who is Charles Bretagne Marie De La Tremoille's paternal grandfather? ´ Gold answer: [Charles Armand Rene de La Tr ´ emoille] ´", "page_start": 16, "page_end": 16, "type": "Text", "text": "as at Versailles: he was brigadier of cavalry (January 1709), first gentleman of the King's chamber (June 1709), governor of Thouars (July 1709), and Marechal de camp (February 1719). His sister ´ Marie Armande Victoire de La Tremoille married Emmanuel Th ´ eodose de La Tour d'Auvergne. ´ On 13 April 1706 he married Marie-Madeleine Motier de La Fayette (1691–1717), the daughter of Rene-Armand, marquis de La Fayette and Marie-Madeleine de Marillac, and granddaughter of the author Marie-Madeleine Pioche de la Vergne, comtesse de la Fayette. They had one child, Charles Armand Rene de La Tr ´ emoille, born in 1708. Charles Louis Bretagne de La ´", "source": "marker_v2", "marker_block_id": "/page/15/Text/6"}
|
| 91 |
+
{"paper_id": "6FyYLNnDL6", "chunk_id": "6FyYLNnDL6:0090", "section": "Question: Who is Charles Bretagne Marie De La Tremoille's paternal grandfather? ´ Gold answer: [Charles Armand Rene de La Tr ´ emoille] ´", "page_start": 16, "page_end": 16, "type": "Text", "text": "Charles Bretagne Marie de La Tremoille Charles Bretagne Marie de La Tr ´ emoille (24 March ´ 1764 – 10 November 1839), 8th duc de Thouars, was a French soldier and the son of Jean Bretagne Charles de La Tremoille and his wife, Marie-Maximilienne, princess of Salm-Kyrburg. La ´ Tremoille married Louise-Emmanuelle de Ch ´ atillon in 1781. She was a grand daughter of Louis ˆ Cesar de La Baume Le Blanc, the famous writer. The couple had one daughter: At the outbreak ´ of the French Revolution, he sided with King Louis XVI, as did the rest of his family. In 1789, La Tremoille and his parents ´", "source": "marker_v2", "marker_block_id": "/page/15/Text/7"}
|
| 92 |
+
{"paper_id": "6FyYLNnDL6", "chunk_id": "6FyYLNnDL6:0091", "section": "Question: Who is Charles Bretagne Marie De La Tremoille's paternal grandfather? ´ Gold answer: [Charles Armand Rene de La Tr ´ emoille] ´", "page_start": 16, "page_end": 16, "type": "Text", "text": "Jean Bretagne Charles de La Tremoille Jean-Bretagne-Charles de La Tr ´ emoille (5 February 1737 ´ – 19 May 1792), 7th duc de Thouars, was a French soldier and the son of Charles Armand Rene´ de La Tremoille and his wife, Marie Hortense de La Tour d'Auvergne. La Tr ´ emoille began his ´ military career in the Seven Years' War as the head of the regiment of Aquitaine-Cavalry. He was seriously wounded and afterwards promoted to the rank of sergeant, and later of brigadier, of the armies of the king. During the French Revolution, La Tremoille remained faithful to King Louis ´ XVI. He emigrated in", "source": "marker_v2", "marker_block_id": "/page/15/Text/8"}
|
| 93 |
+
{"paper_id": "6FyYLNnDL6", "chunk_id": "6FyYLNnDL6:0092", "section": "Question: Who is Charles Bretagne Marie De La Tremoille's paternal grandfather? ´ Gold answer: [Charles Armand Rene de La Tr ´ emoille] ´", "page_start": 16, "page_end": 16, "type": "Text", "text": "Charles Louis Bretagne de La Tremoille Charles Louis Bretagne de La Tr ´ emoille (15 March ´ 1683 – 9 October 1719), 6th duke of Thouars, was the son of Charles Belgique Hollande de La Tremoille and Madeleine de Cr ´ equy, daughter and heiress of Charles III de Cr ´ equy. He became ´ duke of Thouars upon his father's death in 1709. He was also count of Laval and Montfort and inherited the ancient French claim to the Kingdom of Naples. The Neapolitan claim gave the family the rank of \"princes etrangers\" at the French court. The Duke made a career in the ´ military as well", "source": "marker_v2", "marker_block_id": "/page/15/Text/9"}
|
| 94 |
+
{"paper_id": "6FyYLNnDL6", "chunk_id": "6FyYLNnDL6:0093", "section": "Question: Who is Charles Bretagne Marie De La Tremoille's paternal grandfather? ´ Gold answer: [Charles Armand Rene de La Tr ´ emoille] ´", "page_start": 16, "page_end": 16, "type": "Text", "text": "de Saint-Didier. They had two daughters: Following her death, La Tremoille married for a third ´ time in 1830 to Valentine Eugenie Jos ´ ephine Walsh de Serrant. They had two children: La ´ Tremoille died shortly after his son's birth, in 1839. Charles Bretagne Marie de La Tr ´ emoille ´ Charles Bretagne Marie de La Tremoille (24 March 1764 – 10 November 1839), 8th duc de ´ Thouars, was a French soldier and the son of Jean Bretagne Charles de La Tremoille and his wife, ´ Marie-Maximilienne, princess of Salm-Kyrburg. La Tremoille married Louise-Emmanuelle de ´ Chatillon in 1781. She was a grand daughter of Louis C ˆ esar de ´", "source": "marker_v2", "marker_block_id": "/page/15/Text/10"}
|
| 95 |
+
{"paper_id": "6FyYLNnDL6", "chunk_id": "6FyYLNnDL6:0094", "section": "Question: Who is Charles Bretagne Marie De La Tremoille's paternal grandfather? ´ Gold answer: [Charles Armand Rene de La Tr ´ emoille] ´", "page_start": 16, "page_end": 16, "type": "Table", "text": "Compressor Generated summary Predicted answer Off-the-shell Qwen2.5- 1.5B-Instruct Charles Bretagne Marie de La Tremoille's paternal grandfather ´ was Jean Bretagne Charles de La Tremoille. ´ Jean Bretagne Charles de La Tremoille ´ RECOMP Charles Bretagne Marie de La Tremoille's paternal grandfather ´ was Charles Louis Bretagne de La Tremoille, who was the son ´ of Charles Belgique Hollande de La Tremoille and Madeleine ´ de Crequy. This makes him the direct paternal grandfather of ´ Charles Bretagne Marie de La Tremoille. ´ Charles Louis Bretagne de La Tremoille ´ Ours ´ Charles Bretagne Marie de La Tremoille's paternal grandfather is Charles Armand Rene de La Tr ´ emoille, her father's father, the ´ 7th duc de Thouars. Charles Armand Rene´ de La Tremoille ´", "source": "marker_v2", "marker_block_id": "/page/15/Table/11"}
|
| 96 |
+
{"paper_id": "6FyYLNnDL6", "chunk_id": "6FyYLNnDL6:0095", "section": "Question: Who is Charles Bretagne Marie De La Tremoille's paternal grandfather? ´ Gold answer: [Charles Armand Rene de La Tr ´ emoille] ´", "page_start": 17, "page_end": 17, "type": "TableGroup", "text": "Table 6: Failure Cases on NQ dataset. Question Generated Summary Predicted Answer Gold Answer who is the president of usa right now The current president of the USA is **Donald Trump**, who was elected on January 20, 2017, and is the 45th president. He is a businessman and reality TV personality, and his inauguration marked a shift in the country's political landscape. Joe Biden Donald Trump who has been ranked no. 1 in the latest football rankings announced by fifa The latest FIFA football rankings, announced in 2018, have ranked France as the top team, after winning the 2018 World Cup. This change was implemented using the Elo rating system, and the rankings were introduced to better reflect football team strengths. France Germany", "source": "marker_v2", "marker_block_id": "/page/16/TableGroup/346"}
|
| 97 |
+
{"paper_id": "6FyYLNnDL6", "chunk_id": "6FyYLNnDL6:0096", "section": "Question: Who is Charles Bretagne Marie De La Tremoille's paternal grandfather? ´ Gold answer: [Charles Armand Rene de La Tr ´ emoille] ´", "page_start": 17, "page_end": 17, "type": "Text", "text": "are concise, they largely fail to capture key information relevant to answering the question. In contrast, RECOMP demonstrates better summarization capability but is prone to being overwhelmed by lengthy documents, resulting in misjudgments and even generating misleading information—such as the statement in Table 4: \" The U.S. stopped drafting for the Vietnam War after the Selective Service System was officially abolished in December 1972 \"—which leads the downstream LLM to produce the incorrect answer \"1972\". Our method, CORE, accurately extracts answer-critical information from lengthy documents, exemplified by the summary: \" The U.S. stopped drafting for the Vietnam War in 1973 after announcing the decision by Secretary of Defense Melvin Laird earlier that year \", thereby enabling the LLM to generate the correct answer \"1973\". This indicates that our compressor, trained with an end-task target-oriented reinforcement learning optimization strategy, can produce document summaries that are most helpful for answering the given question while effectively filtering out irrelevant information.", "source": "marker_v2", "marker_block_id": "/page/16/Text/3"}
|
| 98 |
+
{"paper_id": "6FyYLNnDL6", "chunk_id": "6FyYLNnDL6:0097", "section": "Question: Who is Charles Bretagne Marie De La Tremoille's paternal grandfather? ´ Gold answer: [Charles Armand Rene de La Tr ´ emoille] ´", "page_start": 17, "page_end": 17, "type": "Text", "text": "To further understand the limitations of our approach, we present two failure cases from the NQ dataset where the model provided incorrect answers based on our generated summaries. As shown in Table 6, the first case reveals that although the summary contained the key information required for the correct answer, the downstream LLM still produced an error, potentially due to its over-reliance on parametric knowledge. In the second case, the summary itself omitted critical information needed to answer the question, which likely led to the incorrect response.", "source": "marker_v2", "marker_block_id": "/page/16/Text/4"}
|
| 99 |
+
{"paper_id": "6FyYLNnDL6", "chunk_id": "6FyYLNnDL6:0098", "section": "D IMPACT OF DIFFERENT COMPRESSORS ON PERFORMANCE", "page_start": 17, "page_end": 17, "type": "Text", "text": "In our previous experiments, we employed Qwen2.5-1.5B as the initial model to train our compressor. In this section, we utilize two additional models—Llama3.2-1B and Llama3.2-3B—as starting points to train our compressor and the baseline compressor, respectively. The experimental results are presented in Table 7 and Table 8. As shown in the results, our method CORE continues to achieve lossless compression with both models, maintaining a high token compression ratio while exhibiting no performance degradation in terms of Exact Match (EM) and F1 score compared to uncompressed RAG. Furthermore, under both new model configurations, our approach consistently outperforms the baseline methods, indicating that its superiority is not dependent on a specific model architecture and thus demonstrates strong robustness.", "source": "marker_v2", "marker_block_id": "/page/16/Text/6"}
|
| 100 |
+
{"paper_id": "6FyYLNnDL6", "chunk_id": "6FyYLNnDL6:0099", "section": "D IMPACT OF DIFFERENT COMPRESSORS ON PERFORMANCE", "page_start": 17, "page_end": 17, "type": "Text", "text": "We also observe that our method adheres to a form of scaling law: the compressor trained using the 3B model outperforms the one trained with the 1B model. Specifically, the 1B compressor improves performance by 1–4 EM points over the uncompressed baseline, while the 3B compressor yields gains of 3–9 EM points.", "source": "marker_v2", "marker_block_id": "/page/16/Text/7"}
|
| 101 |
+
{"paper_id": "6FyYLNnDL6", "chunk_id": "6FyYLNnDL6:0100", "section": "D IMPACT OF DIFFERENT COMPRESSORS ON PERFORMANCE", "page_start": 18, "page_end": 18, "type": "TableGroup", "text": "Table 7: Open-domain QA results using Qwen2.5-14B-Instruct as the downstream LLM (M). The reported token counts represent the length of in-context documents, excluding few-shot examples. RECOMP and our method CORE are both trained using llama3.2-1B-Instruct . NQ TriviaQA HotpotQA 2WikiMultihopQA EM F1 # tok EM F1 # tok EM F1 # tok EM F1 # tok No Retrieval 0.2136 0.3097 0 0.5323 0.5998 0 0.2105 0.2948 0 0.2611 0.2951 0 RAG without compre ession Top1 Document 0.3446 0.4441 142 0.6082 0.6870 143 0.2920 0.3893 147 0.2679 0.3187 153 Top3 Documents 0.3778 0.4845 427 0.6260 0.7102 430 0.3164 0.4187 442 0.2789 0.3358 460 Top5 Documents 0.3803 0.4916 712 0.6410 0.7248 715 0.3299 0.4369 737 0.2964 0.3521 766 Top10 Documents 0.3867 0.5003 1425 0.6440 0.7292 1428 0.3395 0.4488 1471 0.3104 0.3675 1531 Compression of top 3 5 docs llama3.2-1B 0.3147 0.4227 64 0.5552 0.6415 60 0.2648 0.3639 58 0.2498 0.3003 61 Deepseek-V3 (671B) 0.3773 0.5039 54 0.6528 0.7433 51 0.3359 0.4483 48 0.2507 0.3031 45 RECOMP (1B) 0.3410 0.4655 57 0.6071 0.6880 48 0.2987 0.4121 49 0.3045 0.3653 33 CORE (1B) 0.3947 0.4923 47 0.6483 0.7287 43 0.3344 0.4454 45 0.3378 0.3969 34 Compression of top 10 docs (w vith the co mpresso r trained on top 5 d locs) llama3.2-1B 0.3141 0.4228 62 0.5651 0.6512 5 8 0.2663 0.3661 56 0.2493 0.3006 61 Deepseek-V3 (671B) 0.3779 0.5107 56 0.6529 0.7445 53 0.3462 0.4569 50 0.2900 0.3464 40 RECOMP (1B) 0.3421 0.4661 59 0.6095 0.6917 52 0.2982 0.4105 55 0.3072 0.3681 44 CORE (1B) 0.4033 0.5033 47 0.6521 0.7296 45 0.3412 0.4500 48 0.3586 0.4162 42", "source": "marker_v2", "marker_block_id": "/page/17/TableGroup/149"}
|
| 102 |
+
{"paper_id": "6FyYLNnDL6", "chunk_id": "6FyYLNnDL6:0101", "section": "D IMPACT OF DIFFERENT COMPRESSORS ON PERFORMANCE", "page_start": 18, "page_end": 18, "type": "TableGroup", "text": "Table 8: Open-domain QA results using Qwen2.5-14B-Instruct as the downstream LLM (M). The reported token counts represent the length of in-context documents, excluding few-shot examples. RECOMP and our method CORE are both trained using llama3.2-3B-Instruct . NQ TriviaQA HotpotQA 2WikiMultihopQA EM F1 # tok EM F1 # tok EM F1 # tok EM F1 # tok No Retrieval 0.2136 0.3097 0 0.5323 0.5998 0 0.2105 0.2948 0 0.2611 0.2951 0 RAG without compre ession Top1 Document 0.3446 0.4441 142 0.6082 0.6870 143 0.2920 0.3893 147 0.2679 0.3187 153 Top3 Documents 0.3778 0.4845 427 0.6260 0.7102 430 0.3164 0.4187 442 0.2789 0.3358 460 Top5 Documents 0.3803 0.4916 712 0.6410 0.7248 715 0.3299 0.4369 737 0.2964 0.3521 766 Top10 Documents 0.3867 0.5003 1425 0.6440 0.7292 1428 0.3395 0.4488 1471 0.3104 0.3675 1531 Compression of top : 5 docs llama3.2-3B 0.3252 0.4334 60 0.5650 0.6521 59 0.2772 0.3809 58 0.2485 0.2995 60 Deepseek-V3 (671B) 0.3773 0.5039 54 0.6528 0.7433 51 0.3359 0.4483 48 0.2507 0.3031 45 RECOMP (3B) 0.3657 0.4912 55 0.6183 0.6920 47 0.3025 0.4238 52 0.3274 0.3806 42 CORE (3B) 0.4310 0.5234 32 0.6650 0.7306 38 0.3507 0.4736 51 0.3905 0.4474 40 Compression of top 10 docs (w vith the co mpresso or trained on top 5 a locs) llama3.2-3B 0.3318 0.4359 61 0.5720 0.6588 57 0.2791 0.3854 60 0.2491 0.3011 59 Deepseek-V3 (671B) 0.3779 0.5107 56 0.6529 0.7445 53 0.3462 0.4569 50 0.2900 0.3464 40 RECOMP (3B) 0.3682 0.4963 52 0.6205 0.6973 44 0.3077 0.4261 54 0.3312 0.3869 50 CORE (3B) 0.4526 0.5467 33 0.6736 0.7404 37 0.3693 0.4926 51 0.4071 0.4633 48", "source": "marker_v2", "marker_block_id": "/page/17/TableGroup/150"}
|
| 103 |
+
{"paper_id": "6FyYLNnDL6", "chunk_id": "6FyYLNnDL6:0102", "section": "D IMPACT OF DIFFERENT COMPRESSORS ON PERFORMANCE", "page_start": 19, "page_end": 19, "type": "TableGroup", "text": "Table 9: Zero-Shot Evaluation on HotpotQA of Models Trained on Natural Questions. EM F1 #tok No Retrieval 21.05 29.48 0 Full Documents 32.99 43.69 737 BM25 24.18 35.73 71 NoiseFilter-IB 27.97 38.62 38 RECOMP 28.96 39.95 56 CORE 33.67 45.06 36 RECOMP-Transfer 26.68 37.29 58 CORE-Transfer 31.25 42.84 35 Table 10: Evaluation on Noisy Natural Questions.", "source": "marker_v2", "marker_block_id": "/page/18/TableGroup/304"}
|
| 104 |
+
{"paper_id": "6FyYLNnDL6", "chunk_id": "6FyYLNnDL6:0103", "section": "D IMPACT OF DIFFERENT COMPRESSORS ON PERFORMANCE", "page_start": 19, "page_end": 19, "type": "Table", "text": "EM F1 #tok full documents 35.21 45.38 1427 RECOMP 33.29 43.90 59 CORE 38.19 48.85 48", "source": "marker_v2", "marker_block_id": "/page/18/Table/4"}
|
| 105 |
+
{"paper_id": "6FyYLNnDL6", "chunk_id": "6FyYLNnDL6:0104", "section": "E CROSS-DATASET GENERALIZATION PERFORMANCE", "page_start": 19, "page_end": 19, "type": "Text", "text": "To verify the universal compression capability of our method, we directly transfer the model trained on the single-hop question answering dataset NQ to the multi-hop dataset HotpotQA for evaluation. The results, shown in Table 9, indicate that our transferred model achieves nearly lossless performance compared to using full documents without compression, while substantially outperforming the transfer results of the RECOMP baseline. Moreover, although both our method and the baseline underperform relative to models trained directly on the target HotpotQA dataset, our approach exhibits a smaller performance drop and demonstrates greater robustness compared to the baseline.", "source": "marker_v2", "marker_block_id": "/page/18/Text/6"}
|
| 106 |
+
{"paper_id": "6FyYLNnDL6", "chunk_id": "6FyYLNnDL6:0105", "section": "F ROBUSTNESS AGAINST NOISY CONTEXTS", "page_start": 19, "page_end": 19, "type": "Text", "text": "To evaluate the robustness of our approach against adversarial retrievals and noisy contexts, we constructed a noisy version of the NQ dataset. For each question, we constructed the input context by combining the top-3 passages retrieved by the DPR retriever with 7 randomly selected passages from the Wikipedia corpus to serve as irrelevant/noisy information. This resulted in a context of 10 passages, which were then shuffled to randomize the order. We then compared the performance of our method against the full-document baseline. Experimental results are presented in the table 10. In the \"full documents\" setting, the downstream LLM directly uses all these 10 passages to answer the question, whereas in our method, the compressor first summarizes the context, and the LLM then generates an answer based on the compressed content. The model we used was trained on the standard NQ dataset without any such noise augmentation. Our method not only matches but slightly surpasses the performance of using all documents, demonstrating its strong noise resistance and ability to extract key information from cluttered contexts. In addition, we compared our approach with the RECOMP baseline, and our method consistently outperforms it, reaffirming the superior compression capability and robustness of our model. Furthermore, our method achieves a high compression rate, condensing the source content from 1,427 tokens to just 48.", "source": "marker_v2", "marker_block_id": "/page/18/Text/8"}
|
iclr26/6FyYLNnDL6/dataset_meta.json
ADDED
|
@@ -0,0 +1,63 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"paper_id": "6FyYLNnDL6",
|
| 3 |
+
"pipeline": "Paper2Markdown-V3",
|
| 4 |
+
"ok": true,
|
| 5 |
+
"page_count": 19,
|
| 6 |
+
"chunk_count": 106,
|
| 7 |
+
"main_body_chunk_count": 60,
|
| 8 |
+
"appendix_chunk_count": 38,
|
| 9 |
+
"reference_chunk_count": 8,
|
| 10 |
+
"model_text_chars": 43162,
|
| 11 |
+
"raw_markdown_chars": 88191,
|
| 12 |
+
"sanitized_chars": 79686,
|
| 13 |
+
"page_provenance": {
|
| 14 |
+
"min_page": 1,
|
| 15 |
+
"max_page": 19,
|
| 16 |
+
"invalid_count": 0
|
| 17 |
+
},
|
| 18 |
+
"marker_block_type_counts": {
|
| 19 |
+
"Caption": 2,
|
| 20 |
+
"Equation": 4,
|
| 21 |
+
"Figure": 1,
|
| 22 |
+
"FigureGroup": 4,
|
| 23 |
+
"Footnote": 2,
|
| 24 |
+
"ListGroup": 3,
|
| 25 |
+
"PageFooter": 19,
|
| 26 |
+
"PageHeader": 19,
|
| 27 |
+
"SectionHeader": 37,
|
| 28 |
+
"Table": 3,
|
| 29 |
+
"TableGroup": 7,
|
| 30 |
+
"Text": 330
|
| 31 |
+
},
|
| 32 |
+
"asset_count_raw": 5,
|
| 33 |
+
"asset_count_model_kept": 5,
|
| 34 |
+
"asset_count_rejected": 0,
|
| 35 |
+
"asset_reject_reasons": {
|
| 36 |
+
"kept": 5
|
| 37 |
+
},
|
| 38 |
+
"artifact_leak_audit": {
|
| 39 |
+
"ok": true,
|
| 40 |
+
"hits": {
|
| 41 |
+
"Anonymous Authors": [],
|
| 42 |
+
"ACKNOWLEDGMENT": [],
|
| 43 |
+
"OpenReview": [],
|
| 44 |
+
"\"accept_label\"": [],
|
| 45 |
+
"\"decision\"": [],
|
| 46 |
+
"\"decision_tier\"": [],
|
| 47 |
+
"\"source_status\"": [],
|
| 48 |
+
"Meta-review": [],
|
| 49 |
+
"Official Review": [],
|
| 50 |
+
"official_reviews": [],
|
| 51 |
+
"meta_reviews": [],
|
| 52 |
+
"suggested_verdict_score": []
|
| 53 |
+
},
|
| 54 |
+
"artifact_count": 2
|
| 55 |
+
},
|
| 56 |
+
"default_model_input": "model_text_v3.txt",
|
| 57 |
+
"appendix_input": "appendix_text_v3.txt",
|
| 58 |
+
"reference_input": "reference_text_v3.txt",
|
| 59 |
+
"source": "iclr2026_train",
|
| 60 |
+
"run_name": "iclr26_20260429_1952_all",
|
| 61 |
+
"partial_snapshot": true,
|
| 62 |
+
"snapshot_created_at": "2026-04-30T02:34:47.606558+00:00"
|
| 63 |
+
}
|
iclr26/6FyYLNnDL6/main_body_chunks.jsonl
ADDED
|
@@ -0,0 +1,60 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{"paper_id": "6FyYLNnDL6", "chunk_id": "6FyYLNnDL6:0000", "section": "ABSTRACT", "page_start": 1, "page_end": 1, "type": "Text", "text": "Retrieval-Augmented Generation (RAG) has emerged as a promising approach to enhance the timeliness of knowledge updates and the factual accuracy of responses in large language models. However, incorporating a large number of retrieved documents significantly increases input length, leading to higher computational costs. Existing approaches to document compression tailored for RAG often degrade task performance, as they typically rely on predefined heuristics in the absence of clear compression guidelines. These heuristics fail to ensure that the compressed content effectively supports downstream tasks. To address these limitations, we propose CORE, a novel method for lossless context compression in RAG. CORE is optimized end-to-end and does not depend on predefined compression labels, which are often impractical to obtain. Instead, it leverages downstream task performance as a feedback signal, iteratively refining the compression policy to enhance task effectiveness. Extensive experiments across four datasets demonstrate the effectiveness of CORE. With a high compression ratio of 3%, CORE not only prevents performance degradation compared to including full documents (i.e., without compression) but also improves the average Exact Match (EM) score by 3.3 points. The code for CORE is available at .", "source": "marker_v2", "marker_block_id": "/page/0/Text/4"}
|
| 2 |
+
{"paper_id": "6FyYLNnDL6", "chunk_id": "6FyYLNnDL6:0001", "section": "1 INTRODUCTION", "page_start": 1, "page_end": 1, "type": "Text", "text": "Large language models (LLMs) have undergone rapid development in recent years, significantly enhancing performance across various language tasks due to their emergent capabilities in semantic understanding and reasoning. Nevertheless, LLMs still face challenges in updating knowledge and providing factual responses (Fan et al., 2024) . To address these issues, Retrieval-Augmented Generation (RAG) has emerged as a promising approach. By retrieving the most relevant documents from external knowledge bases and prepending them as contextual information to the original input, RAG substantially improves LLM performance on knowledge-intensive tasks (Ram et al., 2023) .", "source": "marker_v2", "marker_block_id": "/page/0/Text/6"}
|
| 3 |
+
{"paper_id": "6FyYLNnDL6", "chunk_id": "6FyYLNnDL6:0002", "section": "1 INTRODUCTION", "page_start": 1, "page_end": 1, "type": "Text", "text": "While RAG enhances performance, its effectiveness is closely tied to the number of retrieved documents used, since a broader context increases the probability of encompassing critical evidence. As illustrated in Figure 1, performance was weakest without any retrieved documents (i.e., without RAG). Accuracy improved consistently as more documents were added to the context, ultimately exceeding the no-RAG baseline by over 10 Exact Match (EM) points. However, this performance gain came with two significant limitations: (1) a substantial increase in computational cost from processing a larger number of context tokens (Xu et al., 2024) , and (2) the model's difficulty in effectively leveraging all provided documents, often resulting in the omission of key information located in the middle of the context (Liu et al., 2023) .", "source": "marker_v2", "marker_block_id": "/page/0/Text/7"}
|
| 4 |
+
{"paper_id": "6FyYLNnDL6", "chunk_id": "6FyYLNnDL6:0003", "section": "1 INTRODUCTION", "page_start": 1, "page_end": 1, "type": "Text", "text": "These limitations have motivated recent research efforts aimed at compressing the retrieved context (Jin et al., 2024b; Wu et al., 2025; Jin et al., 2024a; Zhang et al., 2024a) . Prominent approaches include document summarization (Xu et al., 2024) , key information extraction (Cao et al., 2024; Xu et al., 2024) , the construction of key supporting evidence (Jin et al., 2024b) , and noise filtering based on information theory (Zhu et al., 2024) . Despite recent progress, these methods have several notable shortcomings. First, compression often results in a performance trade-off. For instance, RECOMP", "source": "marker_v2", "marker_block_id": "/page/0/Text/8"}
|
| 5 |
+
{"paper_id": "6FyYLNnDL6", "chunk_id": "6FyYLNnDL6:0004", "section": "1 INTRODUCTION", "page_start": 2, "page_end": 2, "type": "FigureGroup", "text": "Figure 1: Performance evolution with an increasing number of retrieved documents on two datasets. Traditional RAG requires more documents for better performance, while our method achieves comparable or superior results with significant token compression.", "source": "marker_v2", "marker_block_id": "/page/1/FigureGroup/293"}
|
| 6 |
+
{"paper_id": "6FyYLNnDL6", "chunk_id": "6FyYLNnDL6:0005", "section": "1 INTRODUCTION", "page_start": 2, "page_end": 2, "type": "Text", "text": "(Xu et al., 2024) suffers a 3–5 point drop in EM score (Table 1) , making it unsuitable for accuracysensitive applications. Second, most compression methods are heuristic in nature. The models are typically trained to generate summaries that are generally good but not necessarily useful for the downstream answer-generation LLM. This limitation arises from the lack of an ideal supervisory signal that defines what an optimal summary should be for the downstream task. This fundamental gap hinders the end-to-end optimization of existing methods. Finally, some compression models (Zhu et al., 2024) have parameter counts comparable to the LLM that performs the end task, resulting in substantial computational costs that undermine the efficiency gains of compression.", "source": "marker_v2", "marker_block_id": "/page/1/Text/4"}
|
| 7 |
+
{"paper_id": "6FyYLNnDL6", "chunk_id": "6FyYLNnDL6:0006", "section": "1 INTRODUCTION", "page_start": 2, "page_end": 2, "type": "Text", "text": "Addressing these critical shortcomings requires a method that aligns compression with downstream task requirements, thereby minimizing performance trade-offs. To bridge this gap, we propose CORE, a novel method designed to achieve lossless context compression for RAG. Unlike previous compression methods, CORE is optimized in an end-to-end manner. Since obtaining predefined summary labels for supervision is impractical, we instead use downstream task performance as a feedback signal to evaluate the compression model's output. This feedback enables iterative refinement of the compression policy, guiding the compression model toward improved downstream performance. To this end, we employ Group Relative Policy Optimization (GRPO), a technique particularly well-suited for this purpose (Liu et al., 2024; Shao et al., 2024; Chen et al., 2025a) . In our framework, the accuracy of the downstream QA task is formalized as a reward, with the compression policy optimized through group-wise relative comparisons. Furthermore, our compression model is substantially smaller than the downstream LLM, which significantly reduces the computational overhead associated with encoding retrieved documents.", "source": "marker_v2", "marker_block_id": "/page/1/Text/5"}
|
| 8 |
+
{"paper_id": "6FyYLNnDL6", "chunk_id": "6FyYLNnDL6:0007", "section": "1 INTRODUCTION", "page_start": 2, "page_end": 2, "type": "Text", "text": "We evaluate CORE on four benchmark datasets: two single-hop QA datasets ( Natural Questions and TriviaQA ) and two multi-hop datasets ( HotpotQA and 2WikiMultihopQA ). As shown in Table 1, CORE achieves state-of-the-art performance across all baselines. With a compression ratio of 3%, our approach not only avoids performance degradation compared to prepending full documents but also improves the average EM score by 3.3 points. We further demonstrate two key advantages of our approach. First, the effectiveness of CORE is not tied to a specific model architecture, as demonstrated by the fact that lossless compression can be achieved when various models are trained as compressors (Figure 3) . Second, the compressor exhibits strong transferability: a compression model trained using feedback from one LLM generalizes effectively to other LLMs (Table 2) . Finally, an in-depth case study (Tables 4 and 5) provides a qualitative analysis of the benefits of CORE.", "source": "marker_v2", "marker_block_id": "/page/1/Text/6"}
|
| 9 |
+
{"paper_id": "6FyYLNnDL6", "chunk_id": "6FyYLNnDL6:0008", "section": "2 CORE-RAG", "page_start": 2, "page_end": 2, "type": "Text", "text": "This section introduces our proposed method, COmpression via REinforcement learning (CORE), which is shown in Figure 2. First, we provide an overview of the entire workflow. Then, we detail the end-to-end training strategy for the compression model, which is designed to drastically reduce the number of document tokens while preserving task performance.", "source": "marker_v2", "marker_block_id": "/page/1/Text/8"}
|
| 10 |
+
{"paper_id": "6FyYLNnDL6", "chunk_id": "6FyYLNnDL6:0009", "section": "2 CORE-RAG", "page_start": 3, "page_end": 3, "type": "FigureGroup", "text": "Figure 2: Overview of our method CORE. The upper section illustrates the inference pipeline. The lower section depicts the end-to-end training method for the compression model.", "source": "marker_v2", "marker_block_id": "/page/2/FigureGroup/349"}
|
| 11 |
+
{"paper_id": "6FyYLNnDL6", "chunk_id": "6FyYLNnDL6:0010", "section": "2.1 Problem Formulation", "page_start": 3, "page_end": 3, "type": "Text", "text": "We adopt the same problem formulation as prior work (Xu et al., 2024). Given an input question q, a target output y, and a set of k retrieved documents D, our objective is to compress D with respect to q into a summary s that preserves the most useful information while using significantly fewer tokens than D. This summary s is then prepended to the original input q and fed into an LLM to generate the final answer for the downstream task. This overall pipeline is illustrated in the upper half of Figure 2. The process involves two key components: a compression model \\pi_{\\theta} \\colon (q, D) \\mapsto s and a large language model M \\colon (s, q) \\mapsto \\hat{y} , which generates the predicted answer \\hat{y} . We treat M as a black-box system and focus exclusively on training the compressor \\pi_{\\theta} . The compressor itself is also a language model, but it is intentionally designed to be significantly smaller than M to reduce the computational cost of encoding the retrieved documents.", "source": "marker_v2", "marker_block_id": "/page/2/Text/4"}
|
| 12 |
+
{"paper_id": "6FyYLNnDL6", "chunk_id": "6FyYLNnDL6:0011", "section": "2.2 Training the Compressor", "page_start": 3, "page_end": 3, "type": "Text", "text": "Our compressor is designed to generate document summaries that are highly useful to the LLM (M) for downstream tasks. This objective is challenging because the criteria for an effective summary are task-dependent, and direct supervision is unavailable. We therefore formulate this as an end-to-end training problem and employ reinforcement learning to optimize the compressor without relying on pre-defined compression labels. The overall architecture of our training framework is illustrated in the lower portion of Figure 2. The following sections describe the key components of our approach: distillation warm-up, policy optimization, and reward calculation.", "source": "marker_v2", "marker_block_id": "/page/2/Text/6"}
|
| 13 |
+
{"paper_id": "6FyYLNnDL6", "chunk_id": "6FyYLNnDL6:0012", "section": "2.2.1 DISTILLATION FOR WARM-START", "page_start": 3, "page_end": 3, "type": "Text", "text": "Due to the limited parameter size of our compression model, its capability for question-focused document summarization is constrained. To provide a strong initial policy for RL and ensure training stability, we employ knowledge distillation from a teacher model to initialize our compressor. Specifically, we first utilize a large-scale language model (DeepSeek-V3) as the teacher to generate summaries of retrieved documents related to the given question. We then evaluate the performance of the downstream LLM (M) on the QA task under two conditions: (1) with the teacher-generated summary \\hat{s} prepended to the input question q, and (2) with the original question alone. The corresponding performance scores are denoted as p_{\\text{summary}} and p_{\\text{original}} , respectively. By comparing these results, we retain instances where p_{\\text{summary}} > p_{\\text{original}} , indicating that the summary enhances RAG performance. We also retain cases where p_{\\text{original}} = 1 (i.e., the model produces a fully correct answer without the summary) and p_{\\text{summary}} < p_{\\text{original}} ; for these, we set the target summary \\hat{s} to an empty string. All other instances are discarded. The resulting filtered and modified dataset is denoted as", "source": "marker_v2", "marker_block_id": "/page/2/Text/8"}
|
| 14 |
+
{"paper_id": "6FyYLNnDL6", "chunk_id": "6FyYLNnDL6:0013", "section": "2.2.1 DISTILLATION FOR WARM-START", "page_start": 4, "page_end": 4, "type": "Text", "text": "\\mathcal{X}_f , which is used for supervised fine-tuning of the compression model. The fine-tuning objective is defined as:", "source": "marker_v2", "marker_block_id": "/page/3/Text/1"}
|
| 15 |
+
{"paper_id": "6FyYLNnDL6", "chunk_id": "6FyYLNnDL6:0014", "section": "2.2.1 DISTILLATION FOR WARM-START", "page_start": 4, "page_end": 4, "type": "Text", "text": "\\mathcal{L}_{\\text{distill}} = \\frac{1}{|\\mathcal{X}_f|} \\sum_{(q,D,\\hat{s}) \\in \\mathcal{X}_f} \\mathcal{L}_{\\text{CE}}(\\pi_{\\theta}(q,D),\\hat{s}), \\tag{1}", "source": "marker_v2", "marker_block_id": "/page/3/Text/2"}
|
| 16 |
+
{"paper_id": "6FyYLNnDL6", "chunk_id": "6FyYLNnDL6:0015", "section": "2.2.1 DISTILLATION FOR WARM-START", "page_start": 4, "page_end": 4, "type": "Text", "text": "where \\pi_{\\theta}(q, D) denotes the output of the compression model and \\mathcal{L}_{CE} is the cross-entropy loss. This distillation process yields a robust initialization for RL and promotes stability in subsequent training.", "source": "marker_v2", "marker_block_id": "/page/3/Text/3"}
|
| 17 |
+
{"paper_id": "6FyYLNnDL6", "chunk_id": "6FyYLNnDL6:0016", "section": "2.2.2 END-TO-END TRAINING WITH RL", "page_start": 4, "page_end": 4, "type": "Text", "text": "Following the distillation phase, the compressor possesses a preliminary compression capability. However, as summaries from even the largest teacher models are not guaranteed to be optimal for the downstream task, further end-to-end optimization is necessary. We therefore formulate this optimization as a reinforcement learning problem. In this framework, the compressor functions as a policy that generates a summary from an input question and its corresponding documents. A reward function, which directly reflects performance on the downstream task (e.g., question-answering accuracy), then evaluates the summary's quality. The objective is to optimize the compressor's parameters to maximize the expected cumulative reward, thereby directly aligning its outputs with the downstream task's objectives.", "source": "marker_v2", "marker_block_id": "/page/3/Text/5"}
|
| 18 |
+
{"paper_id": "6FyYLNnDL6", "chunk_id": "6FyYLNnDL6:0017", "section": "2.2.2 END-TO-END TRAINING WITH RL", "page_start": 4, "page_end": 4, "type": "Text", "text": "Specifically, we employ Group Relative Policy Optimization (GRPO) (Shao et al., 2024) algorithm. Unlike Proximal Policy Optimization (PPO), which trains a separate critic model, GRPO estimates the baseline directly from a group of rollouts. Given an existing policy, \\pi_{\\theta_{\\text{old}}} , and a reference policy, \\pi_{\\theta_{\\text{ref}}} , the GRPO objective maximizes the compressor policy \\pi_{\\theta} using G rollouts \\tau = \\{s_i\\}_{i=1}^G \\sim \\pi_{\\theta_{\\text{old}}}(\\cdot|x) , for each input x \\sim \\mathcal{D} :", "source": "marker_v2", "marker_block_id": "/page/3/Text/6"}
|
| 19 |
+
{"paper_id": "6FyYLNnDL6", "chunk_id": "6FyYLNnDL6:0018", "section": "2.2.2 END-TO-END TRAINING WITH RL", "page_start": 4, "page_end": 4, "type": "Equation", "text": "\\mathcal{J}(\\theta) = \\mathbb{E}_{x \\sim \\mathcal{D}, \\ \\{s_i\\}_{i=1}^G \\sim \\pi_{\\theta_{\\text{old}}}(\\cdot \\mid x)} \\frac{1}{G} \\sum_{i=1}^G \\left[ \\min \\left( \\frac{\\pi_{\\theta}(s_i \\mid x)}{\\pi_{\\theta_{\\text{old}}}(s_i \\mid x)} A_i, \\ \\text{clip} \\left( \\frac{\\pi_{\\theta}(s_i \\mid x)}{\\pi_{\\theta_{\\text{old}}}(s_i \\mid x)}, 1 - \\epsilon, 1 + \\epsilon \\right) A_i \\right) - \\beta \\mathbb{D}_{\\text{KL}} \\left( \\pi_{\\theta} \\parallel \\pi_{\\theta_{\\text{ref}}} \\right) \\right], (2)", "source": "marker_v2", "marker_block_id": "/page/3/Equation/7"}
|
| 20 |
+
{"paper_id": "6FyYLNnDL6", "chunk_id": "6FyYLNnDL6:0019", "section": "2.2.2 END-TO-END TRAINING WITH RL", "page_start": 4, "page_end": 4, "type": "Text", "text": "where A_i = (r_i - \\text{mean}(\\{r_j\\}_{j=1}^G))/\\text{std}(\\{r_j\\}_{j=1}^G) represents the normalized advantage of the i-th rollout within the group, \\epsilon is the clipping ratio, and \\beta is the coefficient for the KL divergence penalty. The inclusion of the KL divergence term ensures that the updated policy does not deviate significantly from the reference policy.", "source": "marker_v2", "marker_block_id": "/page/3/Text/8"}
|
| 21 |
+
{"paper_id": "6FyYLNnDL6", "chunk_id": "6FyYLNnDL6:0020", "section": "2.2.3 REWARD CALCULATION", "page_start": 4, "page_end": 4, "type": "Text", "text": "Generating End-Task Output. It is important to note that the reward is not computed directly from the compressor's output summary. Instead, the summary s generated by the compressor is prepended to the original input question q, and this combined input is fed into the LLM M:(s,q)\\mapsto \\hat{y} to produce a predicted answer \\hat{y} . The reward is then calculated by comparing \\hat{y} to the gold answer y. Throughout the training process, the parameters of M remain fixed and are not updated.", "source": "marker_v2", "marker_block_id": "/page/3/Text/10"}
|
| 22 |
+
{"paper_id": "6FyYLNnDL6", "chunk_id": "6FyYLNnDL6:0021", "section": "2.2.3 REWARD CALCULATION", "page_start": 4, "page_end": 4, "type": "Text", "text": "Computing Rewards. We design simple rule-based rewards based on end-task performance to guide the compressor's improvement, which consists of two components:", "source": "marker_v2", "marker_block_id": "/page/3/Text/11"}
|
| 23 |
+
{"paper_id": "6FyYLNnDL6", "chunk_id": "6FyYLNnDL6:0022", "section": "2.2.3 REWARD CALCULATION", "page_start": 4, "page_end": 4, "type": "Text", "text": "• EM Reward ( r_{\\rm EM} ). We employ EM as the main reward function, which is a widely adopted metric for evaluating the accuracy of QA tasks. The EM reward is binary: it yields a value of 1 if the generated answer perfectly matches the ground truth, and 0 otherwise.", "source": "marker_v2", "marker_block_id": "/page/3/Text/12"}
|
| 24 |
+
{"paper_id": "6FyYLNnDL6", "chunk_id": "6FyYLNnDL6:0023", "section": "2.2.3 REWARD CALCULATION", "page_start": 4, "page_end": 4, "type": "Equation", "text": "r_{\\rm EM} = \\begin{cases} 1 & \\text{if } y = \\hat{y}, \\\\ 0 & \\text{otherwise.} \\end{cases} (3)", "source": "marker_v2", "marker_block_id": "/page/3/Equation/13"}
|
| 25 |
+
{"paper_id": "6FyYLNnDL6", "chunk_id": "6FyYLNnDL6:0024", "section": "2.2.3 REWARD CALCULATION", "page_start": 4, "page_end": 4, "type": "Text", "text": "• F1 Reward (r_{\\rm F1}) . Since exact matches occur infrequently in practice, relying solely on EM rewards leads to sparse reward signals. Furthermore, the EM metric fails to distinguish between partially correct answers, as all non-exact matches receive zero reward. Therefore, we introduce F1 reward, which provides a finer-grained evaluation by measuring the degree of partial match.", "source": "marker_v2", "marker_block_id": "/page/3/Text/14"}
|
| 26 |
+
{"paper_id": "6FyYLNnDL6", "chunk_id": "6FyYLNnDL6:0025", "section": "2.2.3 REWARD CALCULATION", "page_start": 4, "page_end": 4, "type": "Equation", "text": "r_{\\rm FI} = \\frac{2 \\times I_N}{P_N + R_N},\\tag{4}", "source": "marker_v2", "marker_block_id": "/page/3/Equation/15"}
|
| 27 |
+
{"paper_id": "6FyYLNnDL6", "chunk_id": "6FyYLNnDL6:0026", "section": "2.2.3 REWARD CALCULATION", "page_start": 4, "page_end": 4, "type": "Text", "text": "where P_N denotes the number of tokens in the predicted answer, R_N denotes the number of tokens in the gold answer, and I_N is the number of intersecting tokens between the two answers.", "source": "marker_v2", "marker_block_id": "/page/3/Text/16"}
|
| 28 |
+
{"paper_id": "6FyYLNnDL6", "chunk_id": "6FyYLNnDL6:0027", "section": "2.2.3 REWARD CALCULATION", "page_start": 5, "page_end": 5, "type": "Text", "text": "The final reward function combines these reward signals through weighted summation:", "source": "marker_v2", "marker_block_id": "/page/4/Text/1"}
|
| 29 |
+
{"paper_id": "6FyYLNnDL6", "chunk_id": "6FyYLNnDL6:0028", "section": "2.2.3 REWARD CALCULATION", "page_start": 5, "page_end": 5, "type": "Equation", "text": "r = r_{\\rm EM} + \\alpha \\cdot r_{\\rm Fl},\\tag{5}", "source": "marker_v2", "marker_block_id": "/page/4/Equation/2"}
|
| 30 |
+
{"paper_id": "6FyYLNnDL6", "chunk_id": "6FyYLNnDL6:0029", "section": "2.2.3 REWARD CALCULATION", "page_start": 5, "page_end": 5, "type": "Text", "text": "where α ∈ (0, 1] is a hyperparameter that controls the relative contribution of the F1 reward.", "source": "marker_v2", "marker_block_id": "/page/4/Text/3"}
|
| 31 |
+
{"paper_id": "6FyYLNnDL6", "chunk_id": "6FyYLNnDL6:0030", "section": "2.2.4 TRAINING TEMPLATE", "page_start": 5, "page_end": 5, "type": "Text", "text": "Figure 5 displays the prompt employed to train the compressor model for generating a summary of the retrieved documents, conditioned on the given question. This prompt is notably concise. For end-task answer generation, the prompt provided to the LLM M is illustrated in Figure 6, which incorporates few-shot in-context examples, the (generated summary of) retrieved documents, and the question.", "source": "marker_v2", "marker_block_id": "/page/4/Text/5"}
|
| 32 |
+
{"paper_id": "6FyYLNnDL6", "chunk_id": "6FyYLNnDL6:0031", "section": "2.2.5 EFFICIENCY ANALYSIS", "page_start": 5, "page_end": 5, "type": "Text", "text": "Training Efficiency. Since our method employs reinforcement learning for training, it incurs greater time and computational costs compared to approaches that do not utilize reinforcement learning (Xu et al., 2024; Cao et al., 2024) . However, our training process only optimizes a lightweight compressor model with relatively few parameters, while the larger generator LLM responsible for producing task answers remains fixed and is not updated during training. This design ensures high training efficiency—for instance, training one epoch takes approximately 2 hours using eight H20 GPUs, and convergence is typically achieved within just two epochs. In contrast, other reinforcement learning-based methods, such as ReSearch (Chen et al., 2025a) and R1-Searcher (Song et al., 2025) , require direct fine-tuning of the large generator LLM, leading to considerably higher training time and resource consumption. Furthermore, it is important to emphasize that our method exhibits strong generalization capability. As shown in Section 3.3, a model trained only once demonstrates broad applicability, thereby reducing the need for frequent retraining and further lowering the overall training cost.", "source": "marker_v2", "marker_block_id": "/page/4/Text/7"}
|
| 33 |
+
{"paper_id": "6FyYLNnDL6", "chunk_id": "6FyYLNnDL6:0032", "section": "2.2.5 EFFICIENCY ANALYSIS", "page_start": 5, "page_end": 5, "type": "Text", "text": "Inference Efficiency. Our method significantly enhances inference efficiency. In contrast to RAG approaches that do not employ a compressor—and thus require the generator LLM to directly encode lengthy documents, often spanning thousands of tokens—our approach introduces a lightweight compressor that processes long documents and summarizes them into compact representations of only a few dozen tokens before feeding them to the generator LLM. Since the compressor is an order of magnitude smaller in parameter size than the generator LLM, it substantially reduces the encoding time that would otherwise be incurred by the generator, leading to notable gains in inference efficiency. It is also important to note that the use of reinforcement learning does not adversely affect inference efficiency, as it is only involved during the training phase.", "source": "marker_v2", "marker_block_id": "/page/4/Text/8"}
|
| 34 |
+
{"paper_id": "6FyYLNnDL6", "chunk_id": "6FyYLNnDL6:0033", "section": "3.1 EXPERIMENTAL SETTINGS", "page_start": 5, "page_end": 5, "type": "Text", "text": "Datasets and Evaluation Metrics. We evaluate our method on four benchmark datasets: two single-hop question-answering datasets, Natural Questions (NQ) (Kwiatkowski et al., 2019) and TriviaQA (Joshi et al., 2017) , as well as two multi-hop question-answering datasets, HotpotQA (Yang et al., 2018) and 2WikiMultihopQA (Ho et al., 2020) . Results are reported on the test sets of Natural Questions and TriviaQA, as well as the development sets of HotpotQA and 2WikiMultihopQA. Following RECOMP (Xu et al., 2024) , the performance is measured using Exact Match and token-level F1 scores, while efficiency is assessed by the number of tokens provided in the context.", "source": "marker_v2", "marker_block_id": "/page/4/Text/11"}
|
| 35 |
+
{"paper_id": "6FyYLNnDL6", "chunk_id": "6FyYLNnDL6:0034", "section": "3.1 EXPERIMENTAL SETTINGS", "page_start": 5, "page_end": 5, "type": "Text", "text": "Compression Model (πθ). We trained our compression model using Qwen2.5-1.5B-Instruct to generate summaries of the retrieved documents. To evaluate the effect of using different models as compressors, we also trained compressors using Llama3.2-1B-Instruct and Llama3.2-3B-Instruct (Section 3.3) .", "source": "marker_v2", "marker_block_id": "/page/4/Text/12"}
|
| 36 |
+
{"paper_id": "6FyYLNnDL6", "chunk_id": "6FyYLNnDL6:0035", "section": "3.1 EXPERIMENTAL SETTINGS", "page_start": 5, "page_end": 5, "type": "Text", "text": "Large Language Model (M). We use Qwen2.5-14B-Instruct as the primary LLM model M to generate predicted answers which are used to guide the training of the compressor. To evaluate the generalization ability of our method, we also transfer to another LLM model, LLama3.1-8B-Instruct (Table 2) .", "source": "marker_v2", "marker_block_id": "/page/4/Text/13"}
|
| 37 |
+
{"paper_id": "6FyYLNnDL6", "chunk_id": "6FyYLNnDL6:0036", "section": "3.1 EXPERIMENTAL SETTINGS", "page_start": 6, "page_end": 6, "type": "TableGroup", "text": "Table 1: Open-domain QA results using Qwen2.5-14B-Instruct as the downstream LLM (M). The reported token counts represent the length of in-context documents, excluding few-shot examples. RECOMP, NoiseFilter-IB and our method CORE are all trained using Qwen2.5-1.5B-Instruct. NQ 7 TriviaQA L F IotpotQ. A 2Wiki Multiho pQA EM F1 # tok EM F1 # tok EM F1 # tok EM F1 # tok No Retrieval 21.36 30.97 0 53.23 59.98 0 21.05 29.48 0 26.11 29.51 0 RAG without compression on Top1 Document 34.46 44.41 142 60.82 68.70 143 29.20 38.93 147 26.79 31.87 153 Top3 Documents 37.78 48.45 427 62.60 71.02 430 31.64 41.87 442 27.89 33.58 460 Top5 Documents 38.03 49.16 712 64.10 72.48 715 32.99 43.69 737 29.64 35.21 766 Top10 Documents 38.67 50.03 1425 64.40 72.92 1428 33.95 44.88 1471 31.04 36.75 1531 Compression of top 5 do cuments ; BM25 25.23 36.47 37 55.36 63.90 39 24.18 35.73 71 25.42 30.29 68 Qwen2.5-1.5B 31.94 43.03 36 57.99 66.70 30 27.36 37.47 33 25.93 31.18 32 DeepSeek-V3 (671B) 37.73 50.39 54 64.13 73.20 50 33.59 44.83 48 27.99 32.67 92 RECOMP-Abs (1.5B) 34.18 46.26 58 60.31 68.50 53 28.96 39.95 56 30.25 36.73 52 RECOMP-Ext (1.5B) 33.84 46.05 56 60.18 68.39 48 29.93 41.09 45 30.78 37.07 51 NoiseFilter-IB (1.5B) 35.15 45.94 48 59.51 68.15 35 27.97 38.62 38 27.85 34.69 40 LongLLMLingua (1.5B) 33.65 43.15 152 58.96 66.82 148 28.03 38.49 149 29.37 33.62 153 QGC (1.5B) 36.23 45.88 49 61.02 68.45 47 29.16 40.05 45 31.14 36.83 51 CORE (1.5B) 41.02 50.40 46 65.63 72.55 32 33.67 45.06 36 36.72 42.05 49 Compression of top 10 a locumen ts (with t the comp ressor ti rained or ı top 5 d locs) BM25 25.91 36.88 38 55.28 63.16 37 23.49 35.01 68 25.61 30.54 65 Qwen2.5-1.5B 32.94 44.84 40 58.45 67.31 33 28.17 38.48 36 26.22 31.57 34 DeepSeek-V3 (671B) 37.79 51.07 56 65.29 74.45 53 34.62 45.69 50 29.00 34.64 40 RECOMP-Abs (1.5B) 34.40 46.93 59 61.42 69.88 52 31.54 42.92 52 31.98 38.16 49 RECOMP-Ext (1.5B) 33.96 46.34 60 61.03 69.51 50 31.92 43.18 55 32.52 38.87 44 NoiseFilter-IB (1.5B) 35.36 46.24 50 59.92 68.32 38 28.21 38.83 38 28.63 35.16 42 LongLLMLingua (1.5B) 33.78 43.37 154 59.17 66.97 150 28.33 38.95 148 29.62 34.11 151 QGC (1.5B) 36.03 45.62 50 61.23 68.74 49 29.12 39.63 46 31.71 37.52 50 CORE (1.5B) 41.88 51.26 52 66.76 73.64 33 34.68 46.35 37 37.99 43.28 48", "source": "marker_v2", "marker_block_id": "/page/5/TableGroup/211"}
|
| 38 |
+
{"paper_id": "6FyYLNnDL6", "chunk_id": "6FyYLNnDL6:0037", "section": "3.1 EXPERIMENTAL SETTINGS", "page_start": 6, "page_end": 6, "type": "Text", "text": "Retrieval Corpus and Retrievers. Following previous studies (Xu et al., 2024), we use the Wikipedia corpus from December 20, 2018, as the retrieval source for all four datasets. The articles are segmented into non-overlapping 100-word documents. To ensure that our method is not dependent on a specific retriever, we experiment with several mainstream retrievers. Specifically, we use DPR (Karpukhin et al., 2020) for NQ, a hybrid of DPR and BM25 (Robertson et al., 1995) for TriviaQA, and the Contriever model (Izacard et al., 2021) trained on the MS MARCO dataset (Nguyen et al., 2016) for HotpotQA and 2WikiMultihopQA.", "source": "marker_v2", "marker_block_id": "/page/5/Text/3"}
|
| 39 |
+
{"paper_id": "6FyYLNnDL6", "chunk_id": "6FyYLNnDL6:0038", "section": "3.1 EXPERIMENTAL SETTINGS", "page_start": 6, "page_end": 6, "type": "Text", "text": "Baselines. To evaluate the effectiveness of our method, we compared it against various baselines. First, we evaluated the uncompressed approach—retaining the original in-context RALM setup—by prepending the top 1, 3, 5, and 10 retrieved documents to the prompt. We also tested alternative compression methods, including the traditional BM25 algorithm (which ranks sentences by their similarity to the input), off-the-shelf Qwen2.5-1.5B-Instruct model (with comparable parameter size to our approach), and DeepSeek-V3 model (671B parameters, far exceeding our compressor's capacity). Furthermore, we included state-of-the-art context compression methods for RAG, RECOMP (Xu et al., 2024), NoiseFilter-IB (Zhu et al., 2024), LongLLMLingua (Jiang et al., 2024) and QGC (Cao et al., 2024). For RECOMP, we evaluated both its abstractive and extractive variants. To ensure a fair comparison, all trainable approaches were all trained using the same model.", "source": "marker_v2", "marker_block_id": "/page/5/Text/4"}
|
| 40 |
+
{"paper_id": "6FyYLNnDL6", "chunk_id": "6FyYLNnDL6:0039", "section": "3.1 EXPERIMENTAL SETTINGS", "page_start": 6, "page_end": 6, "type": "Text", "text": "Implementation Details. For the distillation warm-up phase, we perform full-parameter supervised fine-tuning on the off-the-shell language model for two epochs using LLaMA-Factory ^1 . This warmed-up model then serves as the initializer for the subsequent reinforcement learning phase. We adopt the Verl framework ^2 for RL training. The initialized compression model is trained for two epochs on each dataset. Training is conducted on eight NVIDIA H20 GPUs using full parameter GRPO optimization, with a learning rate of 1e-5, a batch size of 256, five rollouts per sample, and a KL loss coefficient of 0.001. The downstream LLM (M) used for reward generation is served using the vLLM inference engine during RL training.", "source": "marker_v2", "marker_block_id": "/page/5/Text/5"}
|
| 41 |
+
{"paper_id": "6FyYLNnDL6", "chunk_id": "6FyYLNnDL6:0040", "section": "3.1 EXPERIMENTAL SETTINGS", "page_start": 6, "page_end": 6, "type": "Footnote", "text": "& lt;sup>1</sup>", "source": "marker_v2", "marker_block_id": "/page/5/Footnote/6"}
|
| 42 |
+
{"paper_id": "6FyYLNnDL6", "chunk_id": "6FyYLNnDL6:0041", "section": "3.1 EXPERIMENTAL SETTINGS", "page_start": 6, "page_end": 6, "type": "Footnote", "text": "& lt;sup>2</sup>", "source": "marker_v2", "marker_block_id": "/page/5/Footnote/7"}
|
| 43 |
+
{"paper_id": "6FyYLNnDL6", "chunk_id": "6FyYLNnDL6:0042", "section": "3.2 OVERALL PERFORMANCE", "page_start": 7, "page_end": 7, "type": "Text", "text": "The detailed comparison results are presented in Table 1. We evaluate the following approaches: traditional RAG without compression using the top 1, 3, 5, and 10 documents prepended to the original input; BM25-based compression; off-the-shelf LLMs (Qwen2.5-1.5B-Instruct and DeepSeek-V3); and state-of-the-art trainable RAG compressors (RECOMP-Abstractive, RECOMP-Extractive, and NoiseFilter-IB). For fair comparison, all trainable methods were trained using the same backbone model, Qwen2.5-1.5B-Instruct. These compressors were trained on five-document inputs, and we report their performance both on in-domain five-document compression and out-of-domain generalization to ten-document compression.", "source": "marker_v2", "marker_block_id": "/page/6/Text/2"}
|
| 44 |
+
{"paper_id": "6FyYLNnDL6", "chunk_id": "6FyYLNnDL6:0043", "section": "3.2 OVERALL PERFORMANCE", "page_start": 7, "page_end": 7, "type": "Text", "text": "RAG versus No RAG. As shown in Table 1, prepending the original input with retrieved documents yields a substantial improvement over the no-retrieval baseline, indicating that these documents provide valuable information for generating the answer. Performance improves as the number of retrieved documents increases from 1 to 10, albeit with diminishing returns—a trend attributable to the decreasing relevance of lower-ranked documents. However, this performance gain comes at the cost of a significant increase in the number of additional tokens the LLM must encode, rising from 0 to over 1,400 tokens.", "source": "marker_v2", "marker_block_id": "/page/6/Text/3"}
|
| 45 |
+
{"paper_id": "6FyYLNnDL6", "chunk_id": "6FyYLNnDL6:0044", "section": "3.2 OVERALL PERFORMANCE", "page_start": 7, "page_end": 7, "type": "Text", "text": "Lossless Compression of CORE. Our compressor was trained using a context of five documents. As presented in Table 1, compared to prepending the full content of all five documents to the original input (i.e., the uncompressed baseline), our method achieves a high compression rate of approximately 6% with no loss in performance . Remarkably, on all four datasets, the approach not only maintains performance but also enhances EM by 1 to 7 points. For example, on NQ, the model achieves an EM of 41.02 with compressed input, surpassing the uncompressed score of 38.03.", "source": "marker_v2", "marker_block_id": "/page/6/Text/4"}
|
| 46 |
+
{"paper_id": "6FyYLNnDL6", "chunk_id": "6FyYLNnDL6:0045", "section": "3.2 OVERALL PERFORMANCE", "page_start": 7, "page_end": 7, "type": "Text", "text": "Comparison with Compression Baselines. When compressing the top five documents, all baseline compression methods result in performance degradation to varying degrees compared to the uncompressed baseline. Specifically, BM25 leads to a substantial performance drop. Using the offthe-shelf Qwen2.5-1.5B-Instruct model for compression yields better results than BM25 but still underperforms relative to the uncompressed baseline. Surprisingly, even the large-scale DeepSeek-V3 model (with 671B parameters) achieves only near-lossless compression on TriviaQA and HotpotQA, while performance on NQ and 2Wiki remains below the uncompressed baseline. As for the trained compressors (RECOMP, NoiseFilter-IB, LongLLMLingua, and QGC), all of them exhibit performance degradation compared to no compression. The decline generally ranges from 2 to 6 EM poin ts across nearly all datasets. In contrast, our method, CORE, delivers the best performance. It not only surpasses compression methods of comparable size by 4-5 EM points but also maintains an advantage over the hundreds-of-times-larger DeepSeek model. This clearly demonstrates the benefit and importance of end-to-end optimization.", "source": "marker_v2", "marker_block_id": "/page/6/Text/5"}
|
| 47 |
+
{"paper_id": "6FyYLNnDL6", "chunk_id": "6FyYLNnDL6:0046", "section": "3.2 OVERALL PERFORMANCE", "page_start": 7, "page_end": 7, "type": "Text", "text": "Generalization to 10-Doc Compression. When generalizing the trained compressors to handle the top-10 documents without retraining, the aforementioned conclusions remain valid. CORE continues to achieve lossless compression and performs best among all compression methods. On NQ, it achieves a token compression ratio of 3.6% while improving the EM by 3.2 points compared to using all ten documents. Similar trends are observed on TriviaQA, with a compression ratio of 2.3% and a gain of 2.4 EM points relative to the full-document baseline. On HotpotQA, CORE achieves a compression ratio of 2.5% and an improvement of 0.7 EM points. For 2WikiMultihopQA, it obtains a compression ratio of 3.1% along with a notable increase of 6.9 EM points.", "source": "marker_v2", "marker_block_id": "/page/6/Text/6"}
|
| 48 |
+
{"paper_id": "6FyYLNnDL6", "chunk_id": "6FyYLNnDL6:0047", "section": "3.3 ROBUSTNESS AND GENERALIZATION ABILITY ANALYSIS", "page_start": 7, "page_end": 7, "type": "Text", "text": "Robustness of CORE Across Compressor Architectures. To evaluate whether the effectiveness of CORE depends on the choice of compressor model, we compared the performance of compressors trained using different model architectures—while keeping the downstream LLM (Qwen2.5-14B-Instruct) fixed. The compressors tested include LLaMA3.2-1B-Instruct, Qwen2.5-1.5B-Instruct, and LLaMA3.2-3B-Instruct, which vary in architecture and parameter count. As shown in Figure 3, the results indicate that: (1) These trained compressors consistently achieve lossless compression and outperform the uncompressed baseline (represented by the red reference line in the figure, which corresponds to prepending the full document content), confirming that our training framework is robust and not tied to a specific compressor architecture. (2) Compression performance improves as the size of the compressor model increases, consistent with scaling laws. More detailed results can be found in Tables 7 and 8.", "source": "marker_v2", "marker_block_id": "/page/6/Text/8"}
|
| 49 |
+
{"paper_id": "6FyYLNnDL6", "chunk_id": "6FyYLNnDL6:0048", "section": "3.3 ROBUSTNESS AND GENERALIZATION ABILITY ANALYSIS", "page_start": 8, "page_end": 8, "type": "FigureGroup", "text": "Figure 3: The impact of different models used to train the compressor.", "source": "marker_v2", "marker_block_id": "/page/7/FigureGroup/208"}
|
| 50 |
+
{"paper_id": "6FyYLNnDL6", "chunk_id": "6FyYLNnDL6:0049", "section": "3.3 ROBUSTNESS AND GENERALIZATION ABILITY ANALYSIS", "page_start": 8, "page_end": 8, "type": "TableGroup", "text": "Table 2: Zero-shot transfer of the trained compressor to Llama-3.1-8B-Instruct. NQ 7 TriviaQA HotpotQA 2WikiMultihopQA EM F1 # tok EM F1 # tok EM F1 # tok EM F1 # tok No Retrieval 24.04 34.91 0 55.64 62.57 0 19.93 27.75 0 27.64 31.18 0 RAG without compres ssion Top1 Document 33.80 44.06 142 59.17 67.50 143 27.95 37.49 147 28.41 33.43 153 Top3 Documents 36.87 47.81 427 61.13 70.06 430 30.17 40.71 442 28.67 34.23 460 Top5 Documents 37.65 48.87 712 62.26 71.04 715 31.44 42.16 737 29.43 35.18 766 Top10 Documents 38.12 49.93 1425 63.95 72.71 1428 32.19 42.62 1471 30.45 36.04 1531 Compression of top 5 docume nts Qwen2.5-1.5B 32.60 44.21 36 56.76 65.77 30 26.86 36.90 33 25.45 30.88 32 DeepSeek-V3 (671B) 37.56 50.11 54 62.52 72.34 50 33.05 44.25 48 28.64 33.87 92 RECOMP-Abs (1.5B) 33.41 45.50 58 58.50 67.37 53 28.85 39.76 56 31.63 37.81 52 RECOMP-Ext (1.5B) 33.12 45.06 60 57.98 66.84 55 29.03 40.04 52 31.85 38.02 55 CORE (1.5B) 40.72 50.00 46 64.08 71.13 32 32.17 43.71 36 35.99 41.42 49 Compression of top 1 0 docum ents Qwen2.5-1.5B 32.88 44.66 40 57.44 66.56 33 27.31 37.31 36 25.80 31.30 34 DeepSeek-V3 (671B) 37.49 51.28 56 63.79 73.80 53 34.24 45.35 50 31.45 37.09 40 RECOMP-Abs (1.5B) 34.18 46.80 59 59.69 68.89 52 30.17 41.42 55 33.61 39.78 44 RECOMP-Ext (1.5B) 34.06 46.55 60 59.33 68.71 50 30.52 41.98 55 33.52 39.42 44 CORE (1.5B) 41.77 51.27 52 65.25 72.45 33 33.25 45.09 37 37.59 42.87 48", "source": "marker_v2", "marker_block_id": "/page/7/TableGroup/209"}
|
| 51 |
+
{"paper_id": "6FyYLNnDL6", "chunk_id": "6FyYLNnDL6:0050", "section": "3.3 ROBUSTNESS AND GENERALIZATION ABILITY ANALYSIS", "page_start": 8, "page_end": 8, "type": "Text", "text": "Transferability of CORE Across Downstream LLMs. We evaluate the transferability of our trained compressor and other baseline compressors to a new downstream LLM, the LLaMA-3.1-8B model. The results are presented in Table 2. Note that all trainable compressors, including our own, were trained using feedback generated by Qwen2.5-14B-Instruct. The findings reveal that existing trained compressors (e.g., RECOMP) exhibit limited generalization capability, as indicated by a larger performance gap relative to the baseline of prepending full documents. In contrast, CORE demonstrates stronger generalization, achieving lossless compression on the new downstream LLM. Specifically, it not only maintains performance but also surpasses the full-document baseline (i.e., no compression) across all four datasets while retaining a high compression rate. These results suggest that the summaries produced by our method are inherently high-quality and preserve key information necessary for accurate answering, thereby enabling effective transfer to other LLMs.", "source": "marker_v2", "marker_block_id": "/page/7/Text/5"}
|
| 52 |
+
{"paper_id": "6FyYLNnDL6", "chunk_id": "6FyYLNnDL6:0051", "section": "3.4 ABLATION STUDY", "page_start": 8, "page_end": 8, "type": "Text", "text": "Table 3 presents an ablation study on the two stages of our method: distillation and GRPO. Here, \"w/o distillation\" denotes training the compressor with GRPO directly, bypassing the warm-start phase, while \"w/o GRPO\" indicates using only the distillation step without subsequent reinforcement learning. The results demonstrate that removing either component leads to performance degradation, confirming the necessity of both. In addition, the decline is more substantial when GRPO is omitted, highlighting the crucial role of reinforcement learning in the absence of explicit supervision. Distillation injects external knowledge into the model, providing a favorable starting point for RL training and thereby enabling RL to more effectively unlock the compressor's full potential.", "source": "marker_v2", "marker_block_id": "/page/7/Text/7"}
|
| 53 |
+
{"paper_id": "6FyYLNnDL6", "chunk_id": "6FyYLNnDL6:0052", "section": "3.4 ABLATION STUDY", "page_start": 9, "page_end": 9, "type": "TableGroup", "text": "Table 3: Ablation study. Dataset Metric w/o distillation w/o GRPO CORE EM 36.37 34.18 41.02 NQ F1 46.91 46.26 50.40 EM 65.23 60.31 65.63 TQA F1 72.41 68.50 72.55 EM 32.01 28.96 33.67 HotpotQA F1 42.73 39.95 45.06 EM 31.40 30.25 36.72 2Wiki F1 36.89 36.73 42.05", "source": "marker_v2", "marker_block_id": "/page/8/TableGroup/495"}
|
| 54 |
+
{"paper_id": "6FyYLNnDL6", "chunk_id": "6FyYLNnDL6:0053", "section": "3.4 ABLATION STUDY", "page_start": 9, "page_end": 9, "type": "FigureGroup", "text": "Figure 4: The impact of α.", "source": "marker_v2", "marker_block_id": "/page/8/FigureGroup/496"}
|
| 55 |
+
{"paper_id": "6FyYLNnDL6", "chunk_id": "6FyYLNnDL6:0054", "section": "3.5 THE IMPACT OF α.", "page_start": 9, "page_end": 9, "type": "Text", "text": "Figure 4 illustrates the performance of our method under different values of α, which controls the weighting coefficient of the F1 reward term. Setting α = 0 corresponds to using only the EM reward. Results indicate that performance improves when α > 0 across all datasets, demonstrating the effectiveness of the F1 reward in mitigating the sparsity issue associated with the EM reward. However, the optimal value of α is dataset-dependent; values between 0.2 and 0.5 generally yield strong performance.", "source": "marker_v2", "marker_block_id": "/page/8/Text/6"}
|
| 56 |
+
{"paper_id": "6FyYLNnDL6", "chunk_id": "6FyYLNnDL6:0055", "section": "3.6 CASE STUDY", "page_start": 9, "page_end": 9, "type": "Text", "text": "To conduct an in-depth analysis of the advantages of our compressor, we performed case studies on one single-hop QA dataset (NQ) and one multi-hop QA dataset (2Wiki), with the results presented in Table 4 and Table 5, respectively. For each case, we compared the summaries generated by off-the-shelf Qwen2.5-1.5B-Instruct, RECOMP, and our method CORE based on the same set of documents, as well as the predicted answers generated by the LLM after prepending these summaries. As shown in the tables, although the summaries produced by off-the-shelf Qwen2.5-1.5B are concise, they largely fail to capture key information relevant to answering the question. In contrast, RECOMP demonstrates better summarization capability but is prone to being overwhelmed by lengthy documents, resulting in misjudgments and even generating misleading information—such as the statement in Table 4: \" The U.S. stopped drafting for the Vietnam War after the Selective Service System was officially abolished in December 1972 \"—which leads the downstream LLM to produce the incorrect answer \"1972\". Our method, CORE, accurately extracts answer-critical information from lengthy documents, exemplified by the summary: \" The U.S. stopped drafting for the Vietnam War in 1973 after announcing the decision by Secretary of Defense Melvin Laird earlier that year \", thereby enabling the LLM to generate the correct answer \"1973\". This indicates that our compressor, trained with an end-task target-oriented reinforcement learning optimization strategy, can produce document summaries that are most helpful for answering the given question while effectively filtering out irrelevant information.", "source": "marker_v2", "marker_block_id": "/page/8/Text/8"}
|
| 57 |
+
{"paper_id": "6FyYLNnDL6", "chunk_id": "6FyYLNnDL6:0056", "section": "4 RELATED WORK", "page_start": 9, "page_end": 9, "type": "Text", "text": "Context Compression in RAG. RAG enhances the performance of LLMs on knowledge-intensive tasks by retrieving the most relevant documents from extensive knowledge bases and prepending them as contextual information to the original input (Ram et al., 2023; Fan et al., 2024; Lin et al., 2023; Shi et al., 2023) . However, this approach requires the LLM to process significantly longer token sequences, resulting in increased computational costs. To mitigate this issue, researchers have begun to explore methods for compressing retrieved documents in RAG systems (Xu et al., 2024; Cao et al., 2024; Jin et al., 2024b; Zhu et al., 2024; Kim & Thorne, 2025; Rau et al., 2024; Wu et al., 2025; Louis et al., 2025; Jin et al., 2024a; Li et al., 2024a; b; Zhang et al., 2024a) . For instance, Xu et al. (2024) propose compressing retrieved documents into textual summaries before in-context augmentation, training the compressor through data selection and distillation. Similarly, Cao et al. (2024) introduce a Query-Guided Compressor (QGC) that uses queries to guide the compression process, effectively preserving essential information. Jin et al. (2024b) refine retrieved documents into Key Supporting Evidence (KSE) through a combination of knowledge synthesis, supervised fine-tuning (SFT), and preference alignment. Meanwhile, Zhu et al. (2024) present an informationtheoretic approach called NoiseFilter-IB, which filters noise by maximizing the mutual information", "source": "marker_v2", "marker_block_id": "/page/8/Text/10"}
|
| 58 |
+
{"paper_id": "6FyYLNnDL6", "chunk_id": "6FyYLNnDL6:0057", "section": "4 RELATED WORK", "page_start": 10, "page_end": 10, "type": "Text", "text": "between the compressed content and the ground-truth output. Additionally, Kim & Thorne (2025) train a compressor to extract critical information using reward functions based on predefined heuristic rules. However, most of these methods are heuristic in nature, and due to the lack of ideal compression labels, the compressed content they produce cannot be guaranteed to benefit downstream LLMs. In contrast, our method, CORE, adopts an end-to-end optimization approach to address these limitations.", "source": "marker_v2", "marker_block_id": "/page/9/Text/1"}
|
| 59 |
+
{"paper_id": "6FyYLNnDL6", "chunk_id": "6FyYLNnDL6:0058", "section": "4 RELATED WORK", "page_start": 10, "page_end": 10, "type": "Text", "text": "Reinforcement Learning. Reinforcement learning (RL) has recently achieved notable success, enabling LLMs to develop reasoning capabilities without explicit step-by-step supervision (Liu et al., 2024; Shao et al., 2024; Guo et al., 2025) . Building on these advances, several studies have applied RL to improve RAG (Ke et al., 2024) . For example, Kulkarni et al. (2024) use RL to autonomously decide whether to retrieve documents, while Zhang et al. (2024b) employ RL to optimize the ranking of retrieved documents. Similarly, Mao et al. (2024) propose a framework for training query rewriting models for RAG without relying on human annotations. MMOA-RAG (Chen et al., 2025b) enhances RAG through multi-agent reinforcement learning, incorporating a query rewriter, retriever, and generator. Meanwhile, RL has been applied to address other challenges in RAG, such as enhancing the quality of retrieved content. For instance, Oreo (Li & Ramakrishnan, 2025) trains a reconstructor with PPO and ROUGE-based rewards to rewrite passages for improved performance. In contrast, our work CORE tackles the distinct problem of computational efficiency. Our approach leverages the GRPO algorithm, direct task-performance rewards, and a lightweight compressor to enhance efficiency without compromising accuracy. Moreover, a line of research has utilized RL to integrate search with reasoning in a step-by-step manner (Singh et al., 2025) . For instance, Chen et al. (2025a) introduce a framework called ReSearch, which trains LLMs to reason with search using RL, without requiring supervised data for reasoning steps. Related approaches include R1- Searcher (Song et al., 2025) , WebThinker (Li et al., 2025) , and DeepResearcher (Zheng et al., 2025) . Although these methods are end-to-end, they differ fundamentally from our problem setting. These approaches typically involve directly training the LLM generator—which tends to be a large-scale model with a high parameter count. However, such training becomes infeasible when the model is a black box (e.g., GPT-4), as internal weights or gradients are inaccessible. Furthermore, these methods introduce extensive internal thinking processes that substantially increase context length and inference time. In contrast, our approach treats the generator LLM as a fixed black-box model and trains only a lightweight plug-in compressor to produce document summaries. This design significantly improves both training and inference efficiency. A parallel line of work applies RL to prompt compression. For example, PCRL (Jung & Kim, 2024) and TACO-RL (Shandilya et al., 2025) learn to compress prompts via token-level keep-or-drop decisions, using the similarity between model outputs with compressed and original prompts as the reward. Our work, CORE, introduces key distinctions in both objective and methodology. First, we target the more complex problem of compressing multiple retrieved documents in RAG, rather than single prompts. Second, we employ a generative compressor that can rephrase and synthesize content, instead of making token-level binary actions. Most importantly, we optimize compression using a direct task-performance reward with GRPO, which enables us to achieve true lossless compression at significantly higher ratios—a stark contrast to the performance degradation observed in prior prompt compression methods.", "source": "marker_v2", "marker_block_id": "/page/9/Text/2"}
|
| 60 |
+
{"paper_id": "6FyYLNnDL6", "chunk_id": "6FyYLNnDL6:0059", "section": "5 CONCLUSION", "page_start": 10, "page_end": 10, "type": "Text", "text": "This paper analyzes the limitations of current context compression methods for RAG. A primary challenge is the lack of optimal reference summaries for supervised learning, which often results in performance degradation in downstream tasks. To overcome this, we frame context compression as a reinforcement learning problem, utilizing downstream task performance as a reward signal to train the compression policy, thereby enabling end-to-end optimization. Extensive experiments demonstrate that our proposed method, CORE, achieves effectively lossless compression by maintaining a high compression ratio while preserving original task performance. Surprisingly, CORE not only preserves but actually enhances performance on all downstream tasks. Further in-depth analysis provides additional insights into the efficacy of our approach.", "source": "marker_v2", "marker_block_id": "/page/9/Text/4"}
|
iclr26/6FyYLNnDL6/marker_meta.json
ADDED
|
@@ -0,0 +1,1816 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"table_of_contents": [
|
| 3 |
+
{
|
| 4 |
+
"title": "CORE: PERFORMANCE-LOSSLESS CONTEXT COM-\nPRESSION FOR RETRIEVAL-AUGMENTED GENERA-\nTION",
|
| 5 |
+
"heading_level": null,
|
| 6 |
+
"page_id": 0,
|
| 7 |
+
"polygon": [
|
| 8 |
+
[
|
| 9 |
+
106.3828125,
|
| 10 |
+
79.6640625
|
| 11 |
+
],
|
| 12 |
+
[
|
| 13 |
+
503.5697326660156,
|
| 14 |
+
79.6640625
|
| 15 |
+
],
|
| 16 |
+
[
|
| 17 |
+
503.5697326660156,
|
| 18 |
+
136.72955322265625
|
| 19 |
+
],
|
| 20 |
+
[
|
| 21 |
+
106.3828125,
|
| 22 |
+
136.72955322265625
|
| 23 |
+
]
|
| 24 |
+
]
|
| 25 |
+
},
|
| 26 |
+
{
|
| 27 |
+
"title": "ABSTRACT",
|
| 28 |
+
"heading_level": null,
|
| 29 |
+
"page_id": 0,
|
| 30 |
+
"polygon": [
|
| 31 |
+
[
|
| 32 |
+
277.3125,
|
| 33 |
+
207.63934326171875
|
| 34 |
+
],
|
| 35 |
+
[
|
| 36 |
+
333.72119140625,
|
| 37 |
+
207.63934326171875
|
| 38 |
+
],
|
| 39 |
+
[
|
| 40 |
+
333.72119140625,
|
| 41 |
+
219.59454345703125
|
| 42 |
+
],
|
| 43 |
+
[
|
| 44 |
+
277.3125,
|
| 45 |
+
219.59454345703125
|
| 46 |
+
]
|
| 47 |
+
]
|
| 48 |
+
},
|
| 49 |
+
{
|
| 50 |
+
"title": "1 INTRODUCTION",
|
| 51 |
+
"heading_level": null,
|
| 52 |
+
"page_id": 0,
|
| 53 |
+
"polygon": [
|
| 54 |
+
[
|
| 55 |
+
107.578125,
|
| 56 |
+
453.62109375
|
| 57 |
+
],
|
| 58 |
+
[
|
| 59 |
+
205.98886108398438,
|
| 60 |
+
453.62109375
|
| 61 |
+
],
|
| 62 |
+
[
|
| 63 |
+
205.98886108398438,
|
| 64 |
+
466.3693542480469
|
| 65 |
+
],
|
| 66 |
+
[
|
| 67 |
+
107.578125,
|
| 68 |
+
466.3693542480469
|
| 69 |
+
]
|
| 70 |
+
]
|
| 71 |
+
},
|
| 72 |
+
{
|
| 73 |
+
"title": "2 CORE-RAG",
|
| 74 |
+
"heading_level": null,
|
| 75 |
+
"page_id": 1,
|
| 76 |
+
"polygon": [
|
| 77 |
+
[
|
| 78 |
+
107.578125,
|
| 79 |
+
667.0570220947266
|
| 80 |
+
],
|
| 81 |
+
[
|
| 82 |
+
191.63870239257812,
|
| 83 |
+
667.0570220947266
|
| 84 |
+
],
|
| 85 |
+
[
|
| 86 |
+
191.63870239257812,
|
| 87 |
+
679.0122222900391
|
| 88 |
+
],
|
| 89 |
+
[
|
| 90 |
+
107.578125,
|
| 91 |
+
679.0122222900391
|
| 92 |
+
]
|
| 93 |
+
]
|
| 94 |
+
},
|
| 95 |
+
{
|
| 96 |
+
"title": "2.1 Problem Formulation",
|
| 97 |
+
"heading_level": null,
|
| 98 |
+
"page_id": 2,
|
| 99 |
+
"polygon": [
|
| 100 |
+
[
|
| 101 |
+
107.25,
|
| 102 |
+
337.9921875
|
| 103 |
+
],
|
| 104 |
+
[
|
| 105 |
+
240.0,
|
| 106 |
+
337.9921875
|
| 107 |
+
],
|
| 108 |
+
[
|
| 109 |
+
240.0,
|
| 110 |
+
346.5
|
| 111 |
+
],
|
| 112 |
+
[
|
| 113 |
+
107.25,
|
| 114 |
+
346.5
|
| 115 |
+
]
|
| 116 |
+
]
|
| 117 |
+
},
|
| 118 |
+
{
|
| 119 |
+
"title": "2.2 Training the Compressor",
|
| 120 |
+
"heading_level": null,
|
| 121 |
+
"page_id": 2,
|
| 122 |
+
"polygon": [
|
| 123 |
+
[
|
| 124 |
+
107.25,
|
| 125 |
+
472.18359375
|
| 126 |
+
],
|
| 127 |
+
[
|
| 128 |
+
257.25,
|
| 129 |
+
472.18359375
|
| 130 |
+
],
|
| 131 |
+
[
|
| 132 |
+
257.25,
|
| 133 |
+
481.5
|
| 134 |
+
],
|
| 135 |
+
[
|
| 136 |
+
107.25,
|
| 137 |
+
481.5
|
| 138 |
+
]
|
| 139 |
+
]
|
| 140 |
+
},
|
| 141 |
+
{
|
| 142 |
+
"title": "2.2.1 DISTILLATION FOR WARM-START",
|
| 143 |
+
"heading_level": null,
|
| 144 |
+
"page_id": 2,
|
| 145 |
+
"polygon": [
|
| 146 |
+
[
|
| 147 |
+
106.5,
|
| 148 |
+
580.46484375
|
| 149 |
+
],
|
| 150 |
+
[
|
| 151 |
+
284.25,
|
| 152 |
+
580.46484375
|
| 153 |
+
],
|
| 154 |
+
[
|
| 155 |
+
284.25,
|
| 156 |
+
591.0
|
| 157 |
+
],
|
| 158 |
+
[
|
| 159 |
+
106.5,
|
| 160 |
+
591.0
|
| 161 |
+
]
|
| 162 |
+
]
|
| 163 |
+
},
|
| 164 |
+
{
|
| 165 |
+
"title": "2.2.2 END-TO-END TRAINING WITH RL",
|
| 166 |
+
"heading_level": null,
|
| 167 |
+
"page_id": 3,
|
| 168 |
+
"polygon": [
|
| 169 |
+
[
|
| 170 |
+
105.1875,
|
| 171 |
+
169.3828125
|
| 172 |
+
],
|
| 173 |
+
[
|
| 174 |
+
285.0,
|
| 175 |
+
169.3828125
|
| 176 |
+
],
|
| 177 |
+
[
|
| 178 |
+
285.0,
|
| 179 |
+
178.5
|
| 180 |
+
],
|
| 181 |
+
[
|
| 182 |
+
105.1875,
|
| 183 |
+
178.5
|
| 184 |
+
]
|
| 185 |
+
]
|
| 186 |
+
},
|
| 187 |
+
{
|
| 188 |
+
"title": "2.2.3 REWARD CALCULATION",
|
| 189 |
+
"heading_level": null,
|
| 190 |
+
"page_id": 3,
|
| 191 |
+
"polygon": [
|
| 192 |
+
[
|
| 193 |
+
107.578125,
|
| 194 |
+
462.75
|
| 195 |
+
],
|
| 196 |
+
[
|
| 197 |
+
243.84375,
|
| 198 |
+
462.75
|
| 199 |
+
],
|
| 200 |
+
[
|
| 201 |
+
243.84375,
|
| 202 |
+
471.41015625
|
| 203 |
+
],
|
| 204 |
+
[
|
| 205 |
+
107.578125,
|
| 206 |
+
471.41015625
|
| 207 |
+
]
|
| 208 |
+
]
|
| 209 |
+
},
|
| 210 |
+
{
|
| 211 |
+
"title": "2.2.4 TRAINING TEMPLATE",
|
| 212 |
+
"heading_level": null,
|
| 213 |
+
"page_id": 4,
|
| 214 |
+
"polygon": [
|
| 215 |
+
[
|
| 216 |
+
107.279296875,
|
| 217 |
+
146.1796875
|
| 218 |
+
],
|
| 219 |
+
[
|
| 220 |
+
232.19337463378906,
|
| 221 |
+
146.1796875
|
| 222 |
+
],
|
| 223 |
+
[
|
| 224 |
+
232.19337463378906,
|
| 225 |
+
157.8551025390625
|
| 226 |
+
],
|
| 227 |
+
[
|
| 228 |
+
107.279296875,
|
| 229 |
+
157.8551025390625
|
| 230 |
+
]
|
| 231 |
+
]
|
| 232 |
+
},
|
| 233 |
+
{
|
| 234 |
+
"title": "2.2.5 EFFICIENCY ANALYSIS",
|
| 235 |
+
"heading_level": null,
|
| 236 |
+
"page_id": 4,
|
| 237 |
+
"polygon": [
|
| 238 |
+
[
|
| 239 |
+
106.98046875,
|
| 240 |
+
248.58648681640625
|
| 241 |
+
],
|
| 242 |
+
[
|
| 243 |
+
237.5297393798828,
|
| 244 |
+
248.58648681640625
|
| 245 |
+
],
|
| 246 |
+
[
|
| 247 |
+
237.5297393798828,
|
| 248 |
+
258.549072265625
|
| 249 |
+
],
|
| 250 |
+
[
|
| 251 |
+
106.98046875,
|
| 252 |
+
258.549072265625
|
| 253 |
+
]
|
| 254 |
+
]
|
| 255 |
+
},
|
| 256 |
+
{
|
| 257 |
+
"title": "3 EXPERIMENTS",
|
| 258 |
+
"heading_level": null,
|
| 259 |
+
"page_id": 4,
|
| 260 |
+
"polygon": [
|
| 261 |
+
[
|
| 262 |
+
106.98046875,
|
| 263 |
+
522.8830871582031
|
| 264 |
+
],
|
| 265 |
+
[
|
| 266 |
+
200.08351135253906,
|
| 267 |
+
522.8830871582031
|
| 268 |
+
],
|
| 269 |
+
[
|
| 270 |
+
200.08351135253906,
|
| 271 |
+
534.8382873535156
|
| 272 |
+
],
|
| 273 |
+
[
|
| 274 |
+
106.98046875,
|
| 275 |
+
534.8382873535156
|
| 276 |
+
]
|
| 277 |
+
]
|
| 278 |
+
},
|
| 279 |
+
{
|
| 280 |
+
"title": "3.1 EXPERIMENTAL SETTINGS",
|
| 281 |
+
"heading_level": null,
|
| 282 |
+
"page_id": 4,
|
| 283 |
+
"polygon": [
|
| 284 |
+
[
|
| 285 |
+
107.578125,
|
| 286 |
+
543.33984375
|
| 287 |
+
],
|
| 288 |
+
[
|
| 289 |
+
244.3253936767578,
|
| 290 |
+
543.33984375
|
| 291 |
+
],
|
| 292 |
+
[
|
| 293 |
+
244.3253936767578,
|
| 294 |
+
553.9218444824219
|
| 295 |
+
],
|
| 296 |
+
[
|
| 297 |
+
107.578125,
|
| 298 |
+
553.9218444824219
|
| 299 |
+
]
|
| 300 |
+
]
|
| 301 |
+
},
|
| 302 |
+
{
|
| 303 |
+
"title": "3.2 OVERALL PERFORMANCE",
|
| 304 |
+
"heading_level": null,
|
| 305 |
+
"page_id": 6,
|
| 306 |
+
"polygon": [
|
| 307 |
+
[
|
| 308 |
+
106.083984375,
|
| 309 |
+
82.7578125
|
| 310 |
+
],
|
| 311 |
+
[
|
| 312 |
+
241.21005249023438,
|
| 313 |
+
82.7578125
|
| 314 |
+
],
|
| 315 |
+
[
|
| 316 |
+
241.21005249023438,
|
| 317 |
+
94.2310791015625
|
| 318 |
+
],
|
| 319 |
+
[
|
| 320 |
+
106.083984375,
|
| 321 |
+
94.2310791015625
|
| 322 |
+
]
|
| 323 |
+
]
|
| 324 |
+
},
|
| 325 |
+
{
|
| 326 |
+
"title": "3.3 ROBUSTNESS AND GENERALIZATION ABILITY ANALYSIS",
|
| 327 |
+
"heading_level": null,
|
| 328 |
+
"page_id": 6,
|
| 329 |
+
"polygon": [
|
| 330 |
+
[
|
| 331 |
+
106.3828125,
|
| 332 |
+
595.93359375
|
| 333 |
+
],
|
| 334 |
+
[
|
| 335 |
+
374.51373291015625,
|
| 336 |
+
595.93359375
|
| 337 |
+
],
|
| 338 |
+
[
|
| 339 |
+
374.51373291015625,
|
| 340 |
+
606.733642578125
|
| 341 |
+
],
|
| 342 |
+
[
|
| 343 |
+
106.3828125,
|
| 344 |
+
606.733642578125
|
| 345 |
+
]
|
| 346 |
+
]
|
| 347 |
+
},
|
| 348 |
+
{
|
| 349 |
+
"title": "3.4 ABLATION STUDY",
|
| 350 |
+
"heading_level": null,
|
| 351 |
+
"page_id": 7,
|
| 352 |
+
"polygon": [
|
| 353 |
+
[
|
| 354 |
+
105.486328125,
|
| 355 |
+
626.87109375
|
| 356 |
+
],
|
| 357 |
+
[
|
| 358 |
+
209.25,
|
| 359 |
+
626.87109375
|
| 360 |
+
],
|
| 361 |
+
[
|
| 362 |
+
209.25,
|
| 363 |
+
636.75
|
| 364 |
+
],
|
| 365 |
+
[
|
| 366 |
+
105.486328125,
|
| 367 |
+
636.75
|
| 368 |
+
]
|
| 369 |
+
]
|
| 370 |
+
},
|
| 371 |
+
{
|
| 372 |
+
"title": "3.5 THE IMPACT OF \u03b1.",
|
| 373 |
+
"heading_level": null,
|
| 374 |
+
"page_id": 8,
|
| 375 |
+
"polygon": [
|
| 376 |
+
[
|
| 377 |
+
106.681640625,
|
| 378 |
+
234.58087158203125
|
| 379 |
+
],
|
| 380 |
+
[
|
| 381 |
+
210.57858276367188,
|
| 382 |
+
234.58087158203125
|
| 383 |
+
],
|
| 384 |
+
[
|
| 385 |
+
210.57858276367188,
|
| 386 |
+
244.77398681640625
|
| 387 |
+
],
|
| 388 |
+
[
|
| 389 |
+
106.681640625,
|
| 390 |
+
244.77398681640625
|
| 391 |
+
]
|
| 392 |
+
]
|
| 393 |
+
},
|
| 394 |
+
{
|
| 395 |
+
"title": "3.6 CASE STUDY",
|
| 396 |
+
"heading_level": null,
|
| 397 |
+
"page_id": 8,
|
| 398 |
+
"polygon": [
|
| 399 |
+
[
|
| 400 |
+
107.279296875,
|
| 401 |
+
324.0703125
|
| 402 |
+
],
|
| 403 |
+
[
|
| 404 |
+
187.52699279785156,
|
| 405 |
+
324.0703125
|
| 406 |
+
],
|
| 407 |
+
[
|
| 408 |
+
187.52699279785156,
|
| 409 |
+
334.8929443359375
|
| 410 |
+
],
|
| 411 |
+
[
|
| 412 |
+
107.279296875,
|
| 413 |
+
334.8929443359375
|
| 414 |
+
]
|
| 415 |
+
]
|
| 416 |
+
},
|
| 417 |
+
{
|
| 418 |
+
"title": "4 RELATED WORK",
|
| 419 |
+
"heading_level": null,
|
| 420 |
+
"page_id": 8,
|
| 421 |
+
"polygon": [
|
| 422 |
+
[
|
| 423 |
+
106.083984375,
|
| 424 |
+
548.9309844970703
|
| 425 |
+
],
|
| 426 |
+
[
|
| 427 |
+
211.1956787109375,
|
| 428 |
+
548.9309844970703
|
| 429 |
+
],
|
| 430 |
+
[
|
| 431 |
+
211.1956787109375,
|
| 432 |
+
560.8861846923828
|
| 433 |
+
],
|
| 434 |
+
[
|
| 435 |
+
106.083984375,
|
| 436 |
+
560.8861846923828
|
| 437 |
+
]
|
| 438 |
+
]
|
| 439 |
+
},
|
| 440 |
+
{
|
| 441 |
+
"title": "5 CONCLUSION",
|
| 442 |
+
"heading_level": null,
|
| 443 |
+
"page_id": 9,
|
| 444 |
+
"polygon": [
|
| 445 |
+
[
|
| 446 |
+
105.78515625,
|
| 447 |
+
549.52734375
|
| 448 |
+
],
|
| 449 |
+
[
|
| 450 |
+
195.37747192382812,
|
| 451 |
+
549.52734375
|
| 452 |
+
],
|
| 453 |
+
[
|
| 454 |
+
195.37747192382812,
|
| 455 |
+
563.3050231933594
|
| 456 |
+
],
|
| 457 |
+
[
|
| 458 |
+
105.78515625,
|
| 459 |
+
563.3050231933594
|
| 460 |
+
]
|
| 461 |
+
]
|
| 462 |
+
},
|
| 463 |
+
{
|
| 464 |
+
"title": "ETHICS STATEMENT",
|
| 465 |
+
"heading_level": null,
|
| 466 |
+
"page_id": 10,
|
| 467 |
+
"polygon": [
|
| 468 |
+
[
|
| 469 |
+
104.291015625,
|
| 470 |
+
81.2109375
|
| 471 |
+
],
|
| 472 |
+
[
|
| 473 |
+
209.38401794433594,
|
| 474 |
+
81.2109375
|
| 475 |
+
],
|
| 476 |
+
[
|
| 477 |
+
209.38401794433594,
|
| 478 |
+
94.7125244140625
|
| 479 |
+
],
|
| 480 |
+
[
|
| 481 |
+
104.291015625,
|
| 482 |
+
94.7125244140625
|
| 483 |
+
]
|
| 484 |
+
]
|
| 485 |
+
},
|
| 486 |
+
{
|
| 487 |
+
"title": "REPRODUCIBILITY STATEMENT",
|
| 488 |
+
"heading_level": null,
|
| 489 |
+
"page_id": 10,
|
| 490 |
+
"polygon": [
|
| 491 |
+
[
|
| 492 |
+
108.17578125,
|
| 493 |
+
167.98126220703125
|
| 494 |
+
],
|
| 495 |
+
[
|
| 496 |
+
267.8599853515625,
|
| 497 |
+
167.98126220703125
|
| 498 |
+
],
|
| 499 |
+
[
|
| 500 |
+
267.8599853515625,
|
| 501 |
+
179.93646240234375
|
| 502 |
+
],
|
| 503 |
+
[
|
| 504 |
+
108.17578125,
|
| 505 |
+
179.93646240234375
|
| 506 |
+
]
|
| 507 |
+
]
|
| 508 |
+
},
|
| 509 |
+
{
|
| 510 |
+
"title": "REFERENCES",
|
| 511 |
+
"heading_level": null,
|
| 512 |
+
"page_id": 10,
|
| 513 |
+
"polygon": [
|
| 514 |
+
[
|
| 515 |
+
106.3828125,
|
| 516 |
+
264.1632080078125
|
| 517 |
+
],
|
| 518 |
+
[
|
| 519 |
+
175.2598114013672,
|
| 520 |
+
264.1632080078125
|
| 521 |
+
],
|
| 522 |
+
[
|
| 523 |
+
175.2598114013672,
|
| 524 |
+
276.118408203125
|
| 525 |
+
],
|
| 526 |
+
[
|
| 527 |
+
106.3828125,
|
| 528 |
+
276.118408203125
|
| 529 |
+
]
|
| 530 |
+
]
|
| 531 |
+
},
|
| 532 |
+
{
|
| 533 |
+
"title": "[Instruction] Answer the question.",
|
| 534 |
+
"heading_level": null,
|
| 535 |
+
"page_id": 13,
|
| 536 |
+
"polygon": [
|
| 537 |
+
[
|
| 538 |
+
117.439453125,
|
| 539 |
+
213.85546875
|
| 540 |
+
],
|
| 541 |
+
[
|
| 542 |
+
259.5873718261719,
|
| 543 |
+
213.85546875
|
| 544 |
+
],
|
| 545 |
+
[
|
| 546 |
+
259.5873718261719,
|
| 547 |
+
224.05865478515625
|
| 548 |
+
],
|
| 549 |
+
[
|
| 550 |
+
117.439453125,
|
| 551 |
+
224.05865478515625
|
| 552 |
+
]
|
| 553 |
+
]
|
| 554 |
+
},
|
| 555 |
+
{
|
| 556 |
+
"title": "[Examples]",
|
| 557 |
+
"heading_level": null,
|
| 558 |
+
"page_id": 13,
|
| 559 |
+
"polygon": [
|
| 560 |
+
[
|
| 561 |
+
116.244140625,
|
| 562 |
+
274.81878662109375
|
| 563 |
+
],
|
| 564 |
+
[
|
| 565 |
+
165.271240234375,
|
| 566 |
+
274.81878662109375
|
| 567 |
+
],
|
| 568 |
+
[
|
| 569 |
+
165.271240234375,
|
| 570 |
+
285.0151062011719
|
| 571 |
+
],
|
| 572 |
+
[
|
| 573 |
+
116.244140625,
|
| 574 |
+
285.0151062011719
|
| 575 |
+
]
|
| 576 |
+
]
|
| 577 |
+
},
|
| 578 |
+
{
|
| 579 |
+
"title": "[Current Question]",
|
| 580 |
+
"heading_level": null,
|
| 581 |
+
"page_id": 13,
|
| 582 |
+
"polygon": [
|
| 583 |
+
[
|
| 584 |
+
116.841796875,
|
| 585 |
+
365.0342102050781
|
| 586 |
+
],
|
| 587 |
+
[
|
| 588 |
+
195.42184448242188,
|
| 589 |
+
365.0342102050781
|
| 590 |
+
],
|
| 591 |
+
[
|
| 592 |
+
195.42184448242188,
|
| 593 |
+
375.2305603027344
|
| 594 |
+
],
|
| 595 |
+
[
|
| 596 |
+
116.841796875,
|
| 597 |
+
375.2305603027344
|
| 598 |
+
]
|
| 599 |
+
]
|
| 600 |
+
},
|
| 601 |
+
{
|
| 602 |
+
"title": "A USE OF LLMS",
|
| 603 |
+
"heading_level": null,
|
| 604 |
+
"page_id": 13,
|
| 605 |
+
"polygon": [
|
| 606 |
+
[
|
| 607 |
+
106.3828125,
|
| 608 |
+
459.80859375
|
| 609 |
+
],
|
| 610 |
+
[
|
| 611 |
+
202.77764892578125,
|
| 612 |
+
459.80859375
|
| 613 |
+
],
|
| 614 |
+
[
|
| 615 |
+
202.77764892578125,
|
| 616 |
+
472.3905334472656
|
| 617 |
+
],
|
| 618 |
+
[
|
| 619 |
+
106.3828125,
|
| 620 |
+
472.3905334472656
|
| 621 |
+
]
|
| 622 |
+
]
|
| 623 |
+
},
|
| 624 |
+
{
|
| 625 |
+
"title": "B PROMPT TEMPLATES",
|
| 626 |
+
"heading_level": null,
|
| 627 |
+
"page_id": 13,
|
| 628 |
+
"polygon": [
|
| 629 |
+
[
|
| 630 |
+
108.17578125,
|
| 631 |
+
545.9012756347656
|
| 632 |
+
],
|
| 633 |
+
[
|
| 634 |
+
236.07421875,
|
| 635 |
+
545.9012756347656
|
| 636 |
+
],
|
| 637 |
+
[
|
| 638 |
+
236.07421875,
|
| 639 |
+
557.8564758300781
|
| 640 |
+
],
|
| 641 |
+
[
|
| 642 |
+
108.17578125,
|
| 643 |
+
557.8564758300781
|
| 644 |
+
]
|
| 645 |
+
]
|
| 646 |
+
},
|
| 647 |
+
{
|
| 648 |
+
"title": "C CASE STUDY",
|
| 649 |
+
"heading_level": null,
|
| 650 |
+
"page_id": 13,
|
| 651 |
+
"polygon": [
|
| 652 |
+
[
|
| 653 |
+
105.78515625,
|
| 654 |
+
642.3252868652344
|
| 655 |
+
],
|
| 656 |
+
[
|
| 657 |
+
195.26687622070312,
|
| 658 |
+
642.3252868652344
|
| 659 |
+
],
|
| 660 |
+
[
|
| 661 |
+
195.26687622070312,
|
| 662 |
+
654.2804870605469
|
| 663 |
+
],
|
| 664 |
+
[
|
| 665 |
+
105.78515625,
|
| 666 |
+
654.2804870605469
|
| 667 |
+
]
|
| 668 |
+
]
|
| 669 |
+
},
|
| 670 |
+
{
|
| 671 |
+
"title": "Table 4: Case study on NQ dataset.",
|
| 672 |
+
"heading_level": null,
|
| 673 |
+
"page_id": 14,
|
| 674 |
+
"polygon": [
|
| 675 |
+
[
|
| 676 |
+
234.28125,
|
| 677 |
+
88.55859375
|
| 678 |
+
],
|
| 679 |
+
[
|
| 680 |
+
376.321044921875,
|
| 681 |
+
88.55859375
|
| 682 |
+
],
|
| 683 |
+
[
|
| 684 |
+
376.321044921875,
|
| 685 |
+
99.5140380859375
|
| 686 |
+
],
|
| 687 |
+
[
|
| 688 |
+
234.28125,
|
| 689 |
+
99.5140380859375
|
| 690 |
+
]
|
| 691 |
+
]
|
| 692 |
+
},
|
| 693 |
+
{
|
| 694 |
+
"title": "Question: when did the us stop drafting for the vietnam war? Gold answer: [1973]",
|
| 695 |
+
"heading_level": null,
|
| 696 |
+
"page_id": 14,
|
| 697 |
+
"polygon": [
|
| 698 |
+
[
|
| 699 |
+
113.9780044555664,
|
| 700 |
+
113.967529296875
|
| 701 |
+
],
|
| 702 |
+
[
|
| 703 |
+
464.48211669921875,
|
| 704 |
+
113.967529296875
|
| 705 |
+
],
|
| 706 |
+
[
|
| 707 |
+
464.48211669921875,
|
| 708 |
+
130.7109375
|
| 709 |
+
],
|
| 710 |
+
[
|
| 711 |
+
113.9780044555664,
|
| 712 |
+
130.7109375
|
| 713 |
+
]
|
| 714 |
+
]
|
| 715 |
+
},
|
| 716 |
+
{
|
| 717 |
+
"title": "Top-5 documents:",
|
| 718 |
+
"heading_level": null,
|
| 719 |
+
"page_id": 14,
|
| 720 |
+
"polygon": [
|
| 721 |
+
[
|
| 722 |
+
111.1640625,
|
| 723 |
+
128.77734375
|
| 724 |
+
],
|
| 725 |
+
[
|
| 726 |
+
189.7226104736328,
|
| 727 |
+
128.77734375
|
| 728 |
+
],
|
| 729 |
+
[
|
| 730 |
+
189.7226104736328,
|
| 731 |
+
139.98199462890625
|
| 732 |
+
],
|
| 733 |
+
[
|
| 734 |
+
111.1640625,
|
| 735 |
+
139.98199462890625
|
| 736 |
+
]
|
| 737 |
+
]
|
| 738 |
+
},
|
| 739 |
+
{
|
| 740 |
+
"title": "Table 5: Case study on 2Wiki dataset.",
|
| 741 |
+
"heading_level": null,
|
| 742 |
+
"page_id": 15,
|
| 743 |
+
"polygon": [
|
| 744 |
+
[
|
| 745 |
+
230.09765625,
|
| 746 |
+
93.97265625
|
| 747 |
+
],
|
| 748 |
+
[
|
| 749 |
+
381.90234375,
|
| 750 |
+
93.97265625
|
| 751 |
+
],
|
| 752 |
+
[
|
| 753 |
+
381.90234375,
|
| 754 |
+
104.9940185546875
|
| 755 |
+
],
|
| 756 |
+
[
|
| 757 |
+
230.09765625,
|
| 758 |
+
104.9940185546875
|
| 759 |
+
]
|
| 760 |
+
]
|
| 761 |
+
},
|
| 762 |
+
{
|
| 763 |
+
"title": "Question: Who is Charles Bretagne Marie De La Tremoille's paternal grandfather? \u00b4\nGold answer: [Charles Armand Rene de La Tr \u00b4 emoille] \u00b4",
|
| 764 |
+
"heading_level": null,
|
| 765 |
+
"page_id": 15,
|
| 766 |
+
"polygon": [
|
| 767 |
+
[
|
| 768 |
+
112.359375,
|
| 769 |
+
119.32745361328125
|
| 770 |
+
],
|
| 771 |
+
[
|
| 772 |
+
468.9930114746094,
|
| 773 |
+
119.32745361328125
|
| 774 |
+
],
|
| 775 |
+
[
|
| 776 |
+
468.9930114746094,
|
| 777 |
+
140.3680419921875
|
| 778 |
+
],
|
| 779 |
+
[
|
| 780 |
+
112.359375,
|
| 781 |
+
140.3680419921875
|
| 782 |
+
]
|
| 783 |
+
]
|
| 784 |
+
},
|
| 785 |
+
{
|
| 786 |
+
"title": "D IMPACT OF DIFFERENT COMPRESSORS ON PERFORMANCE",
|
| 787 |
+
"heading_level": null,
|
| 788 |
+
"page_id": 16,
|
| 789 |
+
"polygon": [
|
| 790 |
+
[
|
| 791 |
+
108.29900360107422,
|
| 792 |
+
548.7171173095703
|
| 793 |
+
],
|
| 794 |
+
[
|
| 795 |
+
424.6056823730469,
|
| 796 |
+
548.7171173095703
|
| 797 |
+
],
|
| 798 |
+
[
|
| 799 |
+
424.6056823730469,
|
| 800 |
+
560.6723175048828
|
| 801 |
+
],
|
| 802 |
+
[
|
| 803 |
+
108.29900360107422,
|
| 804 |
+
560.6723175048828
|
| 805 |
+
]
|
| 806 |
+
]
|
| 807 |
+
},
|
| 808 |
+
{
|
| 809 |
+
"title": "E CROSS-DATASET GENERALIZATION PERFORMANCE",
|
| 810 |
+
"heading_level": null,
|
| 811 |
+
"page_id": 18,
|
| 812 |
+
"polygon": [
|
| 813 |
+
[
|
| 814 |
+
106.98046875,
|
| 815 |
+
325.23046875
|
| 816 |
+
],
|
| 817 |
+
[
|
| 818 |
+
390.4736633300781,
|
| 819 |
+
325.23046875
|
| 820 |
+
],
|
| 821 |
+
[
|
| 822 |
+
390.4736633300781,
|
| 823 |
+
338.1045227050781
|
| 824 |
+
],
|
| 825 |
+
[
|
| 826 |
+
106.98046875,
|
| 827 |
+
338.1045227050781
|
| 828 |
+
]
|
| 829 |
+
]
|
| 830 |
+
},
|
| 831 |
+
{
|
| 832 |
+
"title": "F ROBUSTNESS AGAINST NOISY CONTEXTS",
|
| 833 |
+
"heading_level": null,
|
| 834 |
+
"page_id": 18,
|
| 835 |
+
"polygon": [
|
| 836 |
+
[
|
| 837 |
+
107.578125,
|
| 838 |
+
444.33984375
|
| 839 |
+
],
|
| 840 |
+
[
|
| 841 |
+
339.8441467285156,
|
| 842 |
+
444.33984375
|
| 843 |
+
],
|
| 844 |
+
[
|
| 845 |
+
339.8441467285156,
|
| 846 |
+
456.41046142578125
|
| 847 |
+
],
|
| 848 |
+
[
|
| 849 |
+
107.578125,
|
| 850 |
+
456.41046142578125
|
| 851 |
+
]
|
| 852 |
+
]
|
| 853 |
+
}
|
| 854 |
+
],
|
| 855 |
+
"page_stats": [
|
| 856 |
+
{
|
| 857 |
+
"page_id": 0,
|
| 858 |
+
"text_extraction_method": "pdftext",
|
| 859 |
+
"block_counts": [
|
| 860 |
+
[
|
| 861 |
+
"Span",
|
| 862 |
+
207
|
| 863 |
+
],
|
| 864 |
+
[
|
| 865 |
+
"Line",
|
| 866 |
+
87
|
| 867 |
+
],
|
| 868 |
+
[
|
| 869 |
+
"Text",
|
| 870 |
+
14
|
| 871 |
+
],
|
| 872 |
+
[
|
| 873 |
+
"SectionHeader",
|
| 874 |
+
3
|
| 875 |
+
],
|
| 876 |
+
[
|
| 877 |
+
"PageHeader",
|
| 878 |
+
1
|
| 879 |
+
],
|
| 880 |
+
[
|
| 881 |
+
"PageFooter",
|
| 882 |
+
1
|
| 883 |
+
],
|
| 884 |
+
[
|
| 885 |
+
"Reference",
|
| 886 |
+
1
|
| 887 |
+
]
|
| 888 |
+
],
|
| 889 |
+
"block_metadata": {
|
| 890 |
+
"llm_request_count": 0,
|
| 891 |
+
"llm_error_count": 0,
|
| 892 |
+
"llm_tokens_used": 0,
|
| 893 |
+
"previous_text": "",
|
| 894 |
+
"previous_type": "",
|
| 895 |
+
"previous_order": 0
|
| 896 |
+
}
|
| 897 |
+
},
|
| 898 |
+
{
|
| 899 |
+
"page_id": 1,
|
| 900 |
+
"text_extraction_method": "pdftext",
|
| 901 |
+
"block_counts": [
|
| 902 |
+
[
|
| 903 |
+
"Span",
|
| 904 |
+
193
|
| 905 |
+
],
|
| 906 |
+
[
|
| 907 |
+
"Line",
|
| 908 |
+
81
|
| 909 |
+
],
|
| 910 |
+
[
|
| 911 |
+
"Text",
|
| 912 |
+
13
|
| 913 |
+
],
|
| 914 |
+
[
|
| 915 |
+
"Figure",
|
| 916 |
+
2
|
| 917 |
+
],
|
| 918 |
+
[
|
| 919 |
+
"PageHeader",
|
| 920 |
+
1
|
| 921 |
+
],
|
| 922 |
+
[
|
| 923 |
+
"Caption",
|
| 924 |
+
1
|
| 925 |
+
],
|
| 926 |
+
[
|
| 927 |
+
"SectionHeader",
|
| 928 |
+
1
|
| 929 |
+
],
|
| 930 |
+
[
|
| 931 |
+
"PageFooter",
|
| 932 |
+
1
|
| 933 |
+
],
|
| 934 |
+
[
|
| 935 |
+
"FigureGroup",
|
| 936 |
+
1
|
| 937 |
+
],
|
| 938 |
+
[
|
| 939 |
+
"Reference",
|
| 940 |
+
1
|
| 941 |
+
]
|
| 942 |
+
],
|
| 943 |
+
"block_metadata": {
|
| 944 |
+
"llm_request_count": 0,
|
| 945 |
+
"llm_error_count": 0,
|
| 946 |
+
"llm_tokens_used": 0,
|
| 947 |
+
"previous_text": "",
|
| 948 |
+
"previous_type": "",
|
| 949 |
+
"previous_order": 0
|
| 950 |
+
}
|
| 951 |
+
},
|
| 952 |
+
{
|
| 953 |
+
"page_id": 2,
|
| 954 |
+
"text_extraction_method": "surya",
|
| 955 |
+
"block_counts": [
|
| 956 |
+
[
|
| 957 |
+
"Line",
|
| 958 |
+
186
|
| 959 |
+
],
|
| 960 |
+
[
|
| 961 |
+
"Span",
|
| 962 |
+
110
|
| 963 |
+
],
|
| 964 |
+
[
|
| 965 |
+
"Text",
|
| 966 |
+
46
|
| 967 |
+
],
|
| 968 |
+
[
|
| 969 |
+
"SectionHeader",
|
| 970 |
+
3
|
| 971 |
+
],
|
| 972 |
+
[
|
| 973 |
+
"PageHeader",
|
| 974 |
+
1
|
| 975 |
+
],
|
| 976 |
+
[
|
| 977 |
+
"Figure",
|
| 978 |
+
1
|
| 979 |
+
],
|
| 980 |
+
[
|
| 981 |
+
"Caption",
|
| 982 |
+
1
|
| 983 |
+
],
|
| 984 |
+
[
|
| 985 |
+
"PageFooter",
|
| 986 |
+
1
|
| 987 |
+
],
|
| 988 |
+
[
|
| 989 |
+
"FigureGroup",
|
| 990 |
+
1
|
| 991 |
+
],
|
| 992 |
+
[
|
| 993 |
+
"Reference",
|
| 994 |
+
1
|
| 995 |
+
]
|
| 996 |
+
],
|
| 997 |
+
"block_metadata": {
|
| 998 |
+
"llm_request_count": 0,
|
| 999 |
+
"llm_error_count": 0,
|
| 1000 |
+
"llm_tokens_used": 0,
|
| 1001 |
+
"previous_text": "",
|
| 1002 |
+
"previous_type": "",
|
| 1003 |
+
"previous_order": 0
|
| 1004 |
+
}
|
| 1005 |
+
},
|
| 1006 |
+
{
|
| 1007 |
+
"page_id": 3,
|
| 1008 |
+
"text_extraction_method": "surya",
|
| 1009 |
+
"block_counts": [
|
| 1010 |
+
[
|
| 1011 |
+
"Line",
|
| 1012 |
+
145
|
| 1013 |
+
],
|
| 1014 |
+
[
|
| 1015 |
+
"Span",
|
| 1016 |
+
107
|
| 1017 |
+
],
|
| 1018 |
+
[
|
| 1019 |
+
"Text",
|
| 1020 |
+
46
|
| 1021 |
+
],
|
| 1022 |
+
[
|
| 1023 |
+
"Equation",
|
| 1024 |
+
3
|
| 1025 |
+
],
|
| 1026 |
+
[
|
| 1027 |
+
"SectionHeader",
|
| 1028 |
+
2
|
| 1029 |
+
],
|
| 1030 |
+
[
|
| 1031 |
+
"PageHeader",
|
| 1032 |
+
1
|
| 1033 |
+
],
|
| 1034 |
+
[
|
| 1035 |
+
"PageFooter",
|
| 1036 |
+
1
|
| 1037 |
+
]
|
| 1038 |
+
],
|
| 1039 |
+
"block_metadata": {
|
| 1040 |
+
"llm_request_count": 0,
|
| 1041 |
+
"llm_error_count": 0,
|
| 1042 |
+
"llm_tokens_used": 0,
|
| 1043 |
+
"previous_text": "",
|
| 1044 |
+
"previous_type": "",
|
| 1045 |
+
"previous_order": 0
|
| 1046 |
+
}
|
| 1047 |
+
},
|
| 1048 |
+
{
|
| 1049 |
+
"page_id": 4,
|
| 1050 |
+
"text_extraction_method": "pdftext",
|
| 1051 |
+
"block_counts": [
|
| 1052 |
+
[
|
| 1053 |
+
"Span",
|
| 1054 |
+
277
|
| 1055 |
+
],
|
| 1056 |
+
[
|
| 1057 |
+
"Line",
|
| 1058 |
+
97
|
| 1059 |
+
],
|
| 1060 |
+
[
|
| 1061 |
+
"Text",
|
| 1062 |
+
15
|
| 1063 |
+
],
|
| 1064 |
+
[
|
| 1065 |
+
"SectionHeader",
|
| 1066 |
+
4
|
| 1067 |
+
],
|
| 1068 |
+
[
|
| 1069 |
+
"PageHeader",
|
| 1070 |
+
1
|
| 1071 |
+
],
|
| 1072 |
+
[
|
| 1073 |
+
"Equation",
|
| 1074 |
+
1
|
| 1075 |
+
],
|
| 1076 |
+
[
|
| 1077 |
+
"PageFooter",
|
| 1078 |
+
1
|
| 1079 |
+
]
|
| 1080 |
+
],
|
| 1081 |
+
"block_metadata": {
|
| 1082 |
+
"llm_request_count": 0,
|
| 1083 |
+
"llm_error_count": 0,
|
| 1084 |
+
"llm_tokens_used": 0,
|
| 1085 |
+
"previous_text": "",
|
| 1086 |
+
"previous_type": "",
|
| 1087 |
+
"previous_order": 0
|
| 1088 |
+
}
|
| 1089 |
+
},
|
| 1090 |
+
{
|
| 1091 |
+
"page_id": 5,
|
| 1092 |
+
"text_extraction_method": "surya",
|
| 1093 |
+
"block_counts": [
|
| 1094 |
+
[
|
| 1095 |
+
"TableCell",
|
| 1096 |
+
364
|
| 1097 |
+
],
|
| 1098 |
+
[
|
| 1099 |
+
"Line",
|
| 1100 |
+
118
|
| 1101 |
+
],
|
| 1102 |
+
[
|
| 1103 |
+
"Span",
|
| 1104 |
+
55
|
| 1105 |
+
],
|
| 1106 |
+
[
|
| 1107 |
+
"Text",
|
| 1108 |
+
32
|
| 1109 |
+
],
|
| 1110 |
+
[
|
| 1111 |
+
"Footnote",
|
| 1112 |
+
2
|
| 1113 |
+
],
|
| 1114 |
+
[
|
| 1115 |
+
"PageHeader",
|
| 1116 |
+
1
|
| 1117 |
+
],
|
| 1118 |
+
[
|
| 1119 |
+
"Caption",
|
| 1120 |
+
1
|
| 1121 |
+
],
|
| 1122 |
+
[
|
| 1123 |
+
"Table",
|
| 1124 |
+
1
|
| 1125 |
+
],
|
| 1126 |
+
[
|
| 1127 |
+
"PageFooter",
|
| 1128 |
+
1
|
| 1129 |
+
],
|
| 1130 |
+
[
|
| 1131 |
+
"TableGroup",
|
| 1132 |
+
1
|
| 1133 |
+
],
|
| 1134 |
+
[
|
| 1135 |
+
"Reference",
|
| 1136 |
+
1
|
| 1137 |
+
]
|
| 1138 |
+
],
|
| 1139 |
+
"block_metadata": {
|
| 1140 |
+
"llm_request_count": 0,
|
| 1141 |
+
"llm_error_count": 0,
|
| 1142 |
+
"llm_tokens_used": 0,
|
| 1143 |
+
"previous_text": "",
|
| 1144 |
+
"previous_type": "",
|
| 1145 |
+
"previous_order": 0
|
| 1146 |
+
}
|
| 1147 |
+
},
|
| 1148 |
+
{
|
| 1149 |
+
"page_id": 6,
|
| 1150 |
+
"text_extraction_method": "pdftext",
|
| 1151 |
+
"block_counts": [
|
| 1152 |
+
[
|
| 1153 |
+
"Span",
|
| 1154 |
+
222
|
| 1155 |
+
],
|
| 1156 |
+
[
|
| 1157 |
+
"Line",
|
| 1158 |
+
94
|
| 1159 |
+
],
|
| 1160 |
+
[
|
| 1161 |
+
"Text",
|
| 1162 |
+
15
|
| 1163 |
+
],
|
| 1164 |
+
[
|
| 1165 |
+
"SectionHeader",
|
| 1166 |
+
2
|
| 1167 |
+
],
|
| 1168 |
+
[
|
| 1169 |
+
"PageHeader",
|
| 1170 |
+
1
|
| 1171 |
+
],
|
| 1172 |
+
[
|
| 1173 |
+
"PageFooter",
|
| 1174 |
+
1
|
| 1175 |
+
]
|
| 1176 |
+
],
|
| 1177 |
+
"block_metadata": {
|
| 1178 |
+
"llm_request_count": 0,
|
| 1179 |
+
"llm_error_count": 0,
|
| 1180 |
+
"llm_tokens_used": 0,
|
| 1181 |
+
"previous_text": "",
|
| 1182 |
+
"previous_type": "",
|
| 1183 |
+
"previous_order": 0
|
| 1184 |
+
}
|
| 1185 |
+
},
|
| 1186 |
+
{
|
| 1187 |
+
"page_id": 7,
|
| 1188 |
+
"text_extraction_method": "surya",
|
| 1189 |
+
"block_counts": [
|
| 1190 |
+
[
|
| 1191 |
+
"TableCell",
|
| 1192 |
+
253
|
| 1193 |
+
],
|
| 1194 |
+
[
|
| 1195 |
+
"Line",
|
| 1196 |
+
128
|
| 1197 |
+
],
|
| 1198 |
+
[
|
| 1199 |
+
"Span",
|
| 1200 |
+
47
|
| 1201 |
+
],
|
| 1202 |
+
[
|
| 1203 |
+
"Text",
|
| 1204 |
+
26
|
| 1205 |
+
],
|
| 1206 |
+
[
|
| 1207 |
+
"Caption",
|
| 1208 |
+
2
|
| 1209 |
+
],
|
| 1210 |
+
[
|
| 1211 |
+
"Reference",
|
| 1212 |
+
2
|
| 1213 |
+
],
|
| 1214 |
+
[
|
| 1215 |
+
"PageHeader",
|
| 1216 |
+
1
|
| 1217 |
+
],
|
| 1218 |
+
[
|
| 1219 |
+
"Figure",
|
| 1220 |
+
1
|
| 1221 |
+
],
|
| 1222 |
+
[
|
| 1223 |
+
"Table",
|
| 1224 |
+
1
|
| 1225 |
+
],
|
| 1226 |
+
[
|
| 1227 |
+
"SectionHeader",
|
| 1228 |
+
1
|
| 1229 |
+
],
|
| 1230 |
+
[
|
| 1231 |
+
"PageFooter",
|
| 1232 |
+
1
|
| 1233 |
+
],
|
| 1234 |
+
[
|
| 1235 |
+
"FigureGroup",
|
| 1236 |
+
1
|
| 1237 |
+
],
|
| 1238 |
+
[
|
| 1239 |
+
"TableGroup",
|
| 1240 |
+
1
|
| 1241 |
+
]
|
| 1242 |
+
],
|
| 1243 |
+
"block_metadata": {
|
| 1244 |
+
"llm_request_count": 0,
|
| 1245 |
+
"llm_error_count": 0,
|
| 1246 |
+
"llm_tokens_used": 0,
|
| 1247 |
+
"previous_text": "",
|
| 1248 |
+
"previous_type": "",
|
| 1249 |
+
"previous_order": 0
|
| 1250 |
+
}
|
| 1251 |
+
},
|
| 1252 |
+
{
|
| 1253 |
+
"page_id": 8,
|
| 1254 |
+
"text_extraction_method": "pdftext",
|
| 1255 |
+
"block_counts": [
|
| 1256 |
+
[
|
| 1257 |
+
"Span",
|
| 1258 |
+
358
|
| 1259 |
+
],
|
| 1260 |
+
[
|
| 1261 |
+
"Line",
|
| 1262 |
+
124
|
| 1263 |
+
],
|
| 1264 |
+
[
|
| 1265 |
+
"TableCell",
|
| 1266 |
+
45
|
| 1267 |
+
],
|
| 1268 |
+
[
|
| 1269 |
+
"Text",
|
| 1270 |
+
4
|
| 1271 |
+
],
|
| 1272 |
+
[
|
| 1273 |
+
"SectionHeader",
|
| 1274 |
+
3
|
| 1275 |
+
],
|
| 1276 |
+
[
|
| 1277 |
+
"Caption",
|
| 1278 |
+
2
|
| 1279 |
+
],
|
| 1280 |
+
[
|
| 1281 |
+
"PageHeader",
|
| 1282 |
+
1
|
| 1283 |
+
],
|
| 1284 |
+
[
|
| 1285 |
+
"Table",
|
| 1286 |
+
1
|
| 1287 |
+
],
|
| 1288 |
+
[
|
| 1289 |
+
"Figure",
|
| 1290 |
+
1
|
| 1291 |
+
],
|
| 1292 |
+
[
|
| 1293 |
+
"PageFooter",
|
| 1294 |
+
1
|
| 1295 |
+
],
|
| 1296 |
+
[
|
| 1297 |
+
"TableGroup",
|
| 1298 |
+
1
|
| 1299 |
+
],
|
| 1300 |
+
[
|
| 1301 |
+
"FigureGroup",
|
| 1302 |
+
1
|
| 1303 |
+
],
|
| 1304 |
+
[
|
| 1305 |
+
"Reference",
|
| 1306 |
+
1
|
| 1307 |
+
]
|
| 1308 |
+
],
|
| 1309 |
+
"block_metadata": {
|
| 1310 |
+
"llm_request_count": 0,
|
| 1311 |
+
"llm_error_count": 0,
|
| 1312 |
+
"llm_tokens_used": 0,
|
| 1313 |
+
"previous_text": "",
|
| 1314 |
+
"previous_type": "",
|
| 1315 |
+
"previous_order": 0
|
| 1316 |
+
}
|
| 1317 |
+
},
|
| 1318 |
+
{
|
| 1319 |
+
"page_id": 9,
|
| 1320 |
+
"text_extraction_method": "pdftext",
|
| 1321 |
+
"block_counts": [
|
| 1322 |
+
[
|
| 1323 |
+
"Span",
|
| 1324 |
+
224
|
| 1325 |
+
],
|
| 1326 |
+
[
|
| 1327 |
+
"Line",
|
| 1328 |
+
93
|
| 1329 |
+
],
|
| 1330 |
+
[
|
| 1331 |
+
"Text",
|
| 1332 |
+
11
|
| 1333 |
+
],
|
| 1334 |
+
[
|
| 1335 |
+
"PageHeader",
|
| 1336 |
+
1
|
| 1337 |
+
],
|
| 1338 |
+
[
|
| 1339 |
+
"SectionHeader",
|
| 1340 |
+
1
|
| 1341 |
+
],
|
| 1342 |
+
[
|
| 1343 |
+
"PageFooter",
|
| 1344 |
+
1
|
| 1345 |
+
]
|
| 1346 |
+
],
|
| 1347 |
+
"block_metadata": {
|
| 1348 |
+
"llm_request_count": 0,
|
| 1349 |
+
"llm_error_count": 0,
|
| 1350 |
+
"llm_tokens_used": 0,
|
| 1351 |
+
"previous_text": "",
|
| 1352 |
+
"previous_type": "",
|
| 1353 |
+
"previous_order": 0
|
| 1354 |
+
}
|
| 1355 |
+
},
|
| 1356 |
+
{
|
| 1357 |
+
"page_id": 10,
|
| 1358 |
+
"text_extraction_method": "pdftext",
|
| 1359 |
+
"block_counts": [
|
| 1360 |
+
[
|
| 1361 |
+
"Span",
|
| 1362 |
+
205
|
| 1363 |
+
],
|
| 1364 |
+
[
|
| 1365 |
+
"Line",
|
| 1366 |
+
87
|
| 1367 |
+
],
|
| 1368 |
+
[
|
| 1369 |
+
"ListItem",
|
| 1370 |
+
11
|
| 1371 |
+
],
|
| 1372 |
+
[
|
| 1373 |
+
"Reference",
|
| 1374 |
+
11
|
| 1375 |
+
],
|
| 1376 |
+
[
|
| 1377 |
+
"Text",
|
| 1378 |
+
10
|
| 1379 |
+
],
|
| 1380 |
+
[
|
| 1381 |
+
"SectionHeader",
|
| 1382 |
+
3
|
| 1383 |
+
],
|
| 1384 |
+
[
|
| 1385 |
+
"PageHeader",
|
| 1386 |
+
1
|
| 1387 |
+
],
|
| 1388 |
+
[
|
| 1389 |
+
"PageFooter",
|
| 1390 |
+
1
|
| 1391 |
+
],
|
| 1392 |
+
[
|
| 1393 |
+
"ListGroup",
|
| 1394 |
+
1
|
| 1395 |
+
]
|
| 1396 |
+
],
|
| 1397 |
+
"block_metadata": {
|
| 1398 |
+
"llm_request_count": 0,
|
| 1399 |
+
"llm_error_count": 0,
|
| 1400 |
+
"llm_tokens_used": 0,
|
| 1401 |
+
"previous_text": "",
|
| 1402 |
+
"previous_type": "",
|
| 1403 |
+
"previous_order": 0
|
| 1404 |
+
}
|
| 1405 |
+
},
|
| 1406 |
+
{
|
| 1407 |
+
"page_id": 11,
|
| 1408 |
+
"text_extraction_method": "pdftext",
|
| 1409 |
+
"block_counts": [
|
| 1410 |
+
[
|
| 1411 |
+
"Span",
|
| 1412 |
+
227
|
| 1413 |
+
],
|
| 1414 |
+
[
|
| 1415 |
+
"Line",
|
| 1416 |
+
91
|
| 1417 |
+
],
|
| 1418 |
+
[
|
| 1419 |
+
"ListItem",
|
| 1420 |
+
17
|
| 1421 |
+
],
|
| 1422 |
+
[
|
| 1423 |
+
"Reference",
|
| 1424 |
+
17
|
| 1425 |
+
],
|
| 1426 |
+
[
|
| 1427 |
+
"Text",
|
| 1428 |
+
9
|
| 1429 |
+
],
|
| 1430 |
+
[
|
| 1431 |
+
"PageHeader",
|
| 1432 |
+
1
|
| 1433 |
+
],
|
| 1434 |
+
[
|
| 1435 |
+
"PageFooter",
|
| 1436 |
+
1
|
| 1437 |
+
],
|
| 1438 |
+
[
|
| 1439 |
+
"ListGroup",
|
| 1440 |
+
1
|
| 1441 |
+
]
|
| 1442 |
+
],
|
| 1443 |
+
"block_metadata": {
|
| 1444 |
+
"llm_request_count": 0,
|
| 1445 |
+
"llm_error_count": 0,
|
| 1446 |
+
"llm_tokens_used": 0,
|
| 1447 |
+
"previous_text": "",
|
| 1448 |
+
"previous_type": "",
|
| 1449 |
+
"previous_order": 0
|
| 1450 |
+
}
|
| 1451 |
+
},
|
| 1452 |
+
{
|
| 1453 |
+
"page_id": 12,
|
| 1454 |
+
"text_extraction_method": "pdftext",
|
| 1455 |
+
"block_counts": [
|
| 1456 |
+
[
|
| 1457 |
+
"Span",
|
| 1458 |
+
218
|
| 1459 |
+
],
|
| 1460 |
+
[
|
| 1461 |
+
"Line",
|
| 1462 |
+
86
|
| 1463 |
+
],
|
| 1464 |
+
[
|
| 1465 |
+
"ListItem",
|
| 1466 |
+
14
|
| 1467 |
+
],
|
| 1468 |
+
[
|
| 1469 |
+
"Reference",
|
| 1470 |
+
14
|
| 1471 |
+
],
|
| 1472 |
+
[
|
| 1473 |
+
"Text",
|
| 1474 |
+
7
|
| 1475 |
+
],
|
| 1476 |
+
[
|
| 1477 |
+
"PageHeader",
|
| 1478 |
+
1
|
| 1479 |
+
],
|
| 1480 |
+
[
|
| 1481 |
+
"PageFooter",
|
| 1482 |
+
1
|
| 1483 |
+
],
|
| 1484 |
+
[
|
| 1485 |
+
"ListGroup",
|
| 1486 |
+
1
|
| 1487 |
+
]
|
| 1488 |
+
],
|
| 1489 |
+
"block_metadata": {
|
| 1490 |
+
"llm_request_count": 0,
|
| 1491 |
+
"llm_error_count": 0,
|
| 1492 |
+
"llm_tokens_used": 0,
|
| 1493 |
+
"previous_text": "",
|
| 1494 |
+
"previous_type": "",
|
| 1495 |
+
"previous_order": 0
|
| 1496 |
+
}
|
| 1497 |
+
},
|
| 1498 |
+
{
|
| 1499 |
+
"page_id": 13,
|
| 1500 |
+
"text_extraction_method": "pdftext",
|
| 1501 |
+
"block_counts": [
|
| 1502 |
+
[
|
| 1503 |
+
"Span",
|
| 1504 |
+
211
|
| 1505 |
+
],
|
| 1506 |
+
[
|
| 1507 |
+
"Line",
|
| 1508 |
+
88
|
| 1509 |
+
],
|
| 1510 |
+
[
|
| 1511 |
+
"Text",
|
| 1512 |
+
22
|
| 1513 |
+
],
|
| 1514 |
+
[
|
| 1515 |
+
"SectionHeader",
|
| 1516 |
+
6
|
| 1517 |
+
],
|
| 1518 |
+
[
|
| 1519 |
+
"Caption",
|
| 1520 |
+
2
|
| 1521 |
+
],
|
| 1522 |
+
[
|
| 1523 |
+
"Reference",
|
| 1524 |
+
2
|
| 1525 |
+
],
|
| 1526 |
+
[
|
| 1527 |
+
"PageHeader",
|
| 1528 |
+
1
|
| 1529 |
+
],
|
| 1530 |
+
[
|
| 1531 |
+
"PageFooter",
|
| 1532 |
+
1
|
| 1533 |
+
]
|
| 1534 |
+
],
|
| 1535 |
+
"block_metadata": {
|
| 1536 |
+
"llm_request_count": 0,
|
| 1537 |
+
"llm_error_count": 0,
|
| 1538 |
+
"llm_tokens_used": 0,
|
| 1539 |
+
"previous_text": "",
|
| 1540 |
+
"previous_type": "",
|
| 1541 |
+
"previous_order": 0
|
| 1542 |
+
}
|
| 1543 |
+
},
|
| 1544 |
+
{
|
| 1545 |
+
"page_id": 14,
|
| 1546 |
+
"text_extraction_method": "pdftext",
|
| 1547 |
+
"block_counts": [
|
| 1548 |
+
[
|
| 1549 |
+
"Span",
|
| 1550 |
+
221
|
| 1551 |
+
],
|
| 1552 |
+
[
|
| 1553 |
+
"Line",
|
| 1554 |
+
107
|
| 1555 |
+
],
|
| 1556 |
+
[
|
| 1557 |
+
"Text",
|
| 1558 |
+
15
|
| 1559 |
+
],
|
| 1560 |
+
[
|
| 1561 |
+
"TableCell",
|
| 1562 |
+
12
|
| 1563 |
+
],
|
| 1564 |
+
[
|
| 1565 |
+
"SectionHeader",
|
| 1566 |
+
3
|
| 1567 |
+
],
|
| 1568 |
+
[
|
| 1569 |
+
"PageHeader",
|
| 1570 |
+
1
|
| 1571 |
+
],
|
| 1572 |
+
[
|
| 1573 |
+
"Table",
|
| 1574 |
+
1
|
| 1575 |
+
],
|
| 1576 |
+
[
|
| 1577 |
+
"PageFooter",
|
| 1578 |
+
1
|
| 1579 |
+
],
|
| 1580 |
+
[
|
| 1581 |
+
"Reference",
|
| 1582 |
+
1
|
| 1583 |
+
]
|
| 1584 |
+
],
|
| 1585 |
+
"block_metadata": {
|
| 1586 |
+
"llm_request_count": 0,
|
| 1587 |
+
"llm_error_count": 0,
|
| 1588 |
+
"llm_tokens_used": 0,
|
| 1589 |
+
"previous_text": "",
|
| 1590 |
+
"previous_type": "",
|
| 1591 |
+
"previous_order": 0
|
| 1592 |
+
}
|
| 1593 |
+
},
|
| 1594 |
+
{
|
| 1595 |
+
"page_id": 15,
|
| 1596 |
+
"text_extraction_method": "pdftext",
|
| 1597 |
+
"block_counts": [
|
| 1598 |
+
[
|
| 1599 |
+
"Span",
|
| 1600 |
+
347
|
| 1601 |
+
],
|
| 1602 |
+
[
|
| 1603 |
+
"Line",
|
| 1604 |
+
109
|
| 1605 |
+
],
|
| 1606 |
+
[
|
| 1607 |
+
"Text",
|
| 1608 |
+
17
|
| 1609 |
+
],
|
| 1610 |
+
[
|
| 1611 |
+
"TableCell",
|
| 1612 |
+
12
|
| 1613 |
+
],
|
| 1614 |
+
[
|
| 1615 |
+
"SectionHeader",
|
| 1616 |
+
2
|
| 1617 |
+
],
|
| 1618 |
+
[
|
| 1619 |
+
"PageHeader",
|
| 1620 |
+
1
|
| 1621 |
+
],
|
| 1622 |
+
[
|
| 1623 |
+
"Table",
|
| 1624 |
+
1
|
| 1625 |
+
],
|
| 1626 |
+
[
|
| 1627 |
+
"PageFooter",
|
| 1628 |
+
1
|
| 1629 |
+
],
|
| 1630 |
+
[
|
| 1631 |
+
"Reference",
|
| 1632 |
+
1
|
| 1633 |
+
]
|
| 1634 |
+
],
|
| 1635 |
+
"block_metadata": {
|
| 1636 |
+
"llm_request_count": 0,
|
| 1637 |
+
"llm_error_count": 0,
|
| 1638 |
+
"llm_tokens_used": 0,
|
| 1639 |
+
"previous_text": "",
|
| 1640 |
+
"previous_type": "",
|
| 1641 |
+
"previous_order": 0
|
| 1642 |
+
}
|
| 1643 |
+
},
|
| 1644 |
+
{
|
| 1645 |
+
"page_id": 16,
|
| 1646 |
+
"text_extraction_method": "pdftext",
|
| 1647 |
+
"block_counts": [
|
| 1648 |
+
[
|
| 1649 |
+
"Span",
|
| 1650 |
+
227
|
| 1651 |
+
],
|
| 1652 |
+
[
|
| 1653 |
+
"Line",
|
| 1654 |
+
102
|
| 1655 |
+
],
|
| 1656 |
+
[
|
| 1657 |
+
"TableCell",
|
| 1658 |
+
16
|
| 1659 |
+
],
|
| 1660 |
+
[
|
| 1661 |
+
"Text",
|
| 1662 |
+
12
|
| 1663 |
+
],
|
| 1664 |
+
[
|
| 1665 |
+
"PageHeader",
|
| 1666 |
+
1
|
| 1667 |
+
],
|
| 1668 |
+
[
|
| 1669 |
+
"Caption",
|
| 1670 |
+
1
|
| 1671 |
+
],
|
| 1672 |
+
[
|
| 1673 |
+
"Table",
|
| 1674 |
+
1
|
| 1675 |
+
],
|
| 1676 |
+
[
|
| 1677 |
+
"SectionHeader",
|
| 1678 |
+
1
|
| 1679 |
+
],
|
| 1680 |
+
[
|
| 1681 |
+
"PageFooter",
|
| 1682 |
+
1
|
| 1683 |
+
],
|
| 1684 |
+
[
|
| 1685 |
+
"TableGroup",
|
| 1686 |
+
1
|
| 1687 |
+
],
|
| 1688 |
+
[
|
| 1689 |
+
"Reference",
|
| 1690 |
+
1
|
| 1691 |
+
]
|
| 1692 |
+
],
|
| 1693 |
+
"block_metadata": {
|
| 1694 |
+
"llm_request_count": 0,
|
| 1695 |
+
"llm_error_count": 0,
|
| 1696 |
+
"llm_tokens_used": 0,
|
| 1697 |
+
"previous_text": "",
|
| 1698 |
+
"previous_type": "",
|
| 1699 |
+
"previous_order": 0
|
| 1700 |
+
}
|
| 1701 |
+
},
|
| 1702 |
+
{
|
| 1703 |
+
"page_id": 17,
|
| 1704 |
+
"text_extraction_method": "surya",
|
| 1705 |
+
"block_counts": [
|
| 1706 |
+
[
|
| 1707 |
+
"TableCell",
|
| 1708 |
+
456
|
| 1709 |
+
],
|
| 1710 |
+
[
|
| 1711 |
+
"Line",
|
| 1712 |
+
73
|
| 1713 |
+
],
|
| 1714 |
+
[
|
| 1715 |
+
"Span",
|
| 1716 |
+
62
|
| 1717 |
+
],
|
| 1718 |
+
[
|
| 1719 |
+
"Text",
|
| 1720 |
+
8
|
| 1721 |
+
],
|
| 1722 |
+
[
|
| 1723 |
+
"Caption",
|
| 1724 |
+
2
|
| 1725 |
+
],
|
| 1726 |
+
[
|
| 1727 |
+
"Table",
|
| 1728 |
+
2
|
| 1729 |
+
],
|
| 1730 |
+
[
|
| 1731 |
+
"TableGroup",
|
| 1732 |
+
2
|
| 1733 |
+
],
|
| 1734 |
+
[
|
| 1735 |
+
"Reference",
|
| 1736 |
+
2
|
| 1737 |
+
],
|
| 1738 |
+
[
|
| 1739 |
+
"PageHeader",
|
| 1740 |
+
1
|
| 1741 |
+
],
|
| 1742 |
+
[
|
| 1743 |
+
"PageFooter",
|
| 1744 |
+
1
|
| 1745 |
+
]
|
| 1746 |
+
],
|
| 1747 |
+
"block_metadata": {
|
| 1748 |
+
"llm_request_count": 0,
|
| 1749 |
+
"llm_error_count": 0,
|
| 1750 |
+
"llm_tokens_used": 0,
|
| 1751 |
+
"previous_text": "",
|
| 1752 |
+
"previous_type": "",
|
| 1753 |
+
"previous_order": 0
|
| 1754 |
+
}
|
| 1755 |
+
},
|
| 1756 |
+
{
|
| 1757 |
+
"page_id": 18,
|
| 1758 |
+
"text_extraction_method": "pdftext",
|
| 1759 |
+
"block_counts": [
|
| 1760 |
+
[
|
| 1761 |
+
"Span",
|
| 1762 |
+
204
|
| 1763 |
+
],
|
| 1764 |
+
[
|
| 1765 |
+
"Line",
|
| 1766 |
+
84
|
| 1767 |
+
],
|
| 1768 |
+
[
|
| 1769 |
+
"TableCell",
|
| 1770 |
+
60
|
| 1771 |
+
],
|
| 1772 |
+
[
|
| 1773 |
+
"Text",
|
| 1774 |
+
8
|
| 1775 |
+
],
|
| 1776 |
+
[
|
| 1777 |
+
"Caption",
|
| 1778 |
+
2
|
| 1779 |
+
],
|
| 1780 |
+
[
|
| 1781 |
+
"Table",
|
| 1782 |
+
2
|
| 1783 |
+
],
|
| 1784 |
+
[
|
| 1785 |
+
"SectionHeader",
|
| 1786 |
+
2
|
| 1787 |
+
],
|
| 1788 |
+
[
|
| 1789 |
+
"Reference",
|
| 1790 |
+
2
|
| 1791 |
+
],
|
| 1792 |
+
[
|
| 1793 |
+
"PageHeader",
|
| 1794 |
+
1
|
| 1795 |
+
],
|
| 1796 |
+
[
|
| 1797 |
+
"PageFooter",
|
| 1798 |
+
1
|
| 1799 |
+
],
|
| 1800 |
+
[
|
| 1801 |
+
"TableGroup",
|
| 1802 |
+
1
|
| 1803 |
+
]
|
| 1804 |
+
],
|
| 1805 |
+
"block_metadata": {
|
| 1806 |
+
"llm_request_count": 0,
|
| 1807 |
+
"llm_error_count": 0,
|
| 1808 |
+
"llm_tokens_used": 0,
|
| 1809 |
+
"previous_text": "",
|
| 1810 |
+
"previous_type": "",
|
| 1811 |
+
"previous_order": 0
|
| 1812 |
+
}
|
| 1813 |
+
}
|
| 1814 |
+
],
|
| 1815 |
+
"debug_data_path": "debug_data/6FyYLNnDL6"
|
| 1816 |
+
}
|
iclr26/6FyYLNnDL6/model_text_v3.txt
ADDED
|
@@ -0,0 +1,179 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
[p. 1 | section: ABSTRACT | type: Text]
|
| 2 |
+
Retrieval-Augmented Generation (RAG) has emerged as a promising approach to enhance the timeliness of knowledge updates and the factual accuracy of responses in large language models. However, incorporating a large number of retrieved documents significantly increases input length, leading to higher computational costs. Existing approaches to document compression tailored for RAG often degrade task performance, as they typically rely on predefined heuristics in the absence of clear compression guidelines. These heuristics fail to ensure that the compressed content effectively supports downstream tasks. To address these limitations, we propose CORE, a novel method for lossless context compression in RAG. CORE is optimized end-to-end and does not depend on predefined compression labels, which are often impractical to obtain. Instead, it leverages downstream task performance as a feedback signal, iteratively refining the compression policy to enhance task effectiveness. Extensive experiments across four datasets demonstrate the effectiveness of CORE. With a high compression ratio of 3%, CORE not only prevents performance degradation compared to including full documents (i.e., without compression) but also improves the average Exact Match (EM) score by 3.3 points. The code for CORE is available at .
|
| 3 |
+
|
| 4 |
+
[p. 1 | section: 1 INTRODUCTION | type: Text]
|
| 5 |
+
Large language models (LLMs) have undergone rapid development in recent years, significantly enhancing performance across various language tasks due to their emergent capabilities in semantic understanding and reasoning. Nevertheless, LLMs still face challenges in updating knowledge and providing factual responses (Fan et al., 2024) . To address these issues, Retrieval-Augmented Generation (RAG) has emerged as a promising approach. By retrieving the most relevant documents from external knowledge bases and prepending them as contextual information to the original input, RAG substantially improves LLM performance on knowledge-intensive tasks (Ram et al., 2023) .
|
| 6 |
+
|
| 7 |
+
[p. 1 | section: 1 INTRODUCTION | type: Text]
|
| 8 |
+
While RAG enhances performance, its effectiveness is closely tied to the number of retrieved documents used, since a broader context increases the probability of encompassing critical evidence. As illustrated in Figure 1, performance was weakest without any retrieved documents (i.e., without RAG). Accuracy improved consistently as more documents were added to the context, ultimately exceeding the no-RAG baseline by over 10 Exact Match (EM) points. However, this performance gain came with two significant limitations: (1) a substantial increase in computational cost from processing a larger number of context tokens (Xu et al., 2024) , and (2) the model's difficulty in effectively leveraging all provided documents, often resulting in the omission of key information located in the middle of the context (Liu et al., 2023) .
|
| 9 |
+
|
| 10 |
+
[p. 1 | section: 1 INTRODUCTION | type: Text]
|
| 11 |
+
These limitations have motivated recent research efforts aimed at compressing the retrieved context (Jin et al., 2024b; Wu et al., 2025; Jin et al., 2024a; Zhang et al., 2024a) . Prominent approaches include document summarization (Xu et al., 2024) , key information extraction (Cao et al., 2024; Xu et al., 2024) , the construction of key supporting evidence (Jin et al., 2024b) , and noise filtering based on information theory (Zhu et al., 2024) . Despite recent progress, these methods have several notable shortcomings. First, compression often results in a performance trade-off. For instance, RECOMP
|
| 12 |
+
|
| 13 |
+
[p. 2 | section: 1 INTRODUCTION | type: FigureGroup]
|
| 14 |
+
Figure 1: Performance evolution with an increasing number of retrieved documents on two datasets. Traditional RAG requires more documents for better performance, while our method achieves comparable or superior results with significant token compression.
|
| 15 |
+
|
| 16 |
+
[p. 2 | section: 1 INTRODUCTION | type: Text]
|
| 17 |
+
(Xu et al., 2024) suffers a 3–5 point drop in EM score (Table 1) , making it unsuitable for accuracysensitive applications. Second, most compression methods are heuristic in nature. The models are typically trained to generate summaries that are generally good but not necessarily useful for the downstream answer-generation LLM. This limitation arises from the lack of an ideal supervisory signal that defines what an optimal summary should be for the downstream task. This fundamental gap hinders the end-to-end optimization of existing methods. Finally, some compression models (Zhu et al., 2024) have parameter counts comparable to the LLM that performs the end task, resulting in substantial computational costs that undermine the efficiency gains of compression.
|
| 18 |
+
|
| 19 |
+
[p. 2 | section: 1 INTRODUCTION | type: Text]
|
| 20 |
+
Addressing these critical shortcomings requires a method that aligns compression with downstream task requirements, thereby minimizing performance trade-offs. To bridge this gap, we propose CORE, a novel method designed to achieve lossless context compression for RAG. Unlike previous compression methods, CORE is optimized in an end-to-end manner. Since obtaining predefined summary labels for supervision is impractical, we instead use downstream task performance as a feedback signal to evaluate the compression model's output. This feedback enables iterative refinement of the compression policy, guiding the compression model toward improved downstream performance. To this end, we employ Group Relative Policy Optimization (GRPO), a technique particularly well-suited for this purpose (Liu et al., 2024; Shao et al., 2024; Chen et al., 2025a) . In our framework, the accuracy of the downstream QA task is formalized as a reward, with the compression policy optimized through group-wise relative comparisons. Furthermore, our compression model is substantially smaller than the downstream LLM, which significantly reduces the computational overhead associated with encoding retrieved documents.
|
| 21 |
+
|
| 22 |
+
[p. 2 | section: 1 INTRODUCTION | type: Text]
|
| 23 |
+
We evaluate CORE on four benchmark datasets: two single-hop QA datasets ( Natural Questions and TriviaQA ) and two multi-hop datasets ( HotpotQA and 2WikiMultihopQA ). As shown in Table 1, CORE achieves state-of-the-art performance across all baselines. With a compression ratio of 3%, our approach not only avoids performance degradation compared to prepending full documents but also improves the average EM score by 3.3 points. We further demonstrate two key advantages of our approach. First, the effectiveness of CORE is not tied to a specific model architecture, as demonstrated by the fact that lossless compression can be achieved when various models are trained as compressors (Figure 3) . Second, the compressor exhibits strong transferability: a compression model trained using feedback from one LLM generalizes effectively to other LLMs (Table 2) . Finally, an in-depth case study (Tables 4 and 5) provides a qualitative analysis of the benefits of CORE.
|
| 24 |
+
|
| 25 |
+
[p. 2 | section: 2 CORE-RAG | type: Text]
|
| 26 |
+
This section introduces our proposed method, COmpression via REinforcement learning (CORE), which is shown in Figure 2. First, we provide an overview of the entire workflow. Then, we detail the end-to-end training strategy for the compression model, which is designed to drastically reduce the number of document tokens while preserving task performance.
|
| 27 |
+
|
| 28 |
+
[p. 3 | section: 2 CORE-RAG | type: FigureGroup]
|
| 29 |
+
Figure 2: Overview of our method CORE. The upper section illustrates the inference pipeline. The lower section depicts the end-to-end training method for the compression model.
|
| 30 |
+
|
| 31 |
+
[p. 3 | section: 2.1 Problem Formulation | type: Text]
|
| 32 |
+
We adopt the same problem formulation as prior work (Xu et al., 2024). Given an input question q, a target output y, and a set of k retrieved documents D, our objective is to compress D with respect to q into a summary s that preserves the most useful information while using significantly fewer tokens than D. This summary s is then prepended to the original input q and fed into an LLM to generate the final answer for the downstream task. This overall pipeline is illustrated in the upper half of Figure 2. The process involves two key components: a compression model \pi_{\theta} \colon (q, D) \mapsto s and a large language model M \colon (s, q) \mapsto \hat{y} , which generates the predicted answer \hat{y} . We treat M as a black-box system and focus exclusively on training the compressor \pi_{\theta} . The compressor itself is also a language model, but it is intentionally designed to be significantly smaller than M to reduce the computational cost of encoding the retrieved documents.
|
| 33 |
+
|
| 34 |
+
[p. 3 | section: 2.2 Training the Compressor | type: Text]
|
| 35 |
+
Our compressor is designed to generate document summaries that are highly useful to the LLM (M) for downstream tasks. This objective is challenging because the criteria for an effective summary are task-dependent, and direct supervision is unavailable. We therefore formulate this as an end-to-end training problem and employ reinforcement learning to optimize the compressor without relying on pre-defined compression labels. The overall architecture of our training framework is illustrated in the lower portion of Figure 2. The following sections describe the key components of our approach: distillation warm-up, policy optimization, and reward calculation.
|
| 36 |
+
|
| 37 |
+
[p. 3 | section: 2.2.1 DISTILLATION FOR WARM-START | type: Text]
|
| 38 |
+
Due to the limited parameter size of our compression model, its capability for question-focused document summarization is constrained. To provide a strong initial policy for RL and ensure training stability, we employ knowledge distillation from a teacher model to initialize our compressor. Specifically, we first utilize a large-scale language model (DeepSeek-V3) as the teacher to generate summaries of retrieved documents related to the given question. We then evaluate the performance of the downstream LLM (M) on the QA task under two conditions: (1) with the teacher-generated summary \hat{s} prepended to the input question q, and (2) with the original question alone. The corresponding performance scores are denoted as p_{\text{summary}} and p_{\text{original}} , respectively. By comparing these results, we retain instances where p_{\text{summary}} > p_{\text{original}} , indicating that the summary enhances RAG performance. We also retain cases where p_{\text{original}} = 1 (i.e., the model produces a fully correct answer without the summary) and p_{\text{summary}} < p_{\text{original}} ; for these, we set the target summary \hat{s} to an empty string. All other instances are discarded. The resulting filtered and modified dataset is denoted as
|
| 39 |
+
|
| 40 |
+
[p. 4 | section: 2.2.1 DISTILLATION FOR WARM-START | type: Text]
|
| 41 |
+
\mathcal{X}_f , which is used for supervised fine-tuning of the compression model. The fine-tuning objective is defined as:
|
| 42 |
+
|
| 43 |
+
[p. 4 | section: 2.2.1 DISTILLATION FOR WARM-START | type: Text]
|
| 44 |
+
\mathcal{L}_{\text{distill}} = \frac{1}{|\mathcal{X}_f|} \sum_{(q,D,\hat{s}) \in \mathcal{X}_f} \mathcal{L}_{\text{CE}}(\pi_{\theta}(q,D),\hat{s}), \tag{1}
|
| 45 |
+
|
| 46 |
+
[p. 4 | section: 2.2.1 DISTILLATION FOR WARM-START | type: Text]
|
| 47 |
+
where \pi_{\theta}(q, D) denotes the output of the compression model and \mathcal{L}_{CE} is the cross-entropy loss. This distillation process yields a robust initialization for RL and promotes stability in subsequent training.
|
| 48 |
+
|
| 49 |
+
[p. 4 | section: 2.2.2 END-TO-END TRAINING WITH RL | type: Text]
|
| 50 |
+
Following the distillation phase, the compressor possesses a preliminary compression capability. However, as summaries from even the largest teacher models are not guaranteed to be optimal for the downstream task, further end-to-end optimization is necessary. We therefore formulate this optimization as a reinforcement learning problem. In this framework, the compressor functions as a policy that generates a summary from an input question and its corresponding documents. A reward function, which directly reflects performance on the downstream task (e.g., question-answering accuracy), then evaluates the summary's quality. The objective is to optimize the compressor's parameters to maximize the expected cumulative reward, thereby directly aligning its outputs with the downstream task's objectives.
|
| 51 |
+
|
| 52 |
+
[p. 4 | section: 2.2.2 END-TO-END TRAINING WITH RL | type: Text]
|
| 53 |
+
Specifically, we employ Group Relative Policy Optimization (GRPO) (Shao et al., 2024) algorithm. Unlike Proximal Policy Optimization (PPO), which trains a separate critic model, GRPO estimates the baseline directly from a group of rollouts. Given an existing policy, \pi_{\theta_{\text{old}}} , and a reference policy, \pi_{\theta_{\text{ref}}} , the GRPO objective maximizes the compressor policy \pi_{\theta} using G rollouts \tau = \{s_i\}_{i=1}^G \sim \pi_{\theta_{\text{old}}}(\cdot|x) , for each input x \sim \mathcal{D} :
|
| 54 |
+
|
| 55 |
+
[p. 4 | section: 2.2.2 END-TO-END TRAINING WITH RL | type: Equation]
|
| 56 |
+
\mathcal{J}(\theta) = \mathbb{E}_{x \sim \mathcal{D}, \ \{s_i\}_{i=1}^G \sim \pi_{\theta_{\text{old}}}(\cdot \mid x)} \frac{1}{G} \sum_{i=1}^G \left[ \min \left( \frac{\pi_{\theta}(s_i \mid x)}{\pi_{\theta_{\text{old}}}(s_i \mid x)} A_i, \ \text{clip} \left( \frac{\pi_{\theta}(s_i \mid x)}{\pi_{\theta_{\text{old}}}(s_i \mid x)}, 1 - \epsilon, 1 + \epsilon \right) A_i \right) - \beta \mathbb{D}_{\text{KL}} \left( \pi_{\theta} \parallel \pi_{\theta_{\text{ref}}} \right) \right], (2)
|
| 57 |
+
|
| 58 |
+
[p. 4 | section: 2.2.2 END-TO-END TRAINING WITH RL | type: Text]
|
| 59 |
+
where A_i = (r_i - \text{mean}(\{r_j\}_{j=1}^G))/\text{std}(\{r_j\}_{j=1}^G) represents the normalized advantage of the i-th rollout within the group, \epsilon is the clipping ratio, and \beta is the coefficient for the KL divergence penalty. The inclusion of the KL divergence term ensures that the updated policy does not deviate significantly from the reference policy.
|
| 60 |
+
|
| 61 |
+
[p. 4 | section: 2.2.3 REWARD CALCULATION | type: Text]
|
| 62 |
+
Generating End-Task Output. It is important to note that the reward is not computed directly from the compressor's output summary. Instead, the summary s generated by the compressor is prepended to the original input question q, and this combined input is fed into the LLM M:(s,q)\mapsto \hat{y} to produce a predicted answer \hat{y} . The reward is then calculated by comparing \hat{y} to the gold answer y. Throughout the training process, the parameters of M remain fixed and are not updated.
|
| 63 |
+
|
| 64 |
+
[p. 4 | section: 2.2.3 REWARD CALCULATION | type: Text]
|
| 65 |
+
Computing Rewards. We design simple rule-based rewards based on end-task performance to guide the compressor's improvement, which consists of two components:
|
| 66 |
+
|
| 67 |
+
[p. 4 | section: 2.2.3 REWARD CALCULATION | type: Text]
|
| 68 |
+
• EM Reward ( r_{\rm EM} ). We employ EM as the main reward function, which is a widely adopted metric for evaluating the accuracy of QA tasks. The EM reward is binary: it yields a value of 1 if the generated answer perfectly matches the ground truth, and 0 otherwise.
|
| 69 |
+
|
| 70 |
+
[p. 4 | section: 2.2.3 REWARD CALCULATION | type: Equation]
|
| 71 |
+
r_{\rm EM} = \begin{cases} 1 & \text{if } y = \hat{y}, \\ 0 & \text{otherwise.} \end{cases} (3)
|
| 72 |
+
|
| 73 |
+
[p. 4 | section: 2.2.3 REWARD CALCULATION | type: Text]
|
| 74 |
+
• F1 Reward (r_{\rm F1}) . Since exact matches occur infrequently in practice, relying solely on EM rewards leads to sparse reward signals. Furthermore, the EM metric fails to distinguish between partially correct answers, as all non-exact matches receive zero reward. Therefore, we introduce F1 reward, which provides a finer-grained evaluation by measuring the degree of partial match.
|
| 75 |
+
|
| 76 |
+
[p. 4 | section: 2.2.3 REWARD CALCULATION | type: Equation]
|
| 77 |
+
r_{\rm FI} = \frac{2 \times I_N}{P_N + R_N},\tag{4}
|
| 78 |
+
|
| 79 |
+
[p. 4 | section: 2.2.3 REWARD CALCULATION | type: Text]
|
| 80 |
+
where P_N denotes the number of tokens in the predicted answer, R_N denotes the number of tokens in the gold answer, and I_N is the number of intersecting tokens between the two answers.
|
| 81 |
+
|
| 82 |
+
[p. 5 | section: 2.2.3 REWARD CALCULATION | type: Text]
|
| 83 |
+
The final reward function combines these reward signals through weighted summation:
|
| 84 |
+
|
| 85 |
+
[p. 5 | section: 2.2.3 REWARD CALCULATION | type: Equation]
|
| 86 |
+
r = r_{\rm EM} + \alpha \cdot r_{\rm Fl},\tag{5}
|
| 87 |
+
|
| 88 |
+
[p. 5 | section: 2.2.3 REWARD CALCULATION | type: Text]
|
| 89 |
+
where α ∈ (0, 1] is a hyperparameter that controls the relative contribution of the F1 reward.
|
| 90 |
+
|
| 91 |
+
[p. 5 | section: 2.2.4 TRAINING TEMPLATE | type: Text]
|
| 92 |
+
Figure 5 displays the prompt employed to train the compressor model for generating a summary of the retrieved documents, conditioned on the given question. This prompt is notably concise. For end-task answer generation, the prompt provided to the LLM M is illustrated in Figure 6, which incorporates few-shot in-context examples, the (generated summary of) retrieved documents, and the question.
|
| 93 |
+
|
| 94 |
+
[p. 5 | section: 2.2.5 EFFICIENCY ANALYSIS | type: Text]
|
| 95 |
+
Training Efficiency. Since our method employs reinforcement learning for training, it incurs greater time and computational costs compared to approaches that do not utilize reinforcement learning (Xu et al., 2024; Cao et al., 2024) . However, our training process only optimizes a lightweight compressor model with relatively few parameters, while the larger generator LLM responsible for producing task answers remains fixed and is not updated during training. This design ensures high training efficiency—for instance, training one epoch takes approximately 2 hours using eight H20 GPUs, and convergence is typically achieved within just two epochs. In contrast, other reinforcement learning-based methods, such as ReSearch (Chen et al., 2025a) and R1-Searcher (Song et al., 2025) , require direct fine-tuning of the large generator LLM, leading to considerably higher training time and resource consumption. Furthermore, it is important to emphasize that our method exhibits strong generalization capability. As shown in Section 3.3, a model trained only once demonstrates broad applicability, thereby reducing the need for frequent retraining and further lowering the overall training cost.
|
| 96 |
+
|
| 97 |
+
[p. 5 | section: 2.2.5 EFFICIENCY ANALYSIS | type: Text]
|
| 98 |
+
Inference Efficiency. Our method significantly enhances inference efficiency. In contrast to RAG approaches that do not employ a compressor—and thus require the generator LLM to directly encode lengthy documents, often spanning thousands of tokens—our approach introduces a lightweight compressor that processes long documents and summarizes them into compact representations of only a few dozen tokens before feeding them to the generator LLM. Since the compressor is an order of magnitude smaller in parameter size than the generator LLM, it substantially reduces the encoding time that would otherwise be incurred by the generator, leading to notable gains in inference efficiency. It is also important to note that the use of reinforcement learning does not adversely affect inference efficiency, as it is only involved during the training phase.
|
| 99 |
+
|
| 100 |
+
[p. 5 | section: 3.1 EXPERIMENTAL SETTINGS | type: Text]
|
| 101 |
+
Datasets and Evaluation Metrics. We evaluate our method on four benchmark datasets: two single-hop question-answering datasets, Natural Questions (NQ) (Kwiatkowski et al., 2019) and TriviaQA (Joshi et al., 2017) , as well as two multi-hop question-answering datasets, HotpotQA (Yang et al., 2018) and 2WikiMultihopQA (Ho et al., 2020) . Results are reported on the test sets of Natural Questions and TriviaQA, as well as the development sets of HotpotQA and 2WikiMultihopQA. Following RECOMP (Xu et al., 2024) , the performance is measured using Exact Match and token-level F1 scores, while efficiency is assessed by the number of tokens provided in the context.
|
| 102 |
+
|
| 103 |
+
[p. 5 | section: 3.1 EXPERIMENTAL SETTINGS | type: Text]
|
| 104 |
+
Compression Model (πθ). We trained our compression model using Qwen2.5-1.5B-Instruct to generate summaries of the retrieved documents. To evaluate the effect of using different models as compressors, we also trained compressors using Llama3.2-1B-Instruct and Llama3.2-3B-Instruct (Section 3.3) .
|
| 105 |
+
|
| 106 |
+
[p. 5 | section: 3.1 EXPERIMENTAL SETTINGS | type: Text]
|
| 107 |
+
Large Language Model (M). We use Qwen2.5-14B-Instruct as the primary LLM model M to generate predicted answers which are used to guide the training of the compressor. To evaluate the generalization ability of our method, we also transfer to another LLM model, LLama3.1-8B-Instruct (Table 2) .
|
| 108 |
+
|
| 109 |
+
[p. 6 | section: 3.1 EXPERIMENTAL SETTINGS | type: TableGroup]
|
| 110 |
+
Table 1: Open-domain QA results using Qwen2.5-14B-Instruct as the downstream LLM (M). The reported token counts represent the length of in-context documents, excluding few-shot examples. RECOMP, NoiseFilter-IB and our method CORE are all trained using Qwen2.5-1.5B-Instruct. NQ 7 TriviaQA L F IotpotQ. A 2Wiki Multiho pQA EM F1 # tok EM F1 # tok EM F1 # tok EM F1 # tok No Retrieval 21.36 30.97 0 53.23 59.98 0 21.05 29.48 0 26.11 29.51 0 RAG without compression on Top1 Document 34.46 44.41 142 60.82 68.70 143 29.20 38.93 147 26.79 31.87 153 Top3 Documents 37.78 48.45 427 62.60 71.02 430 31.64 41.87 442 27.89 33.58 460 Top5 Documents 38.03 49.16 712 64.10 72.48 715 32.99 43.69 737 29.64 35.21 766 Top10 Documents 38.67 50.03 1425 64.40 72.92 1428 33.95 44.88 1471 31.04 36.75 1531 Compression of top 5 do cuments ; BM25 25.23 36.47 37 55.36 63.90 39 24.18 35.73 71 25.42 30.29 68 Qwen2.5-1.5B 31.94 43.03 36 57.99 66.70 30 27.36 37.47 33 25.93 31.18 32 DeepSeek-V3 (671B) 37.73 50.39 54 64.13 73.20 50 33.59 44.83 48 27.99 32.67 92 RECOMP-Abs (1.5B) 34.18 46.26 58 60.31 68.50 53 28.96 39.95 56 30.25 36.73 52 RECOMP-Ext (1.5B) 33.84 46.05 56 60.18 68.39 48 29.93 41.09 45 30.78 37.07 51 NoiseFilter-IB (1.5B) 35.15 45.94 48 59.51 68.15 35 27.97 38.62 38 27.85 34.69 40 LongLLMLingua (1.5B) 33.65 43.15 152 58.96 66.82 148 28.03 38.49 149 29.37 33.62 153 QGC (1.5B) 36.23 45.88 49 61.02 68.45 47 29.16 40.05 45 31.14 36.83 51 CORE (1.5B) 41.02 50.40 46 65.63 72.55 32 33.67 45.06 36 36.72 42.05 49 Compression of top 10 a locumen ts (with t the comp ressor ti rained or ı top 5 d locs) BM25 25.91 36.88 38 55.28 63.16 37 23.49 35.01 68 25.61 30.54 65 Qwen2.5-1.5B 32.94 44.84 40 58.45 67.31 33 28.17 38.48 36 26.22 31.57 34 DeepSeek-V3 (671B) 37.79 51.07 56 65.29 74.45 53 34.62 45.69 50 29.00 34.64 40 RECOMP-Abs (1.5B) 34.40 46.93 59 61.42 69.88 52 31.54 42.92 52 31.98 38.16 49 RECOMP-Ext (1.5B) 33.96 46.34 60 61.03 69.51 50 31.92 43.18 55 32.52 38.87 44 NoiseFilter-IB (1.5B) 35.36 46.24 50 59.92 68.32 38 28.21 38.83 38 28.63 35.16 42 LongLLMLingua (1.5B) 33.78 43.37 154 59.17 66.97 150 28.33 38.95 148 29.62 34.11 151 QGC (1.5B) 36.03 45.62 50 61.23 68.74 49 29.12 39.63 46 31.71 37.52 50 CORE (1.5B) 41.88 51.26 52 66.76 73.64 33 34.68 46.35 37 37.99 43.28 48
|
| 111 |
+
|
| 112 |
+
[p. 6 | section: 3.1 EXPERIMENTAL SETTINGS | type: Text]
|
| 113 |
+
Retrieval Corpus and Retrievers. Following previous studies (Xu et al., 2024), we use the Wikipedia corpus from December 20, 2018, as the retrieval source for all four datasets. The articles are segmented into non-overlapping 100-word documents. To ensure that our method is not dependent on a specific retriever, we experiment with several mainstream retrievers. Specifically, we use DPR (Karpukhin et al., 2020) for NQ, a hybrid of DPR and BM25 (Robertson et al., 1995) for TriviaQA, and the Contriever model (Izacard et al., 2021) trained on the MS MARCO dataset (Nguyen et al., 2016) for HotpotQA and 2WikiMultihopQA.
|
| 114 |
+
|
| 115 |
+
[p. 6 | section: 3.1 EXPERIMENTAL SETTINGS | type: Text]
|
| 116 |
+
Baselines. To evaluate the effectiveness of our method, we compared it against various baselines. First, we evaluated the uncompressed approach—retaining the original in-context RALM setup—by prepending the top 1, 3, 5, and 10 retrieved documents to the prompt. We also tested alternative compression methods, including the traditional BM25 algorithm (which ranks sentences by their similarity to the input), off-the-shelf Qwen2.5-1.5B-Instruct model (with comparable parameter size to our approach), and DeepSeek-V3 model (671B parameters, far exceeding our compressor's capacity). Furthermore, we included state-of-the-art context compression methods for RAG, RECOMP (Xu et al., 2024), NoiseFilter-IB (Zhu et al., 2024), LongLLMLingua (Jiang et al., 2024) and QGC (Cao et al., 2024). For RECOMP, we evaluated both its abstractive and extractive variants. To ensure a fair comparison, all trainable approaches were all trained using the same model.
|
| 117 |
+
|
| 118 |
+
[p. 6 | section: 3.1 EXPERIMENTAL SETTINGS | type: Text]
|
| 119 |
+
Implementation Details. For the distillation warm-up phase, we perform full-parameter supervised fine-tuning on the off-the-shell language model for two epochs using LLaMA-Factory ^1 . This warmed-up model then serves as the initializer for the subsequent reinforcement learning phase. We adopt the Verl framework ^2 for RL training. The initialized compression model is trained for two epochs on each dataset. Training is conducted on eight NVIDIA H20 GPUs using full parameter GRPO optimization, with a learning rate of 1e-5, a batch size of 256, five rollouts per sample, and a KL loss coefficient of 0.001. The downstream LLM (M) used for reward generation is served using the vLLM inference engine during RL training.
|
| 120 |
+
|
| 121 |
+
[p. 6 | section: 3.1 EXPERIMENTAL SETTINGS | type: Footnote]
|
| 122 |
+
& lt;sup>1</sup>
|
| 123 |
+
|
| 124 |
+
[p. 6 | section: 3.1 EXPERIMENTAL SETTINGS | type: Footnote]
|
| 125 |
+
& lt;sup>2</sup>
|
| 126 |
+
|
| 127 |
+
[p. 7 | section: 3.2 OVERALL PERFORMANCE | type: Text]
|
| 128 |
+
The detailed comparison results are presented in Table 1. We evaluate the following approaches: traditional RAG without compression using the top 1, 3, 5, and 10 documents prepended to the original input; BM25-based compression; off-the-shelf LLMs (Qwen2.5-1.5B-Instruct and DeepSeek-V3); and state-of-the-art trainable RAG compressors (RECOMP-Abstractive, RECOMP-Extractive, and NoiseFilter-IB). For fair comparison, all trainable methods were trained using the same backbone model, Qwen2.5-1.5B-Instruct. These compressors were trained on five-document inputs, and we report their performance both on in-domain five-document compression and out-of-domain generalization to ten-document compression.
|
| 129 |
+
|
| 130 |
+
[p. 7 | section: 3.2 OVERALL PERFORMANCE | type: Text]
|
| 131 |
+
RAG versus No RAG. As shown in Table 1, prepending the original input with retrieved documents yields a substantial improvement over the no-retrieval baseline, indicating that these documents provide valuable information for generating the answer. Performance improves as the number of retrieved documents increases from 1 to 10, albeit with diminishing returns—a trend attributable to the decreasing relevance of lower-ranked documents. However, this performance gain comes at the cost of a significant increase in the number of additional tokens the LLM must encode, rising from 0 to over 1,400 tokens.
|
| 132 |
+
|
| 133 |
+
[p. 7 | section: 3.2 OVERALL PERFORMANCE | type: Text]
|
| 134 |
+
Lossless Compression of CORE. Our compressor was trained using a context of five documents. As presented in Table 1, compared to prepending the full content of all five documents to the original input (i.e., the uncompressed baseline), our method achieves a high compression rate of approximately 6% with no loss in performance . Remarkably, on all four datasets, the approach not only maintains performance but also enhances EM by 1 to 7 points. For example, on NQ, the model achieves an EM of 41.02 with compressed input, surpassing the uncompressed score of 38.03.
|
| 135 |
+
|
| 136 |
+
[p. 7 | section: 3.2 OVERALL PERFORMANCE | type: Text]
|
| 137 |
+
Comparison with Compression Baselines. When compressing the top five documents, all baseline compression methods result in performance degradation to varying degrees compared to the uncompressed baseline. Specifically, BM25 leads to a substantial performance drop. Using the offthe-shelf Qwen2.5-1.5B-Instruct model for compression yields better results than BM25 but still underperforms relative to the uncompressed baseline. Surprisingly, even the large-scale DeepSeek-V3 model (with 671B parameters) achieves only near-lossless compression on TriviaQA and HotpotQA, while performance on NQ and 2Wiki remains below the uncompressed baseline. As for the trained compressors (RECOMP, NoiseFilter-IB, LongLLMLingua, and QGC), all of them exhibit performance degradation compared to no compression. The decline generally ranges from 2 to 6 EM poin ts across nearly all datasets. In contrast, our method, CORE, delivers the best performance. It not only surpasses compression methods of comparable size by 4-5 EM points but also maintains an advantage over the hundreds-of-times-larger DeepSeek model. This clearly demonstrates the benefit and importance of end-to-end optimization.
|
| 138 |
+
|
| 139 |
+
[p. 7 | section: 3.2 OVERALL PERFORMANCE | type: Text]
|
| 140 |
+
Generalization to 10-Doc Compression. When generalizing the trained compressors to handle the top-10 documents without retraining, the aforementioned conclusions remain valid. CORE continues to achieve lossless compression and performs best among all compression methods. On NQ, it achieves a token compression ratio of 3.6% while improving the EM by 3.2 points compared to using all ten documents. Similar trends are observed on TriviaQA, with a compression ratio of 2.3% and a gain of 2.4 EM points relative to the full-document baseline. On HotpotQA, CORE achieves a compression ratio of 2.5% and an improvement of 0.7 EM points. For 2WikiMultihopQA, it obtains a compression ratio of 3.1% along with a notable increase of 6.9 EM points.
|
| 141 |
+
|
| 142 |
+
[p. 7 | section: 3.3 ROBUSTNESS AND GENERALIZATION ABILITY ANALYSIS | type: Text]
|
| 143 |
+
Robustness of CORE Across Compressor Architectures. To evaluate whether the effectiveness of CORE depends on the choice of compressor model, we compared the performance of compressors trained using different model architectures—while keeping the downstream LLM (Qwen2.5-14B-Instruct) fixed. The compressors tested include LLaMA3.2-1B-Instruct, Qwen2.5-1.5B-Instruct, and LLaMA3.2-3B-Instruct, which vary in architecture and parameter count. As shown in Figure 3, the results indicate that: (1) These trained compressors consistently achieve lossless compression and outperform the uncompressed baseline (represented by the red reference line in the figure, which corresponds to prepending the full document content), confirming that our training framework is robust and not tied to a specific compressor architecture. (2) Compression performance improves as the size of the compressor model increases, consistent with scaling laws. More detailed results can be found in Tables 7 and 8.
|
| 144 |
+
|
| 145 |
+
[p. 8 | section: 3.3 ROBUSTNESS AND GENERALIZATION ABILITY ANALYSIS | type: FigureGroup]
|
| 146 |
+
Figure 3: The impact of different models used to train the compressor.
|
| 147 |
+
|
| 148 |
+
[p. 8 | section: 3.3 ROBUSTNESS AND GENERALIZATION ABILITY ANALYSIS | type: TableGroup]
|
| 149 |
+
Table 2: Zero-shot transfer of the trained compressor to Llama-3.1-8B-Instruct. NQ 7 TriviaQA HotpotQA 2WikiMultihopQA EM F1 # tok EM F1 # tok EM F1 # tok EM F1 # tok No Retrieval 24.04 34.91 0 55.64 62.57 0 19.93 27.75 0 27.64 31.18 0 RAG without compres ssion Top1 Document 33.80 44.06 142 59.17 67.50 143 27.95 37.49 147 28.41 33.43 153 Top3 Documents 36.87 47.81 427 61.13 70.06 430 30.17 40.71 442 28.67 34.23 460 Top5 Documents 37.65 48.87 712 62.26 71.04 715 31.44 42.16 737 29.43 35.18 766 Top10 Documents 38.12 49.93 1425 63.95 72.71 1428 32.19 42.62 1471 30.45 36.04 1531 Compression of top 5 docume nts Qwen2.5-1.5B 32.60 44.21 36 56.76 65.77 30 26.86 36.90 33 25.45 30.88 32 DeepSeek-V3 (671B) 37.56 50.11 54 62.52 72.34 50 33.05 44.25 48 28.64 33.87 92 RECOMP-Abs (1.5B) 33.41 45.50 58 58.50 67.37 53 28.85 39.76 56 31.63 37.81 52 RECOMP-Ext (1.5B) 33.12 45.06 60 57.98 66.84 55 29.03 40.04 52 31.85 38.02 55 CORE (1.5B) 40.72 50.00 46 64.08 71.13 32 32.17 43.71 36 35.99 41.42 49 Compression of top 1 0 docum ents Qwen2.5-1.5B 32.88 44.66 40 57.44 66.56 33 27.31 37.31 36 25.80 31.30 34 DeepSeek-V3 (671B) 37.49 51.28 56 63.79 73.80 53 34.24 45.35 50 31.45 37.09 40 RECOMP-Abs (1.5B) 34.18 46.80 59 59.69 68.89 52 30.17 41.42 55 33.61 39.78 44 RECOMP-Ext (1.5B) 34.06 46.55 60 59.33 68.71 50 30.52 41.98 55 33.52 39.42 44 CORE (1.5B) 41.77 51.27 52 65.25 72.45 33 33.25 45.09 37 37.59 42.87 48
|
| 150 |
+
|
| 151 |
+
[p. 8 | section: 3.3 ROBUSTNESS AND GENERALIZATION ABILITY ANALYSIS | type: Text]
|
| 152 |
+
Transferability of CORE Across Downstream LLMs. We evaluate the transferability of our trained compressor and other baseline compressors to a new downstream LLM, the LLaMA-3.1-8B model. The results are presented in Table 2. Note that all trainable compressors, including our own, were trained using feedback generated by Qwen2.5-14B-Instruct. The findings reveal that existing trained compressors (e.g., RECOMP) exhibit limited generalization capability, as indicated by a larger performance gap relative to the baseline of prepending full documents. In contrast, CORE demonstrates stronger generalization, achieving lossless compression on the new downstream LLM. Specifically, it not only maintains performance but also surpasses the full-document baseline (i.e., no compression) across all four datasets while retaining a high compression rate. These results suggest that the summaries produced by our method are inherently high-quality and preserve key information necessary for accurate answering, thereby enabling effective transfer to other LLMs.
|
| 153 |
+
|
| 154 |
+
[p. 8 | section: 3.4 ABLATION STUDY | type: Text]
|
| 155 |
+
Table 3 presents an ablation study on the two stages of our method: distillation and GRPO. Here, "w/o distillation" denotes training the compressor with GRPO directly, bypassing the warm-start phase, while "w/o GRPO" indicates using only the distillation step without subsequent reinforcement learning. The results demonstrate that removing either component leads to performance degradation, confirming the necessity of both. In addition, the decline is more substantial when GRPO is omitted, highlighting the crucial role of reinforcement learning in the absence of explicit supervision. Distillation injects external knowledge into the model, providing a favorable starting point for RL training and thereby enabling RL to more effectively unlock the compressor's full potential.
|
| 156 |
+
|
| 157 |
+
[p. 9 | section: 3.4 ABLATION STUDY | type: TableGroup]
|
| 158 |
+
Table 3: Ablation study. Dataset Metric w/o distillation w/o GRPO CORE EM 36.37 34.18 41.02 NQ F1 46.91 46.26 50.40 EM 65.23 60.31 65.63 TQA F1 72.41 68.50 72.55 EM 32.01 28.96 33.67 HotpotQA F1 42.73 39.95 45.06 EM 31.40 30.25 36.72 2Wiki F1 36.89 36.73 42.05
|
| 159 |
+
|
| 160 |
+
[p. 9 | section: 3.4 ABLATION STUDY | type: FigureGroup]
|
| 161 |
+
Figure 4: The impact of α.
|
| 162 |
+
|
| 163 |
+
[p. 9 | section: 3.5 THE IMPACT OF α. | type: Text]
|
| 164 |
+
Figure 4 illustrates the performance of our method under different values of α, which controls the weighting coefficient of the F1 reward term. Setting α = 0 corresponds to using only the EM reward. Results indicate that performance improves when α > 0 across all datasets, demonstrating the effectiveness of the F1 reward in mitigating the sparsity issue associated with the EM reward. However, the optimal value of α is dataset-dependent; values between 0.2 and 0.5 generally yield strong performance.
|
| 165 |
+
|
| 166 |
+
[p. 9 | section: 3.6 CASE STUDY | type: Text]
|
| 167 |
+
To conduct an in-depth analysis of the advantages of our compressor, we performed case studies on one single-hop QA dataset (NQ) and one multi-hop QA dataset (2Wiki), with the results presented in Table 4 and Table 5, respectively. For each case, we compared the summaries generated by off-the-shelf Qwen2.5-1.5B-Instruct, RECOMP, and our method CORE based on the same set of documents, as well as the predicted answers generated by the LLM after prepending these summaries. As shown in the tables, although the summaries produced by off-the-shelf Qwen2.5-1.5B are concise, they largely fail to capture key information relevant to answering the question. In contrast, RECOMP demonstrates better summarization capability but is prone to being overwhelmed by lengthy documents, resulting in misjudgments and even generating misleading information—such as the statement in Table 4: " The U.S. stopped drafting for the Vietnam War after the Selective Service System was officially abolished in December 1972 "—which leads the downstream LLM to produce the incorrect answer "1972". Our method, CORE, accurately extracts answer-critical information from lengthy documents, exemplified by the summary: " The U.S. stopped drafting for the Vietnam War in 1973 after announcing the decision by Secretary of Defense Melvin Laird earlier that year ", thereby enabling the LLM to generate the correct answer "1973". This indicates that our compressor, trained with an end-task target-oriented reinforcement learning optimization strategy, can produce document summaries that are most helpful for answering the given question while effectively filtering out irrelevant information.
|
| 168 |
+
|
| 169 |
+
[p. 9 | section: 4 RELATED WORK | type: Text]
|
| 170 |
+
Context Compression in RAG. RAG enhances the performance of LLMs on knowledge-intensive tasks by retrieving the most relevant documents from extensive knowledge bases and prepending them as contextual information to the original input (Ram et al., 2023; Fan et al., 2024; Lin et al., 2023; Shi et al., 2023) . However, this approach requires the LLM to process significantly longer token sequences, resulting in increased computational costs. To mitigate this issue, researchers have begun to explore methods for compressing retrieved documents in RAG systems (Xu et al., 2024; Cao et al., 2024; Jin et al., 2024b; Zhu et al., 2024; Kim & Thorne, 2025; Rau et al., 2024; Wu et al., 2025; Louis et al., 2025; Jin et al., 2024a; Li et al., 2024a; b; Zhang et al., 2024a) . For instance, Xu et al. (2024) propose compressing retrieved documents into textual summaries before in-context augmentation, training the compressor through data selection and distillation. Similarly, Cao et al. (2024) introduce a Query-Guided Compressor (QGC) that uses queries to guide the compression process, effectively preserving essential information. Jin et al. (2024b) refine retrieved documents into Key Supporting Evidence (KSE) through a combination of knowledge synthesis, supervised fine-tuning (SFT), and preference alignment. Meanwhile, Zhu et al. (2024) present an informationtheoretic approach called NoiseFilter-IB, which filters noise by maximizing the mutual information
|
| 171 |
+
|
| 172 |
+
[p. 10 | section: 4 RELATED WORK | type: Text]
|
| 173 |
+
between the compressed content and the ground-truth output. Additionally, Kim & Thorne (2025) train a compressor to extract critical information using reward functions based on predefined heuristic rules. However, most of these methods are heuristic in nature, and due to the lack of ideal compression labels, the compressed content they produce cannot be guaranteed to benefit downstream LLMs. In contrast, our method, CORE, adopts an end-to-end optimization approach to address these limitations.
|
| 174 |
+
|
| 175 |
+
[p. 10 | section: 4 RELATED WORK | type: Text]
|
| 176 |
+
Reinforcement Learning. Reinforcement learning (RL) has recently achieved notable success, enabling LLMs to develop reasoning capabilities without explicit step-by-step supervision (Liu et al., 2024; Shao et al., 2024; Guo et al., 2025) . Building on these advances, several studies have applied RL to improve RAG (Ke et al., 2024) . For example, Kulkarni et al. (2024) use RL to autonomously decide whether to retrieve documents, while Zhang et al. (2024b) employ RL to optimize the ranking of retrieved documents. Similarly, Mao et al. (2024) propose a framework for training query rewriting models for RAG without relying on human annotations. MMOA-RAG (Chen et al., 2025b) enhances RAG through multi-agent reinforcement learning, incorporating a query rewriter, retriever, and generator. Meanwhile, RL has been applied to address other challenges in RAG, such as enhancing the quality of retrieved content. For instance, Oreo (Li & Ramakrishnan, 2025) trains a reconstructor with PPO and ROUGE-based rewards to rewrite passages for improved performance. In contrast, our work CORE tackles the distinct problem of computational efficiency. Our approach leverages the GRPO algorithm, direct task-performance rewards, and a lightweight compressor to enhance efficiency without compromising accuracy. Moreover, a line of research has utilized RL to integrate search with reasoning in a step-by-step manner (Singh et al., 2025) . For instance, Chen et al. (2025a) introduce a framework called ReSearch, which trains LLMs to reason with search using RL, without requiring supervised data for reasoning steps. Related approaches include R1- Searcher (Song et al., 2025) , WebThinker (Li et al., 2025) , and DeepResearcher (Zheng et al., 2025) . Although these methods are end-to-end, they differ fundamentally from our problem setting. These approaches typically involve directly training the LLM generator—which tends to be a large-scale model with a high parameter count. However, such training becomes infeasible when the model is a black box (e.g., GPT-4), as internal weights or gradients are inaccessible. Furthermore, these methods introduce extensive internal thinking processes that substantially increase context length and inference time. In contrast, our approach treats the generator LLM as a fixed black-box model and trains only a lightweight plug-in compressor to produce document summaries. This design significantly improves both training and inference efficiency. A parallel line of work applies RL to prompt compression. For example, PCRL (Jung & Kim, 2024) and TACO-RL (Shandilya et al., 2025) learn to compress prompts via token-level keep-or-drop decisions, using the similarity between model outputs with compressed and original prompts as the reward. Our work, CORE, introduces key distinctions in both objective and methodology. First, we target the more complex problem of compressing multiple retrieved documents in RAG, rather than single prompts. Second, we employ a generative compressor that can rephrase and synthesize content, instead of making token-level binary actions. Most importantly, we optimize compression using a direct task-performance reward with GRPO, which enables us to achieve true lossless compression at significantly higher ratios—a stark contrast to the performance degradation observed in prior prompt compression methods.
|
| 177 |
+
|
| 178 |
+
[p. 10 | section: 5 CONCLUSION | type: Text]
|
| 179 |
+
This paper analyzes the limitations of current context compression methods for RAG. A primary challenge is the lack of optimal reference summaries for supervised learning, which often results in performance degradation in downstream tasks. To overcome this, we frame context compression as a reinforcement learning problem, utilizing downstream task performance as a reward signal to train the compression policy, thereby enabling end-to-end optimization. Extensive experiments demonstrate that our proposed method, CORE, achieves effectively lossless compression by maintaining a high compression ratio while preserving original task performance. Surprisingly, CORE not only preserves but actually enhances performance on all downstream tasks. Further in-depth analysis provides additional insights into the efficacy of our approach.
|
iclr26/6FyYLNnDL6/paper.blocks.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
iclr26/6FyYLNnDL6/paper.md
ADDED
|
@@ -0,0 +1,627 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
|
| 2 |
+
|
| 3 |
+
{0}------------------------------------------------
|
| 4 |
+
|
| 5 |
+
# CORE: PERFORMANCE-LOSSLESS CONTEXT COM-PRESSION FOR RETRIEVAL-AUGMENTED GENERA-TION
|
| 6 |
+
|
| 7 |
+
Anonymous authors Paper under double-blind review
|
| 8 |
+
|
| 9 |
+
<span id="page-0-0"></span>**000**
|
| 10 |
+
|
| 11 |
+
**003 004**
|
| 12 |
+
|
| 13 |
+
**006**
|
| 14 |
+
|
| 15 |
+
**024**
|
| 16 |
+
|
| 17 |
+
**028 029 030**
|
| 18 |
+
|
| 19 |
+
**052 053**
|
| 20 |
+
|
| 21 |
+
## ABSTRACT
|
| 22 |
+
|
| 23 |
+
Retrieval-Augmented Generation (RAG) has emerged as a promising approach to enhance the timeliness of knowledge updates and the factual accuracy of responses in large language models. However, incorporating a large number of retrieved documents significantly increases input length, leading to higher computational costs. Existing approaches to document compression tailored for RAG often degrade task performance, as they typically rely on predefined heuristics in the absence of clear compression guidelines. These heuristics fail to ensure that the compressed content effectively supports downstream tasks. To address these limitations, we propose CORE, a novel method for lossless context compression in RAG. CORE is optimized end-to-end and does not depend on predefined compression labels, which are often impractical to obtain. Instead, it leverages downstream task performance as a feedback signal, iteratively refining the compression policy to enhance task effectiveness. Extensive experiments across four datasets demonstrate the effectiveness of CORE. With a high compression ratio of 3%, CORE not only prevents performance degradation compared to including full documents (i.e., without compression) but also improves the average Exact Match (EM) score by 3.3 points. The code for CORE is available at <https://anonymous.4open.science/r/CORE-28B4>.
|
| 24 |
+
|
| 25 |
+
## 1 INTRODUCTION
|
| 26 |
+
|
| 27 |
+
Large language models (LLMs) have undergone rapid development in recent years, significantly enhancing performance across various language tasks due to their emergent capabilities in semantic understanding and reasoning. Nevertheless, LLMs still face challenges in updating knowledge and providing factual responses [\(Fan et al., 2024\)](#page-10-0). To address these issues, Retrieval-Augmented Generation (RAG) has emerged as a promising approach. By retrieving the most relevant documents from external knowledge bases and prepending them as contextual information to the original input, RAG substantially improves LLM performance on knowledge-intensive tasks [\(Ram et al., 2023\)](#page-11-0).
|
| 28 |
+
|
| 29 |
+
While RAG enhances performance, its effectiveness is closely tied to the number of retrieved documents used, since a broader context increases the probability of encompassing critical evidence. As illustrated in Figure [1,](#page-1-0) performance was weakest without any retrieved documents (i.e., without RAG). Accuracy improved consistently as more documents were added to the context, ultimately exceeding the no-RAG baseline by over 10 Exact Match (EM) points. However, this performance gain came with two significant limitations: (1) a substantial increase in computational cost from processing a larger number of context tokens [\(Xu et al., 2024\)](#page-12-0), and (2) the model's difficulty in effectively leveraging all provided documents, often resulting in the omission of key information located in the middle of the context [\(Liu et al., 2023\)](#page-11-1).
|
| 30 |
+
|
| 31 |
+
These limitations have motivated recent research efforts aimed at compressing the retrieved context [\(Jin et al., 2024b;](#page-10-1) [Wu et al., 2025;](#page-12-1) [Jin et al., 2024a;](#page-10-2) [Zhang et al., 2024a\)](#page-12-2). Prominent approaches include document summarization [\(Xu et al., 2024\)](#page-12-0), key information extraction [\(Cao et al., 2024;](#page-10-3) [Xu](#page-12-0) [et al., 2024\)](#page-12-0), the construction of key supporting evidence [\(Jin et al., 2024b\)](#page-10-1), and noise filtering based on information theory [\(Zhu et al., 2024\)](#page-12-3). Despite recent progress, these methods have several notable shortcomings. First, compression often results in a performance trade-off. For instance, RECOMP
|
| 32 |
+
|
| 33 |
+
{1}------------------------------------------------
|
| 34 |
+
|
| 35 |
+
**059**
|
| 36 |
+
|
| 37 |
+
**061**
|
| 38 |
+
|
| 39 |
+
**072 073 074**
|
| 40 |
+
|
| 41 |
+
**079**
|
| 42 |
+
|
| 43 |
+
**094**
|
| 44 |
+
|
| 45 |
+
<span id="page-1-0"></span>
|
| 46 |
+
|
| 47 |
+

|
| 48 |
+
|
| 49 |
+
Figure 1: Performance evolution with an increasing number of retrieved documents on two datasets. Traditional RAG requires more documents for better performance, while our method achieves comparable or superior results with significant token compression.
|
| 50 |
+
|
| 51 |
+
[\(Xu et al., 2024\)](#page-12-0) suffers a 3–5 point drop in EM score (Table [1\)](#page-5-0), making it unsuitable for accuracysensitive applications. Second, most compression methods are heuristic in nature. The models are typically trained to generate summaries that are generally good but not necessarily useful for the downstream answer-generation LLM. This limitation arises from the lack of an ideal supervisory signal that defines what an optimal summary should be for the downstream task. This fundamental gap hinders the end-to-end optimization of existing methods. Finally, some compression models [\(Zhu et al., 2024\)](#page-12-3) have parameter counts comparable to the LLM that performs the end task, resulting in substantial computational costs that undermine the efficiency gains of compression.
|
| 52 |
+
|
| 53 |
+
Addressing these critical shortcomings requires a method that aligns compression with downstream task requirements, thereby minimizing performance trade-offs. To bridge this gap, we propose CORE, a novel method designed to achieve lossless context compression for RAG. Unlike previous compression methods, CORE is optimized in an end-to-end manner. Since obtaining predefined summary labels for supervision is impractical, we instead use downstream task performance as a feedback signal to evaluate the compression model's output. This feedback enables iterative refinement of the compression policy, guiding the compression model toward improved downstream performance. To this end, we employ Group Relative Policy Optimization (GRPO), a technique particularly well-suited for this purpose [\(Liu et al., 2024;](#page-11-2) [Shao et al., 2024;](#page-12-4) [Chen et al., 2025a\)](#page-10-4). In our framework, the accuracy of the downstream QA task is formalized as a reward, with the compression policy optimized through group-wise relative comparisons. Furthermore, our compression model is substantially smaller than the downstream LLM, which significantly reduces the computational overhead associated with encoding retrieved documents.
|
| 54 |
+
|
| 55 |
+
We evaluate CORE on four benchmark datasets: two single-hop QA datasets (*Natural Questions* and *TriviaQA*) and two multi-hop datasets (*HotpotQA* and *2WikiMultihopQA*). As shown in Table [1,](#page-5-0) CORE achieves state-of-the-art performance across all baselines. With a compression ratio of 3%, our approach not only avoids performance degradation compared to prepending full documents but also improves the average EM score by 3.3 points. We further demonstrate two key advantages of our approach. First, the effectiveness of CORE is not tied to a specific model architecture, as demonstrated by the fact that lossless compression can be achieved when various models are trained as compressors (Figure [3\)](#page-7-0). Second, the compressor exhibits strong transferability: a compression model trained using feedback from one LLM generalizes effectively to other LLMs (Table [2\)](#page-7-1). Finally, an in-depth case study (Tables [4](#page-14-0) and [5\)](#page-15-0) provides a qualitative analysis of the benefits of CORE.
|
| 56 |
+
|
| 57 |
+
## 2 CORE-RAG
|
| 58 |
+
|
| 59 |
+
This section introduces our proposed method, COmpression via REinforcement learning (CORE), which is shown in Figure [2.](#page-2-0) First, we provide an overview of the entire workflow. Then, we detail the end-to-end training strategy for the compression model, which is designed to drastically reduce the number of document tokens while preserving task performance.
|
| 60 |
+
|
| 61 |
+
{2}------------------------------------------------
|
| 62 |
+
|
| 63 |
+
<span id="page-2-0"></span>
|
| 64 |
+
|
| 65 |
+
Figure 2: Overview of our method CORE. The upper section illustrates the inference pipeline. The lower section depicts the end-to-end training method for the compression model.
|
| 66 |
+
|
| 67 |
+
#### 2.1 Problem Formulation
|
| 68 |
+
|
| 69 |
+
We adopt the same problem formulation as prior work (Xu et al., 2024). Given an input question q, a target output y, and a set of k retrieved documents D, our objective is to compress D with respect to q into a summary s that preserves the most useful information while using significantly fewer tokens than D. This summary s is then prepended to the original input q and fed into an LLM to generate the final answer for the downstream task. This overall pipeline is illustrated in the upper half of Figure 2. The process involves two key components: a compression model $\pi_{\theta} \colon (q, D) \mapsto s$ and a large language model $M \colon (s, q) \mapsto \hat{y}$ , which generates the predicted answer $\hat{y}$ . We treat M as a black-box system and focus exclusively on training the compressor $\pi_{\theta}$ . The compressor itself is also a language model, but it is intentionally designed to be significantly smaller than M to reduce the computational cost of encoding the retrieved documents.
|
| 70 |
+
|
| 71 |
+
#### 2.2 Training the Compressor
|
| 72 |
+
|
| 73 |
+
Our compressor is designed to generate document summaries that are highly useful to the LLM (M) for downstream tasks. This objective is challenging because the criteria for an effective summary are task-dependent, and direct supervision is unavailable. We therefore formulate this as an end-to-end training problem and employ reinforcement learning to optimize the compressor without relying on pre-defined compression labels. The overall architecture of our training framework is illustrated in the lower portion of Figure 2. The following sections describe the key components of our approach: distillation warm-up, policy optimization, and reward calculation.
|
| 74 |
+
|
| 75 |
+
### 2.2.1 DISTILLATION FOR WARM-START
|
| 76 |
+
|
| 77 |
+
Due to the limited parameter size of our compression model, its capability for question-focused document summarization is constrained. To provide a strong initial policy for RL and ensure training stability, we employ knowledge distillation from a teacher model to initialize our compressor. Specifically, we first utilize a large-scale language model (DeepSeek-V3) as the teacher to generate summaries of retrieved documents related to the given question. We then evaluate the performance of the downstream LLM (M) on the QA task under two conditions: (1) with the teacher-generated summary $\hat{s}$ prepended to the input question q, and (2) with the original question alone. The corresponding performance scores are denoted as $p_{\text{summary}}$ and $p_{\text{original}}$ , respectively. By comparing these results, we retain instances where $p_{\text{summary}} > p_{\text{original}}$ , indicating that the summary enhances RAG performance. We also retain cases where $p_{\text{original}} = 1$ (i.e., the model produces a fully correct answer without the summary) and $p_{\text{summary}} < p_{\text{original}}$ ; for these, we set the target summary $\hat{s}$ to an empty string. All other instances are discarded. The resulting filtered and modified dataset is denoted as
|
| 78 |
+
|
| 79 |
+
{3}------------------------------------------------
|
| 80 |
+
|
| 81 |
+
$\mathcal{X}_f$ , which is used for supervised fine-tuning of the compression model. The fine-tuning objective is defined as:
|
| 82 |
+
|
| 83 |
+
$\mathcal{L}_{\text{distill}} = \frac{1}{|\mathcal{X}_f|} \sum_{(q,D,\hat{s}) \in \mathcal{X}_f} \mathcal{L}_{\text{CE}}(\pi_{\theta}(q,D),\hat{s}), \tag{1}$
|
| 84 |
+
|
| 85 |
+
where $\pi_{\theta}(q, D)$ denotes the output of the compression model and $\mathcal{L}_{CE}$ is the cross-entropy loss. This distillation process yields a robust initialization for RL and promotes stability in subsequent training.
|
| 86 |
+
|
| 87 |
+
#### 2.2.2 END-TO-END TRAINING WITH RL
|
| 88 |
+
|
| 89 |
+
Following the distillation phase, the compressor possesses a preliminary compression capability. However, as summaries from even the largest teacher models are not guaranteed to be optimal for the downstream task, further end-to-end optimization is necessary. We therefore formulate this optimization as a reinforcement learning problem. In this framework, the compressor functions as a policy that generates a summary from an input question and its corresponding documents. A reward function, which directly reflects performance on the downstream task (e.g., question-answering accuracy), then evaluates the summary's quality. The objective is to optimize the compressor's parameters to maximize the expected cumulative reward, thereby directly aligning its outputs with the downstream task's objectives.
|
| 90 |
+
|
| 91 |
+
Specifically, we employ Group Relative Policy Optimization (GRPO) (Shao et al., 2024) algorithm. Unlike Proximal Policy Optimization (PPO), which trains a separate critic model, GRPO estimates the baseline directly from a group of rollouts. Given an existing policy, $\pi_{\theta_{\text{old}}}$ , and a reference policy, $\pi_{\theta_{\text{ref}}}$ , the GRPO objective maximizes the compressor policy $\pi_{\theta}$ using G rollouts $\tau = \{s_i\}_{i=1}^G \sim \pi_{\theta_{\text{old}}}(\cdot|x)$ , for each input $x \sim \mathcal{D}$ :
|
| 92 |
+
|
| 93 |
+
$$\mathcal{J}(\theta) = \mathbb{E}_{x \sim \mathcal{D}, \ \{s_i\}_{i=1}^G \sim \pi_{\theta_{\text{old}}}(\cdot \mid x)}$$
|
| 94 |
+
|
| 95 |
+
$$\frac{1}{G} \sum_{i=1}^G \left[ \min \left( \frac{\pi_{\theta}(s_i \mid x)}{\pi_{\theta_{\text{old}}}(s_i \mid x)} A_i, \ \text{clip} \left( \frac{\pi_{\theta}(s_i \mid x)}{\pi_{\theta_{\text{old}}}(s_i \mid x)}, 1 - \epsilon, 1 + \epsilon \right) A_i \right) - \beta \mathbb{D}_{\text{KL}} \left( \pi_{\theta} \parallel \pi_{\theta_{\text{ref}}} \right) \right],$$
|
| 96 |
+
|
| 97 |
+
$$(2)$$
|
| 98 |
+
|
| 99 |
+
where $A_i = (r_i - \text{mean}(\{r_j\}_{j=1}^G))/\text{std}(\{r_j\}_{j=1}^G)$ represents the normalized advantage of the i-th rollout within the group, $\epsilon$ is the clipping ratio, and $\beta$ is the coefficient for the KL divergence penalty. The inclusion of the KL divergence term ensures that the updated policy does not deviate significantly from the reference policy.
|
| 100 |
+
|
| 101 |
+
#### 2.2.3 REWARD CALCULATION
|
| 102 |
+
|
| 103 |
+
**Generating End-Task Output.** It is important to note that the reward is not computed directly from the compressor's output summary. Instead, the summary s generated by the compressor is prepended to the original input question q, and this combined input is fed into the LLM $M:(s,q)\mapsto \hat{y}$ to produce a predicted answer $\hat{y}$ . The reward is then calculated by comparing $\hat{y}$ to the gold answer y. Throughout the training process, the parameters of M remain fixed and are not updated.
|
| 104 |
+
|
| 105 |
+
**Computing Rewards.** We design simple rule-based rewards based on end-task performance to guide the compressor's improvement, which consists of two components:
|
| 106 |
+
|
| 107 |
+
• EM Reward ( $r_{\rm EM}$ ). We employ EM as the main reward function, which is a widely adopted metric for evaluating the accuracy of QA tasks. The EM reward is binary: it yields a value of 1 if the generated answer perfectly matches the ground truth, and 0 otherwise.
|
| 108 |
+
|
| 109 |
+
$$r_{\rm EM} = \begin{cases} 1 & \text{if } y = \hat{y}, \\ 0 & \text{otherwise.} \end{cases}$$
|
| 110 |
+
(3)
|
| 111 |
+
|
| 112 |
+
• F1 Reward $(r_{\rm F1})$ . Since exact matches occur infrequently in practice, relying solely on EM rewards leads to sparse reward signals. Furthermore, the EM metric fails to distinguish between partially correct answers, as all non-exact matches receive zero reward. Therefore, we introduce F1 reward, which provides a finer-grained evaluation by measuring the degree of partial match.
|
| 113 |
+
|
| 114 |
+
$$r_{\rm FI} = \frac{2 \times I_N}{P_N + R_N},\tag{4}$$
|
| 115 |
+
|
| 116 |
+
where $P_N$ denotes the number of tokens in the predicted answer, $R_N$ denotes the number of tokens in the gold answer, and $I_N$ is the number of intersecting tokens between the two answers.
|
| 117 |
+
|
| 118 |
+
{4}------------------------------------------------
|
| 119 |
+
|
| 120 |
+
The final reward function combines these reward signals through weighted summation:
|
| 121 |
+
|
| 122 |
+
$$r = r_{\rm EM} + \alpha \cdot r_{\rm Fl},\tag{5}$$
|
| 123 |
+
|
| 124 |
+
where α ∈ (0, 1] is a hyperparameter that controls the relative contribution of the F1 reward.
|
| 125 |
+
|
| 126 |
+
### 2.2.4 TRAINING TEMPLATE
|
| 127 |
+
|
| 128 |
+
**221**
|
| 129 |
+
|
| 130 |
+
**224**
|
| 131 |
+
|
| 132 |
+
**256**
|
| 133 |
+
|
| 134 |
+
Figure [5](#page-13-0) displays the prompt employed to train the compressor model for generating a summary of the retrieved documents, conditioned on the given question. This prompt is notably concise. For end-task answer generation, the prompt provided to the LLM M is illustrated in Figure [6,](#page-13-1) which incorporates few-shot in-context examples, the (generated summary of) retrieved documents, and the question.
|
| 135 |
+
|
| 136 |
+
### 2.2.5 EFFICIENCY ANALYSIS
|
| 137 |
+
|
| 138 |
+
Training Efficiency. Since our method employs reinforcement learning for training, it incurs greater time and computational costs compared to approaches that do not utilize reinforcement learning [\(Xu et al., 2024;](#page-12-0) [Cao et al., 2024\)](#page-10-3). However, our training process only optimizes a lightweight compressor model with relatively few parameters, while the larger generator LLM responsible for producing task answers remains fixed and is not updated during training. This design ensures high training efficiency—for instance, training one epoch takes approximately 2 hours using eight H20 GPUs, and convergence is typically achieved within just two epochs. In contrast, other reinforcement learning-based methods, such as ReSearch [\(Chen et al., 2025a\)](#page-10-4) and R1-Searcher [\(Song et al.,](#page-12-5) [2025\)](#page-12-5), require direct fine-tuning of the large generator LLM, leading to considerably higher training time and resource consumption. Furthermore, it is important to emphasize that our method exhibits strong generalization capability. As shown in Section 3.3, a model trained only once demonstrates broad applicability, thereby reducing the need for frequent retraining and further lowering the overall training cost.
|
| 139 |
+
|
| 140 |
+
Inference Efficiency. Our method significantly enhances inference efficiency. In contrast to RAG approaches that do not employ a compressor—and thus require the generator LLM to directly encode lengthy documents, often spanning thousands of tokens—our approach introduces a lightweight compressor that processes long documents and summarizes them into compact representations of only a few dozen tokens before feeding them to the generator LLM. Since the compressor is an order of magnitude smaller in parameter size than the generator LLM, it substantially reduces the encoding time that would otherwise be incurred by the generator, leading to notable gains in inference efficiency. It is also important to note that the use of reinforcement learning does not adversely affect inference efficiency, as it is only involved during the training phase.
|
| 141 |
+
|
| 142 |
+
## 3 EXPERIMENTS
|
| 143 |
+
|
| 144 |
+
### 3.1 EXPERIMENTAL SETTINGS
|
| 145 |
+
|
| 146 |
+
Datasets and Evaluation Metrics. We evaluate our method on four benchmark datasets: two single-hop question-answering datasets, Natural Questions (NQ) [\(Kwiatkowski et al., 2019\)](#page-11-3) and TriviaQA [\(Joshi et al., 2017\)](#page-10-5), as well as two multi-hop question-answering datasets, HotpotQA [\(Yang et al., 2018\)](#page-12-6) and 2WikiMultihopQA [\(Ho et al., 2020\)](#page-10-6). Results are reported on the test sets of Natural Questions and TriviaQA, as well as the development sets of HotpotQA and 2WikiMultihopQA. Following RECOMP [\(Xu et al., 2024\)](#page-12-0), the performance is measured using Exact Match and token-level F1 scores, while efficiency is assessed by the number of tokens provided in the context.
|
| 147 |
+
|
| 148 |
+
Compression Model (πθ). We trained our compression model using Qwen2.5-1.5B-Instruct to generate summaries of the retrieved documents. To evaluate the effect of using different models as compressors, we also trained compressors using Llama3.2-1B-Instruct and Llama3.2-3B-Instruct (Section [3.3\)](#page-7-0).
|
| 149 |
+
|
| 150 |
+
Large Language Model (M). We use Qwen2.5-14B-Instruct as the primary LLM model M to generate predicted answers which are used to guide the training of the compressor. To evaluate the generalization ability of our method, we also transfer to another LLM model, LLama3.1-8B-Instruct (Table [2\)](#page-7-1).
|
| 151 |
+
|
| 152 |
+
{5}------------------------------------------------
|
| 153 |
+
|
| 154 |
+
<span id="page-5-0"></span>Table 1: Open-domain QA results using Qwen2.5-14B-Instruct as the downstream LLM (M). The reported token counts represent the length of in-context documents, excluding few-shot examples. RECOMP, NoiseFilter-IB and our method CORE are all trained using Qwen2.5-1.5B-Instruct.
|
| 155 |
+
|
| 156 |
+
| | | NQ | | 7 | TriviaQA | <b>L</b> | F | IotpotQ. | A | 2Wiki | Multiho | pQA |
|
| 157 |
+
|-------------------------|---------|------------|----------|-----------|-----------|-----------|-------|----------|-------|-------|---------|-------|
|
| 158 |
+
| | EM | F1 | # tok | EM | F1 | # tok | EM | F1 | # tok | EM | F1 | # tok |
|
| 159 |
+
| No Retrieval | 21.36 | 30.97 | 0 | 53.23 | 59.98 | 0 | 21.05 | 29.48 | 0 | 26.11 | 29.51 | 0 |
|
| 160 |
+
| RAG without compression | on | | | | | | | | | | | |
|
| 161 |
+
| Top1 Document | 34.46 | 44.41 | 142 | 60.82 | 68.70 | 143 | 29.20 | 38.93 | 147 | 26.79 | 31.87 | 153 |
|
| 162 |
+
| Top3 Documents | 37.78 | 48.45 | 427 | 62.60 | 71.02 | 430 | 31.64 | 41.87 | 442 | 27.89 | 33.58 | 460 |
|
| 163 |
+
| Top5 Documents | 38.03 | 49.16 | 712 | 64.10 | 72.48 | 715 | 32.99 | 43.69 | 737 | 29.64 | 35.21 | 766 |
|
| 164 |
+
| Top10 Documents | 38.67 | 50.03 | 1425 | 64.40 | 72.92 | 1428 | 33.95 | 44.88 | 1471 | 31.04 | 36.75 | 1531 |
|
| 165 |
+
| Compression of top 5 do | cuments | ; | | | | | | | | | | |
|
| 166 |
+
| BM25 | 25.23 | 36.47 | 37 | 55.36 | 63.90 | 39 | 24.18 | 35.73 | 71 | 25.42 | 30.29 | 68 |
|
| 167 |
+
| Qwen2.5-1.5B | 31.94 | 43.03 | 36 | 57.99 | 66.70 | 30 | 27.36 | 37.47 | 33 | 25.93 | 31.18 | 32 |
|
| 168 |
+
| DeepSeek-V3 (671B) | 37.73 | 50.39 | 54 | 64.13 | 73.20 | 50 | 33.59 | 44.83 | 48 | 27.99 | 32.67 | 92 |
|
| 169 |
+
| RECOMP-Abs (1.5B) | 34.18 | 46.26 | 58 | 60.31 | 68.50 | 53 | 28.96 | 39.95 | 56 | 30.25 | 36.73 | 52 |
|
| 170 |
+
| RECOMP-Ext (1.5B) | 33.84 | 46.05 | 56 | 60.18 | 68.39 | 48 | 29.93 | 41.09 | 45 | 30.78 | 37.07 | 51 |
|
| 171 |
+
| NoiseFilter-IB (1.5B) | 35.15 | 45.94 | 48 | 59.51 | 68.15 | 35 | 27.97 | 38.62 | 38 | 27.85 | 34.69 | 40 |
|
| 172 |
+
| LongLLMLingua (1.5B) | 33.65 | 43.15 | 152 | 58.96 | 66.82 | 148 | 28.03 | 38.49 | 149 | 29.37 | 33.62 | 153 |
|
| 173 |
+
| QGC (1.5B) | 36.23 | 45.88 | 49 | 61.02 | 68.45 | 47 | 29.16 | 40.05 | 45 | 31.14 | 36.83 | 51 |
|
| 174 |
+
| CORE (1.5B) | 41.02 | 50.40 | 46 | 65.63 | 72.55 | 32 | 33.67 | 45.06 | 36 | 36.72 | 42.05 | 49 |
|
| 175 |
+
| Compression of top 10 a | locumen | ts (with t | the comp | ressor ti | rained or | ı top 5 d | locs) | | | | | |
|
| 176 |
+
| BM25 | 25.91 | 36.88 | 38 | 55.28 | 63.16 | 37 | 23.49 | 35.01 | 68 | 25.61 | 30.54 | 65 |
|
| 177 |
+
| Qwen2.5-1.5B | 32.94 | 44.84 | 40 | 58.45 | 67.31 | 33 | 28.17 | 38.48 | 36 | 26.22 | 31.57 | 34 |
|
| 178 |
+
| DeepSeek-V3 (671B) | 37.79 | 51.07 | 56 | 65.29 | 74.45 | 53 | 34.62 | 45.69 | 50 | 29.00 | 34.64 | 40 |
|
| 179 |
+
| RECOMP-Abs (1.5B) | 34.40 | 46.93 | 59 | 61.42 | 69.88 | 52 | 31.54 | 42.92 | 52 | 31.98 | 38.16 | 49 |
|
| 180 |
+
| RECOMP-Ext (1.5B) | 33.96 | 46.34 | 60 | 61.03 | 69.51 | 50 | 31.92 | 43.18 | 55 | 32.52 | 38.87 | 44 |
|
| 181 |
+
| NoiseFilter-IB (1.5B) | 35.36 | 46.24 | 50 | 59.92 | 68.32 | 38 | 28.21 | 38.83 | 38 | 28.63 | 35.16 | 42 |
|
| 182 |
+
| LongLLMLingua (1.5B) | 33.78 | 43.37 | 154 | 59.17 | 66.97 | 150 | 28.33 | 38.95 | 148 | 29.62 | 34.11 | 151 |
|
| 183 |
+
| QGC (1.5B) | 36.03 | 45.62 | 50 | 61.23 | 68.74 | 49 | 29.12 | 39.63 | 46 | 31.71 | 37.52 | 50 |
|
| 184 |
+
| CORE (1.5B) | 41.88 | 51.26 | 52 | 66.76 | 73.64 | 33 | 34.68 | 46.35 | 37 | 37.99 | 43.28 | 48 |
|
| 185 |
+
|
| 186 |
+
**Retrieval Corpus and Retrievers.** Following previous studies (Xu et al., 2024), we use the Wikipedia corpus from December 20, 2018, as the retrieval source for all four datasets. The articles are segmented into non-overlapping 100-word documents. To ensure that our method is not dependent on a specific retriever, we experiment with several mainstream retrievers. Specifically, we use DPR (Karpukhin et al., 2020) for NQ, a hybrid of DPR and BM25 (Robertson et al., 1995) for TriviaQA, and the Contriever model (Izacard et al., 2021) trained on the MS MARCO dataset (Nguyen et al., 2016) for HotpotQA and 2WikiMultihopQA.
|
| 187 |
+
|
| 188 |
+
**Baselines.** To evaluate the effectiveness of our method, we compared it against various baselines. First, we evaluated the uncompressed approach—retaining the original in-context RALM setup—by prepending the top 1, 3, 5, and 10 retrieved documents to the prompt. We also tested alternative compression methods, including the traditional BM25 algorithm (which ranks sentences by their similarity to the input), off-the-shelf Qwen2.5-1.5B-Instruct model (with comparable parameter size to our approach), and DeepSeek-V3 model (671B parameters, far exceeding our compressor's capacity). Furthermore, we included state-of-the-art context compression methods for RAG, RECOMP (Xu et al., 2024), NoiseFilter-IB (Zhu et al., 2024), LongLLMLingua (Jiang et al., 2024) and QGC (Cao et al., 2024). For RECOMP, we evaluated both its abstractive and extractive variants. To ensure a fair comparison, all trainable approaches were all trained using the same model.
|
| 189 |
+
|
| 190 |
+
**Implementation Details.** For the distillation warm-up phase, we perform full-parameter supervised fine-tuning on the off-the-shell language model for two epochs using LLaMA-Factory $^1$ . This warmed-up model then serves as the initializer for the subsequent reinforcement learning phase. We adopt the Verl framework $^2$ for RL training. The initialized compression model is trained for two epochs on each dataset. Training is conducted on eight NVIDIA H20 GPUs using full parameter GRPO optimization, with a learning rate of 1e-5, a batch size of 256, five rollouts per sample, and a KL loss coefficient of 0.001. The downstream LLM (M) used for reward generation is served using the vLLM inference engine during RL training.
|
| 191 |
+
|
| 192 |
+
<sup>&</sup>lt;sup>1</sup>https://github.com/hiyouga/LLaMA-Factory
|
| 193 |
+
|
| 194 |
+
<sup>&</sup>lt;sup>2</sup>https://github.com/volcengine/verl
|
| 195 |
+
|
| 196 |
+
{6}------------------------------------------------
|
| 197 |
+
|
| 198 |
+
### 3.2 OVERALL PERFORMANCE
|
| 199 |
+
|
| 200 |
+
**329**
|
| 201 |
+
|
| 202 |
+
**334 335 336**
|
| 203 |
+
|
| 204 |
+
**364**
|
| 205 |
+
|
| 206 |
+
**368 369 370**
|
| 207 |
+
|
| 208 |
+
The detailed comparison results are presented in Table [1.](#page-5-0) We evaluate the following approaches: traditional RAG without compression using the top 1, 3, 5, and 10 documents prepended to the original input; BM25-based compression; off-the-shelf LLMs (Qwen2.5-1.5B-Instruct and DeepSeek-V3); and state-of-the-art trainable RAG compressors (RECOMP-Abstractive, RECOMP-Extractive, and NoiseFilter-IB). For fair comparison, all trainable methods were trained using the same backbone model, Qwen2.5-1.5B-Instruct. These compressors were trained on five-document inputs, and we report their performance both on in-domain five-document compression and out-of-domain generalization to ten-document compression.
|
| 209 |
+
|
| 210 |
+
RAG versus No RAG. As shown in Table [1,](#page-5-0) prepending the original input with retrieved documents yields a substantial improvement over the no-retrieval baseline, indicating that these documents provide valuable information for generating the answer. Performance improves as the number of retrieved documents increases from 1 to 10, albeit with diminishing returns—a trend attributable to the decreasing relevance of lower-ranked documents. However, this performance gain comes at the cost of a significant increase in the number of additional tokens the LLM must encode, rising from 0 to over 1,400 tokens.
|
| 211 |
+
|
| 212 |
+
Lossless Compression of CORE. Our compressor was trained using a context of five documents. As presented in Table [1,](#page-5-0) compared to prepending the full content of all five documents to the original input (i.e., the uncompressed baseline), our method achieves a high compression rate of approximately 6% *with no loss in performance*. Remarkably, on all four datasets, the approach not only maintains performance but also enhances EM by 1 to 7 points. For example, on NQ, the model achieves an EM of 41.02 with compressed input, surpassing the uncompressed score of 38.03.
|
| 213 |
+
|
| 214 |
+
Comparison with Compression Baselines. When compressing the top five documents, all baseline compression methods result in performance degradation to varying degrees compared to the uncompressed baseline. Specifically, BM25 leads to a substantial performance drop. Using the offthe-shelf Qwen2.5-1.5B-Instruct model for compression yields better results than BM25 but still underperforms relative to the uncompressed baseline. Surprisingly, even the large-scale DeepSeek-V3 model (with 671B parameters) achieves only near-lossless compression on TriviaQA and HotpotQA, while performance on NQ and 2Wiki remains below the uncompressed baseline. As for the trained compressors (RECOMP, NoiseFilter-IB, LongLLMLingua, and QGC), all of them exhibit performance degradation compared to no compression. The decline generally ranges from 2 to 6 EM poin ts across nearly all datasets. In contrast, our method, CORE, delivers the best performance. It not only surpasses compression methods of comparable size by 4-5 EM points but also maintains an advantage over the hundreds-of-times-larger DeepSeek model. This clearly demonstrates the benefit and importance of end-to-end optimization.
|
| 215 |
+
|
| 216 |
+
Generalization to 10-Doc Compression. When generalizing the trained compressors to handle the top-10 documents without retraining, the aforementioned conclusions remain valid. CORE continues to achieve lossless compression and performs best among all compression methods. On NQ, it achieves a token compression ratio of 3.6% while improving the EM by 3.2 points compared to using all ten documents. Similar trends are observed on TriviaQA, with a compression ratio of 2.3% and a gain of 2.4 EM points relative to the full-document baseline. On HotpotQA, CORE achieves a compression ratio of 2.5% and an improvement of 0.7 EM points. For 2WikiMultihopQA, it obtains a compression ratio of 3.1% along with a notable increase of 6.9 EM points.
|
| 217 |
+
|
| 218 |
+
### 3.3 ROBUSTNESS AND GENERALIZATION ABILITY ANALYSIS
|
| 219 |
+
|
| 220 |
+
Robustness of CORE Across Compressor Architectures. To evaluate whether the effectiveness of CORE depends on the choice of compressor model, we compared the performance of compressors trained using different model architectures—while keeping the downstream LLM (Qwen2.5-14B-Instruct) fixed. The compressors tested include LLaMA3.2-1B-Instruct, Qwen2.5-1.5B-Instruct, and LLaMA3.2-3B-Instruct, which vary in architecture and parameter count. As shown in Figure [3,](#page-7-0) the results indicate that: (1) These trained compressors consistently achieve lossless compression and outperform the uncompressed baseline (represented by the red reference line in the figure, which corresponds to prepending the full document content), confirming that our training framework is robust and not tied to a specific compressor architecture. (2) Compression performance improves as the size of the compressor model increases, consistent with scaling laws. More detailed results can be found in Tables [7](#page-17-0) and [8.](#page-17-1)
|
| 221 |
+
|
| 222 |
+
{7}------------------------------------------------
|
| 223 |
+
|
| 224 |
+
<span id="page-7-0"></span>
|
| 225 |
+
|
| 226 |
+
Figure 3: The impact of different models used to train the compressor.
|
| 227 |
+
|
| 228 |
+
Table 2: Zero-shot transfer of the trained compressor to Llama-3.1-8B-Instruct.
|
| 229 |
+
|
| 230 |
+
<span id="page-7-1"></span>
|
| 231 |
+
|
| 232 |
+
| | NQ | | | 7 | TriviaQA | | | HotpotQA | | | 2WikiMultihopQA | | |
|
| 233 |
+
|----------------------|---------|-------|-------|-------|----------|-------|-------|----------|-------|-------|-----------------|-------|--|
|
| 234 |
+
| | EM | F1 | # tok | EM | F1 | # tok | EM | F1 | # tok | EM | F1 | # tok | |
|
| 235 |
+
| No Retrieval | 24.04 | 34.91 | 0 | 55.64 | 62.57 | 0 | 19.93 | 27.75 | 0 | 27.64 | 31.18 | 0 | |
|
| 236 |
+
| RAG without compres | ssion | | | | | | | | | | | | |
|
| 237 |
+
| Top1 Document | 33.80 | 44.06 | 142 | 59.17 | 67.50 | 143 | 27.95 | 37.49 | 147 | 28.41 | 33.43 | 153 | |
|
| 238 |
+
| Top3 Documents | 36.87 | 47.81 | 427 | 61.13 | 70.06 | 430 | 30.17 | 40.71 | 442 | 28.67 | 34.23 | 460 | |
|
| 239 |
+
| Top5 Documents | 37.65 | 48.87 | 712 | 62.26 | 71.04 | 715 | 31.44 | 42.16 | 737 | 29.43 | 35.18 | 766 | |
|
| 240 |
+
| Top10 Documents | 38.12 | 49.93 | 1425 | 63.95 | 72.71 | 1428 | 32.19 | 42.62 | 1471 | 30.45 | 36.04 | 1531 | |
|
| 241 |
+
| Compression of top 5 | docume | nts | | | | | | | | | | | |
|
| 242 |
+
| Qwen2.5-1.5B | 32.60 | 44.21 | 36 | 56.76 | 65.77 | 30 | 26.86 | 36.90 | 33 | 25.45 | 30.88 | 32 | |
|
| 243 |
+
| DeepSeek-V3 (671B) | 37.56 | 50.11 | 54 | 62.52 | 72.34 | 50 | 33.05 | 44.25 | 48 | 28.64 | 33.87 | 92 | |
|
| 244 |
+
| RECOMP-Abs (1.5B) | 33.41 | 45.50 | 58 | 58.50 | 67.37 | 53 | 28.85 | 39.76 | 56 | 31.63 | 37.81 | 52 | |
|
| 245 |
+
| RECOMP-Ext (1.5B) | 33.12 | 45.06 | 60 | 57.98 | 66.84 | 55 | 29.03 | 40.04 | 52 | 31.85 | 38.02 | 55 | |
|
| 246 |
+
| CORE (1.5B) | 40.72 | 50.00 | 46 | 64.08 | 71.13 | 32 | 32.17 | 43.71 | 36 | 35.99 | 41.42 | 49 | |
|
| 247 |
+
| Compression of top 1 | 0 docum | ents | | | | | | | | | | | |
|
| 248 |
+
| Qwen2.5-1.5B | 32.88 | 44.66 | 40 | 57.44 | 66.56 | 33 | 27.31 | 37.31 | 36 | 25.80 | 31.30 | 34 | |
|
| 249 |
+
| DeepSeek-V3 (671B) | 37.49 | 51.28 | 56 | 63.79 | 73.80 | 53 | 34.24 | 45.35 | 50 | 31.45 | 37.09 | 40 | |
|
| 250 |
+
| RECOMP-Abs (1.5B) | 34.18 | 46.80 | 59 | 59.69 | 68.89 | 52 | 30.17 | 41.42 | 55 | 33.61 | 39.78 | 44 | |
|
| 251 |
+
| RECOMP-Ext (1.5B) | 34.06 | 46.55 | 60 | 59.33 | 68.71 | 50 | 30.52 | 41.98 | 55 | 33.52 | 39.42 | 44 | |
|
| 252 |
+
| CORE (1.5B) | 41.77 | 51.27 | 52 | 65.25 | 72.45 | 33 | 33.25 | 45.09 | 37 | 37.59 | 42.87 | 48 | |
|
| 253 |
+
|
| 254 |
+
Transferability of CORE Across Downstream LLMs. We evaluate the transferability of our trained compressor and other baseline compressors to a new downstream LLM, the LLaMA-3.1-8B model. The results are presented in Table 2. Note that all trainable compressors, including our own, were trained using feedback generated by Qwen2.5-14B-Instruct. The findings reveal that existing trained compressors (e.g., RECOMP) exhibit limited generalization capability, as indicated by a larger performance gap relative to the baseline of prepending full documents. In contrast, CORE demonstrates stronger generalization, achieving lossless compression on the new downstream LLM. Specifically, it not only maintains performance but also surpasses the full-document baseline (i.e., no compression) across all four datasets while retaining a high compression rate. These results suggest that the summaries produced by our method are inherently high-quality and preserve key information necessary for accurate answering, thereby enabling effective transfer to other LLMs.
|
| 255 |
+
|
| 256 |
+
### 3.4 ABLATION STUDY
|
| 257 |
+
|
| 258 |
+
Table 3 presents an ablation study on the two stages of our method: distillation and GRPO. Here, "w/o distillation" denotes training the compressor with GRPO directly, bypassing the warm-start phase, while "w/o GRPO" indicates using only the distillation step without subsequent reinforcement learning. The results demonstrate that removing either component leads to performance degradation, confirming the necessity of both. In addition, the decline is more substantial when GRPO is omitted, highlighting the crucial role of reinforcement learning in the absence of explicit supervision. Distillation injects external knowledge into the model, providing a favorable starting point for RL training and thereby enabling RL to more effectively unlock the compressor's full potential.
|
| 259 |
+
|
| 260 |
+
{8}------------------------------------------------
|
| 261 |
+
|
| 262 |
+
Table 3: Ablation study.
|
| 263 |
+
|
| 264 |
+
<span id="page-8-0"></span>
|
| 265 |
+
|
| 266 |
+
| Dataset | Metric | w/o distillation | w/o GRPO | CORE |
|
| 267 |
+
|----------|--------|------------------|----------|-------|
|
| 268 |
+
| | EM | 36.37 | 34.18 | 41.02 |
|
| 269 |
+
| NQ | F1 | 46.91 | 46.26 | 50.40 |
|
| 270 |
+
| | EM | 65.23 | 60.31 | 65.63 |
|
| 271 |
+
| TQA | F1 | 72.41 | 68.50 | 72.55 |
|
| 272 |
+
| | EM | 32.01 | 28.96 | 33.67 |
|
| 273 |
+
| HotpotQA | F1 | 42.73 | 39.95 | 45.06 |
|
| 274 |
+
| | EM | 31.40 | 30.25 | 36.72 |
|
| 275 |
+
| 2Wiki | F1 | 36.89 | 36.73 | 42.05 |
|
| 276 |
+
|
| 277 |
+

|
| 278 |
+
|
| 279 |
+
Figure 4: The impact of α.
|
| 280 |
+
|
| 281 |
+
### 3.5 THE IMPACT OF α.
|
| 282 |
+
|
| 283 |
+
Figure [4](#page-8-0) illustrates the performance of our method under different values of α, which controls the weighting coefficient of the F1 reward term. Setting α = 0 corresponds to using only the EM reward. Results indicate that performance improves when α > 0 across all datasets, demonstrating the effectiveness of the F1 reward in mitigating the sparsity issue associated with the EM reward. However, the optimal value of α is dataset-dependent; values between 0.2 and 0.5 generally yield strong performance.
|
| 284 |
+
|
| 285 |
+
### 3.6 CASE STUDY
|
| 286 |
+
|
| 287 |
+
To conduct an in-depth analysis of the advantages of our compressor, we performed case studies on one single-hop QA dataset (NQ) and one multi-hop QA dataset (2Wiki), with the results presented in Table [4](#page-14-0) and Table [5,](#page-15-0) respectively. For each case, we compared the summaries generated by off-the-shelf Qwen2.5-1.5B-Instruct, RECOMP, and our method CORE based on the same set of documents, as well as the predicted answers generated by the LLM after prepending these summaries. As shown in the tables, although the summaries produced by off-the-shelf Qwen2.5-1.5B are concise, they largely fail to capture key information relevant to answering the question. In contrast, RECOMP demonstrates better summarization capability but is prone to being overwhelmed by lengthy documents, resulting in misjudgments and even generating misleading information—such as the statement in Table [4:](#page-14-0) "*The U.S. stopped drafting for the Vietnam War after the Selective Service System was officially abolished in December 1972*"—which leads the downstream LLM to produce the incorrect answer "1972". Our method, CORE, accurately extracts answer-critical information from lengthy documents, exemplified by the summary: "*The U.S. stopped drafting for the Vietnam War in 1973 after announcing the decision by Secretary of Defense Melvin Laird earlier that year*", thereby enabling the LLM to generate the correct answer "1973". This indicates that our compressor, trained with an end-task target-oriented reinforcement learning optimization strategy, can produce document summaries that are most helpful for answering the given question while effectively filtering out irrelevant information.
|
| 288 |
+
|
| 289 |
+
## 4 RELATED WORK
|
| 290 |
+
|
| 291 |
+
Context Compression in RAG. RAG enhances the performance of LLMs on knowledge-intensive tasks by retrieving the most relevant documents from extensive knowledge bases and prepending them as contextual information to the original input [\(Ram et al., 2023;](#page-11-0) [Fan et al., 2024;](#page-10-0) [Lin et al.,](#page-11-6) [2023;](#page-11-6) [Shi et al., 2023\)](#page-12-8). However, this approach requires the LLM to process significantly longer token sequences, resulting in increased computational costs. To mitigate this issue, researchers have begun to explore methods for compressing retrieved documents in RAG systems [\(Xu et al., 2024;](#page-12-0) [Cao et al., 2024;](#page-10-3) [Jin et al., 2024b;](#page-10-1) [Zhu et al., 2024;](#page-12-3) [Kim & Thorne, 2025;](#page-11-7) [Rau et al., 2024;](#page-12-9) [Wu et al.,](#page-12-1) [2025;](#page-12-1) [Louis et al., 2025;](#page-11-8) [Jin et al., 2024a;](#page-10-2) [Li et al., 2024a;](#page-11-9)[b;](#page-11-10) [Zhang et al., 2024a\)](#page-12-2). For instance, [Xu et al.](#page-12-0) [\(2024\)](#page-12-0) propose compressing retrieved documents into textual summaries before in-context augmentation, training the compressor through data selection and distillation. Similarly, [Cao et al.](#page-10-3) [\(2024\)](#page-10-3) introduce a Query-Guided Compressor (QGC) that uses queries to guide the compression process, effectively preserving essential information. [Jin et al.](#page-10-1) [\(2024b\)](#page-10-1) refine retrieved documents into Key Supporting Evidence (KSE) through a combination of knowledge synthesis, supervised fine-tuning (SFT), and preference alignment. Meanwhile, [Zhu et al.](#page-12-3) [\(2024\)](#page-12-3) present an informationtheoretic approach called NoiseFilter-IB, which filters noise by maximizing the mutual information
|
| 292 |
+
|
| 293 |
+
{9}------------------------------------------------
|
| 294 |
+
|
| 295 |
+
**509**
|
| 296 |
+
|
| 297 |
+
**529 530**
|
| 298 |
+
|
| 299 |
+
**538 539** between the compressed content and the ground-truth output. Additionally, [Kim & Thorne](#page-11-7) [\(2025\)](#page-11-7) train a compressor to extract critical information using reward functions based on predefined heuristic rules. However, most of these methods are heuristic in nature, and due to the lack of ideal compression labels, the compressed content they produce cannot be guaranteed to benefit downstream LLMs. In contrast, our method, CORE, adopts an end-to-end optimization approach to address these limitations.
|
| 300 |
+
|
| 301 |
+
Reinforcement Learning. Reinforcement learning (RL) has recently achieved notable success, enabling LLMs to develop reasoning capabilities without explicit step-by-step supervision [\(Liu et al.,](#page-11-2) [2024;](#page-11-2) [Shao et al., 2024;](#page-12-4) [Guo et al., 2025\)](#page-10-9). Building on these advances, several studies have applied RL to improve RAG [\(Ke et al., 2024\)](#page-11-11). For example, [Kulkarni et al.](#page-11-12) [\(2024\)](#page-11-12) use RL to autonomously decide whether to retrieve documents, while [Zhang et al.](#page-12-10) [\(2024b\)](#page-12-10) employ RL to optimize the ranking of retrieved documents. Similarly, [Mao et al.](#page-11-13) [\(2024\)](#page-11-13) propose a framework for training query rewriting models for RAG without relying on human annotations. MMOA-RAG [\(Chen et al., 2025b\)](#page-10-10) enhances RAG through multi-agent reinforcement learning, incorporating a query rewriter, retriever, and generator. Meanwhile, RL has been applied to address other challenges in RAG, such as enhancing the quality of retrieved content. For instance, Oreo [\(Li & Ramakrishnan, 2025\)](#page-11-14) trains a reconstructor with PPO and ROUGE-based rewards to rewrite passages for improved performance. In contrast, our work CORE tackles the distinct problem of computational efficiency. Our approach leverages the GRPO algorithm, direct task-performance rewards, and a lightweight compressor to enhance efficiency without compromising accuracy. Moreover, a line of research has utilized RL to integrate search with reasoning in a step-by-step manner [\(Singh et al., 2025\)](#page-12-11). For instance, [Chen](#page-10-4) [et al.](#page-10-4) [\(2025a\)](#page-10-4) introduce a framework called ReSearch, which trains LLMs to reason with search using RL, without requiring supervised data for reasoning steps. Related approaches include R1- Searcher [\(Song et al., 2025\)](#page-12-5), WebThinker [\(Li et al., 2025\)](#page-11-15), and DeepResearcher [\(Zheng et al., 2025\)](#page-12-12). Although these methods are end-to-end, they differ fundamentally from our problem setting. These approaches typically involve directly training the LLM generator—which tends to be a large-scale model with a high parameter count. However, such training becomes infeasible when the model is a black box (e.g., GPT-4), as internal weights or gradients are inaccessible. Furthermore, these methods introduce extensive internal thinking processes that substantially increase context length and inference time. In contrast, our approach treats the generator LLM as a fixed black-box model and trains only a lightweight plug-in compressor to produce document summaries. This design significantly improves both training and inference efficiency. A parallel line of work applies RL to prompt compression. For example, PCRL [\(Jung & Kim, 2024\)](#page-11-16) and TACO-RL [\(Shandilya et al., 2025\)](#page-12-13) learn to compress prompts via token-level keep-or-drop decisions, using the similarity between model outputs with compressed and original prompts as the reward. Our work, CORE, introduces key distinctions in both objective and methodology. First, we target the more complex problem of compressing multiple retrieved documents in RAG, rather than single prompts. Second, we employ a generative compressor that can rephrase and synthesize content, instead of making token-level binary actions. Most importantly, we optimize compression using a direct task-performance reward with GRPO, which enables us to achieve true lossless compression at significantly higher ratios—a stark contrast to the performance degradation observed in prior prompt compression methods.
|
| 302 |
+
|
| 303 |
+
## 5 CONCLUSION
|
| 304 |
+
|
| 305 |
+
This paper analyzes the limitations of current context compression methods for RAG. A primary challenge is the lack of optimal reference summaries for supervised learning, which often results in performance degradation in downstream tasks. To overcome this, we frame context compression as a reinforcement learning problem, utilizing downstream task performance as a reward signal to train the compression policy, thereby enabling end-to-end optimization. Extensive experiments demonstrate that our proposed method, CORE, achieves effectively lossless compression by maintaining a high compression ratio while preserving original task performance. Surprisingly, CORE not only preserves but actually enhances performance on all downstream tasks. Further in-depth analysis provides additional insights into the efficacy of our approach.
|
| 306 |
+
|
| 307 |
+
{10}------------------------------------------------
|
| 308 |
+
|
| 309 |
+
## ETHICS STATEMENT
|
| 310 |
+
|
| 311 |
+
<span id="page-10-3"></span>**558 559 560**
|
| 312 |
+
|
| 313 |
+
<span id="page-10-10"></span>**564**
|
| 314 |
+
|
| 315 |
+
<span id="page-10-7"></span>**579**
|
| 316 |
+
|
| 317 |
+
The authors affirm that this work adheres to the ICLR Code of Ethics. It involves no human subjects, sensitive or private data, or applications posing potential ethical risks. All resources utilized are publicly available and appropriately licensed. The research was conducted in accordance with ethical and legal standards.
|
| 318 |
+
|
| 319 |
+
## REPRODUCIBILITY STATEMENT
|
| 320 |
+
|
| 321 |
+
This paper includes detailed descriptions of the experimental setups, implementation details, hyperparameter selections, and evaluation procedures to facilitate full verification of the reported results. To further support reproducibility, the complete source code and experimental scripts are available at the following anonymous repository: [https://anonymous.4open.science/](https://anonymous.4open.science/r/CORE-28B4) [r/CORE-28B4](https://anonymous.4open.science/r/CORE-28B4).
|
| 322 |
+
|
| 323 |
+
## REFERENCES
|
| 324 |
+
|
| 325 |
+
- Zhiwei Cao, Qian Cao, Yu Lu, Ningxin Peng, Luyang Huang, Shanbo Cheng, and Jinsong Su. Retaining key information under high compression ratios: Query-guided compressor for llms. In *Proceedings of the 62nd Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers)*, pp. 12685–12695, 2024.
|
| 326 |
+
- <span id="page-10-4"></span>Mingyang Chen, Tianpeng Li, Haoze Sun, Yijie Zhou, Chenzheng Zhu, Haofen Wang, Jeff Z Pan, Wen Zhang, Huajun Chen, Fan Yang, et al. Learning to reason with search for llms via reinforcement learning. *arXiv preprint arXiv:2503.19470*, 2025a.
|
| 327 |
+
- Yiqun Chen, Lingyong Yan, Weiwei Sun, Xinyu Ma, Yi Zhang, Shuaiqiang Wang, Dawei Yin, Yiming Yang, and Jiaxin Mao. Improving retrieval-augmented generation through multi-agent reinforcement learning. *arXiv preprint arXiv:2501.15228*, 2025b.
|
| 328 |
+
- <span id="page-10-0"></span>Wenqi Fan, Yujuan Ding, Liangbo Ning, Shijie Wang, Hengyun Li, Dawei Yin, Tat-Seng Chua, and Qing Li. A survey on rag meeting llms: Towards retrieval-augmented large language models. In *Proceedings of the 30th ACM SIGKDD conference on knowledge discovery and data mining*, pp. 6491–6501, 2024.
|
| 329 |
+
- <span id="page-10-9"></span>Daya Guo, Dejian Yang, Haowei Zhang, Junxiao Song, Ruoyu Zhang, Runxin Xu, Qihao Zhu, Shirong Ma, Peiyi Wang, Xiao Bi, et al. Deepseek-r1: Incentivizing reasoning capability in llms via reinforcement learning. *arXiv preprint arXiv:2501.12948*, 2025.
|
| 330 |
+
- <span id="page-10-6"></span>Xanh Ho, Anh-Khoa Duong Nguyen, Saku Sugawara, and Akiko Aizawa. Constructing a multi-hop qa dataset for comprehensive evaluation of reasoning steps. *arXiv preprint arXiv:2011.01060*, 2020.
|
| 331 |
+
- Gautier Izacard, Mathilde Caron, Lucas Hosseini, Sebastian Riedel, Piotr Bojanowski, Armand Joulin, and Edouard Grave. Unsupervised dense information retrieval with contrastive learning. *arXiv preprint arXiv:2112.09118*, 2021.
|
| 332 |
+
- <span id="page-10-8"></span>Huiqiang Jiang, Qianhui Wu, Xufang Luo, Dongsheng Li, Chin-Yew Lin, Yuqing Yang, and Lili Qiu. Longllmlingua: Accelerating and enhancing llms in long context scenarios via prompt compression. In *Proceedings of the 62nd Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers)*, pp. 1658–1677, 2024.
|
| 333 |
+
- <span id="page-10-2"></span>Bowen Jin, Jinsung Yoon, Jiawei Han, and Sercan O Arik. Long-context llms meet rag: Overcoming challenges for long inputs in rag. *arXiv preprint arXiv:2410.05983*, 2024a.
|
| 334 |
+
- <span id="page-10-1"></span>Jiajie Jin, Yutao Zhu, Yujia Zhou, and Zhicheng Dou. Bider: Bridging knowledge inconsistency for efficient retrieval-augmented llms via key supporting evidence. In *Findings of the Association for Computational Linguistics ACL 2024*, pp. 750–761, 2024b.
|
| 335 |
+
- <span id="page-10-5"></span>Mandar Joshi, Eunsol Choi, Daniel S Weld, and Luke Zettlemoyer. Triviaqa: A large scale distantly supervised challenge dataset for reading comprehension. *arXiv preprint arXiv:1705.03551*, 2017.
|
| 336 |
+
|
| 337 |
+
{11}------------------------------------------------
|
| 338 |
+
|
| 339 |
+
<span id="page-11-12"></span><span id="page-11-11"></span><span id="page-11-7"></span><span id="page-11-3"></span>**604 605 606**
|
| 340 |
+
|
| 341 |
+
<span id="page-11-15"></span><span id="page-11-14"></span>**617**
|
| 342 |
+
|
| 343 |
+
<span id="page-11-10"></span><span id="page-11-9"></span>**619**
|
| 344 |
+
|
| 345 |
+
<span id="page-11-6"></span><span id="page-11-2"></span><span id="page-11-1"></span>**634**
|
| 346 |
+
|
| 347 |
+
<span id="page-11-13"></span><span id="page-11-8"></span><span id="page-11-5"></span><span id="page-11-0"></span>**636**
|
| 348 |
+
|
| 349 |
+
- <span id="page-11-16"></span><span id="page-11-4"></span>Hoyoun Jung and Kyung-Joong Kim. Discrete prompt compression with reinforcement learning. *IEEE Access*, 12:72578–72587, 2024.
|
| 350 |
+
- Vladimir Karpukhin, Barlas Oguz, Sewon Min, Patrick SH Lewis, Ledell Wu, Sergey Edunov, Danqi Chen, and Wen-tau Yih. Dense passage retrieval for open-domain question answering. In *EMNLP (1)*, pp. 6769–6781, 2020.
|
| 351 |
+
- Zixuan Ke, Weize Kong, Cheng Li, Mingyang Zhang, Qiaozhu Mei, and Michael Bendersky. Bridging the preference gap between retrievers and llms. *arXiv preprint arXiv:2401.06954*, 2024.
|
| 352 |
+
- Sangryul Kim and James Thorne. Context filtering with reward modeling in question answering. In *Proceedings of the 31st International Conference on Computational Linguistics*, pp. 11048– 11055, 2025.
|
| 353 |
+
- Mandar Kulkarni, Praveen Tangarajan, Kyung Kim, and Anusua Trivedi. Reinforcement learning for optimizing rag for domain chatbots. *arXiv preprint arXiv:2401.06800*, 2024.
|
| 354 |
+
- Tom Kwiatkowski, Jennimaria Palomaki, Olivia Redfield, Michael Collins, Ankur Parikh, Chris Alberti, Danielle Epstein, Illia Polosukhin, Jacob Devlin, Kenton Lee, et al. Natural questions: a benchmark for question answering research. *Transactions of the Association for Computational Linguistics*, 7:453–466, 2019.
|
| 355 |
+
- Sha Li and Naren Ramakrishnan. Oreo: A plug-in context reconstructor to enhance retrievalaugmented generation. In *Proceedings of the 2025 International ACM SIGIR Conference on Innovative Concepts and Theories in Information Retrieval (ICTIR)*, pp. 238–253, 2025.
|
| 356 |
+
- Xiaoxi Li, Jiajie Jin, Guanting Dong, Hongjin Qian, Yutao Zhu, Yongkang Wu, Ji-Rong Wen, and Zhicheng Dou. Webthinker: Empowering large reasoning models with deep research capability. *arXiv preprint arXiv:2504.21776*, 2025.
|
| 357 |
+
- Xinze Li, Sen Mei, Zhenghao Liu, Yukun Yan, Shuo Wang, Shi Yu, Zheni Zeng, Hao Chen, Ge Yu, Zhiyuan Liu, et al. Rag-ddr: Optimizing retrieval-augmented generation using differentiable data rewards. *arXiv preprint arXiv:2410.13509*, 2024a.
|
| 358 |
+
- Zhonghao Li, Xuming Hu, Aiwei Liu, Kening Zheng, Sirui Huang, and Hui Xiong. Refiner: Restructure retrieval content efficiently to advance question-answering capabilities. *arXiv preprint arXiv:2406.11357*, 2024b.
|
| 359 |
+
- Xi Victoria Lin, Xilun Chen, Mingda Chen, Weijia Shi, Maria Lomeli, Richard James, Pedro Rodriguez, Jacob Kahn, Gergely Szilvasy, Mike Lewis, et al. Ra-dit: Retrieval-augmented dual instruction tuning. In *The Twelfth International Conference on Learning Representations*, 2023.
|
| 360 |
+
- Aixin Liu, Bei Feng, Bing Xue, Bingxuan Wang, Bochao Wu, Chengda Lu, Chenggang Zhao, Chengqi Deng, Chenyu Zhang, Chong Ruan, et al. Deepseek-v3 technical report. *arXiv preprint arXiv:2412.19437*, 2024.
|
| 361 |
+
- Nelson F Liu, Kevin Lin, John Hewitt, Ashwin Paranjape, Michele Bevilacqua, Fabio Petroni, and Percy Liang. Lost in the middle: How language models use long contexts. *arXiv preprint arXiv:2307.03172*, 2023.
|
| 362 |
+
- Maxime Louis, Herve D´ ejean, and St ´ ephane Clinchant. Pisco: Pretty simple compression for ´ retrieval-augmented generation. *arXiv preprint arXiv:2501.16075*, 2025.
|
| 363 |
+
- Shengyu Mao, Yong Jiang, Boli Chen, Xiao Li, Peng Wang, Xinyu Wang, Pengjun Xie, Fei Huang, Huajun Chen, and Ningyu Zhang. Rafe: Ranking feedback improves query rewriting for rag. *arXiv preprint arXiv:2405.14431*, 2024.
|
| 364 |
+
- Tri Nguyen, Mir Rosenberg, Xia Song, Jianfeng Gao, Saurabh Tiwary, Rangan Majumder, and Li Deng. Ms marco: A human-generated machine reading comprehension dataset. 2016.
|
| 365 |
+
- Ori Ram, Yoav Levine, Itay Dalmedigos, Dor Muhlgay, Amnon Shashua, Kevin Leyton-Brown, and Yoav Shoham. In-context retrieval-augmented language models. *Transactions of the Association for Computational Linguistics*, 11:1316–1331, 2023.
|
| 366 |
+
|
| 367 |
+
{12}------------------------------------------------
|
| 368 |
+
|
| 369 |
+
<span id="page-12-13"></span>**654**
|
| 370 |
+
|
| 371 |
+
<span id="page-12-11"></span><span id="page-12-8"></span><span id="page-12-5"></span><span id="page-12-4"></span><span id="page-12-1"></span>**656**
|
| 372 |
+
|
| 373 |
+
<span id="page-12-12"></span><span id="page-12-10"></span><span id="page-12-6"></span><span id="page-12-3"></span><span id="page-12-2"></span><span id="page-12-0"></span>**684 685**
|
| 374 |
+
|
| 375 |
+
- <span id="page-12-9"></span><span id="page-12-7"></span>David Rau, Shuai Wang, Herve D´ ejean, and St ´ ephane Clinchant. Context embeddings for efficient ´ answer generation in rag. *arXiv preprint arXiv:2407.09252*, 2024.
|
| 376 |
+
- Stephen E Robertson, Steve Walker, Susan Jones, Micheline M Hancock-Beaulieu, Mike Gatford, et al. *Okapi at TREC-3*. British Library Research and Development Department, 1995.
|
| 377 |
+
- Shivam Shandilya, Menglin Xia, Supriyo Ghosh, Huiqiang Jiang, Jue Zhang, Qianhui Wu, Victor Ruhle, and Saravan Rajmohan. Taco-rl: Task aware prompt compression optimization with rein- ¨ forcement learning. In *Findings of the Association for Computational Linguistics: ACL 2025*, pp. 1582–1597, 2025.
|
| 378 |
+
- Zhihong Shao, Peiyi Wang, Qihao Zhu, Runxin Xu, Junxiao Song, Xiao Bi, Haowei Zhang, Mingchuan Zhang, YK Li, Yang Wu, et al. Deepseekmath: Pushing the limits of mathematical reasoning in open language models. *arXiv preprint arXiv:2402.03300*, 2024.
|
| 379 |
+
- Weijia Shi, Sewon Min, Michihiro Yasunaga, Minjoon Seo, Rich James, Mike Lewis, Luke Zettlemoyer, and Wen-tau Yih. Replug: Retrieval-augmented black-box language models. *arXiv preprint arXiv:2301.12652*, 2023.
|
| 380 |
+
- Aditi Singh, Abul Ehtesham, Saket Kumar, and Tala Talaei Khoei. Agentic retrieval-augmented generation: A survey on agentic rag. *arXiv preprint arXiv:2501.09136*, 2025.
|
| 381 |
+
- Huatong Song, Jinhao Jiang, Yingqian Min, Jie Chen, Zhipeng Chen, Wayne Xin Zhao, Lei Fang, and Ji-Rong Wen. R1-searcher: Incentivizing the search capability in llms via reinforcement learning. *arXiv preprint arXiv:2503.05592*, 2025.
|
| 382 |
+
- Chenyuan Wu, Ninglu Shao, Zheng Liu, Shitao Xiao, Chaozhuo Li, Chen Zhang, Senzhang Wang, and Defu Lian. Lighter and better: Towards flexible context adaptation for retrieval augmented generation. In *Proceedings of the Eighteenth ACM International Conference on Web Search and Data Mining*, pp. 271–280, 2025.
|
| 383 |
+
- Fangyuan Xu, Weijia Shi, and Eunsol Choi. Recomp: Improving retrieval-augmented lms with context compression and selective augmentation. In *The Twelfth International Conference on Learning Representations*, 2024.
|
| 384 |
+
- Zhilin Yang, Peng Qi, Saizheng Zhang, Yoshua Bengio, William W Cohen, Ruslan Salakhutdinov, and Christopher D Manning. Hotpotqa: A dataset for diverse, explainable multi-hop question answering. *arXiv preprint arXiv:1809.09600*, 2018.
|
| 385 |
+
- Qianchi Zhang, Hainan Zhang, Liang Pang, Hongwei Zheng, and Zhiming Zheng. Adacomp: Extractive context compression with adaptive predictor for retrieval-augmented large language models. *arXiv preprint arXiv:2409.01579*, 2024a.
|
| 386 |
+
- Taolin Zhang, Dongyang Li, Qizhou Chen, Chengyu Wang, Longtao Huang, Hui Xue, Xiaofeng He, and Jun Huang. R 4: Reinforced retriever-reorder-responder for retrieval-augmented large language models. In *ECAI 2024*, pp. 2314–2321. IOS Press, 2024b.
|
| 387 |
+
- Yuxiang Zheng, Dayuan Fu, Xiangkun Hu, Xiaojie Cai, Lyumanshan Ye, Pengrui Lu, and Pengfei Liu. Deepresearcher: Scaling deep research via reinforcement learning in real-world environments. *arXiv preprint arXiv:2504.03160*, 2025.
|
| 388 |
+
- Kun Zhu, Xiaocheng Feng, Xiyuan Du, Yuxuan Gu, Weijiang Yu, Haotian Wang, Qianglong Chen, Zheng Chu, Jingchang Chen, and Bing Qin. An information bottleneck perspective for effective noise filtering on retrieval-augmented generation. In *Proceedings of the 62nd Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers)*, pp. 1044–1069, 2024.
|
| 389 |
+
|
| 390 |
+
{13}------------------------------------------------
|
| 391 |
+
|
| 392 |
+
<span id="page-13-0"></span>Compress the information in the retrieved documents into a 2-sentence summary that could be used to answer the question. If the documents do not contain relevant information, simply output " ".
|
| 393 |
+
|
| 394 |
+
Question: {*Question*}
|
| 395 |
+
|
| 396 |
+
**709**
|
| 397 |
+
|
| 398 |
+
**724**
|
| 399 |
+
|
| 400 |
+
Retrieved documents: {*Documents*}
|
| 401 |
+
|
| 402 |
+
Compressed documents:
|
| 403 |
+
|
| 404 |
+
Figure 5: Prompt template used to generate the summary.
|
| 405 |
+
|
| 406 |
+
### <span id="page-13-1"></span>[Instruction] Answer the question.
|
| 407 |
+
|
| 408 |
+
IMPORTANT: Respond ONLY with the exact answer in the same format as the examples. Do NOT add any extra text, explanations, or punctuation. Do NOT include "Answer:" or any similar prefix in your response.
|
| 409 |
+
|
| 410 |
+
### [Examples]
|
| 411 |
+
|
| 412 |
+
Question: Which major Russian city borders the body of water in which Saaremaa is located?
|
| 413 |
+
|
| 414 |
+
Answer: Saint Petersburg
|
| 415 |
+
|
| 416 |
+
Question: Who was thee first president of the association that wrote the code of ethics for psychology?
|
| 417 |
+
|
| 418 |
+
Answer: G. Stanley Hall
|
| 419 |
+
|
| 420 |
+
Question: Where did the Baldevins bryllup director die?
|
| 421 |
+
|
| 422 |
+
Answer: Copenhagen
|
| 423 |
+
|
| 424 |
+
### [Current Question]
|
| 425 |
+
|
| 426 |
+
**{***Summary of the retrieved documents***}**
|
| 427 |
+
|
| 428 |
+
Question: {*Question*}
|
| 429 |
+
|
| 430 |
+
Answer:
|
| 431 |
+
|
| 432 |
+
Figure 6: Prompt template for LLM QA.
|
| 433 |
+
|
| 434 |
+
## A USE OF LLMS
|
| 435 |
+
|
| 436 |
+
Large language models (LLMs) were employed solely as writing assistants to enhance the language, improve clarity, and check grammatical correctness. They were not used to generate research ideas, design or implement methodologies, conduct data analysis, or produce any of the results presented in this work. The authors assume full responsibility for the entire content of the paper.
|
| 437 |
+
|
| 438 |
+
## B PROMPT TEMPLATES
|
| 439 |
+
|
| 440 |
+
Figure [5](#page-13-0) displays the prompt employed to train the compressor model for generating a summary of the retrieved documents, conditioned on the given query. This prompt is notably concise. For end-task answer generation, the prompt provided to the LLM M is illustrated in Figure [6,](#page-13-1) which incorporates few-shot in-context examples, the (generated summary of) retrieved documents, and the question.
|
| 441 |
+
|
| 442 |
+
## C CASE STUDY
|
| 443 |
+
|
| 444 |
+
To conduct an in-depth analysis of the advantages of our compressor, we performed case studies on one single-hop QA dataset (NQ) and one multi-hop QA dataset (2Wiki), with the results presented in Table [4](#page-14-0) and Table [5,](#page-15-0) respectively. For each case, we compared the summaries generated by off-the-shelf Qwen2.5-1.5B-Instruct, RECOMP, and our method CORE based on the same set of documents, as well as the predicted answers generated by the LLM after prepending these summaries. As shown in the tables, although the summaries produced by off-the-shelf Qwen2.5-1.5B
|
| 445 |
+
|
| 446 |
+
{14}------------------------------------------------
|
| 447 |
+
|
| 448 |
+
### Table 4: Case study on NQ dataset.
|
| 449 |
+
|
| 450 |
+
**758**
|
| 451 |
+
|
| 452 |
+
**759**
|
| 453 |
+
|
| 454 |
+
**761**
|
| 455 |
+
|
| 456 |
+
**764**
|
| 457 |
+
|
| 458 |
+
**779 780 781**
|
| 459 |
+
|
| 460 |
+
# <span id="page-14-0"></span>Question: when did the us stop drafting for the vietnam war? Gold answer: [1973]
|
| 461 |
+
|
| 462 |
+
### Top-5 documents:
|
| 463 |
+
|
| 464 |
+
last men conscripted, who were born in 1952 and who reported for duty in June 1973. On February 2, 1972, a drawing was held to determine draft priority numbers for men born in 1953, but in early 1973 it was announced by Secretary of Defense Melvin Laird that no further draft orders would be issued. In March 1973, 1974, and 1975, the Selective Service assigned draft priority numbers for all men born in 1954, 1955, and 1956, in case the draft was extended, but it never was. Command Sergeant Major Jeff Mellinger, believed to be the last drafted enlisted ranked.
|
| 465 |
+
|
| 466 |
+
The Gates Commission issued its report in February 1970, describing how adequate military strength could be maintained without having conscription. The existing draft law was expiring at the end of June 1971, but the Department of Defense and Nixon administration decided the draft needed to continue for at least some time. In February 1971, the administration requested of Congress a two-year extension of the draft, to June 1973. Senatorial opponents of the war wanted to reduce this to a one-year extension, or eliminate the draft altogether, or tie the draft renewal to a timetable for troop withdrawal from Vietnam; Senator.
|
| 467 |
+
|
| 468 |
+
draft operated from 1940 until 1946 when further inductions were suspended, and its legislative authorization expired without further extension by Congress in 1947. During this time, more than 10 million men had been inducted into military service. However, the Selective Service System remained intact. Scattered opposition was encountered especially in the northern cities where some African-Americans protested the system. The tiny Nation of Islam was at the forefront, with many Black Muslims jailed for refusing the draft, and their leader Elijah Muhammed was sentenced to federal prison for 5 years for inciting draft resistance. Organized draft resistance also developed in.
|
| 469 |
+
|
| 470 |
+
was the first time any form of student deferment was used. During the Korean War a student carrying at least twelve semester hours was spared until the end of his current semester. The United States breathed easier with the Korean War Armistice on July 27, 1953; however, technology brought new promises and threats. U.S. air and nuclear power fueled the Eisenhower doctrine of "massive retaliation". This strategy demanded more machines and fewer foot soldiers, so the draft slipped to the back burner. However, the head of the SSS, Maj. Gen. Hershey, urged caution fearing the conflict looming in Vietnam. In.
|
| 471 |
+
|
| 472 |
+
policy of using the draft as force to compel "voluntary" enlistment was unique in U.S. history. Previous drafts had not aimed at encouraging individuals to sign up in order to gain preferential placement or less dangerous postings. However, the incremental buildup of Vietnam without a clear threat to the country bolstered this. Some estimates suggest conscription encompassed almost one-third of all eligible men during the period of 1965–69. This group represented those without exemption or resources to avoid military service. During the active combat phase, the possibility of avoiding combat by selecting their service and military specialty led as many.
|
| 473 |
+
|
| 474 |
+
| Compressor | Generated summary | Predicted<br>answer |
|
| 475 |
+
|--------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---------------------|
|
| 476 |
+
| Off-the-shell<br>Qwen2.5-<br>1.5B-Instruct | The US stopped drafting for the Vietnam War in late 1972 after<br>the draft expired at the end of June 1971. | late 1972 |
|
| 477 |
+
| RECOMP | The U.S. stopped drafting for the Vietnam War after the<br>Selective Service System was officially abolished in December<br>1972 due to growing public opposition and the expiration of the<br>draft's legal authority in 1971. While the draft was formally<br>ended, some individuals were still consripted into the military | December<br>1972 |
|
| 478 |
+
| Ours | The U.S. stopped drafting for the Vietnam War in 1973 after<br>announcing the decision by Secretary of Defense Melvin Laird<br>earlier that year. Although the Selective Service System was<br>later updated to include draft priority numbers, this decision<br>marked the end of the draft's use for national service. | 1973 |
|
| 479 |
+
|
| 480 |
+
{15}------------------------------------------------
|
| 481 |
+
|
| 482 |
+
### Table 5: Case study on 2Wiki dataset.
|
| 483 |
+
|
| 484 |
+
**812 813**
|
| 485 |
+
|
| 486 |
+
**814 815**
|
| 487 |
+
|
| 488 |
+
**817**
|
| 489 |
+
|
| 490 |
+
**829 830**
|
| 491 |
+
|
| 492 |
+
**834**
|
| 493 |
+
|
| 494 |
+
### <span id="page-15-0"></span>Question: Who is Charles Bretagne Marie De La Tremoille's paternal grandfather? ´ Gold answer: [Charles Armand Rene de La Tr ´ emoille] ´
|
| 495 |
+
|
| 496 |
+
Top-5 documents:
|
| 497 |
+
|
| 498 |
+
as at Versailles: he was brigadier of cavalry (January 1709), first gentleman of the King's chamber (June 1709), governor of Thouars (July 1709), and Marechal de camp (February 1719). His sister ´ Marie Armande Victoire de La Tremoille married Emmanuel Th ´ eodose de La Tour d'Auvergne. ´ On 13 April 1706 he married Marie-Madeleine Motier de La Fayette (1691–1717), the daughter of Rene-Armand, marquis de La Fayette and Marie-Madeleine de Marillac, and granddaughter of the author Marie-Madeleine Pioche de la Vergne, comtesse de la Fayette. They had one child, Charles Armand Rene de La Tr ´ emoille, born in 1708. Charles Louis Bretagne de La ´
|
| 499 |
+
|
| 500 |
+
Charles Bretagne Marie de La Tremoille Charles Bretagne Marie de La Tr ´ emoille (24 March ´ 1764 – 10 November 1839), 8th duc de Thouars, was a French soldier and the son of Jean Bretagne Charles de La Tremoille and his wife, Marie-Maximilienne, princess of Salm-Kyrburg. La ´ Tremoille married Louise-Emmanuelle de Ch ´ atillon in 1781. She was a grand daughter of Louis ˆ Cesar de La Baume Le Blanc, the famous writer. The couple had one daughter: At the outbreak ´ of the French Revolution, he sided with King Louis XVI, as did the rest of his family. In 1789, La Tremoille and his parents ´
|
| 501 |
+
|
| 502 |
+
Jean Bretagne Charles de La Tremoille Jean-Bretagne-Charles de La Tr ´ emoille (5 February 1737 ´ – 19 May 1792), 7th duc de Thouars, was a French soldier and the son of Charles Armand Rene´ de La Tremoille and his wife, Marie Hortense de La Tour d'Auvergne. La Tr ´ emoille began his ´ military career in the Seven Years' War as the head of the regiment of Aquitaine-Cavalry. He was seriously wounded and afterwards promoted to the rank of sergeant, and later of brigadier, of the armies of the king. During the French Revolution, La Tremoille remained faithful to King Louis ´ XVI. He emigrated in
|
| 503 |
+
|
| 504 |
+
Charles Louis Bretagne de La Tremoille Charles Louis Bretagne de La Tr ´ emoille (15 March ´ 1683 – 9 October 1719), 6th duke of Thouars, was the son of Charles Belgique Hollande de La Tremoille and Madeleine de Cr ´ equy, daughter and heiress of Charles III de Cr ´ equy. He became ´ duke of Thouars upon his father's death in 1709. He was also count of Laval and Montfort and inherited the ancient French claim to the Kingdom of Naples. The Neapolitan claim gave the family the rank of "princes etrangers" at the French court. The Duke made a career in the ´ military as well
|
| 505 |
+
|
| 506 |
+
de Saint-Didier. They had two daughters: Following her death, La Tremoille married for a third ´ time in 1830 to Valentine Eugenie Jos ´ ephine Walsh de Serrant. They had two children: La ´ Tremoille died shortly after his son's birth, in 1839. Charles Bretagne Marie de La Tr ´ emoille ´ Charles Bretagne Marie de La Tremoille (24 March 1764 ��� 10 November 1839), 8th duc de ´ Thouars, was a French soldier and the son of Jean Bretagne Charles de La Tremoille and his wife, ´ Marie-Maximilienne, princess of Salm-Kyrburg. La Tremoille married Louise-Emmanuelle de ´ Chatillon in 1781. She was a grand daughter of Louis C ˆ esar de ´
|
| 507 |
+
|
| 508 |
+
| Compressor | Generated summary | Predicted<br>answer |
|
| 509 |
+
|--------------------------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|-------------------------------------------------|
|
| 510 |
+
| Off-the-shell<br>Qwen2.5-<br>1.5B-Instruct | Charles Bretagne Marie de La Tremoille's paternal grandfather<br>´<br>was Jean Bretagne Charles de La Tremoille. ´ | Jean Bretagne<br>Charles de La<br>Tremoille ´ |
|
| 511 |
+
| RECOMP | Charles Bretagne Marie de La Tremoille's paternal grandfather<br>´<br>was Charles Louis Bretagne de La Tremoille, who was the son<br>´<br>of Charles Belgique Hollande de La Tremoille and Madeleine<br>´<br>de Crequy. This makes him the direct paternal grandfather of<br>´<br>Charles Bretagne Marie de La Tremoille. ´ | Charles Louis<br>Bretagne de<br>La Tremoille ´ |
|
| 512 |
+
| Ours | ´<br>Charles Bretagne Marie de La Tremoille's paternal grandfather<br>is Charles Armand Rene de La Tr<br>´<br>emoille, her father's father, the<br>´<br>7th duc de Thouars. | Charles<br>Armand Rene´<br>de La<br>Tremoille ´ |
|
| 513 |
+
|
| 514 |
+
**861 863**
|
| 515 |
+
|
| 516 |
+
**854 855 856**
|
| 517 |
+
|
| 518 |
+
{16}------------------------------------------------
|
| 519 |
+
|
| 520 |
+
**869**
|
| 521 |
+
|
| 522 |
+
**884**
|
| 523 |
+
|
| 524 |
+
**904**
|
| 525 |
+
|
| 526 |
+
**906**
|
| 527 |
+
|
| 528 |
+
Table 6: Failure Cases on NQ dataset.
|
| 529 |
+
|
| 530 |
+
<span id="page-16-0"></span>
|
| 531 |
+
|
| 532 |
+
| Question | Generated Summary | Predicted<br>Answer | Gold<br>Answer |
|
| 533 |
+
|-----------------------------------------------------------------------------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---------------------|-----------------|
|
| 534 |
+
| who is the<br>president of<br>usa right now | The current president of the USA is **Donald<br>Trump**, who was elected on January 20, 2017, and<br>is the 45th president. He is a businessman and reality<br>TV personality, and his inauguration marked a shift in<br>the country's political landscape. | Joe Biden | Donald<br>Trump |
|
| 535 |
+
| who has been<br>ranked no. 1<br>in the latest<br>football<br>rankings<br>announced by<br>fifa | The latest FIFA football rankings, announced in 2018,<br>have ranked France as the top team, after winning the<br>2018 World Cup. This change was implemented using<br>the Elo rating system, and the rankings were<br>introduced to better reflect football team strengths. | France | Germany |
|
| 536 |
+
|
| 537 |
+
are concise, they largely fail to capture key information relevant to answering the question. In contrast, RECOMP demonstrates better summarization capability but is prone to being overwhelmed by lengthy documents, resulting in misjudgments and even generating misleading information—such as the statement in Table [4:](#page-14-0) "*The U.S. stopped drafting for the Vietnam War after the Selective Service System was officially abolished in December 1972*"—which leads the downstream LLM to produce the incorrect answer "1972". Our method, CORE, accurately extracts answer-critical information from lengthy documents, exemplified by the summary: "*The U.S. stopped drafting for the Vietnam War in 1973 after announcing the decision by Secretary of Defense Melvin Laird earlier that year*", thereby enabling the LLM to generate the correct answer "1973". This indicates that our compressor, trained with an end-task target-oriented reinforcement learning optimization strategy, can produce document summaries that are most helpful for answering the given question while effectively filtering out irrelevant information.
|
| 538 |
+
|
| 539 |
+
To further understand the limitations of our approach, we present two failure cases from the NQ dataset where the model provided incorrect answers based on our generated summaries. As shown in Table [6,](#page-16-0) the first case reveals that although the summary contained the key information required for the correct answer, the downstream LLM still produced an error, potentially due to its over-reliance on parametric knowledge. In the second case, the summary itself omitted critical information needed to answer the question, which likely led to the incorrect response.
|
| 540 |
+
|
| 541 |
+
## D IMPACT OF DIFFERENT COMPRESSORS ON PERFORMANCE
|
| 542 |
+
|
| 543 |
+
In our previous experiments, we employed Qwen2.5-1.5B as the initial model to train our compressor. In this section, we utilize two additional models—Llama3.2-1B and Llama3.2-3B—as starting points to train our compressor and the baseline compressor, respectively. The experimental results are presented in Table [7](#page-17-0) and Table [8.](#page-17-1) As shown in the results, our method CORE continues to achieve lossless compression with both models, maintaining a high token compression ratio while exhibiting no performance degradation in terms of Exact Match (EM) and F1 score compared to uncompressed RAG. Furthermore, under both new model configurations, our approach consistently outperforms the baseline methods, indicating that its superiority is not dependent on a specific model architecture and thus demonstrates strong robustness.
|
| 544 |
+
|
| 545 |
+
We also observe that our method adheres to a form of scaling law: the compressor trained using the 3B model outperforms the one trained with the 1B model. Specifically, the 1B compressor improves performance by 1–4 EM points over the uncompressed baseline, while the 3B compressor yields gains of 3–9 EM points.
|
| 546 |
+
|
| 547 |
+
{17}------------------------------------------------
|
| 548 |
+
|
| 549 |
+
<span id="page-17-0"></span>Table 7: Open-domain QA results using Qwen2.5-14B-Instruct as the downstream LLM (M). The reported token counts represent the length of in-context documents, excluding few-shot examples. RECOMP and our method CORE are both trained using **llama3.2-1B-Instruct**.
|
| 550 |
+
|
| 551 |
+
| | NQ | | | | TriviaQA | | | HotpotQA | | | 2WikiMultihopQA | | |
|
| 552 |
+
|----------------------|------------|-------------|---------|-----------|------------|------------|--------|----------|-------|--------|-----------------|-------|--|
|
| 553 |
+
| | EM | F1 | # tok | EM | F1 | # tok | EM | F1 | # tok | EM | F1 | # tok | |
|
| 554 |
+
| No Retrieval | 0.2136 | 0.3097 | 0 | 0.5323 | 0.5998 | 0 | 0.2105 | 0.2948 | 0 | 0.2611 | 0.2951 | 0 | |
|
| 555 |
+
| RAG without compre | ession | | | | | | | | | | | | |
|
| 556 |
+
| Top1 Document | 0.3446 | 0.4441 | 142 | 0.6082 | 0.6870 | 143 | 0.2920 | 0.3893 | 147 | 0.2679 | 0.3187 | 153 | |
|
| 557 |
+
| Top3 Documents | 0.3778 | 0.4845 | 427 | 0.6260 | 0.7102 | 430 | 0.3164 | 0.4187 | 442 | 0.2789 | 0.3358 | 460 | |
|
| 558 |
+
| Top5 Documents | 0.3803 | 0.4916 | 712 | 0.6410 | 0.7248 | 715 | 0.3299 | 0.4369 | 737 | 0.2964 | 0.3521 | 766 | |
|
| 559 |
+
| Top10 Documents | 0.3867 | 0.5003 | 1425 | 0.6440 | 0.7292 | 1428 | 0.3395 | 0.4488 | 1471 | 0.3104 | 0.3675 | 1531 | |
|
| 560 |
+
| Compression of top 3 | 5 docs | | | | | | | | | | | | |
|
| 561 |
+
| llama3.2-1B | 0.3147 | 0.4227 | 64 | 0.5552 | 0.6415 | 60 | 0.2648 | 0.3639 | 58 | 0.2498 | 0.3003 | 61 | |
|
| 562 |
+
| Deepseek-V3 (671B) | 0.3773 | 0.5039 | 54 | 0.6528 | 0.7433 | 51 | 0.3359 | 0.4483 | 48 | 0.2507 | 0.3031 | 45 | |
|
| 563 |
+
| RECOMP (1B) | 0.3410 | 0.4655 | 57 | 0.6071 | 0.6880 | 48 | 0.2987 | 0.4121 | 49 | 0.3045 | 0.3653 | 33 | |
|
| 564 |
+
| CORE (1B) | 0.3947 | 0.4923 | 47 | 0.6483 | 0.7287 | 43 | 0.3344 | 0.4454 | 45 | 0.3378 | 0.3969 | 34 | |
|
| 565 |
+
| Compression of top | 10 docs (w | vith the co | mpresso | r trained | on top 5 d | locs) | | | | | | | |
|
| 566 |
+
| llama3.2-1B | 0.3141 | 0.4228 | 62 | 0.5651 | 0.6512 | <b>5</b> 8 | 0.2663 | 0.3661 | 56 | 0.2493 | 0.3006 | 61 | |
|
| 567 |
+
| Deepseek-V3 (671B) | 0.3779 | 0.5107 | 56 | 0.6529 | 0.7445 | 53 | 0.3462 | 0.4569 | 50 | 0.2900 | 0.3464 | 40 | |
|
| 568 |
+
| RECOMP (1B) | 0.3421 | 0.4661 | 59 | 0.6095 | 0.6917 | 52 | 0.2982 | 0.4105 | 55 | 0.3072 | 0.3681 | 44 | |
|
| 569 |
+
| CORE (1B) | 0.4033 | 0.5033 | 47 | 0.6521 | 0.7296 | 45 | 0.3412 | 0.4500 | 48 | 0.3586 | 0.4162 | 42 | |
|
| 570 |
+
|
| 571 |
+
<span id="page-17-1"></span>Table 8: Open-domain QA results using Qwen2.5-14B-Instruct as the downstream LLM (M). The reported token counts represent the length of in-context documents, excluding few-shot examples. RECOMP and our method CORE are both trained using **llama3.2-3B-Instruct**.
|
| 572 |
+
|
| 573 |
+
| | | NQ | | | TriviaQA | | | HotpotQA | | | 2WikiMultihopQA | | |
|
| 574 |
+
|----------------------|------------|-------------|---------|------------|------------|-------|--------|----------|-------|--------|-----------------|-------|--|
|
| 575 |
+
| | EM | F1 | # tok | EM | F1 | # tok | EM | F1 | # tok | EM | F1 | # tok | |
|
| 576 |
+
| No Retrieval | 0.2136 | 0.3097 | 0 | 0.5323 | 0.5998 | 0 | 0.2105 | 0.2948 | 0 | 0.2611 | 0.2951 | 0 | |
|
| 577 |
+
| RAG without compre | ession | | | | | | | | | | | | |
|
| 578 |
+
| Top1 Document | 0.3446 | 0.4441 | 142 | 0.6082 | 0.6870 | 143 | 0.2920 | 0.3893 | 147 | 0.2679 | 0.3187 | 153 | |
|
| 579 |
+
| Top3 Documents | 0.3778 | 0.4845 | 427 | 0.6260 | 0.7102 | 430 | 0.3164 | 0.4187 | 442 | 0.2789 | 0.3358 | 460 | |
|
| 580 |
+
| Top5 Documents | 0.3803 | 0.4916 | 712 | 0.6410 | 0.7248 | 715 | 0.3299 | 0.4369 | 737 | 0.2964 | 0.3521 | 766 | |
|
| 581 |
+
| Top10 Documents | 0.3867 | 0.5003 | 1425 | 0.6440 | 0.7292 | 1428 | 0.3395 | 0.4488 | 1471 | 0.3104 | 0.3675 | 1531 | |
|
| 582 |
+
| Compression of top : | 5 docs | | | | | | | | | | | | |
|
| 583 |
+
| llama3.2-3B | 0.3252 | 0.4334 | 60 | 0.5650 | 0.6521 | 59 | 0.2772 | 0.3809 | 58 | 0.2485 | 0.2995 | 60 | |
|
| 584 |
+
| Deepseek-V3 (671B) | 0.3773 | 0.5039 | 54 | 0.6528 | 0.7433 | 51 | 0.3359 | 0.4483 | 48 | 0.2507 | 0.3031 | 45 | |
|
| 585 |
+
| RECOMP (3B) | 0.3657 | 0.4912 | 55 | 0.6183 | 0.6920 | 47 | 0.3025 | 0.4238 | 52 | 0.3274 | 0.3806 | 42 | |
|
| 586 |
+
| CORE (3B) | 0.4310 | 0.5234 | 32 | 0.6650 | 0.7306 | 38 | 0.3507 | 0.4736 | 51 | 0.3905 | 0.4474 | 40 | |
|
| 587 |
+
| Compression of top | 10 docs (w | vith the co | mpresso | or trained | on top 5 a | locs) | | | | | | | |
|
| 588 |
+
| llama3.2-3B | 0.3318 | 0.4359 | 61 | 0.5720 | 0.6588 | 57 | 0.2791 | 0.3854 | 60 | 0.2491 | 0.3011 | 59 | |
|
| 589 |
+
| Deepseek-V3 (671B) | 0.3779 | 0.5107 | 56 | 0.6529 | 0.7445 | 53 | 0.3462 | 0.4569 | 50 | 0.2900 | 0.3464 | 40 | |
|
| 590 |
+
| RECOMP (3B) | 0.3682 | 0.4963 | 52 | 0.6205 | 0.6973 | 44 | 0.3077 | 0.4261 | 54 | 0.3312 | 0.3869 | 50 | |
|
| 591 |
+
| CORE (3B) | 0.4526 | 0.5467 | 33 | 0.6736 | 0.7404 | 37 | 0.3693 | 0.4926 | 51 | 0.4071 | 0.4633 | 48 | |
|
| 592 |
+
|
| 593 |
+
{18}------------------------------------------------
|
| 594 |
+
|
| 595 |
+
<span id="page-18-1"></span>**979**
|
| 596 |
+
|
| 597 |
+
**994**
|
| 598 |
+
|
| 599 |
+
<span id="page-18-0"></span>Table 9: Zero-Shot Evaluation on HotpotQA of Models Trained on Natural Questions.
|
| 600 |
+
|
| 601 |
+
| | EM | F1 | #tok |
|
| 602 |
+
|-----------------|-------|-------|------|
|
| 603 |
+
| No Retrieval | 21.05 | 29.48 | 0 |
|
| 604 |
+
| Full Documents | 32.99 | 43.69 | 737 |
|
| 605 |
+
| BM25 | 24.18 | 35.73 | 71 |
|
| 606 |
+
| NoiseFilter-IB | 27.97 | 38.62 | 38 |
|
| 607 |
+
| RECOMP | 28.96 | 39.95 | 56 |
|
| 608 |
+
| CORE | 33.67 | 45.06 | 36 |
|
| 609 |
+
| RECOMP-Transfer | 26.68 | 37.29 | 58 |
|
| 610 |
+
| CORE-Transfer | 31.25 | 42.84 | 35 |
|
| 611 |
+
| | | | |
|
| 612 |
+
|
| 613 |
+
Table 10: Evaluation on Noisy Natural Questions.
|
| 614 |
+
|
| 615 |
+
| | EM | F1 | #tok |
|
| 616 |
+
|----------------|-------|-------|------|
|
| 617 |
+
| full documents | 35.21 | 45.38 | 1427 |
|
| 618 |
+
| RECOMP | 33.29 | 43.90 | 59 |
|
| 619 |
+
| CORE | 38.19 | 48.85 | 48 |
|
| 620 |
+
|
| 621 |
+
## E CROSS-DATASET GENERALIZATION PERFORMANCE
|
| 622 |
+
|
| 623 |
+
To verify the universal compression capability of our method, we directly transfer the model trained on the single-hop question answering dataset NQ to the multi-hop dataset HotpotQA for evaluation. The results, shown in Table [9,](#page-18-0) indicate that our transferred model achieves nearly lossless performance compared to using full documents without compression, while substantially outperforming the transfer results of the RECOMP baseline. Moreover, although both our method and the baseline underperform relative to models trained directly on the target HotpotQA dataset, our approach exhibits a smaller performance drop and demonstrates greater robustness compared to the baseline.
|
| 624 |
+
|
| 625 |
+
## F ROBUSTNESS AGAINST NOISY CONTEXTS
|
| 626 |
+
|
| 627 |
+
To evaluate the robustness of our approach against adversarial retrievals and noisy contexts, we constructed a noisy version of the NQ dataset. For each question, we constructed the input context by combining the top-3 passages retrieved by the DPR retriever with 7 randomly selected passages from the Wikipedia corpus to serve as irrelevant/noisy information. This resulted in a context of 10 passages, which were then shuffled to randomize the order. We then compared the performance of our method against the full-document baseline. Experimental results are presented in the table [10.](#page-18-1) In the "full documents" setting, the downstream LLM directly uses all these 10 passages to answer the question, whereas in our method, the compressor first summarizes the context, and the LLM then generates an answer based on the compressed content. The model we used was trained on the standard NQ dataset without any such noise augmentation. Our method not only matches but slightly surpasses the performance of using all documents, demonstrating its strong noise resistance and ability to extract key information from cluttered contexts. In addition, we compared our approach with the RECOMP baseline, and our method consistently outperforms it, reaffirming the superior compression capability and robustness of our model. Furthermore, our method achieves a high compression rate, condensing the source content from 1,427 tokens to just 48.
|
iclr26/6FyYLNnDL6/parse_report.json
ADDED
|
@@ -0,0 +1,76 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"paper_id": "6FyYLNnDL6",
|
| 3 |
+
"pipeline": "marker_non_llm_v3",
|
| 4 |
+
"parser": "marker_single",
|
| 5 |
+
"formats": [
|
| 6 |
+
"markdown",
|
| 7 |
+
"chunks"
|
| 8 |
+
],
|
| 9 |
+
"llm_enabled": false,
|
| 10 |
+
"pdf_path": "/network/scratch/j/jianan.zhao/ReviewAgent/data/processed_papers/iclr26_20260429_1952_all/raw/6FyYLNnDL6.pdf",
|
| 11 |
+
"pdf_sha256": "cd0d01f4ebcf5121f4548f67afae4c5f0961192feefd83de0506d1ab28cd3933",
|
| 12 |
+
"bytes": 2288371,
|
| 13 |
+
"source": "https://openreview.net/pdf?id=6FyYLNnDL6",
|
| 14 |
+
"page_count": 19,
|
| 15 |
+
"ok": true,
|
| 16 |
+
"elapsed_seconds": 223.47,
|
| 17 |
+
"paper2markdown_v3": {
|
| 18 |
+
"paper_id": "6FyYLNnDL6",
|
| 19 |
+
"pipeline": "Paper2Markdown-V3",
|
| 20 |
+
"ok": true,
|
| 21 |
+
"page_count": 19,
|
| 22 |
+
"chunk_count": 106,
|
| 23 |
+
"main_body_chunk_count": 60,
|
| 24 |
+
"appendix_chunk_count": 38,
|
| 25 |
+
"reference_chunk_count": 8,
|
| 26 |
+
"model_text_chars": 43162,
|
| 27 |
+
"raw_markdown_chars": 88191,
|
| 28 |
+
"sanitized_chars": 79686,
|
| 29 |
+
"page_provenance": {
|
| 30 |
+
"min_page": 1,
|
| 31 |
+
"max_page": 19,
|
| 32 |
+
"invalid_count": 0
|
| 33 |
+
},
|
| 34 |
+
"marker_block_type_counts": {
|
| 35 |
+
"Caption": 2,
|
| 36 |
+
"Equation": 4,
|
| 37 |
+
"Figure": 1,
|
| 38 |
+
"FigureGroup": 4,
|
| 39 |
+
"Footnote": 2,
|
| 40 |
+
"ListGroup": 3,
|
| 41 |
+
"PageFooter": 19,
|
| 42 |
+
"PageHeader": 19,
|
| 43 |
+
"SectionHeader": 37,
|
| 44 |
+
"Table": 3,
|
| 45 |
+
"TableGroup": 7,
|
| 46 |
+
"Text": 330
|
| 47 |
+
},
|
| 48 |
+
"asset_count_raw": 5,
|
| 49 |
+
"asset_count_model_kept": 5,
|
| 50 |
+
"asset_count_rejected": 0,
|
| 51 |
+
"asset_reject_reasons": {
|
| 52 |
+
"kept": 5
|
| 53 |
+
},
|
| 54 |
+
"artifact_leak_audit": {
|
| 55 |
+
"ok": true,
|
| 56 |
+
"hits": {
|
| 57 |
+
"Anonymous Authors": [],
|
| 58 |
+
"ACKNOWLEDGMENT": [],
|
| 59 |
+
"OpenReview": [],
|
| 60 |
+
"\"accept_label\"": [],
|
| 61 |
+
"\"decision\"": [],
|
| 62 |
+
"\"decision_tier\"": [],
|
| 63 |
+
"\"source_status\"": [],
|
| 64 |
+
"Meta-review": [],
|
| 65 |
+
"Official Review": [],
|
| 66 |
+
"official_reviews": [],
|
| 67 |
+
"meta_reviews": [],
|
| 68 |
+
"suggested_verdict_score": []
|
| 69 |
+
},
|
| 70 |
+
"artifact_count": 2
|
| 71 |
+
},
|
| 72 |
+
"default_model_input": "model_text_v3.txt",
|
| 73 |
+
"appendix_input": "appendix_text_v3.txt",
|
| 74 |
+
"reference_input": "reference_text_v3.txt"
|
| 75 |
+
}
|
| 76 |
+
}
|
iclr26/6FyYLNnDL6/reference_chunks.jsonl
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{"paper_id": "6FyYLNnDL6", "chunk_id": "6FyYLNnDL6:0060", "section": "REFERENCES", "page_start": 11, "page_end": 11, "type": "ListGroup", "text": "Zhiwei Cao, Qian Cao, Yu Lu, Ningxin Peng, Luyang Huang, Shanbo Cheng, and Jinsong Su. Retaining key information under high compression ratios: Query-guided compressor for llms. In Proceedings of the 62nd Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers) , pp. 12685–12695, 2024. Mingyang Chen, Tianpeng Li, Haoze Sun, Yijie Zhou, Chenzheng Zhu, Haofen Wang, Jeff Z Pan, Wen Zhang, Huajun Chen, Fan Yang, et al. Learning to reason with search for llms via reinforcement learning. arXiv preprint arXiv:2503.19470 , 2025a. Yiqun Chen, Lingyong Yan, Weiwei Sun, Xinyu Ma, Yi Zhang, Shuaiqiang Wang, Dawei Yin, Yiming Yang, and Jiaxin Mao. Improving retrieval-augmented generation through multi-agent reinforcement learning. arXiv preprint arXiv:2501.15228 , 2025b. Wenqi Fan, Yujuan Ding, Liangbo Ning, Shijie Wang, Hengyun Li, Dawei Yin, Tat-Seng Chua, and Qing Li. A survey on rag meeting llms: Towards retrieval-augmented large language models. In Proceedings of the 30th ACM SIGKDD conference on knowledge discovery and data mining , pp. 6491–6501, 2024. Daya Guo, Dejian Yang, Haowei Zhang, Junxiao Song, Ruoyu Zhang, Runxin Xu, Qihao Zhu, Shirong Ma, Peiyi Wang, Xiao Bi, et al. Deepseek-r1: Incentivizing reasoning capability in llms via reinforcement learning. arXiv preprint arXiv:2501.12948 , 2025. Xanh Ho, Anh-Khoa Duong Nguyen, Saku Sugawara, and Akiko Aizawa. Constructing a multi-hop qa dataset for comprehensive evaluation of reasoning steps. arXiv preprint arXiv:2011.01060 , 2020. Gautier Izacard, Mathilde Caron, Lucas Hosseini, Sebastian Riedel, Piotr Bojanowski, Armand Joulin, and Edouard Grave. Unsupervised dense information retrieval with contrastive learning. arXiv preprint arXiv:2112.09118 , 2021. Huiqiang Jiang, Qianhui Wu, Xufang Luo, Dongsheng Li, Chin-Yew Lin, Yuqing Yang, and Lili Qiu. Longllmlingua: Accelerating and enhancing llms in long context scenarios via prompt compression. In Proceedings of the 62nd Annual Meeting of the Association for Computational Lin guistics (Volume 1: Long Papers) , pp. 1658–1677, 2024. Bowen Jin, Jinsung Yoon, Jiawei Han, and Sercan O Arik. Long-context llms meet rag: Overcoming challenges for long inputs in rag. arXiv preprint arXiv:2410.05983 , 2024a. Jiajie Jin, Yutao Zhu, Yujia Zhou, and Zhicheng Dou. Bider: Bridging knowledge inconsistency for efficient retrieval-augmented llms via key supporting evidence. In Findings of the Association for Computational Linguistics ACL 2024 , pp. 750–761, 2024b. Mandar Joshi, Eunsol Choi, Daniel S Weld, and Luke Zettlemoyer. Triviaqa: A large scale distantly supervised challenge dataset for reading comprehension. arXiv preprint arXiv:1705.03551 , 2017.", "source": "marker_v2", "marker_block_id": "/page/10/ListGroup/318"}
|
| 2 |
+
{"paper_id": "6FyYLNnDL6", "chunk_id": "6FyYLNnDL6:0061", "section": "REFERENCES", "page_start": 12, "page_end": 12, "type": "ListGroup", "text": "Hoyoun Jung and Kyung-Joong Kim. Discrete prompt compression with reinforcement learning. IEEE Access , 12:72578–72587, 2024. Vladimir Karpukhin, Barlas Oguz, Sewon Min, Patrick SH Lewis, Ledell Wu, Sergey Edunov, Danqi Chen, and Wen-tau Yih. Dense passage retrieval for open-domain question answering. In EMNLP (1) , pp. 6769–6781, 2020. Zixuan Ke, Weize Kong, Cheng Li, Mingyang Zhang, Qiaozhu Mei, and Michael Bendersky. Bridging the preference gap between retrievers and llms. arXiv preprint arXiv:2401.06954 , 2024. Sangryul Kim and James Thorne. Context filtering with reward modeling in question answering. In Proceedings of the 31st International Conference on Computational Linguistics , pp. 11048– 11055, 2025. Mandar Kulkarni, Praveen Tangarajan, Kyung Kim, and Anusua Trivedi. Reinforcement learning for optimizing rag for domain chatbots. arXiv preprint arXiv:2401.06800 , 2024. Tom Kwiatkowski, Jennimaria Palomaki, Olivia Redfield, Michael Collins, Ankur Parikh, Chris Alberti, Danielle Epstein, Illia Polosukhin, Jacob Devlin, Kenton Lee, et al. Natural questions: a benchmark for question answering research. Transactions of the Association for Computational Linguistics , 7:453–466, 2019. Sha Li and Naren Ramakrishnan. Oreo: A plug-in context reconstructor to enhance retrievalaugmented generation. In Proceedings of the 2025 International ACM SIGIR Conference on Innovative Concepts and Theories in Information Retrieval (ICTIR) , pp. 238–253, 2025. Xiaoxi Li, Jiajie Jin, Guanting Dong, Hongjin Qian, Yutao Zhu, Yongkang Wu, Ji-Rong Wen, and Zhicheng Dou. Webthinker: Empowering large reasoning models with deep research capability. arXiv preprint arXiv:2504.21776 , 2025. Xinze Li, Sen Mei, Zhenghao Liu, Yukun Yan, Shuo Wang, Shi Yu, Zheni Zeng, Hao Chen, Ge Yu, Zhiyuan Liu, et al. Rag-ddr: Optimizing retrieval-augmented generation using differentiable data rewards. arXiv preprint arXiv:2410.13509 , 2024a. Zhonghao Li, Xuming Hu, Aiwei Liu, Kening Zheng, Sirui Huang, and Hui Xiong. Refiner: Restructure retrieval content efficiently to advance question-answering capabilities. arXiv preprint arXiv:2406.11357 , 2024b. Xi Victoria Lin, Xilun Chen, Mingda Chen, Weijia Shi, Maria Lomeli, Richard James, Pedro Rodriguez, Jacob Kahn, Gergely Szilvasy, Mike Lewis, et al. Ra-dit: Retrieval-augmented dual instruction tuning. In The Twelfth International Conference on Learning Representations , 2023. Aixin Liu, Bei Feng, Bing Xue, Bingxuan Wang, Bochao Wu, Chengda Lu, Chenggang Zhao, Chengqi Deng, Chenyu Zhang, Chong Ruan, et al. Deepseek-v3 technical report. arXiv preprint arXiv:2412.19437 , 2024. Nelson F Liu, Kevin Lin, John Hewitt, Ashwin Paranjape, Michele Bevilacqua, Fabio Petroni, and Percy Liang. Lost in the middle: How language models use long contexts. arXiv preprint arXiv:2307.03172 , 2023. Maxime Louis, Herve D´ ejean, and St ´ ephane Clinchant. Pisco: Pretty simple compression for ´ retrieval-augmented generation. arXiv preprint arXiv:2501.16075 , 2025. Shengyu Mao, Yong Jiang, Boli Chen, Xiao Li, Peng Wang, Xinyu Wang, Pengjun Xie, Fei Huang, Huajun Chen, and Ningyu Zhang. Rafe: Ranking feedback improves query rewriting for rag. arXiv preprint arXiv:2405.14431 , 2024. Tri Nguyen, Mir Rosenberg, Xia Song, Jianfeng Gao, Saurabh Tiwary, Rangan Majumder, and Li Deng. Ms marco: A human-generated machine reading comprehension dataset. 2016. Ori Ram, Yoav Levine, Itay Dalmedigos, Dor Muhlgay, Amnon Shashua, Kevin Leyton-Brown, and Yoav Shoham. In-context retrieval-augmented language models. Transactions of the Association for Computational Linguistics , 11:1316–1331, 2023.", "source": "marker_v2", "marker_block_id": "/page/11/ListGroup/346"}
|
| 3 |
+
{"paper_id": "6FyYLNnDL6", "chunk_id": "6FyYLNnDL6:0062", "section": "REFERENCES", "page_start": 13, "page_end": 13, "type": "ListGroup", "text": "David Rau, Shuai Wang, Herve D´ ejean, and St ´ ephane Clinchant. Context embeddings for efficient ´ answer generation in rag. arXiv preprint arXiv:2407.09252 , 2024. Stephen E Robertson, Steve Walker, Susan Jones, Micheline M Hancock-Beaulieu, Mike Gatford, et al. Okapi at TREC-3 . British Library Research and Development Department, 1995. Shivam Shandilya, Menglin Xia, Supriyo Ghosh, Huiqiang Jiang, Jue Zhang, Qianhui Wu, Victor Ruhle, and Saravan Rajmohan. Taco-rl: Task aware prompt compression optimization with rein- ¨ forcement learning. In Findings of the Association for Computational Linguistics: ACL 2025 , pp. 1582–1597, 2025. Zhihong Shao, Peiyi Wang, Qihao Zhu, Runxin Xu, Junxiao Song, Xiao Bi, Haowei Zhang, Mingchuan Zhang, YK Li, Yang Wu, et al. Deepseekmath: Pushing the limits of mathematical reasoning in open language models. arXiv preprint arXiv:2402.03300 , 2024. Weijia Shi, Sewon Min, Michihiro Yasunaga, Minjoon Seo, Rich James, Mike Lewis, Luke Zettlemoyer, and Wen-tau Yih. Replug: Retrieval-augmented black-box language models. arXiv preprint arXiv:2301.12652 , 2023. Aditi Singh, Abul Ehtesham, Saket Kumar, and Tala Talaei Khoei. Agentic retrieval-augmented generation: A survey on agentic rag. arXiv preprint arXiv:2501.09136 , 2025. Huatong Song, Jinhao Jiang, Yingqian Min, Jie Chen, Zhipeng Chen, Wayne Xin Zhao, Lei Fang, and Ji-Rong Wen. R1-searcher: Incentivizing the search capability in llms via reinforcement learning. arXiv preprint arXiv:2503.05592 , 2025. Chenyuan Wu, Ninglu Shao, Zheng Liu, Shitao Xiao, Chaozhuo Li, Chen Zhang, Senzhang Wang, and Defu Lian. Lighter and better: Towards flexible context adaptation for retrieval augmented generation. In Proceedings of the Eighteenth ACM International Conference on Web Search and Data Mining , pp. 271–280, 2025. Fangyuan Xu, Weijia Shi, and Eunsol Choi. Recomp: Improving retrieval-augmented lms with context compression and selective augmentation. In The Twelfth International Conference on Learning Representations , 2024. Zhilin Yang, Peng Qi, Saizheng Zhang, Yoshua Bengio, William W Cohen, Ruslan Salakhutdinov, and Christopher D Manning. Hotpotqa: A dataset for diverse, explainable multi-hop question answering. arXiv preprint arXiv:1809.09600 , 2018. Qianchi Zhang, Hainan Zhang, Liang Pang, Hongwei Zheng, and Zhiming Zheng. Adacomp: Extractive context compression with adaptive predictor for retrieval-augmented large language models. arXiv preprint arXiv:2409.01579 , 2024a. Taolin Zhang, Dongyang Li, Qizhou Chen, Chengyu Wang, Longtao Huang, Hui Xue, Xiaofeng He, and Jun Huang. R 4: Reinforced retriever-reorder-responder for retrieval-augmented large language models. In ECAI 2024 , pp. 2314–2321. IOS Press, 2024b. Yuxiang Zheng, Dayuan Fu, Xiangkun Hu, Xiaojie Cai, Lyumanshan Ye, Pengrui Lu, and Pengfei Liu. Deepresearcher: Scaling deep research via reinforcement learning in real-world environments. arXiv preprint arXiv:2504.03160 , 2025. Kun Zhu, Xiaocheng Feng, Xiyuan Du, Yuxuan Gu, Weijiang Yu, Haotian Wang, Qianglong Chen, Zheng Chu, Jingchang Chen, and Bing Qin. An information bottleneck perspective for effective noise filtering on retrieval-augmented generation. In Proceedings of the 62nd Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers) , pp. 1044–1069, 2024.", "source": "marker_v2", "marker_block_id": "/page/12/ListGroup/327"}
|
| 4 |
+
{"paper_id": "6FyYLNnDL6", "chunk_id": "6FyYLNnDL6:0063", "section": "REFERENCES", "page_start": 14, "page_end": 14, "type": "Text", "text": "Compress the information in the retrieved documents into a 2-sentence summary that could be used to answer the question. If the documents do not contain relevant information, simply output \" \".", "source": "marker_v2", "marker_block_id": "/page/13/Text/1"}
|
| 5 |
+
{"paper_id": "6FyYLNnDL6", "chunk_id": "6FyYLNnDL6:0064", "section": "REFERENCES", "page_start": 14, "page_end": 14, "type": "Text", "text": "Question: { Question }", "source": "marker_v2", "marker_block_id": "/page/13/Text/2"}
|
| 6 |
+
{"paper_id": "6FyYLNnDL6", "chunk_id": "6FyYLNnDL6:0065", "section": "REFERENCES", "page_start": 14, "page_end": 14, "type": "Text", "text": "Retrieved documents: { Documents }", "source": "marker_v2", "marker_block_id": "/page/13/Text/3"}
|
| 7 |
+
{"paper_id": "6FyYLNnDL6", "chunk_id": "6FyYLNnDL6:0066", "section": "REFERENCES", "page_start": 14, "page_end": 14, "type": "Text", "text": "Compressed documents:", "source": "marker_v2", "marker_block_id": "/page/13/Text/4"}
|
| 8 |
+
{"paper_id": "6FyYLNnDL6", "chunk_id": "6FyYLNnDL6:0067", "section": "REFERENCES", "page_start": 14, "page_end": 14, "type": "Caption", "text": "Figure 5: Prompt template used to generate the summary.", "source": "marker_v2", "marker_block_id": "/page/13/Caption/5"}
|
iclr26/6FyYLNnDL6/reference_text_v3.txt
ADDED
|
@@ -0,0 +1,23 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
[p. 11 | section: REFERENCES | type: ListGroup]
|
| 2 |
+
Zhiwei Cao, Qian Cao, Yu Lu, Ningxin Peng, Luyang Huang, Shanbo Cheng, and Jinsong Su. Retaining key information under high compression ratios: Query-guided compressor for llms. In Proceedings of the 62nd Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers) , pp. 12685–12695, 2024. Mingyang Chen, Tianpeng Li, Haoze Sun, Yijie Zhou, Chenzheng Zhu, Haofen Wang, Jeff Z Pan, Wen Zhang, Huajun Chen, Fan Yang, et al. Learning to reason with search for llms via reinforcement learning. arXiv preprint arXiv:2503.19470 , 2025a. Yiqun Chen, Lingyong Yan, Weiwei Sun, Xinyu Ma, Yi Zhang, Shuaiqiang Wang, Dawei Yin, Yiming Yang, and Jiaxin Mao. Improving retrieval-augmented generation through multi-agent reinforcement learning. arXiv preprint arXiv:2501.15228 , 2025b. Wenqi Fan, Yujuan Ding, Liangbo Ning, Shijie Wang, Hengyun Li, Dawei Yin, Tat-Seng Chua, and Qing Li. A survey on rag meeting llms: Towards retrieval-augmented large language models. In Proceedings of the 30th ACM SIGKDD conference on knowledge discovery and data mining , pp. 6491–6501, 2024. Daya Guo, Dejian Yang, Haowei Zhang, Junxiao Song, Ruoyu Zhang, Runxin Xu, Qihao Zhu, Shirong Ma, Peiyi Wang, Xiao Bi, et al. Deepseek-r1: Incentivizing reasoning capability in llms via reinforcement learning. arXiv preprint arXiv:2501.12948 , 2025. Xanh Ho, Anh-Khoa Duong Nguyen, Saku Sugawara, and Akiko Aizawa. Constructing a multi-hop qa dataset for comprehensive evaluation of reasoning steps. arXiv preprint arXiv:2011.01060 , 2020. Gautier Izacard, Mathilde Caron, Lucas Hosseini, Sebastian Riedel, Piotr Bojanowski, Armand Joulin, and Edouard Grave. Unsupervised dense information retrieval with contrastive learning. arXiv preprint arXiv:2112.09118 , 2021. Huiqiang Jiang, Qianhui Wu, Xufang Luo, Dongsheng Li, Chin-Yew Lin, Yuqing Yang, and Lili Qiu. Longllmlingua: Accelerating and enhancing llms in long context scenarios via prompt compression. In Proceedings of the 62nd Annual Meeting of the Association for Computational Lin guistics (Volume 1: Long Papers) , pp. 1658–1677, 2024. Bowen Jin, Jinsung Yoon, Jiawei Han, and Sercan O Arik. Long-context llms meet rag: Overcoming challenges for long inputs in rag. arXiv preprint arXiv:2410.05983 , 2024a. Jiajie Jin, Yutao Zhu, Yujia Zhou, and Zhicheng Dou. Bider: Bridging knowledge inconsistency for efficient retrieval-augmented llms via key supporting evidence. In Findings of the Association for Computational Linguistics ACL 2024 , pp. 750–761, 2024b. Mandar Joshi, Eunsol Choi, Daniel S Weld, and Luke Zettlemoyer. Triviaqa: A large scale distantly supervised challenge dataset for reading comprehension. arXiv preprint arXiv:1705.03551 , 2017.
|
| 3 |
+
|
| 4 |
+
[p. 12 | section: REFERENCES | type: ListGroup]
|
| 5 |
+
Hoyoun Jung and Kyung-Joong Kim. Discrete prompt compression with reinforcement learning. IEEE Access , 12:72578–72587, 2024. Vladimir Karpukhin, Barlas Oguz, Sewon Min, Patrick SH Lewis, Ledell Wu, Sergey Edunov, Danqi Chen, and Wen-tau Yih. Dense passage retrieval for open-domain question answering. In EMNLP (1) , pp. 6769–6781, 2020. Zixuan Ke, Weize Kong, Cheng Li, Mingyang Zhang, Qiaozhu Mei, and Michael Bendersky. Bridging the preference gap between retrievers and llms. arXiv preprint arXiv:2401.06954 , 2024. Sangryul Kim and James Thorne. Context filtering with reward modeling in question answering. In Proceedings of the 31st International Conference on Computational Linguistics , pp. 11048– 11055, 2025. Mandar Kulkarni, Praveen Tangarajan, Kyung Kim, and Anusua Trivedi. Reinforcement learning for optimizing rag for domain chatbots. arXiv preprint arXiv:2401.06800 , 2024. Tom Kwiatkowski, Jennimaria Palomaki, Olivia Redfield, Michael Collins, Ankur Parikh, Chris Alberti, Danielle Epstein, Illia Polosukhin, Jacob Devlin, Kenton Lee, et al. Natural questions: a benchmark for question answering research. Transactions of the Association for Computational Linguistics , 7:453–466, 2019. Sha Li and Naren Ramakrishnan. Oreo: A plug-in context reconstructor to enhance retrievalaugmented generation. In Proceedings of the 2025 International ACM SIGIR Conference on Innovative Concepts and Theories in Information Retrieval (ICTIR) , pp. 238–253, 2025. Xiaoxi Li, Jiajie Jin, Guanting Dong, Hongjin Qian, Yutao Zhu, Yongkang Wu, Ji-Rong Wen, and Zhicheng Dou. Webthinker: Empowering large reasoning models with deep research capability. arXiv preprint arXiv:2504.21776 , 2025. Xinze Li, Sen Mei, Zhenghao Liu, Yukun Yan, Shuo Wang, Shi Yu, Zheni Zeng, Hao Chen, Ge Yu, Zhiyuan Liu, et al. Rag-ddr: Optimizing retrieval-augmented generation using differentiable data rewards. arXiv preprint arXiv:2410.13509 , 2024a. Zhonghao Li, Xuming Hu, Aiwei Liu, Kening Zheng, Sirui Huang, and Hui Xiong. Refiner: Restructure retrieval content efficiently to advance question-answering capabilities. arXiv preprint arXiv:2406.11357 , 2024b. Xi Victoria Lin, Xilun Chen, Mingda Chen, Weijia Shi, Maria Lomeli, Richard James, Pedro Rodriguez, Jacob Kahn, Gergely Szilvasy, Mike Lewis, et al. Ra-dit: Retrieval-augmented dual instruction tuning. In The Twelfth International Conference on Learning Representations , 2023. Aixin Liu, Bei Feng, Bing Xue, Bingxuan Wang, Bochao Wu, Chengda Lu, Chenggang Zhao, Chengqi Deng, Chenyu Zhang, Chong Ruan, et al. Deepseek-v3 technical report. arXiv preprint arXiv:2412.19437 , 2024. Nelson F Liu, Kevin Lin, John Hewitt, Ashwin Paranjape, Michele Bevilacqua, Fabio Petroni, and Percy Liang. Lost in the middle: How language models use long contexts. arXiv preprint arXiv:2307.03172 , 2023. Maxime Louis, Herve D´ ejean, and St ´ ephane Clinchant. Pisco: Pretty simple compression for ´ retrieval-augmented generation. arXiv preprint arXiv:2501.16075 , 2025. Shengyu Mao, Yong Jiang, Boli Chen, Xiao Li, Peng Wang, Xinyu Wang, Pengjun Xie, Fei Huang, Huajun Chen, and Ningyu Zhang. Rafe: Ranking feedback improves query rewriting for rag. arXiv preprint arXiv:2405.14431 , 2024. Tri Nguyen, Mir Rosenberg, Xia Song, Jianfeng Gao, Saurabh Tiwary, Rangan Majumder, and Li Deng. Ms marco: A human-generated machine reading comprehension dataset. 2016. Ori Ram, Yoav Levine, Itay Dalmedigos, Dor Muhlgay, Amnon Shashua, Kevin Leyton-Brown, and Yoav Shoham. In-context retrieval-augmented language models. Transactions of the Association for Computational Linguistics , 11:1316–1331, 2023.
|
| 6 |
+
|
| 7 |
+
[p. 13 | section: REFERENCES | type: ListGroup]
|
| 8 |
+
David Rau, Shuai Wang, Herve D´ ejean, and St ´ ephane Clinchant. Context embeddings for efficient ´ answer generation in rag. arXiv preprint arXiv:2407.09252 , 2024. Stephen E Robertson, Steve Walker, Susan Jones, Micheline M Hancock-Beaulieu, Mike Gatford, et al. Okapi at TREC-3 . British Library Research and Development Department, 1995. Shivam Shandilya, Menglin Xia, Supriyo Ghosh, Huiqiang Jiang, Jue Zhang, Qianhui Wu, Victor Ruhle, and Saravan Rajmohan. Taco-rl: Task aware prompt compression optimization with rein- ¨ forcement learning. In Findings of the Association for Computational Linguistics: ACL 2025 , pp. 1582–1597, 2025. Zhihong Shao, Peiyi Wang, Qihao Zhu, Runxin Xu, Junxiao Song, Xiao Bi, Haowei Zhang, Mingchuan Zhang, YK Li, Yang Wu, et al. Deepseekmath: Pushing the limits of mathematical reasoning in open language models. arXiv preprint arXiv:2402.03300 , 2024. Weijia Shi, Sewon Min, Michihiro Yasunaga, Minjoon Seo, Rich James, Mike Lewis, Luke Zettlemoyer, and Wen-tau Yih. Replug: Retrieval-augmented black-box language models. arXiv preprint arXiv:2301.12652 , 2023. Aditi Singh, Abul Ehtesham, Saket Kumar, and Tala Talaei Khoei. Agentic retrieval-augmented generation: A survey on agentic rag. arXiv preprint arXiv:2501.09136 , 2025. Huatong Song, Jinhao Jiang, Yingqian Min, Jie Chen, Zhipeng Chen, Wayne Xin Zhao, Lei Fang, and Ji-Rong Wen. R1-searcher: Incentivizing the search capability in llms via reinforcement learning. arXiv preprint arXiv:2503.05592 , 2025. Chenyuan Wu, Ninglu Shao, Zheng Liu, Shitao Xiao, Chaozhuo Li, Chen Zhang, Senzhang Wang, and Defu Lian. Lighter and better: Towards flexible context adaptation for retrieval augmented generation. In Proceedings of the Eighteenth ACM International Conference on Web Search and Data Mining , pp. 271–280, 2025. Fangyuan Xu, Weijia Shi, and Eunsol Choi. Recomp: Improving retrieval-augmented lms with context compression and selective augmentation. In The Twelfth International Conference on Learning Representations , 2024. Zhilin Yang, Peng Qi, Saizheng Zhang, Yoshua Bengio, William W Cohen, Ruslan Salakhutdinov, and Christopher D Manning. Hotpotqa: A dataset for diverse, explainable multi-hop question answering. arXiv preprint arXiv:1809.09600 , 2018. Qianchi Zhang, Hainan Zhang, Liang Pang, Hongwei Zheng, and Zhiming Zheng. Adacomp: Extractive context compression with adaptive predictor for retrieval-augmented large language models. arXiv preprint arXiv:2409.01579 , 2024a. Taolin Zhang, Dongyang Li, Qizhou Chen, Chengyu Wang, Longtao Huang, Hui Xue, Xiaofeng He, and Jun Huang. R 4: Reinforced retriever-reorder-responder for retrieval-augmented large language models. In ECAI 2024 , pp. 2314–2321. IOS Press, 2024b. Yuxiang Zheng, Dayuan Fu, Xiangkun Hu, Xiaojie Cai, Lyumanshan Ye, Pengrui Lu, and Pengfei Liu. Deepresearcher: Scaling deep research via reinforcement learning in real-world environments. arXiv preprint arXiv:2504.03160 , 2025. Kun Zhu, Xiaocheng Feng, Xiyuan Du, Yuxuan Gu, Weijiang Yu, Haotian Wang, Qianglong Chen, Zheng Chu, Jingchang Chen, and Bing Qin. An information bottleneck perspective for effective noise filtering on retrieval-augmented generation. In Proceedings of the 62nd Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers) , pp. 1044–1069, 2024.
|
| 9 |
+
|
| 10 |
+
[p. 14 | section: REFERENCES | type: Text]
|
| 11 |
+
Compress the information in the retrieved documents into a 2-sentence summary that could be used to answer the question. If the documents do not contain relevant information, simply output " ".
|
| 12 |
+
|
| 13 |
+
[p. 14 | section: REFERENCES | type: Text]
|
| 14 |
+
Question: { Question }
|
| 15 |
+
|
| 16 |
+
[p. 14 | section: REFERENCES | type: Text]
|
| 17 |
+
Retrieved documents: { Documents }
|
| 18 |
+
|
| 19 |
+
[p. 14 | section: REFERENCES | type: Text]
|
| 20 |
+
Compressed documents:
|
| 21 |
+
|
| 22 |
+
[p. 14 | section: REFERENCES | type: Caption]
|
| 23 |
+
Figure 5: Prompt template used to generate the summary.
|
iclr26/6FyYLNnDL6/sanitization_report.json
ADDED
|
@@ -0,0 +1,59 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"paper_id": "6FyYLNnDL6",
|
| 3 |
+
"pipeline": "Paper2Markdown-V3",
|
| 4 |
+
"ok": true,
|
| 5 |
+
"page_count": 19,
|
| 6 |
+
"chunk_count": 106,
|
| 7 |
+
"main_body_chunk_count": 60,
|
| 8 |
+
"appendix_chunk_count": 38,
|
| 9 |
+
"reference_chunk_count": 8,
|
| 10 |
+
"model_text_chars": 43162,
|
| 11 |
+
"raw_markdown_chars": 88191,
|
| 12 |
+
"sanitized_chars": 79686,
|
| 13 |
+
"page_provenance": {
|
| 14 |
+
"min_page": 1,
|
| 15 |
+
"max_page": 19,
|
| 16 |
+
"invalid_count": 0
|
| 17 |
+
},
|
| 18 |
+
"marker_block_type_counts": {
|
| 19 |
+
"Caption": 2,
|
| 20 |
+
"Equation": 4,
|
| 21 |
+
"Figure": 1,
|
| 22 |
+
"FigureGroup": 4,
|
| 23 |
+
"Footnote": 2,
|
| 24 |
+
"ListGroup": 3,
|
| 25 |
+
"PageFooter": 19,
|
| 26 |
+
"PageHeader": 19,
|
| 27 |
+
"SectionHeader": 37,
|
| 28 |
+
"Table": 3,
|
| 29 |
+
"TableGroup": 7,
|
| 30 |
+
"Text": 330
|
| 31 |
+
},
|
| 32 |
+
"asset_count_raw": 5,
|
| 33 |
+
"asset_count_model_kept": 5,
|
| 34 |
+
"asset_count_rejected": 0,
|
| 35 |
+
"asset_reject_reasons": {
|
| 36 |
+
"kept": 5
|
| 37 |
+
},
|
| 38 |
+
"artifact_leak_audit": {
|
| 39 |
+
"ok": true,
|
| 40 |
+
"hits": {
|
| 41 |
+
"Anonymous Authors": [],
|
| 42 |
+
"ACKNOWLEDGMENT": [],
|
| 43 |
+
"OpenReview": [],
|
| 44 |
+
"\"accept_label\"": [],
|
| 45 |
+
"\"decision\"": [],
|
| 46 |
+
"\"decision_tier\"": [],
|
| 47 |
+
"\"source_status\"": [],
|
| 48 |
+
"Meta-review": [],
|
| 49 |
+
"Official Review": [],
|
| 50 |
+
"official_reviews": [],
|
| 51 |
+
"meta_reviews": [],
|
| 52 |
+
"suggested_verdict_score": []
|
| 53 |
+
},
|
| 54 |
+
"artifact_count": 2
|
| 55 |
+
},
|
| 56 |
+
"default_model_input": "model_text_v3.txt",
|
| 57 |
+
"appendix_input": "appendix_text_v3.txt",
|
| 58 |
+
"reference_input": "reference_text_v3.txt"
|
| 59 |
+
}
|
iclr26/6FyYLNnDL6/sanitized_v3.txt
ADDED
|
@@ -0,0 +1,377 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{0}
|
| 2 |
+
## ABSTRACT
|
| 3 |
+
Retrieval-Augmented Generation (RAG) has emerged as a promising approach to enhance the timeliness of knowledge updates and the factual accuracy of responses in large language models. However, incorporating a large number of retrieved documents significantly increases input length, leading to higher computational costs. Existing approaches to document compression tailored for RAG often degrade task performance, as they typically rely on predefined heuristics in the absence of clear compression guidelines. These heuristics fail to ensure that the compressed content effectively supports downstream tasks. To address these limitations, we propose CORE, a novel method for lossless context compression in RAG. CORE is optimized end-to-end and does not depend on predefined compression labels, which are often impractical to obtain. Instead, it leverages downstream task performance as a feedback signal, iteratively refining the compression policy to enhance task effectiveness. Extensive experiments across four datasets demonstrate the effectiveness of CORE. With a high compression ratio of 3%, CORE not only prevents performance degradation compared to including full documents (i.e., without compression) but also improves the average Exact Match (EM) score by 3.3 points. The code for CORE is available at <
|
| 4 |
+
## 1 INTRODUCTION
|
| 5 |
+
Large language models (LLMs) have undergone rapid development in recent years, significantly enhancing performance across various language tasks due to their emergent capabilities in semantic understanding and reasoning. Nevertheless, LLMs still face challenges in updating knowledge and providing factual responses [\(Fan et al., 2024\)](#page-10-0). To address these issues, Retrieval-Augmented Generation (RAG) has emerged as a promising approach. By retrieving the most relevant documents from external knowledge bases and prepending them as contextual information to the original input, RAG substantially improves LLM performance on knowledge-intensive tasks [\(Ram et al., 2023\)](#page-11-0).
|
| 6 |
+
While RAG enhances performance, its effectiveness is closely tied to the number of retrieved documents used, since a broader context increases the probability of encompassing critical evidence. As illustrated in Figure [1,](#page-1-0) performance was weakest without any retrieved documents (i.e., without RAG). Accuracy improved consistently as more documents were added to the context, ultimately exceeding the no-RAG baseline by over 10 Exact Match (EM) points. However, this performance gain came with two significant limitations: (1) a substantial increase in computational cost from processing a larger number of context tokens [\(Xu et al., 2024\)](#page-12-0), and (2) the model's difficulty in effectively leveraging all provided documents, often resulting in the omission of key information located in the middle of the context [\(Liu et al., 2023\)](#page-11-1).
|
| 7 |
+
These limitations have motivated recent research efforts aimed at compressing the retrieved context [\(Jin et al., 2024b;](#page-10-1) [Wu et al., 2025;](#page-12-1) [Jin et al., 2024a;](#page-10-2) [Zhang et al., 2024a\)](#page-12-2). Prominent approaches include document summarization [\(Xu et al., 2024\)](#page-12-0), key information extraction [\(Cao et al., 2024;](#page-10-3) [Xu](#page-12-0) [et al., 2024\)](#page-12-0), the construction of key supporting evidence [\(Jin et al., 2024b\)](#page-10-1), and noise filtering based on information theory [\(Zhu et al., 2024\)](#page-12-3). Despite recent progress, these methods have several notable shortcomings. First, compression often results in a performance trade-off. For instance, RECOMP
|
| 8 |
+
{1}------------------------------------------------
|
| 9 |
+
**059**
|
| 10 |
+
**061**
|
| 11 |
+
**072 073 074**
|
| 12 |
+
**079**
|
| 13 |
+
**094**
|
| 14 |
+
<span id="page-1-0"></span>
|
| 15 |
+

|
| 16 |
+
Figure 1: Performance evolution with an increasing number of retrieved documents on two datasets. Traditional RAG requires more documents for better performance, while our method achieves comparable or superior results with significant token compression.
|
| 17 |
+
[\(Xu et al., 2024\)](#page-12-0) suffers a 3–5 point drop in EM score (Table [1\)](#page-5-0), making it unsuitable for accuracysensitive applications. Second, most compression methods are heuristic in nature. The models are typically trained to generate summaries that are generally good but not necessarily useful for the downstream answer-generation LLM. This limitation arises from the lack of an ideal supervisory signal that defines what an optimal summary should be for the downstream task. This fundamental gap hinders the end-to-end optimization of existing methods. Finally, some compression models [\(Zhu et al., 2024\)](#page-12-3) have parameter counts comparable to the LLM that performs the end task, resulting in substantial computational costs that undermine the efficiency gains of compression.
|
| 18 |
+
Addressing these critical shortcomings requires a method that aligns compression with downstream task requirements, thereby minimizing performance trade-offs. To bridge this gap, we propose CORE, a novel method designed to achieve lossless context compression for RAG. Unlike previous compression methods, CORE is optimized in an end-to-end manner. Since obtaining predefined summary labels for supervision is impractical, we instead use downstream task performance as a feedback signal to evaluate the compression model's output. This feedback enables iterative refinement of the compression policy, guiding the compression model toward improved downstream performance. To this end, we employ Group Relative Policy Optimization (GRPO), a technique particularly well-suited for this purpose [\(Liu et al., 2024;](#page-11-2) [Shao et al., 2024;](#page-12-4) [Chen et al., 2025a\)](#page-10-4). In our framework, the accuracy of the downstream QA task is formalized as a reward, with the compression policy optimized through group-wise relative comparisons. Furthermore, our compression model is substantially smaller than the downstream LLM, which significantly reduces the computational overhead associated with encoding retrieved documents.
|
| 19 |
+
We evaluate CORE on four benchmark datasets: two single-hop QA datasets (*Natural Questions* and *TriviaQA*) and two multi-hop datasets (*HotpotQA* and *2WikiMultihopQA*). As shown in Table [1,](#page-5-0) CORE achieves state-of-the-art performance across all baselines. With a compression ratio of 3%, our approach not only avoids performance degradation compared to prepending full documents but also improves the average EM score by 3.3 points. We further demonstrate two key advantages of our approach. First, the effectiveness of CORE is not tied to a specific model architecture, as demonstrated by the fact that lossless compression can be achieved when various models are trained as compressors (Figure [3\)](#page-7-0). Second, the compressor exhibits strong transferability: a compression model trained using feedback from one LLM generalizes effectively to other LLMs (Table [2\)](#page-7-1). Finally, an in-depth case study (Tables [4](#page-14-0) and [5\)](#page-15-0) provides a qualitative analysis of the benefits of CORE.
|
| 20 |
+
## 2 CORE-RAG
|
| 21 |
+
This section introduces our proposed method, COmpression via REinforcement learning (CORE), which is shown in Figure [2.](#page-2-0) First, we provide an overview of the entire workflow. Then, we detail the end-to-end training strategy for the compression model, which is designed to drastically reduce the number of document tokens while preserving task performance.
|
| 22 |
+
{2}------------------------------------------------
|
| 23 |
+
<span id="page-2-0"></span>
|
| 24 |
+
Figure 2: Overview of our method CORE. The upper section illustrates the inference pipeline. The lower section depicts the end-to-end training method for the compression model.
|
| 25 |
+
#### 2.1 Problem Formulation
|
| 26 |
+
We adopt the same problem formulation as prior work (Xu et al., 2024). Given an input question q, a target output y, and a set of k retrieved documents D, our objective is to compress D with respect to q into a summary s that preserves the most useful information while using significantly fewer tokens than D. This summary s is then prepended to the original input q and fed into an LLM to generate the final answer for the downstream task. This overall pipeline is illustrated in the upper half of Figure 2. The process involves two key components: a compression model $\pi_{\theta} \colon (q, D) \mapsto s$ and a large language model $M \colon (s, q) \mapsto \hat{y}$ , which generates the predicted answer $\hat{y}$ . We treat M as a black-box system and focus exclusively on training the compressor $\pi_{\theta}$ . The compressor itself is also a language model, but it is intentionally designed to be significantly smaller than M to reduce the computational cost of encoding the retrieved documents.
|
| 27 |
+
#### 2.2 Training the Compressor
|
| 28 |
+
Our compressor is designed to generate document summaries that are highly useful to the LLM (M) for downstream tasks. This objective is challenging because the criteria for an effective summary are task-dependent, and direct supervision is unavailable. We therefore formulate this as an end-to-end training problem and employ reinforcement learning to optimize the compressor without relying on pre-defined compression labels. The overall architecture of our training framework is illustrated in the lower portion of Figure 2. The following sections describe the key components of our approach: distillation warm-up, policy optimization, and reward calculation.
|
| 29 |
+
### 2.2.1 DISTILLATION FOR WARM-START
|
| 30 |
+
Due to the limited parameter size of our compression model, its capability for question-focused document summarization is constrained. To provide a strong initial policy for RL and ensure training stability, we employ knowledge distillation from a teacher model to initialize our compressor. Specifically, we first utilize a large-scale language model (DeepSeek-V3) as the teacher to generate summaries of retrieved documents related to the given question. We then evaluate the performance of the downstream LLM (M) on the QA task under two conditions: (1) with the teacher-generated summary $\hat{s}$ prepended to the input question q, and (2) with the original question alone. The corresponding performance scores are denoted as $p_{\text{summary}}$ and $p_{\text{original}}$ , respectively. By comparing these results, we retain instances where $p_{\text{summary}} > p_{\text{original}}$ , indicating that the summary enhances RAG performance. We also retain cases where $p_{\text{original}} = 1$ (i.e., the model produces a fully correct answer without the summary) and $p_{\text{summary}} < p_{\text{original}}$ ; for these, we set the target summary $\hat{s}$ to an empty string. All other instances are discarded. The resulting filtered and modified dataset is denoted as
|
| 31 |
+
{3}------------------------------------------------
|
| 32 |
+
$\mathcal{X}_f$ , which is used for supervised fine-tuning of the compression model. The fine-tuning objective is defined as:
|
| 33 |
+
$\mathcal{L}_{\text{distill}} = \frac{1}{|\mathcal{X}_f|} \sum_{(q,D,\hat{s}) \in \mathcal{X}_f} \mathcal{L}_{\text{CE}}(\pi_{\theta}(q,D),\hat{s}), \tag{1}$
|
| 34 |
+
where $\pi_{\theta}(q, D)$ denotes the output of the compression model and $\mathcal{L}_{CE}$ is the cross-entropy loss. This distillation process yields a robust initialization for RL and promotes stability in subsequent training.
|
| 35 |
+
#### 2.2.2 END-TO-END TRAINING WITH RL
|
| 36 |
+
Following the distillation phase, the compressor possesses a preliminary compression capability. However, as summaries from even the largest teacher models are not guaranteed to be optimal for the downstream task, further end-to-end optimization is necessary. We therefore formulate this optimization as a reinforcement learning problem. In this framework, the compressor functions as a policy that generates a summary from an input question and its corresponding documents. A reward function, which directly reflects performance on the downstream task (e.g., question-answering accuracy), then evaluates the summary's quality. The objective is to optimize the compressor's parameters to maximize the expected cumulative reward, thereby directly aligning its outputs with the downstream task's objectives.
|
| 37 |
+
Specifically, we employ Group Relative Policy Optimization (GRPO) (Shao et al., 2024) algorithm. Unlike Proximal Policy Optimization (PPO), which trains a separate critic model, GRPO estimates the baseline directly from a group of rollouts. Given an existing policy, $\pi_{\theta_{\text{old}}}$ , and a reference policy, $\pi_{\theta_{\text{ref}}}$ , the GRPO objective maximizes the compressor policy $\pi_{\theta}$ using G rollouts $\tau = \{s_i\}_{i=1}^G \sim \pi_{\theta_{\text{old}}}(\cdot|x)$ , for each input $x \sim \mathcal{D}$ :
|
| 38 |
+
$$\mathcal{J}(\theta) = \mathbb{E}_{x \sim \mathcal{D}, \ \{s_i\}_{i=1}^G \sim \pi_{\theta_{\text{old}}}(\cdot \mid x)}$$
|
| 39 |
+
$$\frac{1}{G} \sum_{i=1}^G \left[ \min \left( \frac{\pi_{\theta}(s_i \mid x)}{\pi_{\theta_{\text{old}}}(s_i \mid x)} A_i, \ \text{clip} \left( \frac{\pi_{\theta}(s_i \mid x)}{\pi_{\theta_{\text{old}}}(s_i \mid x)}, 1 - \epsilon, 1 + \epsilon \right) A_i \right) - \beta \mathbb{D}_{\text{KL}} \left( \pi_{\theta} \parallel \pi_{\theta_{\text{ref}}} \right) \right],$$
|
| 40 |
+
$$(2)$$
|
| 41 |
+
where $A_i = (r_i - \text{mean}(\{r_j\}_{j=1}^G))/\text{std}(\{r_j\}_{j=1}^G)$ represents the normalized advantage of the i-th rollout within the group, $\epsilon$ is the clipping ratio, and $\beta$ is the coefficient for the KL divergence penalty. The inclusion of the KL divergence term ensures that the updated policy does not deviate significantly from the reference policy.
|
| 42 |
+
#### 2.2.3 REWARD CALCULATION
|
| 43 |
+
**Generating End-Task Output.** It is important to note that the reward is not computed directly from the compressor's output summary. Instead, the summary s generated by the compressor is prepended to the original input question q, and this combined input is fed into the LLM $M:(s,q)\mapsto \hat{y}$ to produce a predicted answer $\hat{y}$ . The reward is then calculated by comparing $\hat{y}$ to the gold answer y. Throughout the training process, the parameters of M remain fixed and are not updated.
|
| 44 |
+
**Computing Rewards.** We design simple rule-based rewards based on end-task performance to guide the compressor's improvement, which consists of two components:
|
| 45 |
+
• EM Reward ( $r_{\rm EM}$ ). We employ EM as the main reward function, which is a widely adopted metric for evaluating the accuracy of QA tasks. The EM reward is binary: it yields a value of 1 if the generated answer perfectly matches the ground truth, and 0 otherwise.
|
| 46 |
+
$$r_{\rm EM} = \begin{cases} 1 & \text{if } y = \hat{y}, \\ 0 & \text{otherwise.} \end{cases}$$
|
| 47 |
+
(3)
|
| 48 |
+
• F1 Reward $(r_{\rm F1})$ . Since exact matches occur infrequently in practice, relying solely on EM rewards leads to sparse reward signals. Furthermore, the EM metric fails to distinguish between partially correct answers, as all non-exact matches receive zero reward. Therefore, we introduce F1 reward, which provides a finer-grained evaluation by measuring the degree of partial match.
|
| 49 |
+
$$r_{\rm FI} = \frac{2 \times I_N}{P_N + R_N},\tag{4}$$
|
| 50 |
+
where $P_N$ denotes the number of tokens in the predicted answer, $R_N$ denotes the number of tokens in the gold answer, and $I_N$ is the number of intersecting tokens between the two answers.
|
| 51 |
+
{4}------------------------------------------------
|
| 52 |
+
The final reward function combines these reward signals through weighted summation:
|
| 53 |
+
$$r = r_{\rm EM} + \alpha \cdot r_{\rm Fl},\tag{5}$$
|
| 54 |
+
where α ∈ (0, 1] is a hyperparameter that controls the relative contribution of the F1 reward.
|
| 55 |
+
### 2.2.4 TRAINING TEMPLATE
|
| 56 |
+
**221**
|
| 57 |
+
**224**
|
| 58 |
+
**256**
|
| 59 |
+
Figure [5](#page-13-0) displays the prompt employed to train the compressor model for generating a summary of the retrieved documents, conditioned on the given question. This prompt is notably concise. For end-task answer generation, the prompt provided to the LLM M is illustrated in Figure [6,](#page-13-1) which incorporates few-shot in-context examples, the (generated summary of) retrieved documents, and the question.
|
| 60 |
+
### 2.2.5 EFFICIENCY ANALYSIS
|
| 61 |
+
Training Efficiency. Since our method employs reinforcement learning for training, it incurs greater time and computational costs compared to approaches that do not utilize reinforcement learning [\(Xu et al., 2024;](#page-12-0) [Cao et al., 2024\)](#page-10-3). However, our training process only optimizes a lightweight compressor model with relatively few parameters, while the larger generator LLM responsible for producing task answers remains fixed and is not updated during training. This design ensures high training efficiency—for instance, training one epoch takes approximately 2 hours using eight H20 GPUs, and convergence is typically achieved within just two epochs. In contrast, other reinforcement learning-based methods, such as ReSearch [\(Chen et al., 2025a\)](#page-10-4) and R1-Searcher [\(Song et al.,](#page-12-5) [2025\)](#page-12-5), require direct fine-tuning of the large generator LLM, leading to considerably higher training time and resource consumption. Furthermore, it is important to emphasize that our method exhibits strong generalization capability. As shown in Section 3.3, a model trained only once demonstrates broad applicability, thereby reducing the need for frequent retraining and further lowering the overall training cost.
|
| 62 |
+
Inference Efficiency. Our method significantly enhances inference efficiency. In contrast to RAG approaches that do not employ a compressor—and thus require the generator LLM to directly encode lengthy documents, often spanning thousands of tokens—our approach introduces a lightweight compressor that processes long documents and summarizes them into compact representations of only a few dozen tokens before feeding them to the generator LLM. Since the compressor is an order of magnitude smaller in parameter size than the generator LLM, it substantially reduces the encoding time that would otherwise be incurred by the generator, leading to notable gains in inference efficiency. It is also important to note that the use of reinforcement learning does not adversely affect inference efficiency, as it is only involved during the training phase.
|
| 63 |
+
## 3 EXPERIMENTS
|
| 64 |
+
### 3.1 EXPERIMENTAL SETTINGS
|
| 65 |
+
Datasets and Evaluation Metrics. We evaluate our method on four benchmark datasets: two single-hop question-answering datasets, Natural Questions (NQ) [\(Kwiatkowski et al., 2019\)](#page-11-3) and TriviaQA [\(Joshi et al., 2017\)](#page-10-5), as well as two multi-hop question-answering datasets, HotpotQA [\(Yang et al., 2018\)](#page-12-6) and 2WikiMultihopQA [\(Ho et al., 2020\)](#page-10-6). Results are reported on the test sets of Natural Questions and TriviaQA, as well as the development sets of HotpotQA and 2WikiMultihopQA. Following RECOMP [\(Xu et al., 2024\)](#page-12-0), the performance is measured using Exact Match and token-level F1 scores, while efficiency is assessed by the number of tokens provided in the context.
|
| 66 |
+
Compression Model (πθ). We trained our compression model using Qwen2.5-1.5B-Instruct to generate summaries of the retrieved documents. To evaluate the effect of using different models as compressors, we also trained compressors using Llama3.2-1B-Instruct and Llama3.2-3B-Instruct (Section [3.3\)](#page-7-0).
|
| 67 |
+
Large Language Model (M). We use Qwen2.5-14B-Instruct as the primary LLM model M to generate predicted answers which are used to guide the training of the compressor. To evaluate the generalization ability of our method, we also transfer to another LLM model, LLama3.1-8B-Instruct (Table [2\)](#page-7-1).
|
| 68 |
+
{5}------------------------------------------------
|
| 69 |
+
<span id="page-5-0"></span>Table 1: Open-domain QA results using Qwen2.5-14B-Instruct as the downstream LLM (M). The reported token counts represent the length of in-context documents, excluding few-shot examples. RECOMP, NoiseFilter-IB and our method CORE are all trained using Qwen2.5-1.5B-Instruct.
|
| 70 |
+
| | | NQ | | 7 | TriviaQA | <b>L</b> | F | IotpotQ. | A | 2Wiki | Multiho | pQA |
|
| 71 |
+
|-------------------------|---------|------------|----------|-----------|-----------|-----------|-------|----------|-------|-------|---------|-------|
|
| 72 |
+
| | EM | F1 | # tok | EM | F1 | # tok | EM | F1 | # tok | EM | F1 | # tok |
|
| 73 |
+
| No Retrieval | 21.36 | 30.97 | 0 | 53.23 | 59.98 | 0 | 21.05 | 29.48 | 0 | 26.11 | 29.51 | 0 |
|
| 74 |
+
| RAG without compression | on | | | | | | | | | | | |
|
| 75 |
+
| Top1 Document | 34.46 | 44.41 | 142 | 60.82 | 68.70 | 143 | 29.20 | 38.93 | 147 | 26.79 | 31.87 | 153 |
|
| 76 |
+
| Top3 Documents | 37.78 | 48.45 | 427 | 62.60 | 71.02 | 430 | 31.64 | 41.87 | 442 | 27.89 | 33.58 | 460 |
|
| 77 |
+
| Top5 Documents | 38.03 | 49.16 | 712 | 64.10 | 72.48 | 715 | 32.99 | 43.69 | 737 | 29.64 | 35.21 | 766 |
|
| 78 |
+
| Top10 Documents | 38.67 | 50.03 | 1425 | 64.40 | 72.92 | 1428 | 33.95 | 44.88 | 1471 | 31.04 | 36.75 | 1531 |
|
| 79 |
+
| Compression of top 5 do | cuments | ; | | | | | | | | | | |
|
| 80 |
+
| BM25 | 25.23 | 36.47 | 37 | 55.36 | 63.90 | 39 | 24.18 | 35.73 | 71 | 25.42 | 30.29 | 68 |
|
| 81 |
+
| Qwen2.5-1.5B | 31.94 | 43.03 | 36 | 57.99 | 66.70 | 30 | 27.36 | 37.47 | 33 | 25.93 | 31.18 | 32 |
|
| 82 |
+
| DeepSeek-V3 (671B) | 37.73 | 50.39 | 54 | 64.13 | 73.20 | 50 | 33.59 | 44.83 | 48 | 27.99 | 32.67 | 92 |
|
| 83 |
+
| RECOMP-Abs (1.5B) | 34.18 | 46.26 | 58 | 60.31 | 68.50 | 53 | 28.96 | 39.95 | 56 | 30.25 | 36.73 | 52 |
|
| 84 |
+
| RECOMP-Ext (1.5B) | 33.84 | 46.05 | 56 | 60.18 | 68.39 | 48 | 29.93 | 41.09 | 45 | 30.78 | 37.07 | 51 |
|
| 85 |
+
| NoiseFilter-IB (1.5B) | 35.15 | 45.94 | 48 | 59.51 | 68.15 | 35 | 27.97 | 38.62 | 38 | 27.85 | 34.69 | 40 |
|
| 86 |
+
| LongLLMLingua (1.5B) | 33.65 | 43.15 | 152 | 58.96 | 66.82 | 148 | 28.03 | 38.49 | 149 | 29.37 | 33.62 | 153 |
|
| 87 |
+
| QGC (1.5B) | 36.23 | 45.88 | 49 | 61.02 | 68.45 | 47 | 29.16 | 40.05 | 45 | 31.14 | 36.83 | 51 |
|
| 88 |
+
| CORE (1.5B) | 41.02 | 50.40 | 46 | 65.63 | 72.55 | 32 | 33.67 | 45.06 | 36 | 36.72 | 42.05 | 49 |
|
| 89 |
+
| Compression of top 10 a | locumen | ts (with t | the comp | ressor ti | rained or | ı top 5 d | locs) | | | | | |
|
| 90 |
+
| BM25 | 25.91 | 36.88 | 38 | 55.28 | 63.16 | 37 | 23.49 | 35.01 | 68 | 25.61 | 30.54 | 65 |
|
| 91 |
+
| Qwen2.5-1.5B | 32.94 | 44.84 | 40 | 58.45 | 67.31 | 33 | 28.17 | 38.48 | 36 | 26.22 | 31.57 | 34 |
|
| 92 |
+
| DeepSeek-V3 (671B) | 37.79 | 51.07 | 56 | 65.29 | 74.45 | 53 | 34.62 | 45.69 | 50 | 29.00 | 34.64 | 40 |
|
| 93 |
+
| RECOMP-Abs (1.5B) | 34.40 | 46.93 | 59 | 61.42 | 69.88 | 52 | 31.54 | 42.92 | 52 | 31.98 | 38.16 | 49 |
|
| 94 |
+
| RECOMP-Ext (1.5B) | 33.96 | 46.34 | 60 | 61.03 | 69.51 | 50 | 31.92 | 43.18 | 55 | 32.52 | 38.87 | 44 |
|
| 95 |
+
| NoiseFilter-IB (1.5B) | 35.36 | 46.24 | 50 | 59.92 | 68.32 | 38 | 28.21 | 38.83 | 38 | 28.63 | 35.16 | 42 |
|
| 96 |
+
| LongLLMLingua (1.5B) | 33.78 | 43.37 | 154 | 59.17 | 66.97 | 150 | 28.33 | 38.95 | 148 | 29.62 | 34.11 | 151 |
|
| 97 |
+
| QGC (1.5B) | 36.03 | 45.62 | 50 | 61.23 | 68.74 | 49 | 29.12 | 39.63 | 46 | 31.71 | 37.52 | 50 |
|
| 98 |
+
| CORE (1.5B) | 41.88 | 51.26 | 52 | 66.76 | 73.64 | 33 | 34.68 | 46.35 | 37 | 37.99 | 43.28 | 48 |
|
| 99 |
+
**Retrieval Corpus and Retrievers.** Following previous studies (Xu et al., 2024), we use the Wikipedia corpus from December 20, 2018, as the retrieval source for all four datasets. The articles are segmented into non-overlapping 100-word documents. To ensure that our method is not dependent on a specific retriever, we experiment with several mainstream retrievers. Specifically, we use DPR (Karpukhin et al., 2020) for NQ, a hybrid of DPR and BM25 (Robertson et al., 1995) for TriviaQA, and the Contriever model (Izacard et al., 2021) trained on the MS MARCO dataset (Nguyen et al., 2016) for HotpotQA and 2WikiMultihopQA.
|
| 100 |
+
**Baselines.** To evaluate the effectiveness of our method, we compared it against various baselines. First, we evaluated the uncompressed approach—retaining the original in-context RALM setup—by prepending the top 1, 3, 5, and 10 retrieved documents to the prompt. We also tested alternative compression methods, including the traditional BM25 algorithm (which ranks sentences by their similarity to the input), off-the-shelf Qwen2.5-1.5B-Instruct model (with comparable parameter size to our approach), and DeepSeek-V3 model (671B parameters, far exceeding our compressor's capacity). Furthermore, we included state-of-the-art context compression methods for RAG, RECOMP (Xu et al., 2024), NoiseFilter-IB (Zhu et al., 2024), LongLLMLingua (Jiang et al., 2024) and QGC (Cao et al., 2024). For RECOMP, we evaluated both its abstractive and extractive variants. To ensure a fair comparison, all trainable approaches were all trained using the same model.
|
| 101 |
+
**Implementation Details.** For the distillation warm-up phase, we perform full-parameter supervised fine-tuning on the off-the-shell language model for two epochs using LLaMA-Factory $^1$ . This warmed-up model then serves as the initializer for the subsequent reinforcement learning phase. We adopt the Verl framework $^2$ for RL training. The initialized compression model is trained for two epochs on each dataset. Training is conducted on eight NVIDIA H20 GPUs using full parameter GRPO optimization, with a learning rate of 1e-5, a batch size of 256, five rollouts per sample, and a KL loss coefficient of 0.001. The downstream LLM (M) used for reward generation is served using the vLLM inference engine during RL training.
|
| 102 |
+
<sup>&</sup>lt;sup>1</sup>
|
| 103 |
+
<sup>&</sup>lt;sup>2</sup>
|
| 104 |
+
{6}------------------------------------------------
|
| 105 |
+
### 3.2 OVERALL PERFORMANCE
|
| 106 |
+
**329**
|
| 107 |
+
**334 335 336**
|
| 108 |
+
**364**
|
| 109 |
+
**368 369 370**
|
| 110 |
+
The detailed comparison results are presented in Table [1.](#page-5-0) We evaluate the following approaches: traditional RAG without compression using the top 1, 3, 5, and 10 documents prepended to the original input; BM25-based compression; off-the-shelf LLMs (Qwen2.5-1.5B-Instruct and DeepSeek-V3); and state-of-the-art trainable RAG compressors (RECOMP-Abstractive, RECOMP-Extractive, and NoiseFilter-IB). For fair comparison, all trainable methods were trained using the same backbone model, Qwen2.5-1.5B-Instruct. These compressors were trained on five-document inputs, and we report their performance both on in-domain five-document compression and out-of-domain generalization to ten-document compression.
|
| 111 |
+
RAG versus No RAG. As shown in Table [1,](#page-5-0) prepending the original input with retrieved documents yields a substantial improvement over the no-retrieval baseline, indicating that these documents provide valuable information for generating the answer. Performance improves as the number of retrieved documents increases from 1 to 10, albeit with diminishing returns—a trend attributable to the decreasing relevance of lower-ranked documents. However, this performance gain comes at the cost of a significant increase in the number of additional tokens the LLM must encode, rising from 0 to over 1,400 tokens.
|
| 112 |
+
Lossless Compression of CORE. Our compressor was trained using a context of five documents. As presented in Table [1,](#page-5-0) compared to prepending the full content of all five documents to the original input (i.e., the uncompressed baseline), our method achieves a high compression rate of approximately 6% *with no loss in performance*. Remarkably, on all four datasets, the approach not only maintains performance but also enhances EM by 1 to 7 points. For example, on NQ, the model achieves an EM of 41.02 with compressed input, surpassing the uncompressed score of 38.03.
|
| 113 |
+
Comparison with Compression Baselines. When compressing the top five documents, all baseline compression methods result in performance degradation to varying degrees compared to the uncompressed baseline. Specifically, BM25 leads to a substantial performance drop. Using the offthe-shelf Qwen2.5-1.5B-Instruct model for compression yields better results than BM25 but still underperforms relative to the uncompressed baseline. Surprisingly, even the large-scale DeepSeek-V3 model (with 671B parameters) achieves only near-lossless compression on TriviaQA and HotpotQA, while performance on NQ and 2Wiki remains below the uncompressed baseline. As for the trained compressors (RECOMP, NoiseFilter-IB, LongLLMLingua, and QGC), all of them exhibit performance degradation compared to no compression. The decline generally ranges from 2 to 6 EM poin ts across nearly all datasets. In contrast, our method, CORE, delivers the best performance. It not only surpasses compression methods of comparable size by 4-5 EM points but also maintains an advantage over the hundreds-of-times-larger DeepSeek model. This clearly demonstrates the benefit and importance of end-to-end optimization.
|
| 114 |
+
Generalization to 10-Doc Compression. When generalizing the trained compressors to handle the top-10 documents without retraining, the aforementioned conclusions remain valid. CORE continues to achieve lossless compression and performs best among all compression methods. On NQ, it achieves a token compression ratio of 3.6% while improving the EM by 3.2 points compared to using all ten documents. Similar trends are observed on TriviaQA, with a compression ratio of 2.3% and a gain of 2.4 EM points relative to the full-document baseline. On HotpotQA, CORE achieves a compression ratio of 2.5% and an improvement of 0.7 EM points. For 2WikiMultihopQA, it obtains a compression ratio of 3.1% along with a notable increase of 6.9 EM points.
|
| 115 |
+
### 3.3 ROBUSTNESS AND GENERALIZATION ABILITY ANALYSIS
|
| 116 |
+
Robustness of CORE Across Compressor Architectures. To evaluate whether the effectiveness of CORE depends on the choice of compressor model, we compared the performance of compressors trained using different model architectures—while keeping the downstream LLM (Qwen2.5-14B-Instruct) fixed. The compressors tested include LLaMA3.2-1B-Instruct, Qwen2.5-1.5B-Instruct, and LLaMA3.2-3B-Instruct, which vary in architecture and parameter count. As shown in Figure [3,](#page-7-0) the results indicate that: (1) These trained compressors consistently achieve lossless compression and outperform the uncompressed baseline (represented by the red reference line in the figure, which corresponds to prepending the full document content), confirming that our training framework is robust and not tied to a specific compressor architecture. (2) Compression performance improves as the size of the compressor model increases, consistent with scaling laws. More detailed results can be found in Tables [7](#page-17-0) and [8.](#page-17-1)
|
| 117 |
+
{7}------------------------------------------------
|
| 118 |
+
<span id="page-7-0"></span>
|
| 119 |
+
Figure 3: The impact of different models used to train the compressor.
|
| 120 |
+
Table 2: Zero-shot transfer of the trained compressor to Llama-3.1-8B-Instruct.
|
| 121 |
+
<span id="page-7-1"></span>
|
| 122 |
+
| | NQ | | | 7 | TriviaQA | | | HotpotQA | | | 2WikiMultihopQA | | |
|
| 123 |
+
|----------------------|---------|-------|-------|-------|----------|-------|-------|----------|-------|-------|-----------------|-------|--|
|
| 124 |
+
| | EM | F1 | # tok | EM | F1 | # tok | EM | F1 | # tok | EM | F1 | # tok | |
|
| 125 |
+
| No Retrieval | 24.04 | 34.91 | 0 | 55.64 | 62.57 | 0 | 19.93 | 27.75 | 0 | 27.64 | 31.18 | 0 | |
|
| 126 |
+
| RAG without compres | ssion | | | | | | | | | | | | |
|
| 127 |
+
| Top1 Document | 33.80 | 44.06 | 142 | 59.17 | 67.50 | 143 | 27.95 | 37.49 | 147 | 28.41 | 33.43 | 153 | |
|
| 128 |
+
| Top3 Documents | 36.87 | 47.81 | 427 | 61.13 | 70.06 | 430 | 30.17 | 40.71 | 442 | 28.67 | 34.23 | 460 | |
|
| 129 |
+
| Top5 Documents | 37.65 | 48.87 | 712 | 62.26 | 71.04 | 715 | 31.44 | 42.16 | 737 | 29.43 | 35.18 | 766 | |
|
| 130 |
+
| Top10 Documents | 38.12 | 49.93 | 1425 | 63.95 | 72.71 | 1428 | 32.19 | 42.62 | 1471 | 30.45 | 36.04 | 1531 | |
|
| 131 |
+
| Compression of top 5 | docume | nts | | | | | | | | | | | |
|
| 132 |
+
| Qwen2.5-1.5B | 32.60 | 44.21 | 36 | 56.76 | 65.77 | 30 | 26.86 | 36.90 | 33 | 25.45 | 30.88 | 32 | |
|
| 133 |
+
| DeepSeek-V3 (671B) | 37.56 | 50.11 | 54 | 62.52 | 72.34 | 50 | 33.05 | 44.25 | 48 | 28.64 | 33.87 | 92 | |
|
| 134 |
+
| RECOMP-Abs (1.5B) | 33.41 | 45.50 | 58 | 58.50 | 67.37 | 53 | 28.85 | 39.76 | 56 | 31.63 | 37.81 | 52 | |
|
| 135 |
+
| RECOMP-Ext (1.5B) | 33.12 | 45.06 | 60 | 57.98 | 66.84 | 55 | 29.03 | 40.04 | 52 | 31.85 | 38.02 | 55 | |
|
| 136 |
+
| CORE (1.5B) | 40.72 | 50.00 | 46 | 64.08 | 71.13 | 32 | 32.17 | 43.71 | 36 | 35.99 | 41.42 | 49 | |
|
| 137 |
+
| Compression of top 1 | 0 docum | ents | | | | | | | | | | | |
|
| 138 |
+
| Qwen2.5-1.5B | 32.88 | 44.66 | 40 | 57.44 | 66.56 | 33 | 27.31 | 37.31 | 36 | 25.80 | 31.30 | 34 | |
|
| 139 |
+
| DeepSeek-V3 (671B) | 37.49 | 51.28 | 56 | 63.79 | 73.80 | 53 | 34.24 | 45.35 | 50 | 31.45 | 37.09 | 40 | |
|
| 140 |
+
| RECOMP-Abs (1.5B) | 34.18 | 46.80 | 59 | 59.69 | 68.89 | 52 | 30.17 | 41.42 | 55 | 33.61 | 39.78 | 44 | |
|
| 141 |
+
| RECOMP-Ext (1.5B) | 34.06 | 46.55 | 60 | 59.33 | 68.71 | 50 | 30.52 | 41.98 | 55 | 33.52 | 39.42 | 44 | |
|
| 142 |
+
| CORE (1.5B) | 41.77 | 51.27 | 52 | 65.25 | 72.45 | 33 | 33.25 | 45.09 | 37 | 37.59 | 42.87 | 48 | |
|
| 143 |
+
Transferability of CORE Across Downstream LLMs. We evaluate the transferability of our trained compressor and other baseline compressors to a new downstream LLM, the LLaMA-3.1-8B model. The results are presented in Table 2. Note that all trainable compressors, including our own, were trained using feedback generated by Qwen2.5-14B-Instruct. The findings reveal that existing trained compressors (e.g., RECOMP) exhibit limited generalization capability, as indicated by a larger performance gap relative to the baseline of prepending full documents. In contrast, CORE demonstrates stronger generalization, achieving lossless compression on the new downstream LLM. Specifically, it not only maintains performance but also surpasses the full-document baseline (i.e., no compression) across all four datasets while retaining a high compression rate. These results suggest that the summaries produced by our method are inherently high-quality and preserve key information necessary for accurate answering, thereby enabling effective transfer to other LLMs.
|
| 144 |
+
### 3.4 ABLATION STUDY
|
| 145 |
+
Table 3 presents an ablation study on the two stages of our method: distillation and GRPO. Here, "w/o distillation" denotes training the compressor with GRPO directly, bypassing the warm-start phase, while "w/o GRPO" indicates using only the distillation step without subsequent reinforcement learning. The results demonstrate that removing either component leads to performance degradation, confirming the necessity of both. In addition, the decline is more substantial when GRPO is omitted, highlighting the crucial role of reinforcement learning in the absence of explicit supervision. Distillation injects external knowledge into the model, providing a favorable starting point for RL training and thereby enabling RL to more effectively unlock the compressor's full potential.
|
| 146 |
+
{8}------------------------------------------------
|
| 147 |
+
Table 3: Ablation study.
|
| 148 |
+
<span id="page-8-0"></span>
|
| 149 |
+
| Dataset | Metric | w/o distillation | w/o GRPO | CORE |
|
| 150 |
+
|----------|--------|------------------|----------|-------|
|
| 151 |
+
| | EM | 36.37 | 34.18 | 41.02 |
|
| 152 |
+
| NQ | F1 | 46.91 | 46.26 | 50.40 |
|
| 153 |
+
| | EM | 65.23 | 60.31 | 65.63 |
|
| 154 |
+
| TQA | F1 | 72.41 | 68.50 | 72.55 |
|
| 155 |
+
| | EM | 32.01 | 28.96 | 33.67 |
|
| 156 |
+
| HotpotQA | F1 | 42.73 | 39.95 | 45.06 |
|
| 157 |
+
| | EM | 31.40 | 30.25 | 36.72 |
|
| 158 |
+
| 2Wiki | F1 | 36.89 | 36.73 | 42.05 |
|
| 159 |
+

|
| 160 |
+
Figure 4: The impact of α.
|
| 161 |
+
### 3.5 THE IMPACT OF α.
|
| 162 |
+
Figure [4](#page-8-0) illustrates the performance of our method under different values of α, which controls the weighting coefficient of the F1 reward term. Setting α = 0 corresponds to using only the EM reward. Results indicate that performance improves when α > 0 across all datasets, demonstrating the effectiveness of the F1 reward in mitigating the sparsity issue associated with the EM reward. However, the optimal value of α is dataset-dependent; values between 0.2 and 0.5 generally yield strong performance.
|
| 163 |
+
### 3.6 CASE STUDY
|
| 164 |
+
To conduct an in-depth analysis of the advantages of our compressor, we performed case studies on one single-hop QA dataset (NQ) and one multi-hop QA dataset (2Wiki), with the results presented in Table [4](#page-14-0) and Table [5,](#page-15-0) respectively. For each case, we compared the summaries generated by off-the-shelf Qwen2.5-1.5B-Instruct, RECOMP, and our method CORE based on the same set of documents, as well as the predicted answers generated by the LLM after prepending these summaries. As shown in the tables, although the summaries produced by off-the-shelf Qwen2.5-1.5B are concise, they largely fail to capture key information relevant to answering the question. In contrast, RECOMP demonstrates better summarization capability but is prone to being overwhelmed by lengthy documents, resulting in misjudgments and even generating misleading information—such as the statement in Table [4:](#page-14-0) "*The U.S. stopped drafting for the Vietnam War after the Selective Service System was officially abolished in December 1972*"—which leads the downstream LLM to produce the incorrect answer "1972". Our method, CORE, accurately extracts answer-critical information from lengthy documents, exemplified by the summary: "*The U.S. stopped drafting for the Vietnam War in 1973 after announcing the decision by Secretary of Defense Melvin Laird earlier that year*", thereby enabling the LLM to generate the correct answer "1973". This indicates that our compressor, trained with an end-task target-oriented reinforcement learning optimization strategy, can produce document summaries that are most helpful for answering the given question while effectively filtering out irrelevant information.
|
| 165 |
+
## 4 RELATED WORK
|
| 166 |
+
Context Compression in RAG. RAG enhances the performance of LLMs on knowledge-intensive tasks by retrieving the most relevant documents from extensive knowledge bases and prepending them as contextual information to the original input [\(Ram et al., 2023;](#page-11-0) [Fan et al., 2024;](#page-10-0) [Lin et al.,](#page-11-6) [2023;](#page-11-6) [Shi et al., 2023\)](#page-12-8). However, this approach requires the LLM to process significantly longer token sequences, resulting in increased computational costs. To mitigate this issue, researchers have begun to explore methods for compressing retrieved documents in RAG systems [\(Xu et al., 2024;](#page-12-0) [Cao et al., 2024;](#page-10-3) [Jin et al., 2024b;](#page-10-1) [Zhu et al., 2024;](#page-12-3) [Kim & Thorne, 2025;](#page-11-7) [Rau et al., 2024;](#page-12-9) [Wu et al.,](#page-12-1) [2025;](#page-12-1) [Louis et al., 2025;](#page-11-8) [Jin et al., 2024a;](#page-10-2) [Li et al., 2024a;](#page-11-9)[b;](#page-11-10) [Zhang et al., 2024a\)](#page-12-2). For instance, [Xu et al.](#page-12-0) [\(2024\)](#page-12-0) propose compressing retrieved documents into textual summaries before in-context augmentation, training the compressor through data selection and distillation. Similarly, [Cao et al.](#page-10-3) [\(2024\)](#page-10-3) introduce a Query-Guided Compressor (QGC) that uses queries to guide the compression process, effectively preserving essential information. [Jin et al.](#page-10-1) [\(2024b\)](#page-10-1) refine retrieved documents into Key Supporting Evidence (KSE) through a combination of knowledge synthesis, supervised fine-tuning (SFT), and preference alignment. Meanwhile, [Zhu et al.](#page-12-3) [\(2024\)](#page-12-3) present an informationtheoretic approach called NoiseFilter-IB, which filters noise by maximizing the mutual information
|
| 167 |
+
{9}------------------------------------------------
|
| 168 |
+
**509**
|
| 169 |
+
**529 530**
|
| 170 |
+
**538 539** between the compressed content and the ground-truth output. Additionally, [Kim & Thorne](#page-11-7) [\(2025\)](#page-11-7) train a compressor to extract critical information using reward functions based on predefined heuristic rules. However, most of these methods are heuristic in nature, and due to the lack of ideal compression labels, the compressed content they produce cannot be guaranteed to benefit downstream LLMs. In contrast, our method, CORE, adopts an end-to-end optimization approach to address these limitations.
|
| 171 |
+
Reinforcement Learning. Reinforcement learning (RL) has recently achieved notable success, enabling LLMs to develop reasoning capabilities without explicit step-by-step supervision [\(Liu et al.,](#page-11-2) [2024;](#page-11-2) [Shao et al., 2024;](#page-12-4) [Guo et al., 2025\)](#page-10-9). Building on these advances, several studies have applied RL to improve RAG [\(Ke et al., 2024\)](#page-11-11). For example, [Kulkarni et al.](#page-11-12) [\(2024\)](#page-11-12) use RL to autonomously decide whether to retrieve documents, while [Zhang et al.](#page-12-10) [\(2024b\)](#page-12-10) employ RL to optimize the ranking of retrieved documents. Similarly, [Mao et al.](#page-11-13) [\(2024\)](#page-11-13) propose a framework for training query rewriting models for RAG without relying on human annotations. MMOA-RAG [\(Chen et al., 2025b\)](#page-10-10) enhances RAG through multi-agent reinforcement learning, incorporating a query rewriter, retriever, and generator. Meanwhile, RL has been applied to address other challenges in RAG, such as enhancing the quality of retrieved content. For instance, Oreo [\(Li & Ramakrishnan, 2025\)](#page-11-14) trains a reconstructor with PPO and ROUGE-based rewards to rewrite passages for improved performance. In contrast, our work CORE tackles the distinct problem of computational efficiency. Our approach leverages the GRPO algorithm, direct task-performance rewards, and a lightweight compressor to enhance efficiency without compromising accuracy. Moreover, a line of research has utilized RL to integrate search with reasoning in a step-by-step manner [\(Singh et al., 2025\)](#page-12-11). For instance, [Chen](#page-10-4) [et al.](#page-10-4) [\(2025a\)](#page-10-4) introduce a framework called ReSearch, which trains LLMs to reason with search using RL, without requiring supervised data for reasoning steps. Related approaches include R1- Searcher [\(Song et al., 2025\)](#page-12-5), WebThinker [\(Li et al., 2025\)](#page-11-15), and DeepResearcher [\(Zheng et al., 2025\)](#page-12-12). Although these methods are end-to-end, they differ fundamentally from our problem setting. These approaches typically involve directly training the LLM generator—which tends to be a large-scale model with a high parameter count. However, such training becomes infeasible when the model is a black box (e.g., GPT-4), as internal weights or gradients are inaccessible. Furthermore, these methods introduce extensive internal thinking processes that substantially increase context length and inference time. In contrast, our approach treats the generator LLM as a fixed black-box model and trains only a lightweight plug-in compressor to produce document summaries. This design significantly improves both training and inference efficiency. A parallel line of work applies RL to prompt compression. For example, PCRL [\(Jung & Kim, 2024\)](#page-11-16) and TACO-RL [\(Shandilya et al., 2025\)](#page-12-13) learn to compress prompts via token-level keep-or-drop decisions, using the similarity between model outputs with compressed and original prompts as the reward. Our work, CORE, introduces key distinctions in both objective and methodology. First, we target the more complex problem of compressing multiple retrieved documents in RAG, rather than single prompts. Second, we employ a generative compressor that can rephrase and synthesize content, instead of making token-level binary actions. Most importantly, we optimize compression using a direct task-performance reward with GRPO, which enables us to achieve true lossless compression at significantly higher ratios—a stark contrast to the performance degradation observed in prior prompt compression methods.
|
| 172 |
+
## 5 CONCLUSION
|
| 173 |
+
This paper analyzes the limitations of current context compression methods for RAG. A primary challenge is the lack of optimal reference summaries for supervised learning, which often results in performance degradation in downstream tasks. To overcome this, we frame context compression as a reinforcement learning problem, utilizing downstream task performance as a reward signal to train the compression policy, thereby enabling end-to-end optimization. Extensive experiments demonstrate that our proposed method, CORE, achieves effectively lossless compression by maintaining a high compression ratio while preserving original task performance. Surprisingly, CORE not only preserves but actually enhances performance on all downstream tasks. Further in-depth analysis provides additional insights into the efficacy of our approach.
|
| 174 |
+
{10}------------------------------------------------
|
| 175 |
+
## REFERENCES
|
| 176 |
+
- Zhiwei Cao, Qian Cao, Yu Lu, Ningxin Peng, Luyang Huang, Shanbo Cheng, and Jinsong Su. Retaining key information under high compression ratios: Query-guided compressor for llms. In *Proceedings of the 62nd Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers)*, pp. 12685–12695, 2024.
|
| 177 |
+
- <span id="page-10-4"></span>Mingyang Chen, Tianpeng Li, Haoze Sun, Yijie Zhou, Chenzheng Zhu, Haofen Wang, Jeff Z Pan, Wen Zhang, Huajun Chen, Fan Yang, et al. Learning to reason with search for llms via reinforcement learning. *arXiv preprint arXiv:2503.19470*, 2025a.
|
| 178 |
+
- Yiqun Chen, Lingyong Yan, Weiwei Sun, Xinyu Ma, Yi Zhang, Shuaiqiang Wang, Dawei Yin, Yiming Yang, and Jiaxin Mao. Improving retrieval-augmented generation through multi-agent reinforcement learning. *arXiv preprint arXiv:2501.15228*, 2025b.
|
| 179 |
+
- <span id="page-10-0"></span>Wenqi Fan, Yujuan Ding, Liangbo Ning, Shijie Wang, Hengyun Li, Dawei Yin, Tat-Seng Chua, and Qing Li. A survey on rag meeting llms: Towards retrieval-augmented large language models. In *Proceedings of the 30th ACM SIGKDD conference on knowledge discovery and data mining*, pp. 6491–6501, 2024.
|
| 180 |
+
- <span id="page-10-9"></span>Daya Guo, Dejian Yang, Haowei Zhang, Junxiao Song, Ruoyu Zhang, Runxin Xu, Qihao Zhu, Shirong Ma, Peiyi Wang, Xiao Bi, et al. Deepseek-r1: Incentivizing reasoning capability in llms via reinforcement learning. *arXiv preprint arXiv:2501.12948*, 2025.
|
| 181 |
+
- <span id="page-10-6"></span>Xanh Ho, Anh-Khoa Duong Nguyen, Saku Sugawara, and Akiko Aizawa. Constructing a multi-hop qa dataset for comprehensive evaluation of reasoning steps. *arXiv preprint arXiv:2011.01060*, 2020.
|
| 182 |
+
- Gautier Izacard, Mathilde Caron, Lucas Hosseini, Sebastian Riedel, Piotr Bojanowski, Armand Joulin, and Edouard Grave. Unsupervised dense information retrieval with contrastive learning. *arXiv preprint arXiv:2112.09118*, 2021.
|
| 183 |
+
- <span id="page-10-8"></span>Huiqiang Jiang, Qianhui Wu, Xufang Luo, Dongsheng Li, Chin-Yew Lin, Yuqing Yang, and Lili Qiu. Longllmlingua: Accelerating and enhancing llms in long context scenarios via prompt compression. In *Proceedings of the 62nd Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers)*, pp. 1658–1677, 2024.
|
| 184 |
+
- <span id="page-10-2"></span>Bowen Jin, Jinsung Yoon, Jiawei Han, and Sercan O Arik. Long-context llms meet rag: Overcoming challenges for long inputs in rag. *arXiv preprint arXiv:2410.05983*, 2024a.
|
| 185 |
+
- <span id="page-10-1"></span>Jiajie Jin, Yutao Zhu, Yujia Zhou, and Zhicheng Dou. Bider: Bridging knowledge inconsistency for efficient retrieval-augmented llms via key supporting evidence. In *Findings of the Association for Computational Linguistics ACL 2024*, pp. 750–761, 2024b.
|
| 186 |
+
- <span id="page-10-5"></span>Mandar Joshi, Eunsol Choi, Daniel S Weld, and Luke Zettlemoyer. Triviaqa: A large scale distantly supervised challenge dataset for reading comprehension. *arXiv preprint arXiv:1705.03551*, 2017.
|
| 187 |
+
{11}------------------------------------------------
|
| 188 |
+
<span id="page-11-12"></span><span id="page-11-11"></span><span id="page-11-7"></span><span id="page-11-3"></span>**604 605 606**
|
| 189 |
+
<span id="page-11-15"></span><span id="page-11-14"></span>**617**
|
| 190 |
+
<span id="page-11-10"></span><span id="page-11-9"></span>**619**
|
| 191 |
+
<span id="page-11-6"></span><span id="page-11-2"></span><span id="page-11-1"></span>**634**
|
| 192 |
+
<span id="page-11-13"></span><span id="page-11-8"></span><span id="page-11-5"></span><span id="page-11-0"></span>**636**
|
| 193 |
+
- <span id="page-11-16"></span><span id="page-11-4"></span>Hoyoun Jung and Kyung-Joong Kim. Discrete prompt compression with reinforcement learning. *IEEE Access*, 12:72578–72587, 2024.
|
| 194 |
+
- Vladimir Karpukhin, Barlas Oguz, Sewon Min, Patrick SH Lewis, Ledell Wu, Sergey Edunov, Danqi Chen, and Wen-tau Yih. Dense passage retrieval for open-domain question answering. In *EMNLP (1)*, pp. 6769–6781, 2020.
|
| 195 |
+
- Zixuan Ke, Weize Kong, Cheng Li, Mingyang Zhang, Qiaozhu Mei, and Michael Bendersky. Bridging the preference gap between retrievers and llms. *arXiv preprint arXiv:2401.06954*, 2024.
|
| 196 |
+
- Sangryul Kim and James Thorne. Context filtering with reward modeling in question answering. In *Proceedings of the 31st International Conference on Computational Linguistics*, pp. 11048– 11055, 2025.
|
| 197 |
+
- Mandar Kulkarni, Praveen Tangarajan, Kyung Kim, and Anusua Trivedi. Reinforcement learning for optimizing rag for domain chatbots. *arXiv preprint arXiv:2401.06800*, 2024.
|
| 198 |
+
- Tom Kwiatkowski, Jennimaria Palomaki, Olivia Redfield, Michael Collins, Ankur Parikh, Chris Alberti, Danielle Epstein, Illia Polosukhin, Jacob Devlin, Kenton Lee, et al. Natural questions: a benchmark for question answering research. *Transactions of the Association for Computational Linguistics*, 7:453–466, 2019.
|
| 199 |
+
- Sha Li and Naren Ramakrishnan. Oreo: A plug-in context reconstructor to enhance retrievalaugmented generation. In *Proceedings of the 2025 International ACM SIGIR Conference on Innovative Concepts and Theories in Information Retrieval (ICTIR)*, pp. 238–253, 2025.
|
| 200 |
+
- Xiaoxi Li, Jiajie Jin, Guanting Dong, Hongjin Qian, Yutao Zhu, Yongkang Wu, Ji-Rong Wen, and Zhicheng Dou. Webthinker: Empowering large reasoning models with deep research capability. *arXiv preprint arXiv:2504.21776*, 2025.
|
| 201 |
+
- Xinze Li, Sen Mei, Zhenghao Liu, Yukun Yan, Shuo Wang, Shi Yu, Zheni Zeng, Hao Chen, Ge Yu, Zhiyuan Liu, et al. Rag-ddr: Optimizing retrieval-augmented generation using differentiable data rewards. *arXiv preprint arXiv:2410.13509*, 2024a.
|
| 202 |
+
- Zhonghao Li, Xuming Hu, Aiwei Liu, Kening Zheng, Sirui Huang, and Hui Xiong. Refiner: Restructure retrieval content efficiently to advance question-answering capabilities. *arXiv preprint arXiv:2406.11357*, 2024b.
|
| 203 |
+
- Xi Victoria Lin, Xilun Chen, Mingda Chen, Weijia Shi, Maria Lomeli, Richard James, Pedro Rodriguez, Jacob Kahn, Gergely Szilvasy, Mike Lewis, et al. Ra-dit: Retrieval-augmented dual instruction tuning. In *The Twelfth International Conference on Learning Representations*, 2023.
|
| 204 |
+
- Aixin Liu, Bei Feng, Bing Xue, Bingxuan Wang, Bochao Wu, Chengda Lu, Chenggang Zhao, Chengqi Deng, Chenyu Zhang, Chong Ruan, et al. Deepseek-v3 technical report. *arXiv preprint arXiv:2412.19437*, 2024.
|
| 205 |
+
- Nelson F Liu, Kevin Lin, John Hewitt, Ashwin Paranjape, Michele Bevilacqua, Fabio Petroni, and Percy Liang. Lost in the middle: How language models use long contexts. *arXiv preprint arXiv:2307.03172*, 2023.
|
| 206 |
+
- Maxime Louis, Herve D´ ejean, and St ´ ephane Clinchant. Pisco: Pretty simple compression for ´ retrieval-augmented generation. *arXiv preprint arXiv:2501.16075*, 2025.
|
| 207 |
+
- Shengyu Mao, Yong Jiang, Boli Chen, Xiao Li, Peng Wang, Xinyu Wang, Pengjun Xie, Fei Huang, Huajun Chen, and Ningyu Zhang. Rafe: Ranking feedback improves query rewriting for rag. *arXiv preprint arXiv:2405.14431*, 2024.
|
| 208 |
+
- Tri Nguyen, Mir Rosenberg, Xia Song, Jianfeng Gao, Saurabh Tiwary, Rangan Majumder, and Li Deng. Ms marco: A human-generated machine reading comprehension dataset. 2016.
|
| 209 |
+
- Ori Ram, Yoav Levine, Itay Dalmedigos, Dor Muhlgay, Amnon Shashua, Kevin Leyton-Brown, and Yoav Shoham. In-context retrieval-augmented language models. *Transactions of the Association for Computational Linguistics*, 11:1316–1331, 2023.
|
| 210 |
+
{12}------------------------------------------------
|
| 211 |
+
<span id="page-12-13"></span>**654**
|
| 212 |
+
<span id="page-12-11"></span><span id="page-12-8"></span><span id="page-12-5"></span><span id="page-12-4"></span><span id="page-12-1"></span>**656**
|
| 213 |
+
<span id="page-12-12"></span><span id="page-12-10"></span><span id="page-12-6"></span><span id="page-12-3"></span><span id="page-12-2"></span><span id="page-12-0"></span>**684 685**
|
| 214 |
+
- <span id="page-12-9"></span><span id="page-12-7"></span>David Rau, Shuai Wang, Herve D´ ejean, and St ´ ephane Clinchant. Context embeddings for efficient ´ answer generation in rag. *arXiv preprint arXiv:2407.09252*, 2024.
|
| 215 |
+
- Stephen E Robertson, Steve Walker, Susan Jones, Micheline M Hancock-Beaulieu, Mike Gatford, et al. *Okapi at TREC-3*. British Library Research and Development Department, 1995.
|
| 216 |
+
- Shivam Shandilya, Menglin Xia, Supriyo Ghosh, Huiqiang Jiang, Jue Zhang, Qianhui Wu, Victor Ruhle, and Saravan Rajmohan. Taco-rl: Task aware prompt compression optimization with rein- ¨ forcement learning. In *Findings of the Association for Computational Linguistics: ACL 2025*, pp. 1582–1597, 2025.
|
| 217 |
+
- Zhihong Shao, Peiyi Wang, Qihao Zhu, Runxin Xu, Junxiao Song, Xiao Bi, Haowei Zhang, Mingchuan Zhang, YK Li, Yang Wu, et al. Deepseekmath: Pushing the limits of mathematical reasoning in open language models. *arXiv preprint arXiv:2402.03300*, 2024.
|
| 218 |
+
- Weijia Shi, Sewon Min, Michihiro Yasunaga, Minjoon Seo, Rich James, Mike Lewis, Luke Zettlemoyer, and Wen-tau Yih. Replug: Retrieval-augmented black-box language models. *arXiv preprint arXiv:2301.12652*, 2023.
|
| 219 |
+
- Aditi Singh, Abul Ehtesham, Saket Kumar, and Tala Talaei Khoei. Agentic retrieval-augmented generation: A survey on agentic rag. *arXiv preprint arXiv:2501.09136*, 2025.
|
| 220 |
+
- Huatong Song, Jinhao Jiang, Yingqian Min, Jie Chen, Zhipeng Chen, Wayne Xin Zhao, Lei Fang, and Ji-Rong Wen. R1-searcher: Incentivizing the search capability in llms via reinforcement learning. *arXiv preprint arXiv:2503.05592*, 2025.
|
| 221 |
+
- Chenyuan Wu, Ninglu Shao, Zheng Liu, Shitao Xiao, Chaozhuo Li, Chen Zhang, Senzhang Wang, and Defu Lian. Lighter and better: Towards flexible context adaptation for retrieval augmented generation. In *Proceedings of the Eighteenth ACM International Conference on Web Search and Data Mining*, pp. 271–280, 2025.
|
| 222 |
+
- Fangyuan Xu, Weijia Shi, and Eunsol Choi. Recomp: Improving retrieval-augmented lms with context compression and selective augmentation. In *The Twelfth International Conference on Learning Representations*, 2024.
|
| 223 |
+
- Zhilin Yang, Peng Qi, Saizheng Zhang, Yoshua Bengio, William W Cohen, Ruslan Salakhutdinov, and Christopher D Manning. Hotpotqa: A dataset for diverse, explainable multi-hop question answering. *arXiv preprint arXiv:1809.09600*, 2018.
|
| 224 |
+
- Qianchi Zhang, Hainan Zhang, Liang Pang, Hongwei Zheng, and Zhiming Zheng. Adacomp: Extractive context compression with adaptive predictor for retrieval-augmented large language models. *arXiv preprint arXiv:2409.01579*, 2024a.
|
| 225 |
+
- Taolin Zhang, Dongyang Li, Qizhou Chen, Chengyu Wang, Longtao Huang, Hui Xue, Xiaofeng He, and Jun Huang. R 4: Reinforced retriever-reorder-responder for retrieval-augmented large language models. In *ECAI 2024*, pp. 2314–2321. IOS Press, 2024b.
|
| 226 |
+
- Yuxiang Zheng, Dayuan Fu, Xiangkun Hu, Xiaojie Cai, Lyumanshan Ye, Pengrui Lu, and Pengfei Liu. Deepresearcher: Scaling deep research via reinforcement learning in real-world environments. *arXiv preprint arXiv:2504.03160*, 2025.
|
| 227 |
+
- Kun Zhu, Xiaocheng Feng, Xiyuan Du, Yuxuan Gu, Weijiang Yu, Haotian Wang, Qianglong Chen, Zheng Chu, Jingchang Chen, and Bing Qin. An information bottleneck perspective for effective noise filtering on retrieval-augmented generation. In *Proceedings of the 62nd Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers)*, pp. 1044–1069, 2024.
|
| 228 |
+
{13}------------------------------------------------
|
| 229 |
+
<span id="page-13-0"></span>Compress the information in the retrieved documents into a 2-sentence summary that could be used to answer the question. If the documents do not contain relevant information, simply output " ".
|
| 230 |
+
Question: {*Question*}
|
| 231 |
+
**709**
|
| 232 |
+
**724**
|
| 233 |
+
Retrieved documents: {*Documents*}
|
| 234 |
+
Compressed documents:
|
| 235 |
+
Figure 5: Prompt template used to generate the summary.
|
| 236 |
+
### <span id="page-13-1"></span>[Instruction] Answer the question.
|
| 237 |
+
IMPORTANT: Respond ONLY with the exact answer in the same format as the examples. Do NOT add any extra text, explanations, or punctuation. Do NOT include "Answer:" or any similar prefix in your response.
|
| 238 |
+
### [Examples]
|
| 239 |
+
Question: Which major Russian city borders the body of water in which Saaremaa is located?
|
| 240 |
+
Answer: Saint Petersburg
|
| 241 |
+
Question: Who was thee first president of the association that wrote the code of ethics for psychology?
|
| 242 |
+
Answer: G. Stanley Hall
|
| 243 |
+
Question: Where did the Baldevins bryllup director die?
|
| 244 |
+
Answer: Copenhagen
|
| 245 |
+
### [Current Question]
|
| 246 |
+
**{***Summary of the retrieved documents***}**
|
| 247 |
+
Question: {*Question*}
|
| 248 |
+
Answer:
|
| 249 |
+
Figure 6: Prompt template for LLM QA.
|
| 250 |
+
## A USE OF LLMS
|
| 251 |
+
Large language models (LLMs) were employed solely as writing assistants to enhance the language, improve clarity, and check grammatical correctness. They were not used to generate research ideas, design or implement methodologies, conduct data analysis, or produce any of the results presented in this work. The authors assume full responsibility for the entire content of the paper.
|
| 252 |
+
## B PROMPT TEMPLATES
|
| 253 |
+
Figure [5](#page-13-0) displays the prompt employed to train the compressor model for generating a summary of the retrieved documents, conditioned on the given query. This prompt is notably concise. For end-task answer generation, the prompt provided to the LLM M is illustrated in Figure [6,](#page-13-1) which incorporates few-shot in-context examples, the (generated summary of) retrieved documents, and the question.
|
| 254 |
+
## C CASE STUDY
|
| 255 |
+
To conduct an in-depth analysis of the advantages of our compressor, we performed case studies on one single-hop QA dataset (NQ) and one multi-hop QA dataset (2Wiki), with the results presented in Table [4](#page-14-0) and Table [5,](#page-15-0) respectively. For each case, we compared the summaries generated by off-the-shelf Qwen2.5-1.5B-Instruct, RECOMP, and our method CORE based on the same set of documents, as well as the predicted answers generated by the LLM after prepending these summaries. As shown in the tables, although the summaries produced by off-the-shelf Qwen2.5-1.5B
|
| 256 |
+
{14}------------------------------------------------
|
| 257 |
+
### Table 4: Case study on NQ dataset.
|
| 258 |
+
**758**
|
| 259 |
+
**759**
|
| 260 |
+
**761**
|
| 261 |
+
**764**
|
| 262 |
+
**779 780 781**
|
| 263 |
+
# <span id="page-14-0"></span>Question: when did the us stop drafting for the vietnam war? Gold answer: [1973]
|
| 264 |
+
### Top-5 documents:
|
| 265 |
+
last men conscripted, who were born in 1952 and who reported for duty in June 1973. On February 2, 1972, a drawing was held to determine draft priority numbers for men born in 1953, but in early 1973 it was announced by Secretary of Defense Melvin Laird that no further draft orders would be issued. In March 1973, 1974, and 1975, the Selective Service assigned draft priority numbers for all men born in 1954, 1955, and 1956, in case the draft was extended, but it never was. Command Sergeant Major Jeff Mellinger, believed to be the last drafted enlisted ranked.
|
| 266 |
+
The Gates Commission issued its report in February 1970, describing how adequate military strength could be maintained without having conscription. The existing draft law was expiring at the end of June 1971, but the Department of Defense and Nixon administration decided the draft needed to continue for at least some time. In February 1971, the administration requested of Congress a two-year extension of the draft, to June 1973. Senatorial opponents of the war wanted to reduce this to a one-year extension, or eliminate the draft altogether, or tie the draft renewal to a timetable for troop withdrawal from Vietnam; Senator.
|
| 267 |
+
draft operated from 1940 until 1946 when further inductions were suspended, and its legislative authorization expired without further extension by Congress in 1947. During this time, more than 10 million men had been inducted into military service. However, the Selective Service System remained intact. Scattered opposition was encountered especially in the northern cities where some African-Americans protested the system. The tiny Nation of Islam was at the forefront, with many Black Muslims jailed for refusing the draft, and their leader Elijah Muhammed was sentenced to federal prison for 5 years for inciting draft resistance. Organized draft resistance also developed in.
|
| 268 |
+
was the first time any form of student deferment was used. During the Korean War a student carrying at least twelve semester hours was spared until the end of his current semester. The United States breathed easier with the Korean War Armistice on July 27, 1953; however, technology brought new promises and threats. U.S. air and nuclear power fueled the Eisenhower doctrine of "massive retaliation". This strategy demanded more machines and fewer foot soldiers, so the draft slipped to the back burner. However, the head of the SSS, Maj. Gen. Hershey, urged caution fearing the conflict looming in Vietnam. In.
|
| 269 |
+
policy of using the draft as force to compel "voluntary" enlistment was unique in U.S. history. Previous drafts had not aimed at encouraging individuals to sign up in order to gain preferential placement or less dangerous postings. However, the incremental buildup of Vietnam without a clear threat to the country bolstered this. Some estimates suggest conscription encompassed almost one-third of all eligible men during the period of 1965–69. This group represented those without exemption or resources to avoid military service. During the active combat phase, the possibility of avoiding combat by selecting their service and military specialty led as many.
|
| 270 |
+
| Compressor | Generated summary | Predicted<br>answer |
|
| 271 |
+
|--------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---------------------|
|
| 272 |
+
| Off-the-shell<br>Qwen2.5-<br>1.5B-Instruct | The US stopped drafting for the Vietnam War in late 1972 after<br>the draft expired at the end of June 1971. | late 1972 |
|
| 273 |
+
| RECOMP | The U.S. stopped drafting for the Vietnam War after the<br>Selective Service System was officially abolished in December<br>1972 due to growing public opposition and the expiration of the<br>draft's legal authority in 1971. While the draft was formally<br>ended, some individuals were still consripted into the military | December<br>1972 |
|
| 274 |
+
| Ours | The U.S. stopped drafting for the Vietnam War in 1973 after<br>announcing the decision by Secretary of Defense Melvin Laird<br>earlier that year. Although the Selective Service System was<br>later updated to include draft priority numbers, this decision<br>marked the end of the draft's use for national service. | 1973 |
|
| 275 |
+
{15}------------------------------------------------
|
| 276 |
+
### Table 5: Case study on 2Wiki dataset.
|
| 277 |
+
**812 813**
|
| 278 |
+
**814 815**
|
| 279 |
+
**817**
|
| 280 |
+
**829 830**
|
| 281 |
+
**834**
|
| 282 |
+
### <span id="page-15-0"></span>Question: Who is Charles Bretagne Marie De La Tremoille's paternal grandfather? ´ Gold answer: [Charles Armand Rene de La Tr ´ emoille] ´
|
| 283 |
+
Top-5 documents:
|
| 284 |
+
as at Versailles: he was brigadier of cavalry (January 1709), first gentleman of the King's chamber (June 1709), governor of Thouars (July 1709), and Marechal de camp (February 1719). His sister ´ Marie Armande Victoire de La Tremoille married Emmanuel Th ´ eodose de La Tour d'Auvergne. ´ On 13 April 1706 he married Marie-Madeleine Motier de La Fayette (1691–1717), the daughter of Rene-Armand, marquis de La Fayette and Marie-Madeleine de Marillac, and granddaughter of the author Marie-Madeleine Pioche de la Vergne, comtesse de la Fayette. They had one child, Charles Armand Rene de La Tr ´ emoille, born in 1708. Charles Louis Bretagne de La ´
|
| 285 |
+
Charles Bretagne Marie de La Tremoille Charles Bretagne Marie de La Tr ´ emoille (24 March ´ 1764 – 10 November 1839), 8th duc de Thouars, was a French soldier and the son of Jean Bretagne Charles de La Tremoille and his wife, Marie-Maximilienne, princess of Salm-Kyrburg. La ´ Tremoille married Louise-Emmanuelle de Ch ´ atillon in 1781. She was a grand daughter of Louis ˆ Cesar de La Baume Le Blanc, the famous writer. The couple had one daughter: At the outbreak ´ of the French Revolution, he sided with King Louis XVI, as did the rest of his family. In 1789, La Tremoille and his parents ´
|
| 286 |
+
Jean Bretagne Charles de La Tremoille Jean-Bretagne-Charles de La Tr ´ emoille (5 February 1737 ´ – 19 May 1792), 7th duc de Thouars, was a French soldier and the son of Charles Armand Rene´ de La Tremoille and his wife, Marie Hortense de La Tour d'Auvergne. La Tr ´ emoille began his ´ military career in the Seven Years' War as the head of the regiment of Aquitaine-Cavalry. He was seriously wounded and afterwards promoted to the rank of sergeant, and later of brigadier, of the armies of the king. During the French Revolution, La Tremoille remained faithful to King Louis ´ XVI. He emigrated in
|
| 287 |
+
Charles Louis Bretagne de La Tremoille Charles Louis Bretagne de La Tr ´ emoille (15 March ´ 1683 – 9 October 1719), 6th duke of Thouars, was the son of Charles Belgique Hollande de La Tremoille and Madeleine de Cr ´ equy, daughter and heiress of Charles III de Cr ´ equy. He became ´ duke of Thouars upon his father's death in 1709. He was also count of Laval and Montfort and inherited the ancient French claim to the Kingdom of Naples. The Neapolitan claim gave the family the rank of "princes etrangers" at the French court. The Duke made a career in the ´ military as well
|
| 288 |
+
de Saint-Didier. They had two daughters: Following her death, La Tremoille married for a third ´ time in 1830 to Valentine Eugenie Jos ´ ephine Walsh de Serrant. They had two children: La ´ Tremoille died shortly after his son's birth, in 1839. Charles Bretagne Marie de La Tr ´ emoille ´ Charles Bretagne Marie de La Tremoille (24 March 1764 – 10 November 1839), 8th duc de ´ Thouars, was a French soldier and the son of Jean Bretagne Charles de La Tremoille and his wife, ´ Marie-Maximilienne, princess of Salm-Kyrburg. La Tremoille married Louise-Emmanuelle de ´ Chatillon in 1781. She was a grand daughter of Louis C ˆ esar de ´
|
| 289 |
+
| Compressor | Generated summary | Predicted<br>answer |
|
| 290 |
+
|--------------------------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|-------------------------------------------------|
|
| 291 |
+
| Off-the-shell<br>Qwen2.5-<br>1.5B-Instruct | Charles Bretagne Marie de La Tremoille's paternal grandfather<br>´<br>was Jean Bretagne Charles de La Tremoille. ´ | Jean Bretagne<br>Charles de La<br>Tremoille ´ |
|
| 292 |
+
| RECOMP | Charles Bretagne Marie de La Tremoille's paternal grandfather<br>´<br>was Charles Louis Bretagne de La Tremoille, who was the son<br>´<br>of Charles Belgique Hollande de La Tremoille and Madeleine<br>´<br>de Crequy. This makes him the direct paternal grandfather of<br>´<br>Charles Bretagne Marie de La Tremoille. ´ | Charles Louis<br>Bretagne de<br>La Tremoille ´ |
|
| 293 |
+
| Ours | ´<br>Charles Bretagne Marie de La Tremoille's paternal grandfather<br>is Charles Armand Rene de La Tr<br>´<br>emoille, her father's father, the<br>´<br>7th duc de Thouars. | Charles<br>Armand Rene´<br>de La<br>Tremoille ´ |
|
| 294 |
+
**861 863**
|
| 295 |
+
**854 855 856**
|
| 296 |
+
{16}------------------------------------------------
|
| 297 |
+
**869**
|
| 298 |
+
**884**
|
| 299 |
+
**904**
|
| 300 |
+
**906**
|
| 301 |
+
Table 6: Failure Cases on NQ dataset.
|
| 302 |
+
<span id="page-16-0"></span>
|
| 303 |
+
| Question | Generated Summary | Predicted<br>Answer | Gold<br>Answer |
|
| 304 |
+
|-----------------------------------------------------------------------------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---------------------|-----------------|
|
| 305 |
+
| who is the<br>president of<br>usa right now | The current president of the USA is **Donald<br>Trump**, who was elected on January 20, 2017, and<br>is the 45th president. He is a businessman and reality<br>TV personality, and his inauguration marked a shift in<br>the country's political landscape. | Joe Biden | Donald<br>Trump |
|
| 306 |
+
| who has been<br>ranked no. 1<br>in the latest<br>football<br>rankings<br>announced by<br>fifa | The latest FIFA football rankings, announced in 2018,<br>have ranked France as the top team, after winning the<br>2018 World Cup. This change was implemented using<br>the Elo rating system, and the rankings were<br>introduced to better reflect football team strengths. | France | Germany |
|
| 307 |
+
are concise, they largely fail to capture key information relevant to answering the question. In contrast, RECOMP demonstrates better summarization capability but is prone to being overwhelmed by lengthy documents, resulting in misjudgments and even generating misleading information—such as the statement in Table [4:](#page-14-0) "*The U.S. stopped drafting for the Vietnam War after the Selective Service System was officially abolished in December 1972*"—which leads the downstream LLM to produce the incorrect answer "1972". Our method, CORE, accurately extracts answer-critical information from lengthy documents, exemplified by the summary: "*The U.S. stopped drafting for the Vietnam War in 1973 after announcing the decision by Secretary of Defense Melvin Laird earlier that year*", thereby enabling the LLM to generate the correct answer "1973". This indicates that our compressor, trained with an end-task target-oriented reinforcement learning optimization strategy, can produce document summaries that are most helpful for answering the given question while effectively filtering out irrelevant information.
|
| 308 |
+
To further understand the limitations of our approach, we present two failure cases from the NQ dataset where the model provided incorrect answers based on our generated summaries. As shown in Table [6,](#page-16-0) the first case reveals that although the summary contained the key information required for the correct answer, the downstream LLM still produced an error, potentially due to its over-reliance on parametric knowledge. In the second case, the summary itself omitted critical information needed to answer the question, which likely led to the incorrect response.
|
| 309 |
+
## D IMPACT OF DIFFERENT COMPRESSORS ON PERFORMANCE
|
| 310 |
+
In our previous experiments, we employed Qwen2.5-1.5B as the initial model to train our compressor. In this section, we utilize two additional models—Llama3.2-1B and Llama3.2-3B—as starting points to train our compressor and the baseline compressor, respectively. The experimental results are presented in Table [7](#page-17-0) and Table [8.](#page-17-1) As shown in the results, our method CORE continues to achieve lossless compression with both models, maintaining a high token compression ratio while exhibiting no performance degradation in terms of Exact Match (EM) and F1 score compared to uncompressed RAG. Furthermore, under both new model configurations, our approach consistently outperforms the baseline methods, indicating that its superiority is not dependent on a specific model architecture and thus demonstrates strong robustness.
|
| 311 |
+
We also observe that our method adheres to a form of scaling law: the compressor trained using the 3B model outperforms the one trained with the 1B model. Specifically, the 1B compressor improves performance by 1–4 EM points over the uncompressed baseline, while the 3B compressor yields gains of 3–9 EM points.
|
| 312 |
+
{17}------------------------------------------------
|
| 313 |
+
<span id="page-17-0"></span>Table 7: Open-domain QA results using Qwen2.5-14B-Instruct as the downstream LLM (M). The reported token counts represent the length of in-context documents, excluding few-shot examples. RECOMP and our method CORE are both trained using **llama3.2-1B-Instruct**.
|
| 314 |
+
| | NQ | | | | TriviaQA | | | HotpotQA | | | 2WikiMultihopQA | | |
|
| 315 |
+
|----------------------|------------|-------------|---------|-----------|------------|------------|--------|----------|-------|--------|-----------------|-------|--|
|
| 316 |
+
| | EM | F1 | # tok | EM | F1 | # tok | EM | F1 | # tok | EM | F1 | # tok | |
|
| 317 |
+
| No Retrieval | 0.2136 | 0.3097 | 0 | 0.5323 | 0.5998 | 0 | 0.2105 | 0.2948 | 0 | 0.2611 | 0.2951 | 0 | |
|
| 318 |
+
| RAG without compre | ession | | | | | | | | | | | | |
|
| 319 |
+
| Top1 Document | 0.3446 | 0.4441 | 142 | 0.6082 | 0.6870 | 143 | 0.2920 | 0.3893 | 147 | 0.2679 | 0.3187 | 153 | |
|
| 320 |
+
| Top3 Documents | 0.3778 | 0.4845 | 427 | 0.6260 | 0.7102 | 430 | 0.3164 | 0.4187 | 442 | 0.2789 | 0.3358 | 460 | |
|
| 321 |
+
| Top5 Documents | 0.3803 | 0.4916 | 712 | 0.6410 | 0.7248 | 715 | 0.3299 | 0.4369 | 737 | 0.2964 | 0.3521 | 766 | |
|
| 322 |
+
| Top10 Documents | 0.3867 | 0.5003 | 1425 | 0.6440 | 0.7292 | 1428 | 0.3395 | 0.4488 | 1471 | 0.3104 | 0.3675 | 1531 | |
|
| 323 |
+
| Compression of top 3 | 5 docs | | | | | | | | | | | | |
|
| 324 |
+
| llama3.2-1B | 0.3147 | 0.4227 | 64 | 0.5552 | 0.6415 | 60 | 0.2648 | 0.3639 | 58 | 0.2498 | 0.3003 | 61 | |
|
| 325 |
+
| Deepseek-V3 (671B) | 0.3773 | 0.5039 | 54 | 0.6528 | 0.7433 | 51 | 0.3359 | 0.4483 | 48 | 0.2507 | 0.3031 | 45 | |
|
| 326 |
+
| RECOMP (1B) | 0.3410 | 0.4655 | 57 | 0.6071 | 0.6880 | 48 | 0.2987 | 0.4121 | 49 | 0.3045 | 0.3653 | 33 | |
|
| 327 |
+
| CORE (1B) | 0.3947 | 0.4923 | 47 | 0.6483 | 0.7287 | 43 | 0.3344 | 0.4454 | 45 | 0.3378 | 0.3969 | 34 | |
|
| 328 |
+
| Compression of top | 10 docs (w | vith the co | mpresso | r trained | on top 5 d | locs) | | | | | | | |
|
| 329 |
+
| llama3.2-1B | 0.3141 | 0.4228 | 62 | 0.5651 | 0.6512 | <b>5</b> 8 | 0.2663 | 0.3661 | 56 | 0.2493 | 0.3006 | 61 | |
|
| 330 |
+
| Deepseek-V3 (671B) | 0.3779 | 0.5107 | 56 | 0.6529 | 0.7445 | 53 | 0.3462 | 0.4569 | 50 | 0.2900 | 0.3464 | 40 | |
|
| 331 |
+
| RECOMP (1B) | 0.3421 | 0.4661 | 59 | 0.6095 | 0.6917 | 52 | 0.2982 | 0.4105 | 55 | 0.3072 | 0.3681 | 44 | |
|
| 332 |
+
| CORE (1B) | 0.4033 | 0.5033 | 47 | 0.6521 | 0.7296 | 45 | 0.3412 | 0.4500 | 48 | 0.3586 | 0.4162 | 42 | |
|
| 333 |
+
<span id="page-17-1"></span>Table 8: Open-domain QA results using Qwen2.5-14B-Instruct as the downstream LLM (M). The reported token counts represent the length of in-context documents, excluding few-shot examples. RECOMP and our method CORE are both trained using **llama3.2-3B-Instruct**.
|
| 334 |
+
| | | NQ | | | TriviaQA | | | HotpotQA | | | 2WikiMultihopQA | | |
|
| 335 |
+
|----------------------|------------|-------------|---------|------------|------------|-------|--------|----------|-------|--------|-----------------|-------|--|
|
| 336 |
+
| | EM | F1 | # tok | EM | F1 | # tok | EM | F1 | # tok | EM | F1 | # tok | |
|
| 337 |
+
| No Retrieval | 0.2136 | 0.3097 | 0 | 0.5323 | 0.5998 | 0 | 0.2105 | 0.2948 | 0 | 0.2611 | 0.2951 | 0 | |
|
| 338 |
+
| RAG without compre | ession | | | | | | | | | | | | |
|
| 339 |
+
| Top1 Document | 0.3446 | 0.4441 | 142 | 0.6082 | 0.6870 | 143 | 0.2920 | 0.3893 | 147 | 0.2679 | 0.3187 | 153 | |
|
| 340 |
+
| Top3 Documents | 0.3778 | 0.4845 | 427 | 0.6260 | 0.7102 | 430 | 0.3164 | 0.4187 | 442 | 0.2789 | 0.3358 | 460 | |
|
| 341 |
+
| Top5 Documents | 0.3803 | 0.4916 | 712 | 0.6410 | 0.7248 | 715 | 0.3299 | 0.4369 | 737 | 0.2964 | 0.3521 | 766 | |
|
| 342 |
+
| Top10 Documents | 0.3867 | 0.5003 | 1425 | 0.6440 | 0.7292 | 1428 | 0.3395 | 0.4488 | 1471 | 0.3104 | 0.3675 | 1531 | |
|
| 343 |
+
| Compression of top : | 5 docs | | | | | | | | | | | | |
|
| 344 |
+
| llama3.2-3B | 0.3252 | 0.4334 | 60 | 0.5650 | 0.6521 | 59 | 0.2772 | 0.3809 | 58 | 0.2485 | 0.2995 | 60 | |
|
| 345 |
+
| Deepseek-V3 (671B) | 0.3773 | 0.5039 | 54 | 0.6528 | 0.7433 | 51 | 0.3359 | 0.4483 | 48 | 0.2507 | 0.3031 | 45 | |
|
| 346 |
+
| RECOMP (3B) | 0.3657 | 0.4912 | 55 | 0.6183 | 0.6920 | 47 | 0.3025 | 0.4238 | 52 | 0.3274 | 0.3806 | 42 | |
|
| 347 |
+
| CORE (3B) | 0.4310 | 0.5234 | 32 | 0.6650 | 0.7306 | 38 | 0.3507 | 0.4736 | 51 | 0.3905 | 0.4474 | 40 | |
|
| 348 |
+
| Compression of top | 10 docs (w | vith the co | mpresso | or trained | on top 5 a | locs) | | | | | | | |
|
| 349 |
+
| llama3.2-3B | 0.3318 | 0.4359 | 61 | 0.5720 | 0.6588 | 57 | 0.2791 | 0.3854 | 60 | 0.2491 | 0.3011 | 59 | |
|
| 350 |
+
| Deepseek-V3 (671B) | 0.3779 | 0.5107 | 56 | 0.6529 | 0.7445 | 53 | 0.3462 | 0.4569 | 50 | 0.2900 | 0.3464 | 40 | |
|
| 351 |
+
| RECOMP (3B) | 0.3682 | 0.4963 | 52 | 0.6205 | 0.6973 | 44 | 0.3077 | 0.4261 | 54 | 0.3312 | 0.3869 | 50 | |
|
| 352 |
+
| CORE (3B) | 0.4526 | 0.5467 | 33 | 0.6736 | 0.7404 | 37 | 0.3693 | 0.4926 | 51 | 0.4071 | 0.4633 | 48 | |
|
| 353 |
+
{18}------------------------------------------------
|
| 354 |
+
<span id="page-18-1"></span>**979**
|
| 355 |
+
**994**
|
| 356 |
+
<span id="page-18-0"></span>Table 9: Zero-Shot Evaluation on HotpotQA of Models Trained on Natural Questions.
|
| 357 |
+
| | EM | F1 | #tok |
|
| 358 |
+
|-----------------|-------|-------|------|
|
| 359 |
+
| No Retrieval | 21.05 | 29.48 | 0 |
|
| 360 |
+
| Full Documents | 32.99 | 43.69 | 737 |
|
| 361 |
+
| BM25 | 24.18 | 35.73 | 71 |
|
| 362 |
+
| NoiseFilter-IB | 27.97 | 38.62 | 38 |
|
| 363 |
+
| RECOMP | 28.96 | 39.95 | 56 |
|
| 364 |
+
| CORE | 33.67 | 45.06 | 36 |
|
| 365 |
+
| RECOMP-Transfer | 26.68 | 37.29 | 58 |
|
| 366 |
+
| CORE-Transfer | 31.25 | 42.84 | 35 |
|
| 367 |
+
| | | | |
|
| 368 |
+
Table 10: Evaluation on Noisy Natural Questions.
|
| 369 |
+
| | EM | F1 | #tok |
|
| 370 |
+
|----------------|-------|-------|------|
|
| 371 |
+
| full documents | 35.21 | 45.38 | 1427 |
|
| 372 |
+
| RECOMP | 33.29 | 43.90 | 59 |
|
| 373 |
+
| CORE | 38.19 | 48.85 | 48 |
|
| 374 |
+
## E CROSS-DATASET GENERALIZATION PERFORMANCE
|
| 375 |
+
To verify the universal compression capability of our method, we directly transfer the model trained on the single-hop question answering dataset NQ to the multi-hop dataset HotpotQA for evaluation. The results, shown in Table [9,](#page-18-0) indicate that our transferred model achieves nearly lossless performance compared to using full documents without compression, while substantially outperforming the transfer results of the RECOMP baseline. Moreover, although both our method and the baseline underperform relative to models trained directly on the target HotpotQA dataset, our approach exhibits a smaller performance drop and demonstrates greater robustness compared to the baseline.
|
| 376 |
+
## F ROBUSTNESS AGAINST NOISY CONTEXTS
|
| 377 |
+
To evaluate the robustness of our approach against adversarial retrievals and noisy contexts, we constructed a noisy version of the NQ dataset. For each question, we constructed the input context by combining the top-3 passages retrieved by the DPR retriever with 7 randomly selected passages from the Wikipedia corpus to serve as irrelevant/noisy information. This resulted in a context of 10 passages, which were then shuffled to randomize the order. We then compared the performance of our method against the full-document baseline. Experimental results are presented in the table [10.](#page-18-1) In the "full documents" setting, the downstream LLM directly uses all these 10 passages to answer the question, whereas in our method, the compressor first summarizes the context, and the LLM then generates an answer based on the compressed content. The model we used was trained on the standard NQ dataset without any such noise augmentation. Our method not only matches but slightly surpasses the performance of using all documents, demonstrating its strong noise resistance and ability to extract key information from cluttered contexts. In addition, we compared our approach with the RECOMP baseline, and our method consistently outperforms it, reaffirming the superior compression capability and robustness of our model. Furthermore, our method achieves a high compression rate, condensing the source content from 1,427 tokens to just 48.
|