← Search

Shauli Ravfogel

23 accepted papers

2026

From Directions to Regions: Decomposing Activations in Language Models via Local Geometry

ICML 2026poster

Activation decomposition methods in language models are tightly coupled to geometric assumptions on how concepts are realized in activation space. Existing approaches search for individual global directions, implicitly assuming linear separability, which overlooks concepts with nonlinear or multi-di…

Cited by 0SourceScholar
2026

Sufficiency is Relative: Evaluating LLM Explanations under Model-Induced Input Distributions

ICML 2026poster

Large language models (LLMs) are increasingly deployed in high-stakes domains, where free-text explanations such as chain-of-thought and post-hoc rationales are used to justify model outputs. Yet it remains unclear whether these explanations are _sufficient_, i.e., if they contain enough information…

Cited by 0SourceScholar
2025

A Practical Method for Generating String Counterfactuals

NAACL 2025findings

Interventions targeting the representation space of language models (LMs) have emerged as an effective means to influence model behavior. Such methods are employed, for example, to eliminate or alter the encoding of demographic information such as gender within the model’s representations and, in so…

2025

Emergence of Linear Truth Encodings in Language Models

NeurIPS 2025poster

Recent probing studies reveal that large language models exhibit linear subspaces that separate true from false statements, yet the mechanism behind their emergence is unclear. We introduce a transparent, one-layer transformer toy model that reproduces such truth subspaces end-to-end and exposes one…

Cited by 0SourceScholar
2025

Gumbel Counterfactual Generation From Language Models

ICLR 2025poster

Understanding and manipulating the causal generation mechanisms in language models is essential for controlling their behavior. Previous work has primarily relied on techniques such as representation surgery---e.g., model ablations or manipulation of linear subspaces tied to specific concepts---to i…

2025

Intrinsic Test of Unlearning Using Parametric Knowledge Traces

EMNLP 2025

The task of “unlearning” certain concepts in large language models (LLMs) has gained attention for its role in mitigating harmful, private, or incorrect outputs. Current evaluations mostly rely on behavioral tests, without monitoring residual knowledge in model parameters, which can be adversarially

2025

The Medium Is Not the Message: Deconfounding Document Embeddings via Linear Concept Erasure

EMNLP 2025

Embedding-based similarity metrics between text sequences can be influenced not just by the content dimensions we most care about, but can also be biased by spurious attributes like the text’s source or language. These document confounders cause problems for many applications, but especially those t

Cited by 0SourcePDFScholar
2024

Language Concept Erasure for Language-invariant Dense Retrieval

EMNLP 2024main

Multilingual models aim for language-invariant representations but still prominently encode language identity. This, along with the scarcity of high-quality parallel retrieval data, limits their performance in retrieval. We introduce LANCER, a multi-task learning framework that improves language-inv…

Cited by 1SourcePDFScholar
2024

On Affine Homotopy between Language Encoders

NeurIPS 2024poster

Pre-trained language encoders---functions that represent text as vectors---are an integral component of many NLP tasks. We tackle a natural question in language encoder analysis: What does it mean for two encoders to be similar? We contend that a faithful measure of similarity needs to be \e…

Cited by 0SourcePDFScholar
2024

Representation Surgery: Theory and Practice of Affine Steering

ICML 2024poster

Language models often exhibit undesirable behavior, e.g., generating toxic or gender-biased text. In the case of neural language models, an encoding of the undesirable behavior is often present in the model's representations. Thus, one natural (and common) approach to prevent the model from exhibiti…

2023

Few-shot Fine-tuning vs. In-context Learning: A Fair Comparison and Evaluation

ACL 2023findings

Few-shot fine-tuning and in-context learning are two alternative strategies for task adaptation of pre-trained language models. Recently, in-context learning has gained popularity over fine-tuning due to its simplicity and improved out-of-domain generalization, and because extensive evidence shows t…

2023

Guiding LLM to Fool Itself: Automatically Manipulating Machine Reading Comprehension Shortcut Triggers

EMNLP 2023short findings

Recent applications of LLMs in Machine Reading Comprehension (MRC) systems have shown impressive results, but the use of shortcuts, mechanisms triggered by features spuriously correlated to the true label, has emerged as a potential threat to their reliability. We analyze the problem from two angles…

Cited by 0SourcecodeScholar
2023

LEACE: Perfect linear concept erasure in closed form

NeurIPS 2023poster

Concept erasure aims to remove specified features from a representation. It can improve fairness (e.g. preventing a classifier from using gender or race) and interpretability (e.g. removing a concept to observe changes in model behavior). We introduce LEAst-squares Concept Erasure (LEACE), a closed-…

2023

Linguistic Binding in Diffusion Models: Enhancing Attribute Correspondence through Attention Map Alignment

NeurIPS 2023oral

Text-conditioned image generation models often generate incorrect associations between entities and their visual attributes. This reflects an impaired mapping between linguistic binding of entities and modifiers in the prompt and visual binding of the corresponding elements in the generated image. A…

2023

The Curious Case of Hallucinatory (Un)answerability: Finding Truths in the Hidden States of Over-Confident Large Language Models

EMNLP 2023long main

Large language models (LLMs) have been shown to possess impressive capabilities, while also raising crucial concerns about the faithfulness of their responses. A primary issue arising in this context is the management of (un)answerable queries by LLMs, which often results in hallucinatory behavior…

Cited by 0SourcecodeScholar
2022

BitFit: Simple Parameter-efficient Fine-tuning for Transformer-based Masked Language-models

ACL 2022short

We introduce BitFit, a sparse-finetuning method where only the bias-terms of the model (or a subset of them) are being modified. We show that with small-to-medium training data, applying BitFit on pre-trained BERT models is competitive with (and sometimes better than) fine-tuning the entire model. F…

2021

Contrastive Explanations for Model Interpretability

EMNLP 2021main

Contrastive explanations clarify why an event occurred in contrast to another. They are inherently intuitive to humans to both produce and comprehend. We propose a method to produce contrastive explanations in the latent space, via a projection of the input representation, such that only the feature…