Day 4 · Thursday · Empirical studio
Can a retrieved passage support the answer?
Keep the reference judgements closed until both complete rankings are saved. A similarity score determines rank; it does not determine whether a passage supports a sentence.
Dataset card
Pinned BIS speech collection; no live web search
| Your files | bis_speeches.csv,
bis_chunks.csv, queries.csv,
day4_application.ipynb |
|---|---|
| Empirical question | Can lexical and latent-semantic retrieval place a course-authored reference passage near the top, and can the retrieved words support a supplied candidate sentence? |
| One ranked item | One 300-whitespace-token speech chunk with 50-token overlap and at least 40 tokens in a final chunk. |
| Corpus | 40 speeches dated 2018–2025, producing 474 chunks. |
| Queries | Twelve fixed questions labelled Q01–Q12. |
| Methods | BM25 over exact terms; TF–IDF plus truncated SVD and cosine similarity as an inspectable LSA-style representation. |
| Reference evidence | Known-item judgements released only after the rankings are frozen; not exhaustive relevance labels. |
| Citation | BIS:<speech_id>:<four-digit chunk number>. |
| Source | Bank for International Settlements central-bank speeches, pinned through 20 June 2025. |
| Used in | Day 4 concept studio Questions 5–10; empirical Questions 1–6; Day 4 problem set Questions 5–10. |
Files and fields
| File or field | Meaning | Use |
|---|---|---|
bis_speeches.csv | Speech-level title, author, date, URL | Provenance and inspection |
bis_chunks.csv | Citation ID, speech ID, chunk number, title, text | Candidate collection |
queries.csv | Q01–Q12 and fixed question text | Input to both methods |
student_frozen_rankings.csv | Query, method, rank, citation, score | Saved before qrels |
| Released qrels | Known reference chunks for supported questions | Post-freeze scoring |
Before you run code
- What can known-item retrieval evaluate?
Whether a named reference chunk appears near the top of this fixed collection.
Whether every answer is true on the open web.
Whether acting on an answer is fair.
Whether the generated sentence is causally correct.
- Why must both methods rank the same chunks?
So differences can be attributed to representation and scoring rather than unequal candidate collections.
So both methods must produce identical rankings.
So no relevance judgement is needed.
So BM25 becomes a semantic method.
- Why freeze rankings before qrels?
To stop you reading chunk text.
To prevent the known answers from guiding rank adjustment and to identify the exact rankings being evaluated.
To guarantee exhaustive relevance.
To increase cosine similarity.
Notebook order
Confirm that both methods receive the same 474 citation IDs.
Compare the top five passages for Q01 and read the text, not only the score or title.
Produce all \(12\times2\times474=11{,}376\) ranking rows.
Save the rankings and record their digest.
Open the reviewed known-item judgements.
Report Hit@1, Hit@3, Hit@5, and MRR for supported questions.
For one supplied candidate sentence, select either a top-four passage that supports every clause or
NO EVIDENCE IN THE PROVIDED CORPUS.
After the reference judgements are opened
- Interpreting two retrieval summaries
BM25 has Hit@5 0.90 and MRR 0.652; the latent method has Hit@5 0.80 and MRR 0.656. Which statement is correct?
BM25 finds a known item within five ranks more often; the latent method places the first known item slightly earlier on average.
The latent method retrieves more known items at every cutoff.
BM25 produces more faithful answers.
Both methods have exhaustive recall above 0.80.
- A formatted citation can still fail
A sentence cites a top-four chunk, but one clause is absent from the cited words. What should happen?
Keep the clause because the citation format is valid.
Remove or qualify the unsupported clause; provenance is not entailment.
Replace the citation with the highest score.
Treat the clause as supported by the model's training data.
- A ranking without evidence
Q11 returns four high-scoring chunks, but none contains the requested fact. What is the correct conclusion?
The best-ranked chunk is automatically sufficient.
Average the four chunks into an answer.
Refuse within the supplied-corpus boundary; a ranker always orders candidates even when no candidate answers the question.
Declare the question false in the outside world.