paper-with-me

Papers

Inference Time Causal Probing in LLMs

2026-05-08 · Sadegh Khorasani, Saber Salehkaleybar, Negar Kiyavash, Matthias Grossglauser arxiv

Causal probing methods aim to test and control how internal representations influence the behavior of generative models. In causal probing, an intervention modifies hidden states so that a property takes on a different value. Most existing approaches define such interventions by training an auxiliary probe classifier, which ties the method to a specific task or model and risks misalignment with the model's predictive geometry. We propose Hidden-state Driven Margin Intervention (HDMI), a probe-free, gradient-based technique that directly steers hidden states using the model's native output. HDMI applies a margin objective that increases the probability of a target continuation while decreasing that of the source, without relying on probe classifiers. We further introduce a lookahead variant (LA-HDMI) for text editing that backpropagates through the softmax embeddings, modifying the current hidden state so that the likelihood of user-specified tokens increases in next token generations while preserving fluency. To evaluate interventions, we measure completeness (whether the targeted property changes as intended) and selectivity (whether unrelated properties are preserved), and report their harmonic mean as an overall measure of reliability. HDMI consistently achieves higher reliability than prior methods on the LGD agreement corpus and the CausalGym benchmark, across Meta-Llama-3-8B-Instruct, and Pythia-70M.

📄 PDF Abstract BibTeX arXiv:2605.07631

Code (0)

등록된 구현이 없습니다.

Similar Papers 제목 키워드 기반

Probing Causality Manipulation of Large Language Models

2024-08-26 · Chenyang Zhang, Haibo Tong, Bin Zhang, Dongyu Zhang

Large language models (LLMs) have shown various ability on natural language processing, including problems about causality. It is not intuitive for LLMs to command causality, since pretrained models usually work on stati…

In-Context LearningRAGRetrievalRetrieval-augmented Generation+1

Competence-Based Analysis of Language Models

2023-03-01 · Adam Davies, Jize Jiang, ChengXiang Zhai

Despite the recent successes of large, pretrained neural language models (LLMs), comparatively little is known about the representations of linguistic structure they learn during pretraining, which can lead to unexpected…

Models Alignment

Latent Causal Probing: A Formal Perspective on Probing with Causal Models of Data

2024-07-18 · Charles Jin, Martin Rinard

As language models (LMs) deliver increasing performance on a range of NLP tasks, probing classifiers have become an indispensable technique in the effort to better understand their inner workings. A typical setup involve…

Robust Design

Can large language models build causal graphs?

2023-03-07 · Stephanie Long, Tibor Schuster, Alexandre Piché

Building causal graphs can be a laborious process. To ensure all relevant causal pathways have been captured, researchers often have to discuss with clinicians and experts while also reviewing extensive relevant medical …

From Human Cognition to Neural Activations: Probing the Computational Primitives of Spatial Reasoning in LLMs

2026-03-27 · Jiyuan An, Liner Yang, Mengyan Wang, Luming Lu 외 arxiv

As spatial intelligence becomes an increasingly important capability for foundation models, it remains unclear whether large language models' (LLMs) performance on spatial reasoning benchmarks reflects structured interna…

Spatial Reasoning