ARI3LLA INDEX
ARI3 · Notebook entryThe model behind the index

EXP-004: Grounded retrieval

Closed

On the 12 held-out test questions with a resolved relevant item, the frozen hybrid retriever reached macro Recall@10 0.770 and Hit@10 1.000.

EXP-004 asks whether ARI3 can find the stored records that answer a question, inside the question's date, language, sector and outlet limits. Each record is a headline and the feed's own summary, capped at 500 characters. No full article text is stored, so EXP-004 measures retrieval over ARI3's stored evidence, not over complete articles.

Four retrieval methods were compared on 37 development questions under a selection rule committed before any result. The hybrid method, which combines keyword search and sentence embeddings by reciprocal rank fusion, was chosen and frozen, then run once on 19 held-out test questions.

On the 12 test questions with at least one item the editor judged relevant, macro Recall@10 was 0.770 and Hit@10 was 1.000. This does not mean ARI3 finds 77% of all relevant evidence. Recall is measured against the pool of items the methods retrieved and the editor judged.

The question

Can ARI3 find the stored records that answer a question, within the question's date, language, sector and outlet limits?

Pre-registered: Partly. The rule for choosing a retriever on development questions, and the single run on test questions, were committed before any result. The rule was amended once, before the development run. EXP-004 had no pass criteria.

Method

  • 56 questions, reviewed and frozen by the editor
  • Each method's top 10 pooled and judged by the editor, blind to method, rank and score
  • Questions split into 37 development and 19 test
  • Four methods compared on development questions: keyword search with two tokenizers, sentence embeddings, and a hybrid of the two
  • Hybrid chosen by the committed rule and frozen
  • Frozen hybrid run once on the test questions

Held fixed

  • Filters applied before ranking: dates, language, sector, outlet and the time cutoff
  • The frozen index of 7,955 items
  • The retriever configuration, frozen before the test run

Changed

  • First retrieval experiment. No earlier version to compare against.

Results

The frozen hybrid retriever, run once on the 19 test questions. Hit, recall and reciprocal rank cover the 12 questions with at least one item judged relevant.

MeasurehybridNote
Recall@100.770Macro average over 12 questions
Recall@50.438
Hit@101.00012 of 12 questions
Hit@51.00012 of 12 questions
Mean reciprocal rank0.958
Unsure share of the top 100.31118 questions with results

What it gained

  • Each of the 12 answerable test questions had a relevant item in its top 5
  • Median retrieval time 67.4 ms over the 19 test queries on a local CPU (p95 344.4 ms), retrieval only
  • No result broke a filter or the time cutoff

What it cost

  • Recall@5 was 0.438, so on average fewer than half of each question's judged relevant items reached the top 5
  • 31% of top-10 results were judged unsure

Surprises

  • On development questions, hybrid led keyword search by 0.169 in Recall@10, but the 95% interval ran from -0.006 to 0.352. The selection rule's practical-tie clause decided.
  • Keyword search and sentence embeddings found mostly different items. In the judging pool their top-10 sets have a Jaccard overlap of 0.12, which is why both were pooled and why the hybrid combines them.

Threats to the result

  • Only 12 answerable test questions carry the main metrics.
  • Recall is measured against the judged pool, the union of each method's top 10, not against every relevant item in the corpus.
  • Recall@10 is capped for questions with more than 10 relevant items. Two test questions reached the cap.
  • Retrieval in languages other than English is not established. Most non-English judgments are unsure, and no non-English test question has a resolved relevant item.
  • Some filtered questions have small candidate sets, 10 to 16 eligible items, where high recall comes close to being guaranteed.
  • One person judged relevance, and 228 of the 819 judgments are unsure.
  • Feed language tags contain known errors.

What was built

  • Read-only retrieval over the SQLite store, with FTS5 keyword search and stored sentence embeddings (src/rag_*.py)
  • A blind relevance-judging deck in the ARI3 review app
  • Guards on the test run, which refuses to start without a frozen retriever and refuses to run twice

From idea to result

  1. ObservationAnswering questions about the corpus needs the right stored records first, inside each question's limits.
  2. IdeaCombine keyword search and sentence embeddings, and choose between methods by a rule fixed in advance.
  3. ExperimentEXP-004: 56 frozen questions, 819 blind judgments, selection on development questions, one test run.
  4. ResultHybrid frozen. Test Recall@10 0.770 and Hit@10 1.000 on 12 answerable questions.
  5. New questionCan a language model answer from these records without claiming more than they say? That is EXP-005, in development.

Lessons

  • Expected: one method would clearly win. Observed: hybrid led, but its lead over keyword search on development questions was within noise.
  • Non-English relevance could not be judged reliably, so retrieval in other languages stays unmeasured.

Open questions

  • How does retrieval do in languages other than English, judged by someone who reads them?
  • How should the index be refreshed as the corpus grows? A refreshed index is a new retrieval version with its own check.

Reproducing it

The questions, judgments, split, frozen retriever and both results are public. The item store and index stay local, so outsiders can check the hashes but cannot rerun retrieval.

git clone https://github.com/arikthehacker/fashion-trend-crawler.git
cd fashion-trend-crawler
git show 44421a5:experiments/exp-004-grounded-retrieval/frozen/retriever_v1.json | sha256sum
git show b9f9e6c:experiments/exp-004-grounded-retrieval/results/test-retrieval-v1.json | sha256sum