TL;DR
While causal interpretability in large language models (LLMs) has largely focused on discrete, binary features, human language often relies on continuous, context-dependent properties like verb bias. This paper introduces a method combining principal component analysis (PCA) with beta regression to isolate continuous feature subspaces within "function vectors." By continuously shifting this subspace, the authors causally alter how LLMs generate alternative syntactic structures, demonstrating that structural priming and in-context learning share an underlying representational mechanism.
What Problem Does This Paper Address?
Most causal intervention techniques in LLMs investigate discrete, local morphosyntactic features (such as singular vs. plural subject agreement or case marking). However, human linguistic knowledge and processing are inherently graded and continuous.
The authors tackle verb bias—the continuous gradient preference of a ditransitive verb to appear in one of two semantically equivalent structures:
- Double Object (DO): "give [the child] [the ball]"
- Prepositional Dative (PD): "give [the ball] [to the child]"
Because verbs vary continuously in their structural preference, and this preference directly influences structural priming (the tendency to repeat recently encountered syntactic frames), verb bias provides an ideal testbed for extending mechanistic interpretability from discrete tokens to continuous syntactic variables.
Methods
The authors build on the concept of function vectors (FVs)—compact representations of in-context learning (ICL) extracted from hidden activations—and combine them with psycholinguistic probing:
- Simulating Priming via Function Vectors: The authors treat structural priming as an implicit ICL task ("repeat the syntactic structure from context"). Sequences containing 10 prime sentences with a specific verb $V$ and structure $S$ followed by a target sentence are processed by the model. Hidden states at each layer and token position are extracted and averaged across sequences to form $FV_{i,\langle V,S \rangle}^l$.
- Localizing the Continuous Verb-Bias Subspace:
- 50 function vectors per verb and structure are extracted at the most effective layer (Verb position).
- Dimensionality is reduced to 50 principal components (PCs) via PCA.
- A beta regression predicts each verb's continuous PD-bias from these PCs.
- Significant components ($p < 0.001$) are ranked by $\sqrt{\lambda_i} |\beta_i|$ (where $\lambda_i$ is explained variance and $\beta_i$ is the regression coefficient), yielding a 1D non-basis-aligned subspace encoding verb bias ($PC^*$).
- Continuous Causal Manipulation: The authors construct counterfactual function vectors by shifting activation along $PC^*$ using a scaling factor $\Delta^* = c \frac{L - L'}{\beta^*}$ under four conditions:
- Unchange: Original baseline bias.
- Flip: Inverting verb bias $\alpha \to 1 - \alpha$.
- Fully Biased (DO or PD): Saturating bias to 0 or 1.
Datasets
- Core Dative PRIME-LM Corpus (Adapted): Sourced from Sinclair et al. (2022) and Zhou et al. (2025). It comprises 22 ditransitive verbs and 23,100 synthetically generated sentences across both DO and PD frames, with content words varied to avoid lexical repetition (except for the target verb) and counterbalanced function words.
- Models Evaluated: The Llama family, specifically Llama-2-13B, Llama-3-1B, and Llama-3-8B (with detailed figures presented on Llama-3-1B).
Key Insights and Ideas
- Priming Emerges at Intermediate Layers: Injecting function vectors yields the strongest structural priming effects at middle layers (layers 7–9), specifically at token positions spanning the verb to the preposition—the exact syntactic region that distinguishes DO from PD frames.
- A Single Dimension Controls Gradient Bias: Rather than requiring complex non-linear steering, a 1D continuous subspace discovered through PCA and beta regression is sufficient to causally modulate the model's structural bias.
- ICL and Priming Share Internal Machinery: Because function vectors (originally developed as an interpretability signature of in-context learning) effectively capture and modulate structural priming, the findings provide mechanistic evidence that structural persistence in LLMs is driven by general in-context learning pathways.
Key Results
- Inducing Priming: Adding the function vector to original hidden representations significantly increases target sentence probabilities ($\text{PE}_{FV} > 0$). When injecting vectors of the matching structure, priming was significantly larger ($\text{PE}_{FV_{PD}} > \text{PE}_{FV_{DO}}$ on PD targets), especially at intermediate layers (layers 7 to 15).
- Causal Intervention on Continuous Bias:
- In the Unchange condition, priming magnitude positively correlated with the verb's natural PD-bias.
- In the Flip condition, the correlation slope inverted cleanly from positive to negative, demonstrating fine-grained control over downstream generation.
- In the Fully Biased conditions (forcing bias to 0 or 1), the regression slopes flattened completely, confirming that existing differences between verbs were successfully neutralized.
Limitations and Future Work
- Scope of Linguistic Phenomenon: The study focuses exclusively on ditransitive alternation (DO vs. PD) in English; the authors note that whether this method generalizes to other gradient syntactic or semantic phenomena remains to be shown.
- Model Family: Experiments were confined to the Llama architecture family.
- Future Directions: Applying the PCA + beta regression framework to other continuous linguistic variables and testing whether similar gradient subspaces exist across non-syntactic tasks in neural networks.
Summary updated