Donald Murre

Beyond BM25: Learned Lexical Retrieval and Training-Query Similarity in Belgian Statute Retrieval

In short

On a public test for Belgian statute search, we compared our word search with SPLADE, a published method that uses a neural language model to choose and weigh the search words, which we fine-tuned on the same training questions. Which of the two finds more depends on the question. On the 98 French test questions that resemble a training question, our word search found 94.1% of the right articles among the first 100 results on BSARD and 94.6% on bBSARD French, against 88.6% and 88.7% for SPLADE. On the other 124, SPLADE found 83.9% and 83.5%, against 74.7% and 74.6% for ours. Over all 222 French test questions the difference between the two is within the margin of error, and that result is the average of the two groups.

Abstract

We investigate supervised lexical retrieval on the Belgian Statutory Article Retrieval Dataset (BSARD) and its bilingual extension bBSARD. Our approach combines BM25, lexical enhancements, neural term weighting and supervised query expansion, without dense vector retrieval or language-model inference at query time. We compare it with fine-tuned SPLADE, DeepImpact and uniCOIL.

The comparison with SPLADE depends on whether a test query resembles a training query. On the 98 French test queries that do, our system reaches a recall at 100 (R@100) of 94.1 / 94.6 (BSARD / bBSARD French) against 88.6 / 88.7 for 512-token SPLADE; on the 124 that do not, 74.7 / 74.6 against 83.9 / 83.5 (95% paired bootstrap intervals exclude zero). In Dutch, with a 256-token SPLADE (the 512-token run failed), ours leads in the first group; in the second, R@100 is not separated and ours leads in nDCG@10. DeepImpact and uniCOIL trail in both groups.

Parity on all 222 test queries is thus an average of two opposite results: 83.3 / 83.4 for our system against 85.9 / 85.8 for SPLADE in French, with intervals that include zero for R@100 and for nDCG@10, and 80.5 against 76.0 in Dutch, where ours leads on both metrics. BM25 reaches 52.3 / 51.8 and 42.4; DeepImpact and uniCOIL about 70, level with our term weighter. On the 30 test queries with no relevant article in the training labels, query expansion changes R@100 by -1.3, -2.7 and -15.0 points and nDCG@10 by -8.8, -5.0 and +3.5 (intervals include zero), and French SPLADE reaches 74.2 and 74.5.

Three caveats apply: the similarity split is post hoc; the test set was not blind for our system; and our query-expansion component was trained on 64 near-duplicates of validation or test queries that the baselines’ training set excluded.

In a single-threaded CPU benchmark, our median query latency (50 ms) is comparable to that of a partially int8-quantised SPLADE encoder that loses 1.5 points of nDCG@10, and below the float32 encoder’s (60 ms). Ours has lower tail latency (57 against 75 to 84 ms at the 95th percentile) and 9.2 against 110.7 million neural-network parameters, but higher peak memory (2.6 against 0.41 to 0.75 GB) and a 3.3 times larger index.

The full paper, with its tables and charts, is published at lexbound.ai.