Probe-Free Low-Rank Activation Intervention

Fuente: arXiv
Salvato in:
Dettagli Bibliografici
Autori principali: Jiang, Chonghe, Nguyen, Bao, So, Anthony Man-Cho, Nguyen, Viet Anh
Natura: Preprint
Pubblicazione: 2025
Soggetti:
Accesso online:
Tags: Aggiungi Tag
Nessun Tag, puoi essere il primo ad aggiungerne!!
_version_ 1866915141526749184
author Jiang, Chonghe
Nguyen, Bao
So, Anthony Man-Cho
Nguyen, Viet Anh
author_facet Jiang, Chonghe
Nguyen, Bao
So, Anthony Man-Cho
Nguyen, Viet Anh
contents Language models (LMs) can produce texts that appear accurate and coherent but contain untruthful or toxic content. Inference-time interventions that edit the hidden activations have shown promising results in steering the LMs towards desirable generations. Existing activation intervention methods often comprise an activation probe to detect undesirable generation, triggering the activation modification to steer subsequent generation. This paper proposes a probe-free intervention method FLORAIN for all attention heads in a specific activation layer. It eliminates the need to train classifiers for probing purposes. The intervention function is parametrized by a sample-wise nonlinear low-rank mapping, which is trained by minimizing the distance between the modified activations and their projection onto the manifold of desirable content. Under specific constructions of the manifold and projection distance, we show that the intervention strategy can be computed efficiently by solving a smooth optimization problem. The empirical results, benchmarked on multiple base models, demonstrate that FLORAIN consistently outperforms several baseline methods in enhancing model truthfulness and quality across generation and multiple-choice tasks.
format Preprint
id arxiv_https___arxiv_org_abs_2502_04043
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle Probe-Free Low-Rank Activation Intervention
Jiang, Chonghe
Nguyen, Bao
So, Anthony Man-Cho
Nguyen, Viet Anh
Machine Learning
Artificial Intelligence
Language models (LMs) can produce texts that appear accurate and coherent but contain untruthful or toxic content. Inference-time interventions that edit the hidden activations have shown promising results in steering the LMs towards desirable generations. Existing activation intervention methods often comprise an activation probe to detect undesirable generation, triggering the activation modification to steer subsequent generation. This paper proposes a probe-free intervention method FLORAIN for all attention heads in a specific activation layer. It eliminates the need to train classifiers for probing purposes. The intervention function is parametrized by a sample-wise nonlinear low-rank mapping, which is trained by minimizing the distance between the modified activations and their projection onto the manifold of desirable content. Under specific constructions of the manifold and projection distance, we show that the intervention strategy can be computed efficiently by solving a smooth optimization problem. The empirical results, benchmarked on multiple base models, demonstrate that FLORAIN consistently outperforms several baseline methods in enhancing model truthfulness and quality across generation and multiple-choice tasks.
title Probe-Free Low-Rank Activation Intervention
topic Machine Learning
Artificial Intelligence
url https://arxiv.org/abs/2502.04043