Skip to content

Sarah Wiegreffe — Demystifying the Inner Workings of Language Models

optionalextendedfrontiertalkrubric 8/122025 · UPenn ASSET seminar, Feb 19 2025 (as an Ai2 postdoc). Now Assistant Professor, University of Maryland · ~60 min

Sarah Wiegreffe

Status

What this recording is. A seminar recording: the UPenn ASSET event page links this exact Google Drive video. That verifies the seminar, not that it was a faculty job talk. The video has no chapters. The questions at the end are preparation on the linked papers, not a claim that every paper appeared in this seminar. A later version, “Interpretability as the Inverse Machine Learning Pipeline” (UMD, Nov 2025), reframes the same program: behavior → internals → training dynamics → training-data attribution.

  • Three-part promise: scientific understanding → targeted improvements → trustworthy explanations. Each part answers “why should non-interpretability people care?”
  • Reframe as the program matures: the later UMD version turns the same work into a pipeline (behavior → internals → training dynamics → training-data attribution), a reusable spine for future students.
  • Pair each analysis with a use: show that a finding changed a model or an explanation, not only that it describes one.

Technical preparation (from the papers, not the recording)

Section titled “Technical preparation (from the papers, not the recording)”

Faithfulness, briefly. A rationale is faithful if it reflects the process that produced the model’s decision, not merely if it sounds plausible. For models that output a label and a free-text rationale together, Measuring Association Between Labels and Free-Text Rationales proposes a necessary condition, label–rationale association, and two tests for it. Robustness equivalence: perturb the input with noise and check that label and rationale become unstable together. Feature importance agreement: remove the input features most important for the label and check that the rationale degrades too. Passing both shows shared dependence on the input, not that the rationale explains the decision. Related notes: Attention is not Explanation, activation patching (used in the multiple-choice paper) and chain-of-thought faithfulness.

Measuring Association Between Labels and Free-Text Rationales · Answer, Assemble, Ace: How LMs Answer Multiple Choice Questions

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

    Wiegreffe's work proposes measurable properties for faithful free-text rationales: robustness equivalence (noise that leaves the label unchanged should also leave the rationale unchanged, and vice versa) and feature importance agreement (inputs important for the label should also be important for the rationale). Explain the mechanism each property tests, why passing both is necessary but not sufficient for faithfulness, and why the older "rationale alone predicts the label" test is weak.

    What a strong answer covers
    • Robustness equivalence: add Gaussian noise to the input representations at increasing σ and check that label and rationale become unstable together. Four cases (both stable, both unstable, one without the other); the mixed cases are evidence against a shared process.
    • Feature importance agreement: compute gradient attributions for label and rationale and remove the top features (ROAR-style). Removing tokens important for the label should hurt the rationale too.
    • Necessary, not sufficient: both show label and rationale depend on the input the same way, which a jointly trained model can satisfy through shared features without the rationale causing or describing the label decision.
    • Pipeline sufficiency is weak: on CoS-E, a model given input plus rationale predicts the label 5–12% better than one given the rationale alone, so the rationale is not sufficient. Even a sufficient rationale could be a post-hoc justification.
  2. Design

    An LLM listwise reranker that sees passages labelled [1], [2], [3] seems to favour certain identifiers regardless of content. Adapt the tools Wiegreffe and colleagues used to find how models answer multiple-choice questions to locate where in the network this bias arises and to test a fix.

    What a strong answer covers
    • Their MCQA analysis used activation patching and vocabulary projection. A few middle layers, through specific attention heads, select the answer symbol. With unusual symbols (Q/Z/R/X), models first prefer A/B/C/D and switch to the given symbols in later layers.
    • Adaptation: permute passage order and identifier labels on fixed query-passage sets, and patch activations from a run with a different labelling to find layers and heads whose patching moves the chosen identifier.
    • Use vocabulary projection of intermediate states to see when the model commits to an identifier, and whether a bias toward low numbers appears before content-dependent layers.
    • Test a fix (randomised labels, ensembling over permutations, or editing the identified heads) by measuring position or label bias and nDCG on held-out queries.
  3. Research idea

    Search agents write answers with citations and often explain why a source was chosen. Propose a project measuring whether those explanations and citations are faithful to the agent's actual decision process, building on the free-text rationale faithfulness ideas. Give the hypothesis, the minimal experiment, and the falsifier.

    What a strong answer covers
    • Hypothesis example: stated reasons for choosing sources fail robustness equivalence. Perturbations that change which documents the agent picks often leave its explanation unchanged, or the reverse.
    • Experiment: fixed retrieval corpus and queries; counterfactually remove or edit the cited document, perturb non-cited documents, and record the changes in decision, answer and explanation.
    • Metrics: agreement between explanation changes and decision changes; whether claims change when their cited source is removed.
    • Falsified if explanation and decision change together on almost all perturbations, matching a reference model judged faithful.

Done with this page?

Status