What the Query Remembers: Query Abstraction Governs Lexical and Dense Retrieval of Classical Arabic Poetry
Omar Farouk Zouak, Selma Mani, Larbi Said Chikh, Raid Abderrezak Ouahioune
Abstract
How well a poetry archive can be searched depends on what the user still remembers, not only on what the model understands. We show this for Classical Arabic poetry, benchmarking nine dense encoders and BM25 over two corpora, three indexing modes and two evaluation protocols. Which retriever wins is governed by how much of a poem's wording the query still carries. On tip-of-the-tongue queries BM25 leads every dense encoder, including a large multilingual embedding model (Qwen3-Embedding-8B, 0.746 vs. 0.717 Recall@5); on abstract queries it falls to eighth out of ten (0.392 vs. 0.748). Editing the wording of the same queries shows that this ranking largely reflects query composition: adding one remembered half-verse raises BM25 by 38 points, rewriting the quoted words by hand leaves BM25 level with the 8B encoder, and BM25's sensitivity to remembered wording is significantly steeper than that of the strongest dense encoder. The same axis controls explanation augmentation, whose effect swings from +37 to -39 points. The mechanism splits by system type: lexical containment best predicts how BM25 responds to explanations, embedding proximity how dense encoders do. Finally, the field's two standard protocols, known-item retrieval and thematic relevance, dissociate on the same systems, a result reproduced by two blind human annotators and by two open-weights judges, one of them under a rubric with no literal-match criterion. A benchmark that reports one protocol, or one query register, can give a materially wrong picture. Code and data are available at https://github.com/Ellzo/what-the-query-remembers.
Create a lesson
Metadata
- Categories
- cs.CL, cs.AI, cs.IR
- Comments
- 17 pages, 3 figures. Code and data: https://github.com/Ellzo/what-the-query-remembers
Related papers
Retrieval-Augmented Generation in the Agentic Era: Tradition, Present, and Prospect
Shared title terminologycs.CLChenming Tang, Haolin Li, Yiran Li et al.
Where Do Fact-Checking Errors Arise? Separating Retrieval, Search Control and Judgement in Evidence-Grounded Verification
Shared title terminologycs.CLMartin Pavlíček, Martin Kotyrba, Eva Volná et al.
GraphSeer: Multimodal Knowledge Graph Relational Image Retrieval with MLLMs
Shared title terminologycs.CLLinyu Li, Zhi Jin, Yuanpeng He et al.
ContextFact: Remembering Facts in Context for Long-Term Conversational Agents
Shared title terminologycs.CLJiayu Huang, Yichao Cai, Xinyu Li et al.
Thakaa at StanceEval-2026: Inference-Time Target Grounding for Arabic Stance Detection
Shared title terminologycs.CLMeshal Alamr, Hassan Alqaeri, Abdullah Aldahlawi
Thakaa at AlexandriaX-2026: Who Gets the Final Say? Assigning Output Authority in Dialectal Arabic Machine Translation and Error Detection
Shared title terminologycs.CLMeshal Alamr, Maryam Altuwaijri, Hassan Alqaeri et al.