Manuscript Offprint
arXiv:2610.31821What the Query Remembers: Query Abstraction Governs Lexical and Dense Retrieval of Classical Arabic Poetry
Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.
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 an 8B state-of-the-art model (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 predicts BM25's behaviour, while embedding proximity predicts dense encoders. 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.
1 Introduction
Classical Arabic poetry, from the pre-Islamic odes to the Abbasid and Andalusian eras, is a central pillar of Arab cultural heritage and a uniquely rich linguistic archive. It also poses distinctive problems for retrieval. Root-and-pattern morphology yields dense variation; diacritics are usually omitted; and rhetorical devices such as tawriya (double meaning) and jinās (paronomasia) fuse literal and symbolic meaning inside the rigid bayt (verse) structure. The surface form of a verse is a poor guide to its meaning, which makes poetry an attractive stress test for embedding models that claim to retrieve by meaning rather than wording.
Arabic NLP has advanced quickly, including poetry, but prior work centres on classification and generation: meter classification, authorship attribution, and poem composition. Retrieval is largely unstudied for Arabic poetry, despite underpinning digital archives, education, and literary scholarship. We set out to answer a practical question, how well modern embedding models search Classical Arabic poetry by meaning, and found that the question as usually posed lacks a single answer.
The finding. Results on this task are governed largely by a property of the queries. Users arrive with different amounts of remembered text: some half-remember a hemistich, others recall only a theme. Where a query sits on this query-abstraction spectrum determines which retriever wins, by how much, and whether a standard improvement technique helps or hurts.
Concretely, on tip-of-the-tongue queries a plain BM25 index beats all nine dense encoders, including Qwen3-Embedding-8B, a state-of-the-art multilingual retriever (0.746 vs. 0.717 Recall@5); on abstract queries over another corpus, BM25 falls to eighth of ten and the same 8B encoder leads by 36 points (0.748 vs. 0.392, ). Because corpus and query register change together in that comparison, we test the register directly within one corpus. Stratifying one query set by whether the query shares a verbatim three-token span with its target poem, BM25 retrieves the gold poem within the top five for all 80 quoting queries, while on the
Primary contributor to this work.
164 queries that do not quote it is statistically indistinguishable from the 8B encoder. We then edit the same queries. Appending one verbatim half-verse of the target poem to each non-quoting query raises BM25 by 37.8 points, against 12.8 to 23.2 for the 8B encoder; rewriting the quoted words of the quoting queries by hand, at equal length, brings BM25 down from 1.000 to 0.646, level with the 8B encoder.
The same axis governs explanation augmentation, the natural remedy for figurative text: indexing a short interpretive gloss of each verse instead of the verse. Its effect ranges from +37 points where queries are abstract to -39 points where they carry remembered wording, and a purely lexical retriever shows the largest swing in both directions.
Finally, we show that the field’s two standard evaluation protocols disagree systematically on the same systems, and that blind human relevance judgments reproduce the disagreement rather than resolving it in favour of either protocol.
-
The query-abstraction spectrum as an explanatory variable, established by editing the wording of the same queries and by a within-corpus stratification rather than by a cross-corpus correlation, together with a graded account of the mechanism: surface containment governs the lexical retriever, representational proximity governs dense encoders.
-
Evidence that the two standard evaluation protocols dissociate, validated by two blind human annotators and three LLM judges from two model families, and a deployment recipe whose correct form depends on the query register a system will serve.
2 Related Work
Most Arabic encoders (Antoun et al., 2020; Abdul-Mageed et al., 2021; Inoue et al., 2021) are trained on prose, news or dialect. Poetry-specific work concentrates on classification and generation: authorship attribution (Alqurashi et al., 2025), meter classification (Mutawa and Alrumaih, 2025), rhythm-aware composition (Elzohbi and Zhao, 2025), and resources such as the Diwan corpus (Al-Onazi et al., 2025). AraPoemBERT (Qarah, 2024) targets poetic understanding but not retrieval, and recent taxonomies of poetry NLP list retrieval as a distinct, unaddressed capability (Chalamalasetti and Vajjala, 2025).
On the dense retrieval side, general-purpose multilingual encoders, including gte (Li et al., 2023; Zhang et al., 2024), jina-v3 (Sturua et al., 2024), LaBSE (Feng et al., 2022), BGE-M3 (Chen et al., 2024), multilingual-E5 (Wang et al., 2024) and Qwen3-Embedding (Zhang et al., 2025), alongside Arabic-oriented models (SILMA AI, 2024; Khaled, 2025), are tuned on similarity data dominated by prose. Arabic-centric benchmarks such as ArabicMTEB (Bhatia et al., 2025) broaden dialect and task coverage, but figurative classical verse is not their focus. Fann or Flop (Al Ghallabi et al., 2025) supplies reference explanations of poems but frames the task as comprehension, not retrieval.
That lexical and dense retrievers have complementary failure modes is established in mainstream IR. BEIR (Thakur et al., 2021) found BM25 a strong out-of-domain baseline that many dense models fail to beat, and Sciavolino et al. (2021) showed dense retrievers underperforming BM25 precisely on entity-centric questions, where success requires matching a specific surface form. Analyses of the representational limits of fixed-width dense encoders (Luan et al., 2021) and attempts to give dense retrievers lexical behaviour (Chen et al., 2022) run along the same axis and motivate the sparse-dense hybrids we evaluate in §8. We do not claim to have found the axis. What we add is evidence from editing the queries themselves, within one corpus, rather than from comparing datasets that differ in many ways at once; the finding that the same axis flips the sign of document expansion and makes two standard evaluation protocols dissociate; and a measurement where the gap between query and document wording is widest by construction, in figurative verse rather than factoid text. Because this literature documents the effect on naturally occurring queries, our query sets reproduce a known phenomenon rather than manufacture one.
A complementary line of work addresses the gap between queries and documents through expansion. Indexing generated text alongside or instead of a document is a well-established retrieval device: doc2query predicts queries a document should answer and appends them before indexing (Nogueira et al., 2019), while HyDE expands the opposite side, generating a hypothetical document from the query (Gao et al., 2023). Explanation augmentation is document expansion with an interpretive gloss, so the technique itself is not new. We study when and why it works: its sign and magnitude are set by the query register, which the expansion literature, developed largely on web and open-domain collections where queries are keyword-like, has had little occasion to isolate.
Closely related is the problem of known-item and tip-of-the-tongue retrieval, where a user searches for a specific half-remembered item. This is a recognised task with its own evaluation tradition, formalised in the ToT known-item setting (Arguello et al., 2021) and the TREC Tip-of-the-Tongue track (Arguello et al., 2023). Our known-item queries are deliberately of this kind, which makes the presence of remembered wording a modelled property of the task rather than a defect of the benchmark. It is this property that we manipulate in §5.
Finally, our thematic evaluation relies on LLM-based judgment, standard for scoring open-ended output but with reliability caveats that depend on judge capacity and rubric design (Zheng et al., 2023). We treat the judge as a hypothesis to be tested rather than a ground truth, validating it against blind human judgments and against open-weights judges from two other model families (§6).
3 Experimental Setup
3.1 Task Definition
Given a natural-language query in Arabic, the task is to retrieve the poem that best matches it. Each poem is segmented into overlapping three-verse chunks. Each chunk is embedded independently, and chunk scores are max-pooled to the poem level.
3.2 Data
We use two corpora. Fann or Flop (Al Ghallabi et al., 2025) provides poems together with reference explanations, described by its authors as human-written; we refer to these as FoF explanations and make no independent claim about their authorship. We keep the 4,687 of its 6,984 poems that have at most 16 verses: longer poems were costly to explain and embed, would dominate a max-pooled index, and several had repetitive verses or explanations. Diwan (Al-Onazi et al., 2025) is a 14M-verse corpus; for tractability we sample 70 poems from each of the 50 most frequent poets (3,500 poems). For both corpora we generate a short AI explanation of every verse with Gemini 2.0 Flash, using a fixed instruction that asks for a faithful prose paraphrase and forbids adding information beyond the verse. A co-author audited 50 random explanations: 60% were faithful, 32% had a minor error and 8% misread the verse (Appendix L).
We compare three indexing modes: verses (raw verse text, the baseline), AI explanations, and FoF explanations (Fann or Flop only), where the interpretive text replaces the verse before embedding. All explanations are generated independently of the queries, and no retriever sees a query at indexing time.
The benchmark contains two known-item query sets, written by the authors under deliberately different instructions, and one thematic set (Table 1). Together these define the query-abstraction spectrum, the paper's independent variable. Fann or Flop queries simulate a user who half-remembers the poem: writers saw the poem and were free to include remembered wording, as a real tip-of-the-tongue searcher would (Arguello et al., 2021). Diwan queries were deliberately written as abstract descriptions of what a poem is about, with no quotation. The thematic queries name a topic only ("pride and valour") and were written before the corpora were inspected, so they have no target poem at all.
Provenance. Both known-item sets were written from the poem text alone. Writers saw only the verses, not the FoF reference explanations or the AI explanations, which did not exist until after the queries were written. The two instructions differed in register and in nothing else. The target poems do not differ from the rest of their corpus in era, genre or length, nor on Diwan in poet (all ; Appendix L). That Fann or Flop queries overlap the FoF explanations ( ) more than the verses they were written from (0.368) is therefore an independent convergence, not an artifact of the writing process.
We quantify the spectrum with two statistics per query: the longest verbatim token n-gram shared with the target poem, and lexical contain-
| Query set | n | len | % quote | |||
|---|---|---|---|---|---|---|
| FannOrFlop | 244 | 10.5 | 32.8 | 0.368 | 0.254 | 0.461 |
| Diwan | 258 | 12.8 | 2.7 | 0.151 | 0.360 | n/a |
Table 1: The query-abstraction spectrum. % quote is the share of queries sharing a verbatim three-token span with the target poem; C is mean query-document containment against verses, AI explanations and FoF explanations. Thematic queries (n=200) have no target poem and are used only in Track B.
ment on diacritic-stripped normalised tokens. 32.8% of Fann or Flop queries share a verbatim three-gram with their target, against 2.7% for Diwan, and mean containment differs correspondingly (0.368 vs. 0.151). Representative queries, one per register:
-
ToT (quoting): قصيدة هاء في حية قبية مملها أكري أو فأقل قد مالتك في (A satirical poem about an ugly beloved, opening Say more or say less, we have tired of you, so desist”) the opening hemistich is quoted verbatim.
-
Abstract: قصيدة فلسفية ترفض فكرة تناخ الأرواح وتصح بعدم تصديق ما لا يؤيده العقل (A philosophical poem rejecting the transmigration of souls, counselling trust only in what reason supports”) no wording is shared with the poem.
-
Thematic: (“Greying hair and its effect on the psyche”) no target poem exists.
3.3 Evaluation
We evaluate under two complementary protocols. Track A is known-item retrieval on the two gold query sets, measured by Recall@1/@5, MRR and nDCG@10 with bootstrap 95% confidence intervals ( resamples) and paired exact McNemar tests. It is judge-independent. Because we report many comparisons, p-values for the mode contrasts of Table 2, for the quotation-slope differences of §5 and for the Track B system comparisons are Holm-corrected within family, a family being the set of comparisons a reader would scan together (Appendix D). Three contrasts that pass uncorrected do not survive this and are shown unstarred. Uncorrected values are labelled where we give them. Track B is thematic exploratory search on the 200 blind topical queries, where no single poem is correct. Retrieved sets are scored by an LLM judge on seven aspects, each scored from 1 to 5, validated against blind human relevance judgments and replicated with two open-weights judges (§6).
All systems, corpora, modes and query sets run through a single pipeline that dumps per-query ranked lists, so no table mixes sources. Dense encoders receive diacritic and tatweel stripping only; BM25 additionally receives the orthographic unification standard for Arabic lexical matching. This split is deliberate and measured. Stripping diacritics is essential for every encoder we tested (+27 to +47 Recall@5 points); the further unification of alef, ya and ta-marbuta hurts all three but varies fourfold in size, from 1.9 to 8.9 points (Appendix B). Each encoder uses the query/passage convention prescribed by its own model card.
4 Track A: Known-Item Retrieval
In Track A, which system ranks first depends on the query set (Table 2). On Fann or Flop, BM25 ranks above every dense encoder, including Qwen3-8B (0.746 vs. 0.717 Recall@5, a gap that is not itself significant, ). On Diwan the ordering reverses: BM25 falls to eighth of ten and Qwen3-8B leads it by 36 points (). Corpus and query register change together between these two columns, so this comparison alone cannot say which of them is responsible; §5 separates them within one corpus. Scaling within one family from Qwen3-0.6B to Qwen3-8B adds 17 and 22 points respectively, yet the 8B model still does not surpass BM25 on Fann or Flop: capacity alone does not close the gap.
This query-dependence extends to explanation augmentation. On Diwan, replacing verses with AI explanations improves every system, by up to +37 points (BM25 0.392 → 0.760; all ten gains significant at ). On Fann or Flop the same substitution hurts most systems, most severely BM25 (0.746 → 0.357, -39 points). The richer FoF explanations behave differently again, helping on Fann or Flop where the AI explanations hurt.
5 The Query-Abstraction Effect
The pattern in §4 suggests a hypothesis. A query succeeds against a figurative verse to the extent that some bridge exists between them: remembered wording supplies one directly, an interpretive gloss indirectly, by restating the verse in the prose register queries use. If so, retrieval should track the amount of bridge available, the sign of augmentation should follow whether a gloss adds or removes it, and a retriever with no notion of meaning should show the effect most strongly. We test this in two
| System | FannOrFlop (tip-of-the-tongue) | Diwan (abstract) | |||
|---|---|---|---|---|---|
| verses | AI expl. | FoF expl. | verses | AI expl. | |
| Qwen3-8B | 0.717 | 0.656 | 0.816* | 0.748 | 0.930*** |
| BGE-M3 | 0.693 | 0.598 | 0.725 | 0.574 | 0.845*** |
| mE5-large | 0.578 | 0.492 | 0.717** | 0.585 | 0.802*** |
| jina-v3 | 0.647 | 0.504** | 0.676 | 0.523 | 0.756*** |
| silma-sts | 0.566 | 0.508 | 0.717*** | 0.558 | 0.810*** |
| gte | 0.561 | 0.389*** | 0.635 | 0.488 | 0.806*** |
| Qwen3-0.6B | 0.549 | 0.430* | 0.660* | 0.527 | 0.795*** |
| LaBSE | 0.311 | 0.283 | 0.336 | 0.368 | 0.670*** |
| Muffakir-v2 | 0.209 | 0.287 | 0.467*** | 0.233 | 0.585*** |
| BM25 | 0.746 | 0.357*** | 0.742 | 0.392 | 0.760*** |
Table 2: Track A, Recall@5, one pipeline throughout. Stars mark a significant change from that system's verse baseline (paired exact McNemar, Holm-corrected across the ten systems within each corpus and contrast): *p<.05, **p<.01, ***p<.001. Confidence intervals in Appendix H. BM25 ranks first on Fann or Flop and eighth on Diwan; augmentation reverses sign between the two.
steps within Fann or Flop: first by stratifying its existing queries, which shows an association, and then by editing the wording of the same queries, which tests the effect directly.
5.1 Stratifying the existing queries
We split the 244 Fann or Flop queries by whether they share a verbatim three-token span with the target poem (80 do, 164 do not) and re-evaluate every system on each subset (Table 4). BM25 retrieves the gold poem within the top five for all 80 quoting queries and drops to 0.622 without quotation, a swing of 37.8 points. This is close to a tautology for BM25, but dense encoders do not saturate on the same queries (the best reaches 0.863), and the quantity of interest is the slope between the subsets, which is comparable across systems in a way a ceiling is not.
Every system loses accuracy when quotation is removed (13.5 to 37.8 points), so the axis is real for dense encoders too; but BM25's loss is the largest of the ten, and significantly larger than the strongest dense encoder's (difference-in-differences +16.2 points, paired bootstrap over resamples, uncorrected , Holm-corrected across the nine comparisons ). No other system differs significantly from Qwen3-8B on this measure. Our claim concerns this interaction rather than either main effect. BM25's slope is also the steepest of the ten under Recall@1, MRR and nDCG@10, with differences of +0.18, +0.16 and +0.14 against Qwen3-8B (uncorrected , .006, .009; Holm-corrected .085, .050, .079; Appendix G).
On this split, Fann or Flop's aggregate rank- ing reflects its query mix. BM25's overall lead comes entirely from the quoting subset: it beats Qwen3-8B there (1.000 vs. 0.863, exact McNemar ), while on the 164 non-quoting queries the two are statistically indistinguishable (0.622 vs. 0.646, ), as are their aggregate scores (0.746 vs. 0.717, ). Repeating the split at spans of two to five tokens leaves BM25's slope significantly steeper than Qwen3-8B's throughout ( between .0001 and .049; Appendix E).
5.2 Editing the same queries
A stratification compares different queries, which may also differ in specificity or in the difficulty of their target poems. We therefore change the wording of the same queries while keeping each information need and target poem fixed (Table 3; construction details in Appendix F).
Adding wording. To each of the 164 non-quoting queries we append one verbatim half-verse of its target poem, taken from the opening, a middle or the final verse. BM25 gains 37.8 points at every position and reaches 1.000, so its gain is capped. Qwen3-8B gains 23.2, 20.7 and 12.8 points, and the difference is significant at every position (). Dense encoders gain most from opening half-verses and least from final ones; BM25 gains the same wherever the half-verse comes from. Only gte, at the opening position, gains slightly more than BM25.
Removing wording. A co-author rewrote by hand the quoted words of the 80 quoting queries, keeping the information need and any proper names. Of the 80, 79 were usable (one query is
| System | half-verse added, n=164 | rewritten | ||
|---|---|---|---|---|
| opening | middle | final | n=79 | |
| Qwen3-8B | +.232 | +.207 | +.128 | -.190 |
| BGE-M3 | +.287 | +.207 | +.055 | -.266 |
| mE5-large | +.348 | +.183 | +.079 | -.203 |
| jina-v3 | +.262 | +.140 | -.018 | -.253 |
| silma-sts | +.274 | +.256 | +.146 | -.139 |
| gte | +.384 | +.238 | +.104 | -.380 |
| Qwen3-0.6B | +.329 | +.201 | +.079 | -.228 |
| LaBSE | +.152 | +.116 | +.030 | -.139 |
| Muffakir-v2 | +.128 | +.085 | +.024 | -.038 |
| BM25 | +.378 | +.378 | +.378 | -.354 |
| difference | +.146** | +.171*** | +.250*** | -.165** |
Table 3: Change in Recall@5 on Fann or Flop when the same queries are edited. Left: one verbatim half-verse of the target poem appended to each non-quoting query, taken from the opening, a middle or the final verse. Right: the quoted words of the quoting queries rewritten by hand at equal length. Last row: BM25's change minus Qwen3-8B's (paired bootstrap; **p<.01, ***p<.001).
a quotation from start to end), and mean query length is preserved (10.9 to 11.3 tokens). BM25 falls from 1.000 to 0.646 and Qwen3-8B from 0.861 to 0.671, a significant difference (-0.165, p=.007) that leaves the two level, as on the non-quoting subset. Rewrites produced by an LLM and checked by a second co-author agree (55 valid rewrites, p=.006). One system falls further than BM25: gte drops from 0.785 to 0.405, so BM25 is the most wording-dependent system on average but not uniquely so.
Other query properties. In a per-query logistic model over all 502 known-item queries, controlling for query length, proper nouns, target-poem length, target confusability (similarity of the target to its nearest neighbour in the corpus) and corpus leaves the containment coefficient essentially unchanged for all ten systems, and the overlap features account for 59 to of the explained variance (Appendix G).
5.3 A graded mechanism
The augmentation effect follows the same axis: substituting AI explanations costs BM25 55 points on quoting queries but only 31 without them, and becomes positive for several dense encoders once quotation is removed. The effect is graded, not binary (Figure 1a): verse-mode Recall@5 rises monotonically across query-verse containment quartiles on both corpora, and AI explana- tions flatten the Diwan curve, lifting the most figurative quartile from 0.271 to 0.726. Augmentation helps most where the raw verse offers the least.
| System | FannOrFlop R@5 | slope | ρ | |||
|---|---|---|---|---|---|---|
| quoten=80 | no-qt.n=164 | Δ | vs. ref | lex. | emb. | |
| Qwen3-8B | 0.863 | 0.646 | 0.22 | ref. | 0.17 | 0.32 |
| BGE-M3 | 0.875 | 0.604 | 0.27 | +0.06 | 0.22 | 0.35 |
| mE5-large | 0.713 | 0.512 | 0.20 | -0.02 | 0.25 | 0.46 |
| jina-v3 | 0.787 | 0.579 | 0.21 | -0.01 | 0.29 | 0.45 |
| silma-sts | 0.750 | 0.476 | 0.27 | +0.06 | 0.32 | 0.36 |
| gte | 0.775 | 0.457 | 0.32 | +0.10 | 0.32 | |
| Qwen3-0.6B | 0.700 | 0.476 | 0.22 | +0.01 | 0.30 | 0.42 |
| LaBSE | 0.525 | 0.207 | 0.32 | +0.10 | 0.37 | 0.50 |
| Muffakir-v2 | 0.300 | 0.165 | 0.14 | -0.08 | 0.30 | 0.36 |
| BM25 | 1.000 | 0.622 | 0.38 | +0.16** | 0.61 | 0.35 |
Table 4: Left: verse-mode Recall@5 on Fann or Flop, stratified by verbatim quotation, with slope and its difference against Qwen3-8B (paired bootstrap). Right: within-query Spearman between overlap change and retrieval change (Diwan, AI explanations); bold marks the better predictor. gte's is not independent of the measure (Appendix C).
Retrieval here is not only surface matching. For each query we compute the change in query-document overlap produced by an explanation under two measures: lexical containment and the cosine between query and document embeddings. We then correlate each with the per-query change in retrieval success (Table 4, right; Figure 3).
Both measures predict retrieval success, and every correlation is positive, but they split cleanly by system type. For BM25, lexical containment is the stronger predictor ( vs. 0.35 on Diwan), and its lexical exceeds that of every dense encoder in all three settings. The embedding measure is the better predictor for all nine dense encoders on Diwan and eight of nine on Fann or Flop (a near-tie for Qwen3-0.6B). The bridge is therefore a surface phenomenon for the lexical retriever and a representational one for dense encoders, and the lexical measure alone would overstate the case.
6 Track B: Thematic Retrieval
Track A measures whether a system can recover a specific poem, but cannot say whether retrieved poems are actually about what was asked. That is what an exploratory user wants, and what Track B evaluates. Here we score each system's top-3 results on the 200 blind thematic queries, for which no gold poem exists, using Gemini 3.5 Flash as judge on seven aspects scored from 1 to 5. Each

query-verse lexical containment quartile

Figure 1: Top: Verse-mode Recall@5 rises monotonically with query-verse containment on both corpora; AI explanations flatten the curve on Diwan. Bottom: The same systems on Fann or Flop, split by whether the query quotes the poem.
poem is shown to the judge as its first six verses. Track B claims are restricted to verse mode, where no model-generated text is shown to the judge, so self-preference toward our AI explanations, which a different version of the same model family generated, cannot arise.
The judge agrees with blind human judgments. Twenty thematic queries were pooled across BM25, jina-v3 and their fusion, deduplicated to 126 poems, shuffled with system identity removed, and graded by two authors independently, who were told that lexical overlap is not evidence of relevance (Appendix K). The raters agree moderately (quadratic-weighted , 90% within one point). Across the 40 system-query cells covered by both, the first rater's grades and the judge's overall-quality score agree strongly (Spearman , ; for the second rater), and both raters rank the annotated systems as the judge does. Human raters who ignore surface matching reach the judge's ordering, which argues against the concern that the rubric alone produces it.
Results. Table 5 gives Track B scores for all ten systems on both corpora, complete-case over all 200 queries with no judge failures. The picture is the reverse of Track A's. BM25 is last of ten on both corpora (1.90 on Fann or Flop, 1.70 on Diwan), and is beaten significantly by eight of the nine dense encoders on each (paired Wilcoxon, Holm-corrected; up to -1.04 against Qwen3-8B, ). The exception on both corpora is LaBSE, the weakest dense encoder, which BM25 is statistically indistinguishable from (p=.35 on Diwan, p=.054 on Fann or Flop). The blind human judgments give the same ordering on the systems they cover: on Fann or Flop, jina-v3 0.93, the RRF hybrid 0.83, BM25 0.50 for the first rater (paired Wilcoxon BM25 vs. jina-v3 p=.016; pooled over both corpora , p=.005, and p=.028 for the second rater).
Two open-weights judges replicate it. A proprietary judge cannot be re-run once withdrawn, so we repeat Track B locally over a random half of the thematic queries (2,000 cells per judge). The second judge, Gemma-3-27B-it, uses the identical rubric. It agrees with the primary judge at the cell level (Spearman on overall quality) and on system ordering (Kendall on Diwan, +0.81 on Fann or Flop), and it tracks the blind human judgments too ( ). Under it BM25 is ninth of ten rather than last, still significantly below eight of nine dense encoders on both corpora, displaced by LaBSE, the one system the primary judge could not separate from BM25 either. Both of these judges are Google models, so the third, Qwen3-32B, comes from another family. It also places BM25 ninth of ten on both corpora, above LaBSE only ( and 0.89 with the primary judge). We then remove the literal-match aspect and its framing from the rubric and change nothing else. Under this neutral rubric BM25 is tenth on Fann or Flop and ninth on Diwan, and the ordering barely moves ( and 0.97 against the original rubric). Dropping the aspect raises every system's score, BM25's the least (+0.10 against up to +0.27). The literal-match aspect is therefore not what places BM25 near the bottom (Appendix I).
The judge separates matching from aboutness. BM25 is last of ten on every aspect requiring knowledge of what a poem is about, with its largest
| System | FannOrFlop | Diwan | ||
|---|---|---|---|---|
| Track A | Track B | Track A | Track B | |
| Qwen3-8B | 0.717 | 2.94 | 0.748 | 2.83 |
| BGE-M3 | 0.693 | 2.47 | 0.574 | 2.29 |
| mE5-large | 0.578 | 2.52 | 0.585 | 2.35 |
| jina-v3 | 0.647 | 2.64 | 0.523 | 2.53 |
| silma-sts | 0.566 | 2.75 | 0.558 | 2.63 |
| gte | 0.561 | 2.37 | 0.488 | 2.18 |
| Qwen3-0.6B | 0.549 | 2.35 | 0.527 | 2.14 |
| LaBSE | 0.311 | 2.07 | 0.368 | 1.75 |
| Muffakir-v2 | 0.209 | 2.43 | 0.233 | 2.27 |
| BM25 | 0.746 | 1.90 | 0.392 | 1.70 |
| blind human relevance of top-3 (0 to 2), 20 queries | ||||
| jina-v3 | 0.93 | 0.87 | ||
| hybrid | 0.83 | 0.57 | ||
| BM25 | 0.50 | 0.40 | ||
Table 5: Track A (known-item Recall@5) beside Track B (thematic judge score, 1 to 5), verse mode, n=200 queries per cell with no judge failures. The lower block gives the first rater's blind human relevance of the top-3 (0 to 2) for the three annotated systems.
deficits on metaphor understanding and semantic coverage; but on direct textual relevance, which measures how far retrieved poems merely repeat the query's wording, it is first of ten on both corpora (4.26, 4.48; second of ten under the second judge, behind LaBSE; Appendix J). The judge identifies BM25 as the most surface-matching system while ranking it last overall. This supports §5 through a channel that shares nothing with our lexical statistics, and it argues against the reading that the judge merely penalises lexical retrieval.
7 The Dissociation
Tracks A and B measure the same ten systems, in the same indexing mode, over the same corpora. They do not agree, and the disagreement falls where the mechanism predicts. On Fann or Flop, BM25 ranks first of ten on Track A and last of ten on Track B, a shift of nine places (Figure 2). No other system moves more than four. On Diwan, where queries carry no remembered wording, BM25 is poor under both protocols and the ranks broadly agree. The dissociation is a property of the tip-of-the-tongue regime, not of BM25 in general.
Correlating the two rankings gives Kendall (p=0.38) on Fann or Flop against (p=0.047) on Diwan. We do not read the first as evidence that the protocols are unrelated in general: with ten systems one outlier is enough to move , and removing BM25 restores agreement ( , p=0.045). Among dense encoders the protocols largely concur; what dissociates is the lexical system, and only where remembered wording lets surface matching succeed without any notion of aboutness.
The two results are consistent. Track A rewards recovering a specific remembered item, and where the query carries the item's wording, surface matching is close to sufficient. Track B asks whether retrieved poems are about a theme that is never stated in the poems' own words, and there surface matching has nothing to work with. Both protocols are valid, but they measure different things, and a system's score under one carries little information about its score under the other.
Reporting a single protocol can therefore mislead. A study that evaluated only known-item retrieval on a tip-of-the-tongue query set would conclude that dense retrieval is not worth its cost for Arabic poetry, since a bag of words beats a state-of-the-art 8B encoder. A study that evaluated only thematic relevance would conclude the opposite, with BM25 last of ten and significantly behind eight of the nine dense encoders. Each conclusion is supported by its own data, and neither holds in general.
8 Fusion and Deployment
If the query register decides which signal is useful, a practical system should combine signals rather than choose one. We test reciprocal-rank fusion (Cormack et al., 2009) over a verse index, an explanation index and a BM25 arm (Table 6, strongest encoder). Fusing explanations with verses helps everywhere, making it a safe default. Adding a lexical arm does not. Comparing the best configuration that includes a BM25 arm against the best that excludes one, the lexical arm is worth +6.1 points on Fann or Flop (0.885 vs. 0.824) and costs 9.7 on Diwan (0.833 vs. 0.930, where the explanation index alone is best). The best Fann or Flop configuration reaches 0.885, against 0.746 for the best single system. The pattern holds with every dense encoder in place of Qwen3-8B: the lexical arm helps on Fann or Flop for all nine (+6.1 to +23.4 points) and hurts on Diwan for all nine (-2.7 to -9.7).
No single recipe is best everywhere. An archive serving readers who half-remember lines should keep a lexical arm; one serving thematic browsing should not.

Figure 2: The dissociation. Each point is a system; is known-item Recall@5, is the thematic judge score. Top: on Fann or Flop, BM25 (red diamond) is the best system on one axis and the worst on the other. Bottom: on Diwan, where no query carries remembered wording, the two protocols broadly agree.
9 Discussion
A single Recall@5 figure for “semantic search over Arabic poetry” is not a property of a system alone. It is a joint property of the system and the register of the queries it was measured on, and the two standard protocols in use disagree on the same systems.
On the benchmarking side, query provenance should be reported and, ideally, manipulated. The verbatim-overlap statistic we use costs nothing to compute and exposes the confound directly; we recommend reporting it alongside any known-item result on literary text. Known-item retrieval and thematic relevance should also be reported together, since each alone supports a defensible but opposite claim about whether dense retrieval is worth its cost.
Our queries were written by the authors. The results therefore show how retrieval systems behave under quotation-like and abstract queries, not how often each kind occurs among real users of a poetry archive. Measuring that mix, with queries collected from real users, is the natural next step, and it would tell an archive which recipe of §8 to deploy.
| Index configuration | FannOrFlop | Diwan | ||
|---|---|---|---|---|
| all | quote | no-qt. | all | |
| verses only | 0.717 | 0.863 | 0.646 | 0.748 |
| AI expl. only | 0.656 | 0.713 | 0.628 | 0.930 |
| FoF expl. only | 0.816 | 0.812 | 0.817 | n/a |
| vrs. ⊕ AI expl. | 0.730 | 0.800 | 0.695 | 0.857 |
| vrs. ⊕ FoF expl. | 0.824 | 0.912 | 0.780 | n/a |
| vrs. ⊕ BM25 | 0.836 | 1.000 | 0.756 | 0.616 |
| vrs. ⊕ BM25 ⊕ AI expl. | 0.873 | 1.000 | 0.811 | 0.833 |
| vrs. ⊕ BM25 ⊕ FoF expl. | 0.885 | 0.988 | 0.835 | n/a |
Table 6: Reciprocal-rank fusion over index configurations, Qwen3-8B. ⊕ denotes RRF (k=60). Fusing explanations is safe everywhere; adding a lexical arm helps only where queries carry remembered wording.
The queries are also in contemporary Arabic, while the poems range from the pre-Islamic period to the modern era. On Fann or Flop, at equal lexical overlap and query length, dense encoders do worse on older poetry (+0.27 log-odds of success per era step towards the present, p=.010), while BM25 shows no such trend (p=.14; interaction p=.015; Appendix L). This fits a temporal gap between modern queries and classical vocabulary that affects learned representations more than exact matching. It rests on one corpus and four coarse era bins, so we treat it as exploratory.
On the modelling side, the open problem is the non-quoting, most figurative queries, where the best system reaches roughly 0.65, and our benchmark isolates that slice.
10 Conclusion
We presented what is, to our knowledge, the first systematic study of retrieval over Classical Arabic poetry. Which retriever wins, and whether explanation augmentation helps, is governed by how much of a poem's wording the query still carries. Editing the same queries confirms it: adding remembered wording helps the lexical retriever far more than the strongest dense encoder, and removing it erases the lexical retriever's lead. A corpus-level ranking therefore reports its query mix as much as its systems. The two evaluation protocols dissociate, a result reproduced by two human annotators and three LLM judges.
Limitations
Known-item evaluation assumes one correct poem per query. A blind spot check finds that about a third of the strongest system's misses are acceptable answers, more often on abstract queries, so absolute Recall is conservative; paired comparisons are unaffected and the quotation interaction keeps its sign (Appendix K). Our queries were written by the authors rather than collected from real users, so the endpoints of the spectrum are constructed and we cannot say how often each register occurs in practice; the hand rewrites also come from a single co-author. Human relevance annotation covers 126 items with moderate agreement between two raters ( ), enough for the overall Track B ordering but not for fine-grained comparisons, and the open-weights judges cover half of the thematic queries. The AI explanations come from one model, since withdrawn from its API, and 8% of those audited misread the verse, although BM25 shows the same augmentation pattern regardless of explanation quality. The Diwan sample over-represents frequent poets and contains duplicated poems, which change no reported number by more than 0.4 points (Appendix L).
Ethical Considerations
This work supports the preservation, exploration and teaching of Classical Arabic poetry. Automated retrieval and model-generated explanations can misread metaphorical, religious or culturally sensitive language; our own analysis shows that current systems often match on surface form rather than meaning, and that a minority of generated explanations misread the verse, so such tools should aid rather than replace human literary expertise. Our Diwan sample over-represents frequently anthologised poets and may underperform on marginal traditions. Annotation was performed by two of the authors; no external annotators were recruited or compensated.
AI Usage Disclosure
AI assistants were used for coding support and for drafting and editing prose. All experiments were designed and run by the authors, and every number in this paper is recomputed from per-query logs by the released scripts.
Author Contributions
Omar Farouk Zouak conceived and designed the study, developed the benchmark and corpora, implemented the code, conducted the majority of the experiments, performed the analysis, and drafted the majority of the manuscript. Selma Mani, Larbi Said Chikh, and Raid Abderrezak Ouahioune contributed to manuscript writing, conducted some evaluations and experiments using open-weight models with the existing codebase, and performed additional human verification. Selma Mani served as the second annotator, Larbi Said Chikh prepared the manual rewrites, and Raid Abderrezak Ouahioune audited the explanations.
References
Muhammad Abdul-Mageed, AbdelRahim Elmadany, and El Moatez Billah Nagoudi. 2021. ARBERT & MARBERT: Deep bidirectional transformers for Arabic. In Proceedings of the 59th Annual Meeting of the Association for Computational Linguistics and the 11th International Joint Conference on Natural Language Processing (Volume 1: Long Papers), pages 7088–7105, Online. Association for Computational Linguistics.
Wafa Al Ghallabi, Ritesh Thawkar, Sara Ghaboura, Ketan Pravin More, Omkar Thawakar, Hisham Cholakkal, Salman Khan, and Rao Muhammad Anwer. 2025. Fann or flop: A multigenre, multiera benchmark for Arabic poetry understanding in LLMs. In Proceedings of the 2025 Conference on Empirical Methods in Natural Language Processing, pages 20224–20244, Suzhou, China. Association for Computational Linguistics.
Badriyya B. Al-Onazi, Wadee A. Nashir, and Asma A. Al-Shargabi. 2025. “Diwan”: Constructing the largest annotated corpus for Arabic poetry. IEEE Access, 13:58927–58941.
Lama Alqurashi, Serge Sharoff, Janet Watson, and Jacob Blakesley. 2025. BERT-based classical Arabic poetry authorship attribution. In Proceedings of the 31st International Conference on Computational Linguistics, pages 6105–6119, Abu Dhabi, UAE. Association for Computational Linguistics.
Wissam Antoun, Fady Baly, and Hazem Hajj. 2020. AraBERT: Transformer-based model for Arabic language understanding. In Proceedings of the 4th Workshop on Open-Source Arabic Corpora and Processing Tools, with a Shared Task on Offensive Language Detection, pages 9–15, Marseille, France. European Language Resources Association.
Jaime Arguello, Samarth Bhargav, Fernando Diaz, Evangelos Kanoulas, and Bhaskar Mitra. 2023. Overview of the TREC 2023 tip-of-the-tongue track.
In Proceedings of the Thirty-Second Text REtrieval Conference (TREC 2023). NIST.
Jaime Arguello, Adam Ferguson, Emery Fine, Bhaskar Mitra, Hamed Zamani, and Fernando Diaz. 2021. Tip of the tongue known-item retrieval: A case study in movie identification. In Proceedings of the 2021 Conference on Human Information Interaction and Retrieval (CHIIR), pages 5–14. ACM.
Gagan Bhatia, El Moatez Billah Nagoudi, Abdellah El Mekki, Fakhraddin Alwajih, and Muhammad Abdul-Mageed. 2025. Swan and ArabicMTEB: Dialect-aware, Arabic-centric, cross-lingual, and cross-cultural embedding models and benchmarks. In Findings of the Association for Computational Linguistics: NAACL 2025, pages 4669–4685, Albuquerque, New Mexico. Association for Computational Linguistics.
Kranti Chalamalasetti and Sowmya Vajjala. 2025. MetricalARGS: A taxonomy for studying metrical poetry with LLMs. Preprint, arXiv:2510.08188.
Jianlv Chen, Shitao Xiao, Peitian Zhang, Kun Luo, Defu Lian, and Zheng Liu. 2024. M3-embedding: Multi-linguality, multi-functionality, multi-granularity text embeddings through self-knowledge distillation. Preprint, arXiv:2402.03216.
Xilun Chen, Kushal Lakhotia, Barlas Oğuz, Anchit Gupta, Patrick Lewis, Stan Peshterliev, Yashar Mehdad, Sonal Gupta, and Wen-tau Yih. 2022. Salient phrase aware dense retrieval: Can a dense retriever imitate a sparse one? Preprint, arXiv:2110.06918.
Gordon V. Cormack, Charles L. A. Clarke, and Stefan Buettcher. 2009. Reciprocal rank fusion outperforms condorcet and individual rank learning methods. In Proceedings of the 32nd International ACM SIGIR Conference on Research and Development in Information Retrieval, pages 758–759, Boston, MA, USA. ACM.
Mohamad Elzohbi and Richard Zhao. 2025. Tahdib: A rhythm-aware phrase insertion for classical arabic poetry composition. In Proceedings of The Third Arabic Natural Language Processing Conference, page 194–202. Association for Computational Linguistics.
Fangxiaoyu Feng, Yinfei Yang, Daniel Cer, Naveen Arivazhagan, and Wei Wang. 2022. Language-agnostic BERT sentence embedding. In Proceedings of the 60th Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), pages 878–891, Dublin, Ireland. Association for Computational Linguistics.
Luyu Gao, Xueguang Ma, Jimmy Lin, and Jamie Callan. 2023. Precise zero-shot dense retrieval without relevance labels.
Go Inoue, Bashar Alhafni, Nurpeiis Baimukan, Houda Bouamor, and Nizar Habash. 2021. The interplay of
variant, size, and task type in Arabic pre-trained language models. In Proceedings of the Sixth Arabic Natural Language Processing Workshop, pages 92–104, Kyiv, Ukraine (Virtual). Association for Computational Linguistics.
Mohamed Khaled. 2025. Muffakir_Embedding_V2. Hugging Face model card.
Zehan Li, Xin Zhang, Yanzhao Zhang, Dingkun Long, Pengjun Xie, and Meishan Zhang. 2023. Towards general text embeddings with multi-stage contrastive learning. Preprint, arXiv:2308.03281.
Yi Luan, Jacob Eisenstein, Kristina Toutanova, and Michael Collins. 2021. Sparse, dense, and attentional representations for text retrieval. Transactions of the Association for Computational Linguistics, 9:329–345.
A. M. Mutawa and Ayshah Alrumaih. 2025. Determining the meter of classical Arabic poetry using deep learning: a performance analysis. Frontiers in Artificial Intelligence, 8:1523336.
Rodrigo Nogueira, Wei Yang, Jimmy Lin, and Kyunghyun Cho. 2019. Document expansion by query prediction. Preprint, arXiv:1904.08375.
Faisal Qarah. 2024. AraPoemBERT: A pretrained language model for Arabic poetry analysis. Preprint, arXiv:2403.12392.
Christopher Sciavolino, Zexuan Zhong, Jinhyuk Lee, and Danqi Chen. 2021. Simple entity-centric questions challenge dense retrievers. In Proceedings of the 2021 Conference on Empirical Methods in Natural Language Processing, pages 6138–6148.
SILMA AI. 2024. silma-embedding-sts-v0.1. Hugging Face model card.
Saba Sturua, Isabelle Mohr, Mohammad Kalim Akram, Michael Günther, Bo Wang, Markus Krimmel, Feng Wang, Georgios Mastrapas, Andreas Koukounas, Nan Wang, and Han Xiao. 2024. jina-embeddings-v3: Multilingual embeddings with task LoRA. Preprint, arXiv:2409.10173.
Nandan Thakur, Nils Reimers, Andreas Rücklé, Abhishek Srivastava, and Iryna Gurevych. 2021. BEIR: A heterogeneous benchmark for zero-shot evaluation of information retrieval models. Preprint, arXiv:2104.08663.
Liang Wang, Nan Yang, Xiaolong Huang, Linjun Yang, Rangan Majumder, and Furu Wei. 2024. Multilingual E5 text embeddings: A technical report. Preprint, arXiv:2402.05672.
Xin Zhang, Yanzhao Zhang, Dingkun Long, Wen Xie, Ziqi Dai, Jialong Tang, Huan Lin, Baosong Yang, Pengjun Xie, Fei Huang, Meishan Zhang, Wenjie Li, and Min Zhang. 2024. mGTE: Generalized long-context text representation and reranking models for multilingual text retrieval. Preprint, arXiv:2407.19669.
Yanzhao Zhang, Mingxin Li, Dingkun Long, Xin Zhang, Huan Lin, Baosong Yang, Pengjun Xie, An Yang, Dayiheng Liu, Junyang Lin, Fei Huang, and Jingren Zhou. 2025. Qwen3 embedding: Advancing text embedding and reranking through foundation models. Preprint, arXiv:2506.05176.
Lianmin Zheng, Wei-Lin Chiang, Ying Sheng, Siyuan Zhuang, Zhanghao Wu, Yonghao Zhuang, Zi Lin, Zhuohan Li, Dacheng Li, Eric P. Xing, Hao Zhang, Joseph E. Gonzalez, and Ion Stoica. 2023. Judging LLM-as-a-judge with MT-bench and chatbot arena. In Proceedings of the 37th International Conference on Neural Information Processing Systems.
A Reproducibility
Code, per-query ranked lists, all judges' per-query outputs, the annotation and spot-check guidelines with their completed judgments, the edited queries, and the query benchmark are available at https://github.com/Ellzo/what-the-query-remembers. Every number is recomputed from per-query rank dumps by released scripts. The pipeline emits one file per (system, corpus, indexing mode, query set) containing the top-100 poem ids, scores and the rank of the gold poem; all metrics, confidence intervals, significance tests, stratifications, fusion variants and figures are derived from those files.
Computational budget. All local computation ran on one NVIDIA GeForce RTX 5090 (32 GB). No model was trained or fine-tuned; every model is used off the shelf for inference. Indexing and retrieval for the nine dense encoders, over both corpora, all indexing modes and both query sets, takes 1,568 s of GPU time in total, of which Qwen3-Embedding-8B alone accounts for 852 s; BM25 runs on CPU in under a minute. The second Track B judge, Gemma-3-27B-it quantised to 4 bits, takes 66 minutes for its 2,000 judgments at batch size 6. The third judge, Qwen3-32B quantised to 4 bits, runs on the same GPU. The normalisation ablation of Appendix B adds under 40 minutes of wall clock, including model downloads. Figures reported here are wall clock on an otherwise idle machine.
B Normalisation Ablation
Measured on Diwan, verse mode, under three settings: raw text with diacritics retained; light normalisation, stripping diacritics and tatweel; and full normalisation, which additionally unifies alef/yalta-marbuta and deletes non-Arabic characters.
| Recall@5 | raw | light | full |
|---|---|---|---|
| jina-v3 | 0.178 | 0.523 | 0.434 |
| gte | 0.023 | 0.488 | 0.469 |
| LaBSE | 0.093 | 0.368 | 0.333 |
Two conclusions, of different strength. Diacritic removal is essential, and the effect is very large and consistent across all three encoders (+27 to +47 Recall@5 points), which is unsurprising: Diwan verses are diacritised and the models' subword vocabularies are not. The further orthographic unification points the same way for all three but varies in size by a factor of four, costing 8.9 points on jina-v3, 3.5 on LaBSE and 1.9 on gte. It is also not uniformly harmful: gte's Recall@1 improves under it (0.256 → 0.318) while LaBSE's falls (0.209 → 0.167). We therefore apply light normalisation to every dense encoder, which is the better Recall@5 setting for all three, and full normalisation to BM25 and the lexical overlap measures, where collapsing orthographic variants is standard. The nine-point cost measured on jina-v3 should not be generalised to dense encoders as a class.
C Which Overlap Measure Predicts
Figure 3 shows, per system, the within-query Spearman correlation between the change in query-document overlap induced by an explanation and the change in retrieval success, under a lexical and an embedding measure (Diwan, AI-explanation mode). BM25 is the only system for which the lexical measure is the stronger predictor.
Among dense encoders on Diwan, the more capable the model, the less its behaviour is governed by surface overlap ( between verse-mode Recall@5 and lexical ). This does not hold on Fann or Flop (p > 0.5), so it is a property of the abstract-query regime only, and it rests on nine points.
One caveat on the embedding measure. It is computed with a single fixed encoder (gte) for every system, so that all systems are scored on the same axis. gte is itself one of the ten systems, and its own is consequently the highest in all three settings (0.60, 0.56, 0.57 against a next-highest of 0.50, 0.41, 0.38); that row is not independent of the measure and should not be read as evidence about gte. Every conclusion above survives dropping it: the embedding measure still predicts better for the remaining eight dense encoders on Diwan and seven of eight on Fann or Flop, and BM25 remains the only system whose behaviour the lexical measure predicts best, with a lexical above every dense encoder's.

