Causal Interventions on Continuous Variables: A Case Study on Verb Bias in Steering Vectors for In-Context Learning

TL;DR

Proposed a causal intervention method for continuous variables, applied to verb bias, validating its role in in-context learning.

cs.CL 🔴 Advanced 2026-05-28 35 views
Zhenghao Herbert Zhou R. Thomas McCoy Robert Frank
causal intervention continuous variables verb bias in-context learning language models

Key Findings

Methodology

The paper introduces a causal intervention method for continuous variables. By identifying a low-dimensional direction in activation vectors, counterfactual editing is performed to adjust target values. This method is applied to the well-studied psycholinguistic feature of verb bias, demonstrating its causal role in large language models.

Key Results

  • Experiments show that counterfactual edits to verb bias systematically shift model structural preferences, validating the causal role of verb bias in steering vectors.
  • In in-context learning, error signals encoded in steering vectors are not causally used in downstream production.
  • Causal intervention on verb bias is effective in mid-to-late layers, but not in early layers.

Significance

This research demonstrates that causal interventions can be applied to continuous variables, extending the applicability of causal interpretability methods. By studying verb bias, it reveals underlying structural preference mechanisms in language models and provides new insights into error-driven updates in in-context learning.

Technical Contribution

The paper provides a novel method extending causal interventions to continuous variables, distinct from previous studies focused on discrete features. By causally editing verb bias, it uncovers implicit structural preference mechanisms in language models.

Novelty

This is the first application of causal intervention to continuous variables, specifically verb bias, demonstrating its causal role in language models, contrasting sharply with previous studies on discrete features.

Limitations

  • The current method faces challenges in connecting continuous variables with in-context learning, failing to fully capture the error-driven update process.
  • Steering vectors do not reproduce the complete error-driven behavior.

Future Work

Future research could explore more complex methods for continuous variable intervention and better integration with in-context learning to further uncover internal mechanisms of language models.

AI Executive Summary

In the field of natural language processing, causal intervention methods have typically been applied to discrete features. However, language models also need to handle continuous features. This paper introduces a novel causal intervention method focusing on the continuous variable of verb bias. By identifying a low-dimensional direction in activation vectors, researchers can perform counterfactual editing to validate the causal role of verb bias in large language models.

Experimental results show that counterfactual edits to verb bias lead to systematic changes in model structural preferences. This finding indicates that verb bias has a causal role in steering vectors. Additionally, the study finds that error signals encoded in steering vectors are not causally used in downstream production, suggesting that while steering vectors can simulate some aspects of structural priming, they do not fully capture the error-driven update process in in-context learning.

This research not only extends the applicability of causal interpretability methods but also provides new insights into structural preference mechanisms in language models. However, connecting continuous variables with in-context learning remains a challenge, and future research needs to explore more complex intervention methods.

Deep Analysis

Background

Causal interpretability methods have shown great potential in identifying internal representations and processing mechanisms in neural networks. Previous studies have focused on discrete features, such as grammatical number and nominal case. However, language models also need to handle continuous features, such as verb bias, which has been extensively studied in psycholinguistics.

Core Problem

Language models need to handle continuous features, but existing causal intervention methods mainly target discrete features. How to perform causal intervention on continuous variables to reveal their role in language models is an important and challenging problem.

Innovation

This paper is the first to apply causal intervention to continuous variables, proposing a method to identify low-dimensional directions in activation vectors for counterfactual editing of target values. This innovation provides a new tool for studying continuous features in language models.

Methodology

  • �� Identify low-dimensional directions in activation vectors
  • �� Perform counterfactual editing to adjust target values
  • �� Apply to verb bias to validate causal role
  • �� Verify changes in model structural preferences through experiments

Experiments

Using datasets from Zhou et al., containing 22 verbs and 23,100 sentences. Steering vectors are extracted to validate the causal role of verb bias. Experiments are conducted across different layers to observe the impact of layer depth on results.

Results

Experiments show that causal intervention on verb bias is effective in mid-to-late layers, but not in early layers. Counterfactual edits lead to systematic changes in model structural preferences, validating the causal role of verb bias.

Applications

The method can be used to study continuous features in language models, revealing internal mechanisms. It has significant implications for psycholinguistics and natural language processing.

Limitations & Outlook

The current method faces challenges in connecting continuous variables with in-context learning. Steering vectors do not reproduce the complete error-driven behavior, and future research needs to explore more complex intervention methods.

Plain Language Accessible to non-experts

Imagine you're cooking in a kitchen. Each ingredient has a different flavor preference, like how certain spices are better suited for specific dishes. Our research is like adjusting the amount of these spices to see how they affect the final taste of the dish. Through this method, we can better understand the role of each spice in the dish, similar to how we understand the role of verb bias in language models.

ELI14 Explained like you're 14

Imagine you're playing a game with lots of characters, each with their own preferences. Our research is like adjusting these character preferences to see how they affect the game's outcome. This way, we can better understand each character's role in the game, just like we study verb bias in language models.

Glossary

Causal Intervention

Manipulating variables to observe their effects on a system, revealing causal relationships.

Used to study the causal role of verb bias in language models.

Verb Bias

The degree of preference a verb has for different syntactic structures, typically a continuous variable.

Studied to validate its causal role in language models.

Steering Vector

Vectors extracted from context to simulate task-dependent behavioral changes.

Used to validate the causal role of verb bias.

Counterfactual Editing

Adjusting variable values to simulate different scenarios and observe effects.

Used to adjust verb bias and observe its impact on model behavior.

In-Context Learning

The ability of a model to adapt to new tasks in context without parameter updates.

Studying the relationship between verb bias and in-context learning.

Open Questions Unanswered questions from this research

  • 1 How to better integrate continuous variables with in-context learning remains to be further studied.
  • 2 Steering vectors fail to fully capture the error-driven update process, requiring exploration of more complex methods.

Applications

Immediate Applications

Language Model Optimization

Optimize model structural preferences through causal intervention, enhancing performance in natural language processing tasks.

Long-term Vision

Psycholinguistic Research

Reveal structural preference mechanisms in language models, providing new perspectives for psycholinguistic research.

Abstract

Causal interventions in language model representations have largely targeted discrete features, like grammatical number. However, language models must also make use of features that are graded. We introduce a method for causal intervention on continuous variables: given activation vectors paired with a graded target variable, we localize a low-dimensional direction for that variable and use this direction to edit a vectors toward counterfactual target values. We apply this method to a continuous feature that is well-studied in psycholinguistics, namely verb bias (which reflects which syntactic structures tend to follow a given verb). We show that verb bias is causally represented in steering vectors extracted from large language models: counterfactual edits to verb bias systematically shift downstream structural preferences. Verb bias has also previously been linked to in-context learning; in further analyses, we find that steering vectors encode error signals that could drive the error-driven update behavior seen in in-context learning but that these aspects of the steering vectors are not causally used in downstream production. Overall, these results show causal interventions can be applied to continuous variables, though connecting continuous variables to in-context learning remains a challenge.

cs.CL