arXiv:2610.22919cs.CLOct 2026

Manuscript Offprint

arXiv:2610.22919

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

William Dai, Zhenghao Herbert Zhou, Maya Viswanathan, Robert Frank

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

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. 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.

1 Introduction

Language models are capable of learning grammatical phenomena that are rare or even absent in the training data (Patil et al., 2024; Misra and Mahowald, 2024). 1^{1} This fact suggests that they generalize to the unattested forms using indirect evidence: sentences which do not directly contain a phenomenon, but which have properties that are informative about it.

Unlike the input a child receives, the training data of a language model is fully observed and controllable. As a result, the study of language models offers an opportunity to investigate what indirect evidence can drive the learning of a range of phenomena (Warstadt and Bowman, 2022). Patil et al. (2024) individually remove direct evidence for a range of phenomena and show that learning is still possible, establishing that indirect evidence must exist but not what such evidence consists of. Misra and Mahowald (2024) usefully explore the role of particular sources of indirect evidence in the case of the AANN construction. However, their approach can only confirm or disprove specific prior hypotheses about the nature of indirect evidence. It would be useful to understand the nature of indirect evidence in a broad range of cases, and in the absence of specific hypotheses about what data might be relevant for generalization. We would like to be able to determine empirically what features or cues are most relevant for learning a phenomenon.

In order to do this, we propose a bottom-up procedure for identifying indirect evidence (Figure 1). We use influence functions (Koh and Liang, 2017) to evaluate, for a range of grammatical phenomena, how much each training sentence supports a model's preference for the grammatical sentences in BLiMP minimal pairs (Warstadt et al., 2020). We then filter out sentences that constitute direct evidence using hand-constructed rules, and take the remaining sentences that are judged most influential as the relevant indirect evidence. We then test the significance of this evidence for learning each phenomenon by retraining without it. Finally, we characterize the indirect evidence by its lexical and structural similarity to each phenomenon.

This paper makes the following contributions: 2^{2}

1^{1}However, other works find limits on how language models can generalize. For instance, Oba et al. (2024) find weak generalization from linguistic evidence, and generalization fails for some constructions (Lan et al., 2026; Howitt et al., 2024; Zhou et al., 2026).

2^{2}Our code will be made publicly available upon acceptance.

Figure

Shown for one phenomenon and one reference model. We repeat A–C for 15 phenomena and 5 reference models, each trained on the full corpus.

Figure 1: Schematic overview of our methodology, shown for one phenomenon (C-COMMAND) and one reference model. (A) We rank every sentence in the training corpus using influence functions with an attribution objective capturing the model's grammatical preferences in the phenomenon's BLiMP minimal pairs. We filter out the phenomenon's direct evidence and take the 60,000 most influential remaining sentences as indirect evidence. (B) We remove the indirect evidence or an equally sized control group, retrain without the group, and then evaluate on held-out minimal pairs to validate our methodology. (C) We characterize the indirect evidence.

• We give an operational bottom-up definition of indirect evidence for syntactic capability, and apply it to 15 phenomena on five reference models.

• We validate the method through retraining: in all 15 phenomena and all five reference models, removing a phenomenon’s 60,000 indirect evidence sentences lowers held-out accuracy more than removing a matched random group.

• We characterize the indirect evidence. Most of the top 60,000 sentences in the full-corpus influence ranking are indirect evidence. We find that while lexical similarity plays a modest role in establishing a sentence as indirect evidence, structural similarity plays a larger role.

• We recover relationships between grammatical phenomena: the overlap in indirect evidence that we identify for grammatically similar phenomena is twice that of unrelated phenomena. Clustering of shared evidence largely recovers broad BLiMP categories, such as agreement and binding.