Figure 3: Within-query per system under a lexical and an embedding overlap measure.
D Multiple Comparisons
We report 57 hypothesis tests in six families: the mode contrasts of Table 2 (one family per corpus and contrast, ten systems each), the quotation-slope differences of §5.1 (nine systems against the reference encoder), and the Track B comparisons of BM25 against each dense encoder (one family per corpus). Holm-Bonferroni correction within each family leaves 36 of the 39 nominally significant tests significant. The three that do not survive are all Fann or Flop AI-explanation contrasts, for BGE-M3 (), mE5-large () and Muffakir-v2 (); Table 2 shows them unstarred. No claim in the paper depends on them. The interaction of §5.1 is the smallest -value in its family, so Holm and Bonferroni coincide there at . Per-test and corrected values for all 57 are released as eacl_multiplicity.csv. The edited-query tests of §5.2 and the analyses of Appendices G and L are reported uncorrected, except the metric-robustness test, which is Holm-corrected across the nine comparisons within each metric.
E Threshold Robustness of the Stratification
§5.1 splits Fann or Flop on whether the query shares a verbatim three-token span with the target poem. Table 7 repeats the split at spans of two to five tokens. Two things are stable: BM25 retrieves the gold poem within the top five for every quoting query at the three-, four- and five-token thresholds (and for 140 of 146 at two tokens), and its quotation slope stays significantly steeper than Qwen3-8B's (, .005, .006, .049 for thresholds two to five). The non-quoting comparison behaves as the graded account predicts: at a two-token threshold the non-quoting subset is the most abstract and Qwen3-8B leads it significantly (0.571 vs. 0.429, ); as the threshold rises, queries with two- and three-token overlaps re-enter the non-quoting subset and the gap closes to parity. BM25's slope is bounded above by its perfect quoting-subset score, so at the four- and five-token thresholds, where its non-quoting score has risen to 0.70 and 0.72, three weaker encoders show nominally larger slopes; its slope remains significantly larger than that of the strongest dense encoder throughout.
| System | ||||||||
|---|---|---|---|---|---|---|---|---|
| qt. 146 | no-qt. 98 | qt. 80 | no-qt. 164 | qt. 40 | no-qt. 204 | qt. 24 | no-qt. 220 | |
| Qwen3-8B | 0.815 | 0.571 | 0.863 | 0.646 | 0.825 | 0.696 | 0.833 | 0.705 |
| BGE-M3 | 0.856 | 0.449 | 0.875 | 0.604 | 0.950 | 0.642 | 0.958 | 0.664 |
| mE5-large | 0.678 | 0.429 | 0.713 | 0.512 | 0.775 | 0.539 | 0.917 | 0.541 |
| jina-v3 | 0.801 | 0.418 | 0.787 | 0.579 | 0.850 | 0.608 | 0.917 | 0.618 |
| silma-sts | 0.692 | 0.378 | 0.750 | 0.476 | 0.725 | 0.534 | 0.792 | 0.541 |
| gte | 0.753 | 0.276 | 0.775 | 0.457 | 0.850 | 0.505 | 0.917 | 0.523 |
| Qwen3-0.6B | 0.678 | 0.357 | 0.700 | 0.476 | 0.775 | 0.505 | 0.833 | 0.518 |
| LaBSE | 0.445 | 0.112 | 0.525 | 0.207 | 0.600 | 0.255 | 0.667 | 0.273 |
| Muffakir-v2 | 0.281 | 0.102 | 0.300 | 0.165 | 0.275 | 0.196 | 0.292 | 0.200 |
| BM25 | 0.959 | 0.429 | 1.000 | 0.622 | 1.000 | 0.696 | 1.000 | 0.718 |
Table 7: Verse-mode Recall@5 on Fann or Flop, split at verbatim spans of to tokens. Subset sizes are given under each threshold.
F Construction of the Edited Queries
All edits apply to Fann or Flop, verse mode, and are run through the same pipeline as the main results. Before any edited run, the unedited queries are re-run and must reproduce the released ranks of all ten systems exactly.
Adding a half-verse. Each of the 164 non-quoting queries is extended with the phrase “and among its verses:” followed by one verbatim half-verse of the target poem. Three variants take the half-verse from the opening verse, a middle verse or the final verse. Nothing else in the query changes.
Hand rewrites. A co-author rewrote the quoted words of each of the 80 quoting queries in their own words, keeping the information need and any proper names, with a live check that no verbatim three-token span of the target poem remained. One query is a quotation from start to end and was marked impossible, leaving 79.
LLM rewrites. Qwen3-32B rewrote only the quoted span of each quoting query under the same constraints. A second co-author rated every rewrite for whether it kept the information need and whether remembered wording was left. On the 55 rewrites judged to keep the information need at least in part and to leave at most part of the quoted wording, BM25 loses 0.473 and Qwen3-8B 0.255 (p=.006).
Deletion (control). Deleting the tokens a quoting query shares with its poem removes information as well as wording and shortens the queries from 10.9 to 6.4 tokens on average, so we report it only as a control: BM25 loses 0.600 and Qwen3-8B 0.413 (p=.008).
G Metric Robustness and Query Covariates
Table 8 repeats the quotation-slope test of §5.1 on four metrics. BM25's slope is the steepest of the ten on all four. After Holm correction across the nine comparisons, Recall@5 and MRR are at or below .05 and Recall@1 and nDCG@10 are at about .08.
| Metric | slope | difference | 95% CI | p | ||
|---|---|---|---|---|---|---|
| BM25 | Qwen3-8B | |||||
| R@1 | 0.419 | 0.237 | +0.182 | [0.040, 0.325] | 0.009 | 0.085 |
| R@5 | 0.378 | 0.216 | +0.162 | [0.046, 0.285] | 0.005 | 0.045 |
| MRR | 0.389 | 0.229 | +0.160 | [0.045, 0.277] | 0.006 | 0.050 |
| nDCG@10 | 0.371 | 0.231 | +0.140 | [0.035, 0.247] | 0.009 | 0.079 |
Table 8: Quotation slope (quoting minus non-quoting subset) on Fann or Flop, verse mode, and BM25's difference against Qwen3-8B (paired bootstrap, resamples).
For the covariate analysis we fit, per system, a logistic model of Recall@5 success over the 502 known-item queries, with z-scored predictors and standard errors clustered by query. The controls are query length, the number of proper nouns in the query (tagged by Qwen3-32B, a noisy covariate), target-poem length, target confusability (TF-IDF cosine between the target and its nearest other poem, computed without the query) and a corpus indicator. Adding them changes the containment coefficient by less than 0.07 log-odds per standard deviation for every system, and it stays significant at for all ten. A Shapley decomposition attributes 59 to 85% of each system's ex- plained variance to the overlap features (contain- ment, longest shared span, quoted fraction). In a pooled model, the interaction of containment with BM25 is +2.99 log-odds per standard deviation ().
H Full Track A Results
Table 9 gives Recall@1/@5, MRR and nDCG@10 with bootstrap 95% confidence intervals ( resamples) for every system, corpus and indexing mode. Per-subset results are released with the code as eacl_trackA.csv.
I The Second and Third Judges
Track B was repeated with Gemma-3-27B-it, quantised to 4 bits and run on one consumer GPU, over a random 100 of the 200 thematic queries for all ten systems and both corpora (2,000 cells, no parse failures). The rubric text is identical to the primary judge's; only the response format differs, in that the second judge returns the seven scores with a single short justification rather than seven, which keeps local decoding tractable. Table 12 gives system means under both judges and Table 13 the cell-level agreement per aspect.
Agreement is high on the five aspects that ask about aboutness ( between 0.65 and 0.71) and much lower on metaphor understanding (0.26) and literal match (0.29). The two aspects on which the judges agree least are the two that ask for the most interpretive judgment, and conclusions that rest on them are correspondingly weaker. The overall-quality ordering, which carries the Track B claim, is not one of them.
The third judge, Qwen3-32B quantised to 4 bits, scores the same 100 queries twice: once with the original rubric, and once with a neutral rubric that removes the literal-match aspect and its sentence about implicit meaning and changes nothing else. Table 10 gives system means on the shared queries under all judges.
J Track B by Judge Aspect
Table 11 breaks Track B out by all seven rubric aspects. Two patterns matter for internal validity. First, BM25 is last of ten on every aspect that requires aboutness on Fann or Flop and on all but one on Diwan, with its largest deficits on metaphor understanding and semantic coverage (1.1 to 1.2 points below the best system), which is where an aboutness-blind system should fail. Second, on
| System | Mode | R@1 | R@5 | MRR | nDCG@10 |
|---|---|---|---|---|---|
| Fann or Flop | |||||
| Qwen3-8B | verses | 0.566 [0.504,0.627] | 0.717 [0.660,0.770] | 0.635 [0.581,0.688] | 0.667 [0.615,0.718] |
| Qwen3-8B | AI expl. | 0.426 [0.365,0.488] | 0.656 [0.594,0.713] | 0.530 [0.475,0.584] | 0.570 [0.517,0.622] |
| Qwen3-8B | FoF expl. | 0.639 [0.578,0.701] | 0.816 [0.766,0.865] | 0.725 [0.677,0.773] | 0.754 [0.710,0.800] |
| BGE-M3 | verses | 0.574 [0.512,0.635] | 0.693 [0.635,0.750] | 0.634 [0.578,0.689] | 0.657 [0.603,0.712] |
| BGE-M3 | AI expl. | 0.406 [0.344,0.467] | 0.598 [0.537,0.660] | 0.489 [0.434,0.544] | 0.515 [0.459,0.570] |
| BGE-M3 | FoF expl. | 0.566 [0.504,0.627] | 0.725 [0.668,0.779] | 0.646 [0.593,0.699] | 0.676 [0.624,0.727] |
| mE5-large | verses | 0.414 [0.352,0.475] | 0.578 [0.516,0.639] | 0.485 [0.429,0.542] | 0.510 [0.454,0.566] |
| mE5-large | AI expl. | 0.332 [0.275,0.389] | 0.492 [0.430,0.553] | 0.408 [0.355,0.464] | 0.437 [0.382,0.492] |
| mE5-large | FoF expl. | 0.557 [0.492,0.619] | 0.717 [0.660,0.770] | 0.632 [0.576,0.685] | 0.662 [0.611,0.714] |
| jina-v3 | verses | 0.479 [0.418,0.541] | 0.647 [0.586,0.705] | 0.559 [0.502,0.614] | 0.589 [0.533,0.643] |
| jina-v3 | AI expl. | 0.303 [0.246,0.361] | 0.504 [0.439,0.566] | 0.395 [0.343,0.449] | 0.430 [0.377,0.486] |
| jina-v3 | FoF expl. | 0.512 [0.451,0.574] | 0.676 [0.615,0.734] | 0.592 [0.538,0.645] | 0.623 [0.569,0.676] |
| silma-sts | verses | 0.389 [0.332,0.451] | 0.566 [0.504,0.627] | 0.479 [0.424,0.532] | 0.511 [0.455,0.566] |
| silma-sts | AI expl. | 0.361 [0.299,0.422] | 0.508 [0.447,0.570] | 0.439 [0.384,0.495] | 0.475 [0.419,0.529] |
| silma-sts | FoF expl. | 0.516 [0.451,0.578] | 0.717 [0.660,0.775] | 0.606 [0.552,0.659] | 0.641 [0.590,0.694] |
| gte | verses | 0.439 [0.377,0.500] | 0.561 [0.500,0.623] | 0.504 [0.448,0.561] | 0.532 [0.477,0.589] |
| gte | AI expl. | 0.254 [0.201,0.307] | 0.389 [0.328,0.451] | 0.331 [0.280,0.382] | 0.356 [0.304,0.409] |
| gte | FoF expl. | 0.459 [0.398,0.520] | 0.635 [0.574,0.693] | 0.541 [0.485,0.596] | 0.569 [0.513,0.624] |
| Qwen3-0.6B | verses | 0.414 [0.352,0.475] | 0.549 [0.488,0.611] | 0.484 [0.427,0.542] | 0.509 [0.452,0.566] |
| Qwen3-0.6B | AI expl. | 0.266 [0.213,0.324] | 0.430 [0.369,0.492] | 0.346 [0.294,0.398] | 0.376 [0.323,0.429] |
| Qwen3-0.6B | FoF expl. | 0.455 [0.393,0.516] | 0.660 [0.598,0.721] | 0.552 [0.498,0.608] | 0.590 [0.537,0.643] |
| LaBSE | verses | 0.197 [0.147,0.250] | 0.311 [0.254,0.373] | 0.253 [0.205,0.303] | 0.272 [0.223,0.322] |
| LaBSE | AI expl. | 0.189 [0.139,0.238] | 0.283 [0.225,0.340] | 0.237 [0.189,0.286] | 0.248 [0.199,0.298] |
| LaBSE | FoF expl. | 0.213 [0.164,0.266] | 0.336 [0.275,0.394] | 0.274 [0.224,0.324] | 0.298 [0.247,0.350] |
| Muffakir-v2 | verses | 0.107 [0.070,0.147] | 0.209 [0.160,0.262] | 0.167 [0.128,0.208] | 0.185 [0.145,0.227] |
| Muffakir-v2 | AI expl. | 0.172 [0.127,0.221] | 0.287 [0.234,0.344] | 0.236 [0.191,0.282] | 0.260 [0.213,0.309] |
| Muffakir-v2 | FoF expl. | 0.324 [0.266,0.385] | 0.467 [0.406,0.529] | 0.399 [0.345,0.455] | 0.427 [0.374,0.483] |
| BM25 | verses | 0.656 [0.594,0.717] | 0.746 [0.689,0.799] | 0.699 [0.644,0.751] | 0.720 [0.667,0.770] |
| BM25 | AI expl. | 0.246 [0.193,0.303] | 0.357 [0.299,0.418] | 0.301 [0.249,0.354] | 0.323 [0.271,0.377] |
| BM25 | FoF expl. | 0.603 [0.541,0.664] | 0.742 [0.684,0.795] | 0.665 [0.611,0.718] | 0.690 [0.635,0.740] |
| Diwan | |||||
| Qwen3-8B | verses | 0.527 [0.469,0.585] | 0.748 [0.694,0.798] | 0.629 [0.580,0.681] | 0.667 [0.618,0.713] |
| Qwen3-8B | AI expl. | 0.779 [0.729,0.830] | 0.930 [0.895,0.961] | 0.849 [0.812,0.885] | 0.871 [0.837,0.903] |
| BGE-M3 | verses | 0.403 [0.341,0.461] | 0.574 [0.512,0.632] | 0.488 [0.436,0.542] | 0.521 [0.467,0.576] |
| BGE-M3 | AI expl. | 0.686 [0.632,0.740] | 0.845 [0.798,0.888] | 0.752 [0.705,0.797] | 0.779 [0.735,0.822] |
| mE5-large | verses | 0.353 [0.298,0.411] | 0.585 [0.523,0.647] | 0.453 [0.401,0.506] | 0.492 [0.440,0.544] |
| mE5-large | AI expl. | 0.659 [0.601,0.713] | 0.802 [0.752,0.849] | 0.726 [0.676,0.774] | 0.753 [0.706,0.798] |
| jina-v3 | verses | 0.345 [0.287,0.403] | 0.523 [0.461,0.581] | 0.429 [0.378,0.482] | 0.456 [0.402,0.509] |
| jina-v3 | AI expl. | 0.589 [0.531,0.647] | 0.756 [0.702,0.806] | 0.667 [0.616,0.717] | 0.694 [0.645,0.742] |
| silma-sts | verses | 0.380 [0.322,0.438] | 0.558 [0.500,0.616] | 0.466 [0.412,0.519] | 0.500 [0.449,0.552] |
| silma-sts | AI expl. | 0.659 [0.601,0.717] | 0.810 [0.764,0.857] | 0.726 [0.677,0.775] | 0.751 [0.705,0.796] |
| gte | verses | 0.256 [0.205,0.310] | 0.488 [0.430,0.550] | 0.361 [0.313,0.411] | 0.402 [0.352,0.452] |
| gte | AI expl. | 0.651 [0.593,0.709] | 0.806 [0.760,0.853] | 0.724 [0.675,0.772] | 0.747 [0.700,0.792] |
| Qwen3-0.6B | verses | 0.333 [0.275,0.392] | 0.527 [0.465,0.585] | 0.429 [0.377,0.481] | 0.463 [0.411,0.516] |
| Qwen3-0.6B | AI expl. | 0.624 [0.566,0.682] | 0.795 [0.744,0.845] | 0.696 [0.644,0.745] | 0.723 [0.673,0.771] |
| LaBSE | verses | 0.209 [0.163,0.260] | 0.368 [0.310,0.426] | 0.285 [0.237,0.333] | 0.312 [0.263,0.362] |
| LaBSE | AI expl. | 0.519 [0.457,0.581] | 0.670 [0.612,0.729] | 0.592 [0.537,0.644] | 0.620 [0.567,0.671] |
| Muffakir-v2 | verses | 0.132 [0.093,0.174] | 0.233 [0.182,0.287] | 0.190 [0.149,0.233] | 0.206 [0.163,0.251] |
| Muffakir-v2 | AI expl. | 0.442 [0.384,0.500] | 0.585 [0.527,0.647] | 0.508 [0.452,0.564] | 0.533 [0.478,0.588] |
| BM25 | verses | 0.248 [0.198,0.302] | 0.392 [0.333,0.454] | 0.321 [0.272,0.372] | 0.349 [0.298,0.401] |
| BM25 | AI expl. | 0.612 [0.554,0.670] | 0.760 [0.709,0.810] | 0.676 [0.624,0.726] | 0.698 [0.648,0.747] |
Table 9: Track A in full, with bootstrap 95% confidence intervals.
direct textual relevance, the aspect that measures how far a system's results simply repeat the query's wording, BM25 scores highest of all ten systems on both corpora (4.26 on Fann or Flop, 4.48 on Diwan). The judge therefore identifies BM25 as the most surface-matching system while scoring it lowest overall. This confirms the mechanism through a separate measurement channel, and it shows that the low overall score is not a general dislike of lexical retrieval.
K Human Annotation
Thematic relevance. Twenty thematic queries, ten per corpus, were pooled across three systems (BM25, jina-v3 and their reciprocal-rank fusion), top 3 each, deduplicated to 126 items and shuffled with system identity removed. Two authors graded every item independently on the 0 to 2 scale of Appendix M. They agree moderately: quadratic-weighted , with 90% of items within one point. The second rater is more lenient (mean 0.90 against 0.68), but both rank the systems the same way, with BM25 below jina-v3 for each rater (p=.005 and p=.028, paired Wilcoxon), and both agree with the judge's overall-quality score on the 40 shared cells ( and 0.64).
Known-item spot check. For 50 queries where the strongest system missed the gold poem, one author judged whether that system's top-1 result would satisfy the query. The result was a fully acceptable answer in of cases (95% CI [22, 48]) and at least partly acceptable in . Twelve con-
| System | FannOrFlop | Diwan | ||||||
|---|---|---|---|---|---|---|---|---|
| Gem. | Gem-3 | Q-orig | Q-neut | Gem. | Gem-3 | Q-orig | Q-neut | |
| Qwen3-8B | 2.83 | 3.36 | 3.17 | 3.35 | 2.66 | 3.29 | 3.12 | 3.32 |
| BGE-M3 | 2.49 | 3.09 | 2.80 | 2.99 | 2.33 | 3.00 | 2.77 | 2.98 |
| mE5-large | 2.48 | 3.23 | 3.03 | 3.11 | 2.36 | 3.18 | 2.91 | 3.06 |
| jina-v3 | 2.51 | 3.19 | 2.86 | 3.10 | 2.48 | 3.18 | 3.00 | 3.11 |
| silma-sts | 2.73 | 3.23 | 2.99 | 3.24 | 2.55 | 3.17 | 3.00 | 3.28 |
| gte | 2.45 | 3.04 | 2.71 | 2.90 | 2.10 | 2.90 | 2.59 | 2.75 |
| Qwen3-0.6B | 2.32 | 3.08 | 2.86 | 3.00 | 2.18 | 3.02 | 2.59 | 2.73 |
| LaBSE | 1.93 | 2.82 | 2.32 | 2.50 | 1.59 | 2.58 | 2.07 | 2.29 |
| Muffakir-v2 | 2.37 | 3.01 | 2.79 | 2.91 | 2.16 | 2.99 | 2.81 | 2.98 |
| BM25 | 1.96 | 2.84 | 2.41 | 2.44 | 1.69 | 2.69 | 2.30 | 2.46 |
| τ with Gemini | ref. | 0.81 | 0.67 | 0.69 | ref. | 0.85 | 0.89 | 0.91 |
Table 10: Track B overall quality on the 100 thematic queries scored by every judge, verse mode: Gemini 3.5 Flash (Gem.), Gemma-3-27B-it (Gem-3), and Qwen3-32B under the original (Q-orig) and neutral (Q-neut) rubrics. The last row gives Kendall of each system ordering with Gemini's.
| Corpus | System | sem. rel. | them. coh. | metaph. | coverage | lit. match | prec. | overall |
|---|---|---|---|---|---|---|---|---|
| FoF | Qwen3-8B | 3.00 | 2.70 | 2.94 | 3.08 | 3.27 | 2.80 | 2.94 |
| FoF | BGE-M3 | 2.54 | 2.33 | 2.55 | 2.58 | 3.25 | 2.37 | 2.47 |
| FoF | mE5-large | 2.60 | 2.46 | 2.66 | 2.58 | 3.28 | 2.37 | 2.52 |
| FoF | jina-v3 | 2.69 | 2.48 | 2.73 | 2.75 | 3.15 | 2.52 | 2.64 |
| FoF | silma-sts | 2.85 | 2.57 | 2.84 | 2.85 | 2.90 | 2.62 | 2.75 |
| FoF | gte | 2.42 | 2.21 | 2.38 | 2.46 | 3.40 | 2.22 | 2.37 |
| FoF | Qwen3-0.6B | 2.47 | 2.21 | 2.35 | 2.41 | 3.47 | 2.25 | 2.35 |
| FoF | LaBSE | 2.15 | 1.90 | 2.15 | 2.10 | 3.35 | 1.98 | 2.07 |
| FoF | Muffakir-v2 | 2.48 | 2.31 | 2.46 | 2.48 | 3.17 | 2.33 | 2.43 |
| FoF | BM25 | 1.95 | 1.73 | 1.87 | 1.94 | 4.26 | 1.78 | 1.90 |
| Diwan | Qwen3-8B | 3.00 | 2.65 | 2.91 | 2.89 | 3.29 | 2.77 | 2.83 |
| Diwan | BGE-M3 | 2.42 | 2.27 | 2.45 | 2.41 | 3.38 | 2.24 | 2.29 |
| Diwan | mE5-large | 2.44 | 2.29 | 2.45 | 2.40 | 3.40 | 2.21 | 2.35 |
| Diwan | jina-v3 | 2.65 | 2.44 | 2.68 | 2.60 | 3.29 | 2.45 | 2.53 |
| Diwan | silma-sts | 2.75 | 2.50 | 2.70 | 2.73 | 3.05 | 2.52 | 2.63 |
| Diwan | gte | 2.27 | 2.06 | 2.27 | 2.26 | 3.54 | 2.10 | 2.18 |
| Diwan | Qwen3-0.6B | 2.23 | 2.03 | 2.12 | 2.15 | 3.71 | 2.04 | 2.14 |
| Diwan | LaBSE | 1.86 | 1.65 | 1.82 | 1.77 | 3.76 | 1.62 | 1.75 |
| Diwan | Muffakir-v2 | 2.41 | 2.19 | 2.41 | 2.29 | 3.23 | 2.16 | 2.27 |
| Diwan | BM25 | 1.81 | 1.64 | 1.69 | 1.74 | 4.48 | 1.65 | 1.70 |
Table 11: Track B by judge aspect, verse mode, queries per cell. All aspects are scored from 1 to 5 with 5 highest; on lit. match a high score means the results repeat the query's wording, which the rubric treats as evidence against implicit understanding. Lexical overlap can coexist with genuine relevance, and no claim in the paper rests on this aspect: the ordering from the aboutness aspects alone matches the overall one.
trol items showing the gold poem itself, shuffled among the rest, were judged fully acceptable in 11 of 12, so the annotator was discriminating rather than lenient. The rate is higher on the abstract corpus (0.40) than on the tip-of-the-tongue one (0.28). Applying each corpus its own rate, Recall@5 for the best system rises from 0.717 to 0.813 on Fann or Flop and from 0.748 to 0.834 on Diwan, and the quotation interaction of §5.1 shrinks from +0.16 to +0.11.
L Corpus Checks
Where the quoted spans sit. Of the 80 quoted spans in Fann or Flop, 37 come from the opening verse, 41 from a middle verse and 2 from the final verse, and 77 occur in no other poem of the corpus. BM25 retrieves the gold poem for all of them. The edits of §5.2 vary the position directly.
Era. On Fann or Flop, we group the era labels into four ordered bins and fit a logistic model of Recall@5 success that controls for query-verse containment and query length. Pooled over the nine dense encoders (system fixed effects, errors clustered by query), success rises by +0.27 log-
| System | FannOrFlop | Diwan | ||
|---|---|---|---|---|
| judge 1 | judge 2 | judge 1 | judge 2 | |
| Qwen3-8B | 2.83 | 3.36 | 2.68 | 3.29 |
| BGE-M3 | 2.49 | 3.09 | 2.34 | 3.00 |
| mE5-large | 2.48 | 3.23 | 2.36 | 3.18 |
| jina-v3 | 2.51 | 3.19 | 2.48 | 3.18 |
| silma-sts | 2.73 | 3.23 | 2.56 | 3.17 |
| gte | 2.45 | 3.04 | 2.10 | 2.90 |
| Qwen3-0.6B | 2.32 | 3.08 | 2.18 | 3.02 |
| LaBSE | 1.93 | 2.82 | 1.59 | 2.58 |
| Muffakir-v2 | 2.37 | 3.02 | 2.16 | 2.99 |
| BM25 | 1.96 | 2.84 | 1.70 | 2.69 |
Table 12: Track B overall quality under the primary judge (Gemini 3.5 Flash, n=200) and the open-weights second judge (Gemma-3-27B-it, n=100). Scales differ; the orderings do not (Kendall and +0.81).
| Aspect | cell-level ρ |
|---|---|
| semantic relevance | +0.71 |
| thematic coherence | +0.64 |
| metaphor understanding | +0.26 |
| coverage | +0.68 |
| literal match | +0.29 |
| precision | +0.65 |
| overall quality | +0.67 |
Table 13: Cell-level Spearman agreement between the two judges, n=2,000 paired cells.
odds per step towards the present (p=.010). BM25 shows no such trend (-0.36, p=.14), and the difference between the two is significant (p=.015).
Poet frequency. As a rough proxy for exposure during pretraining, the number of poems a poet has in Fann or Flop (from 1 to 612) is unrelated to retrieval success for every system ( , all p > .2). Diwan cannot test this, since every poet contributes 70 poems.
Target selection. The gold poems do not differ from the rest of their corpus in era, genre or length on Fann or Flop, nor in era, genre, length or poet on Diwan (chi-square and Mann-Whitney tests, all p > .05).
Duplicates. In Diwan, 274 of the 3,500 poems share their normalised text with another poem (135 groups), and 28 gold poems have such a twin. Counting a twin of the gold poem as correct changes verse-mode Recall@5 by 0.4 points for one system and leaves the other nine unchanged. Fann or Flop has no duplicates.
Explanation audit. A co-author rated 50 random verse explanations against their verses. Of these, 60% were faithful, 32% had a minor error and 8% misread the verse; 20% added substantive content not in the verse. The failure modes were inverted meaning, invented names and classical vocabulary read in its modern sense.
M Annotation Guidelines
Thematic relevance. Annotators saw a theme and a shuffled, deduplicated pool of poems retrieved for it by several anonymised systems, and graded each poem: 2 = clearly on-theme, 1 = partly or tangentially on-theme, 0 = off-theme. The instructions stated explicitly that lexical overlap with the theme is not evidence of relevance, that a poem repeating the theme's words while being about something else scores 0, and that a poem never using them while genuinely being about the theme scores 2.
Known-item spot check. Each item showed one query and one retrieved poem, and asked only whether that poem would satisfy someone issuing the query: 2 = yes, 1 = partly or arguably, 0 = no. The instructions stated that the annotator would not be told which items showed the labelled gold poem and that guessing was counter-productive, and that a query may legitimately describe more than one poem, so a genuine answer scores 2 even if a different poem was intended. Both guideline documents and the completed judgments are released.
N LLM Prompts and Rubric
Explanation generation. Each verse is paired with a fixed instruction asking for a concise, faithful prose paraphrase of the verse's meaning in Arabic, adding no information beyond the verse.
Judge rubric. The judge receives a query and the retrieved poems, each given as its first six verses, and scores seven aspects from 1 to 5, each with a one-line justification: semantic relevance, thematic coherence, metaphor understanding, semantic coverage, direct textual relevance (where 1 is best, i.e. least literal matching), precision, and overall quality. The neutral rubric used with the third judge drops direct textual relevance. Exact prompt strings are released with the code.