Semantic-Driven Context Pruning for Arabic RAG: Quality-Preserving Compression Under Token Inflation
Ali Abdul Razzaq Taresh, Noor Abdul Khaleq Zghair
Key points
From the paper's conclusion- We evaluate sentence-level cross-encoder context pruning for Arabic RAG, adapting a DSLR-style split-score-reassemble pipeline into an open middleware (LSPM).
Abstract
Retrieval-Augmented Generation (RAG) for Modern Standard Arabic (MSA) is costly because Arabic needs more tokens than English for the same content, which enlarges the context the generator must hold. We evaluate sentence-level cross-encoder context pruning for Arabic RAG, adapting a DSLR-style split-score-reassemble pipeline into an open middleware (LSPM). Two tokenizers show that Arabic needs 1.76–1.79 times as many tokens as English for the same content (30 sentence pairs, p < 0.0001). On 140 Arabic reading-comprehension questions with a controlled six-document candidate pool, LSPM beats sentence-count-matched truncation at the most aggressive ratio tested (token-F1 0.652 vs. 0.537, Holm-adjusted p = 0.0067) and is statistically equivalent to the unpruned answer (TOST, ±0.05 F1 margin, p = 0.037). The advantage holds under token-budget matching, against LLMLingua-2, with a second generator, and on a fresh 140-question sample. Measured token reductions imply a KV-cache saving of 57–126 MiB per request under Llama-3.1-8B-Instruct’s published geometry; this is an analytical projection. Exploratory GPU serving experiments and an optional cache-occupancy ratio controller are released with the code, but they do not show a serving benefit, and we make no serving claim.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- When Normalization Hurts: Quantifying Morphological Asymmetry Effects in Arabic Retrieval-Augmented GenerationSymmetry · 2026
- Evaluating LLM Tokenization Efficiency on Kuwaiti Dialect, MSA and Other Arabic DialectsBig Data and Cognitive Computing · 2026
- Benchmarking retrieval augmented generation LLMs for Arabic noise robustness.Frontiers in big data · 2026
- AQL-Lite: Enabling Efficient Knowledge Acquisition for Arabic LLMs via Data-Centric Continual PretrainingarXiv · 2026
- What the Query Remembers: Query Abstraction Governs Lexical and Dense Retrieval of Classical Arabic PoetryarXiv · 2026
- Diagnosing Retrieval and Evaluation Failures in Cross-Lingual Retrieval-Augmented Generation for Arabic and MalayComputers · 2026