Where's the Indirect Evidence? Investigating Grammatical Generalization with Influence Functions

William Dai, Zhenghao Herbert Zhou, Maya Viswanathan, Robert Frank
10/16/2026
cs.CLcs.LG

No confident code implementation found for this paper.

Abstract

Language models generalize beyond their training corpus to learn linguistic phenomena (Patil et al., 2024; Misra and Mahowald, 2024), showing that there exists indirect evidence driving learning. Prior work has inferred that indirect evidence exists without identifying its character or considered specific hypotheses about what it might be.

Show full abstract

We explore an alternative bottom-up method for identifying indirect evidence. We use influence functions (Koh and Liang, 2017) to measure how individual training sentences affect model predictions in 15 grammatical phenomena from BLiMP (Warstadt et al., 2020). We filter out a phenomenon's direct evidence using hand-constructed rules and take the 60,000 most influential remaining sentences as indirect evidence. This indirect evidence substantially affects learning: retraining without it lowers held-out accuracy more than removing a matched random group for every phenomenon across five models (by a median of 12 points). We characterize the indirect evidence by its similarity to our direct evidence filters: it (partially) meets the filters' structural conditions at a median of 4.7 times the rate of a matched random group. Finally, clustering phenomena by indirect-evidence overlap recovers three of the five BLiMP categories that include multiple phenomena, suggesting that this method can reveal linguistic relationships.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{dai2026wheres,
  title  = {Where's the Indirect Evidence? Investigating Grammatical Generalization with Influence Functions},
  author = {William Dai and Zhenghao Herbert Zhou and Maya Viswanathan and Robert Frank},
  year   = {2026},
  eprint = {2610.22919},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2610.22919v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2610.22919.svg)](https://codeofpaper.com/paper/2610.22919)

Discussion