Skip to content

Dense Passage Retrieval: Is it Retrieving?

optionalextendedfrontierpaperrubric 8/122024 · ~25 min

Benjamin Reichman, Larry Heck

Status

TL;DR. What does DPR fine-tuning change inside BERT? Linear probes, knowledge-neuron attribution and model editing suggest it adds little new knowledge. Instead it spreads existing facts across more neurons, so that more of them can be reached from a question. A fact removed from pre-trained BERT is usually also lost to the DPR model trained from it.

There are three lenses (§2–4).

  1. Probing. Linear probes on frozen pre-trained BERT vs DPR-BERT pick the positive passage among 2–5 Natural Questions candidates.
  2. Attribution. Knowledge-neuron attribution (Dai et al.) counts the neurons each model uses per fact.
  3. Editing. TransformerPatch, MalMen and MEND overwrite facts in BERT before DPR training, and the authors test whether DPR still finds the passage.

Results. DPR retrievals over 21M Wikipedia passages are more topically focused than those from BERT (Table 2). The editing study (Table 3) is the strongest evidence: DPR makes existing knowledge retrievable rather than adding it. The authors suggest training with more knowledge, injecting decentralised facts, modelling uncertainty, or mapping to a knowledge base.

Questions to think through

These questions have no single right answer. Write or say your answer before you open the hints. Mark a question once you could defend your answer in a reading group.

  1. Mechanism

    Explain the knowledge-removal experiment: what is edited, how is "removed" measured, and why does a high overlap mean DPR cannot retrieve what BERT does not know?

    What a strong answer covers
    • Facts from NQ question-answer pairs are overwritten in pre-trained BERT with false statements, using TransformerPatch, MalMen or MEND.
    • Removal is measured with the section-2 linear probe: if it can no longer pick the right passage, the fact is gone from BERT.
    • Of the facts removed from BERT, 81–100% are also absent after DPR training on the edited model (Table 3).
    • So DPR's ability to match a passage depends on knowledge already in the pre-trained model; fine-tuning does not add it.
  2. Critique

    The linear-probe result (pre-trained BERT probes do about as well as DPR, gap 1.8% with 2 passages) is read as "DPR adds little discriminative knowledge". What else could explain it?

    What a strong answer covers
    • A trained linear probe has supervision of its own; it can extract a signal that the zero-shot dot product of DPR does not need to expose.
    • The task (choose the positive among 2–5 NQ passages) is much easier than ranking 21M passages, where DPR's geometry matters.
    • The gap grows to about 6% as more passages are added, so DPR does add something that scales with difficulty.
    • Editing methods may hide rather than erase a fact, so probe failure is an imperfect test of removal.
  3. Connect

    How does "DPR decentralises knowledge into more pathways" relate to ROME's finding that facts are stored in mid-layer MLPs?

    What a strong answer covers
    • Both treat MLP layers as key-value memories that store facts and find them with attribution or causal tracing.
    • This paper uses the knowledge-neuron attribution of Dai et al. and finds more activated neurons in DPR's intermediate layers than in BERT's.
    • ROME edits one location; if DPR spreads a fact over many neurons, single-location edits should be less effective on DPR.
    • This suggests testing ROME-style tracing directly on retrievers to see how localised a fact is.

Done with this page?

Status