arXiv:2609.06879cs.CLSep 2026

Manuscript Offprint

arXiv:2609.06879

AutoLexSteer: Automatic Contrast Construction for Lexical Activation Steering

Shuhe Wang, Lachlan Cowley, Eduard Hovy, Jey Han Lau

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Abstract

Steering vectors have rapidly emerged as a popular and effective method for guiding the output of LLMs in very specific ways. But constructing accurate steering vectors is a difficult manual process due to the opacity of embeddings. We introduce Hangman, a novel type of steering vector that operates using word senses, as well as AutoLexSteer, the first fully automated process for building steering vectors. AutoLexSteer employs families of closely-related words extracted from WordNet to specify both the steering source to be avoided and the desired steering target. The steering vectors are quite precise, can be used to steer at the level of words and sets of word senses (meanings), and are able to steer certain LLM behaviors like sycophancy. The dataset and code can be found at https://github.com/ShuheWang1998/autolexsteer.

1 Introduction

Activation steering (Rimsky et al., 2024; Konen et al., 2024; Venhoff et al., 2025) has emerged as a method within mechanistic interpretability (Geva et al., 2023; Zou et al., 2023; Geiger et al., 2024; Bereska and Gavves, 2024; Sharkey et al., 2025) for controlling LLM output in specific directions.

A steering vector (SV) is an embedding that, added to the model's hidden state as it generates, biases it away from one continuation (the source) toward another (the target). Ideally an SV is precise in both directions: it fires on the intended source meaning but not on others, and delivers the intended target meaning but not others. SVs are therefore useful both for suppressing undesirable output and for probing how meaning is organized inside the model.

The standard recipe builds an SV from two sets of closely matched prompts: negative prompts that elicit the undesired output and positive prompts that elicit the desired one, and takes the difference

between their mean hidden representations (Rimsky et al., 2024; Konen et al., 2024; Venhoff et al., 2025). Commonly, writing those two sets is a manual, per-concept effort, and for lexical targets it is not always clear what to write. For a behavioral concept the contrast is natural, since a single query admits both a response that expresses the behavior (e.g., refusal) and one that does not; for a word such as BANK there is no equally natural pair of responses to contrast. A second difficulty is precision. An SV that is too loosely specified also fires outside its intended range, for example a sentence about a collection of personal treasures should not trigger TREASURY→BANK, and we call such unwanted side-effects damage.

To address the above issues, we introduce AutoLexSteer, a fully automated framework that constructs contrastive prompts, and SVs. Its contrast format is inspired by the word game “Hangman”: rather than a pair of responses, each side of the contrast is a list of association clues that evokes a word without naming it. For instance, to steer TREASURY→BANK, the positive prompt asks the model to guess a word from [money, finance, teller, account] and the negative prompt from [money, finance, bonds, reserve]; Figure 1 gives further examples. The two lists share clues that both words fit (money, finance), which pins the contrast to a single semantic neighborhood, and differ in the clues diagnostic of each word (teller for BANK, bonds for TREASURY), which is what we expect the difference vector to pick up. Because the clues are generated and filtered by an LLM from source words retrieved from WordNet (Pedersen et al., 2004), the pipeline needs no manual authoring and can be applied to arbitrary word pairs.

To evaluate steering performance we use an LLM judge to assess how well an SV shifts a sentence completion from the source word to the target word, and perplexity (PPL) to quantify the damage it causes on text unrelated to either. We

Hangman Contrastive Pairs
Each pair feeds the model a short Hangman prompt, phrased differently across the three examples, and contrasts the target (positive) against the source (negative) guess (⇒). Shared clue words are common words for both source and target, while distinct clue words are unique.
(a) TREASURY → BANKPrompt: “Guess the word from these clues:”Pos: money, finance, teller, account ⇒ BANKNeg: money, finance, bonds, reserve ⇒ TREASURY
(b) HOSPITAL → CLINICPrompt: “Which single word do these point to?”Pos: doctor, patient, outpatient, checkup ⇒ CLINICNeg: doctor, patient, emergency, ward ⇒ HOSPITAL
(c) SHAME → GUILTPrompt: “I’m thinking of a word; the clues are”Pos: wrongdoing, regret, offense, confess ⇒ GUILTNeg: wrongdoing, regret, exposed, blush ⇒ SHAME

Figure 1: Three example Hangman-style prompt pairs: BANK, CLINIC and GUILT. Each example uses a prompt to elicit the guessed word (⇒); within a pair the matched clues are shared while the diagnostic clues differ. The steering vector is the difference between the mean hidden states of the positive (target) and negative (source) prompts.

find that Hangman vectors steer reliably and cause relatively little damage, which is consistent with a word sense occupying a fairly stable direction across the contexts it appears in. Moving beyond a single source word, we then ask whether we can steer from a set of source words ({TREASURY, LENDER, BROKERAGE}) to one target (BANK). Averaging the individual SV gives a “super” vector that does so, and more interestingly, one that also steers related words never used in its construction (MORTGAGE→BANK), which would be consistent with some overlap in how semantically related senses are represented. Finally, in a smaller set of experiments we find that the same Hangman contrast can steer model behaviors (e.g., sycophantic→honest).

Overall, our contributions are:

  • The Hangman contrast format, which builds steering vectors at the level of word senses from association-clue lists, and applies to single source words, to sets of them, and to unseen members of a set.

  • AutoLexSteer, an automatic pipeline for constructing Hangman-style steering vectors by pairing each target with automatically deter-

mined semantically related words from WordNet. AutoLexSteer covers related-word retrieval, contrastive pair generation, filtering, vector construction, and evaluation.

  • An extension showing that the same Hangman-style framework, with a manual related-word fix, applies also to LLM behaviors such as refusal and anti-sycophancy.

References (1)