Finding case numbers and article references
NeedleSearch Engineering ·
Exact lookups rose from 48.6% to 99.8% when we gave case numbers and article references their own search. A question about a party's jurisdiction argument can be paraphrased. Case C-131/12 needs to match the identifier.
We measured 108 questions over 432 runs, following more than 2,000 validation runs during development.
Results
| Metric | Before | After |
|---|---|---|
| Case/article number found (120-query test) | 48.6% | 99.8% |
| Searches returning nothing | 32% | 11% |
The agent made 29% fewer searches overall. Case-number lookups took 20% fewer steps.
What changed
Search
Each part of the question goes to its own route
Identifiers go to exact-word search. The concept goes to search by meaning as a whole sentence. Both run in parallel.
By words
Exact strings that either appear in a document or do not.
By meaning
The concept as one sentence, not cut into keywords.
Result
Identifiers found in 99.8% of runs instead of 48.6%. Empty searches fell from 32% to 11%.
The agent sends the concept as a full sentence and searches each identifier separately. When the question asks for several facts, each gets its own query.
Questions and answers
Why do case numbers and article references need their own search?
An identifier such as C-131/12 either appears in a document or does not, and a search by meaning can confuse it with similar numbers. Identifiers go to an exact-word search while the concept goes to a search by meaning as one sentence.
How much did exact lookups improve?
Case or article numbers were found in 99.8% of runs, up from 48.6%. Searches returning nothing fell from 32% to 11%, and the agent made 29% fewer searches overall.
How was this measured?
On 108 questions over 432 runs, after more than 2,000 validation runs during development. Results are reported as the share of runs before and after the change.