Papers › Efficient and accurate steering of Large Language Models through attention-guided...

Efficient and accurate steering of Large Language Models through attention-guided feature learning

30 Jan 2026arXiv:2602.00333added by Syntology

Parmida Davarmanesh, Ashia Wilson, Adityanarayanan Radhakrishnan

Title, abstract, authors and date from arXiv's metadata (CC0); this paper is not in the Papers with Code archive (frozen 2025-07-28).

Steering, or direct manipulation of internal activations to guide LLM responses toward specific semantic concepts, is emerging as a promising avenue for both understanding how semantic concepts are stored within LLMs and advancing LLM capabilities. Yet, existing steering methods are remarkably brittle, with seemingly non-steerable concepts becoming completely steerable based on subtle algorithmic choices in how concept-related features are extracted. In this work, we introduce an attention-guided steering framework that overcomes three core challenges associated with steering: (1) automatic selection of relevant token embeddings for extracting concept-related features; (2) accounting for heterogeneity of concept-related features across LLM activations; and (3) identification of layers most relevant for steering. Across a steering benchmark of 512 semantic concepts, our framework substantially improved steering over previous state-of-the-art (nearly doubling the number of successfully steered concepts) across model architectures and sizes (up to 70 billion parameter models). Furthermore, we use our framework to shed light on the distribution of concept-specific features across LLM layers. Overall, our framework opens further avenues for developing efficient, highly-scalable fine-tuning algorithms for industry-scale LLMs.

PaperPDFCode Syntology ran

In Syntology Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.

For agents, Syntology's MCP tool lists every function and class Syntology harvested from this paper and whether it ran (how to connect): get_harvested_code_for_paper(arxiv_id="2602.00333")

Code

Syntology Ran 0 of 14 code samples harvested from 1 repository linked to this paper; 14 have no recorded run.

By repository: found in paper text by Syntology: 14 samples from 1 repository, 0 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

pdavar/attention_guided_steering found in paper text by Syntology report

Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

Code Syntology ran Syntology

14 samples harvested; 0 ran; 0 honoured the contract we drafted; 14 have no recorded run. Read from Syntology's graph 2026-09-24; that is when this build read the record, not when the samples ran.

14unverified

Licence: 14 of the 14 samples are pointer only, meaning Syntology does not serve that copy's text. This page shows no code text for any sample; each one links to its file in the repository.

Harvested from pdavar/attention_guided_steering. “Ran” means the sample executed on a synthesized input. It does not mean the output is correct, and nothing here reproduces the paper's results. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself; “our draft was wrong” and “fixture could not drive it” are failures of Syntology's instrument, not of the code.

Each sample ends with its code_sha256, Syntology's identity for that exact code. An agent fetches the stored sample with Syntology's MCP tool get_code(code_sha256="…") (how to connect); click an identity to copy that call.

Repository labels, per sample. official repository: The archive marks this repository official for the paper. named in the paper: The archive records that the paper mentions this repository; it is not marked official. community (archive-listed): In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper. found in paper text by Syntology: Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted. community: Not in the archive's code links for this paper; a community repository Syntology harvested. Samples from a repository marked official are listed first. Licence labels name the repository's licence as recorded at harvest. “Pointer only” means Syntology does not serve that copy's text, for one of four reasons: no licence file was found; the licence was not identified; the licence is recorded as permissive but that copy's record is not marked cleared; or the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar). Some licences outside that list permit redistribution, such as WTFPL, and GPL-3.0 under its conditions; they are simply not on the list. Hover a licence label for the reason. File links open the file on GitHub at the default branch, which may have changed since the harvest.

euclidean_distances_M_2 pdavar/attention_guided_steering/rfm.py found in paper text by Syntology unverified no licence file found · pointer only · 262ae9648ea39b85 · report
fears_dataset_paired pdavar/attention_guided_steering/datasets.py found in paper text by Syntology unverified no licence file found · pointer only · 4180eb70e66a9fd2 · report
generate_on_text pdavar/attention_guided_steering/generation_utils.py found in paper text by Syntology unverified no licence file found · pointer only · b9e45af5e992c282 · report
generate_on_text_with_attn pdavar/attention_guided_steering/generation_utils.py found in paper text by Syntology unverified no licence file found · pointer only · 1471c86bd9c44663 · report
get_hidden_states_and_attns pdavar/attention_guided_steering/direction_utils.py found in paper text by Syntology unverified no licence file found · pointer only · 381afa5a5a166ee1 · report
get_prefix_attn_sum_for_layer_lastN pdavar/attention_guided_steering/direction_utils.py found in paper text by Syntology unverified no licence file found · pointer only · d83ae6402143e959 · report
get_prefix_attn_sum_for_layer_singletoken pdavar/attention_guided_steering/direction_utils.py found in paper text by Syntology unverified no licence file found · pointer only · 0fe18c53664a2dfd · report
get_userprompt_start pdavar/attention_guided_steering/generation_utils.py found in paper text by Syntology unverified no licence file found · pointer only · c94e1640cdcc4621 · report
jailbreaking_dataset pdavar/attention_guided_steering/datasets.py found in paper text by Syntology unverified no licence file found · pointer only · c37898947e173254 · report
jailbreaking_dataset_paired pdavar/attention_guided_steering/datasets.py found in paper text by Syntology unverified no licence file found · pointer only · 9baa7adbc7a595e9 · report
laplacian_M_2 pdavar/attention_guided_steering/rfm.py found in paper text by Syntology unverified no licence file found · pointer only · 88ba8186492f0a3a · report
laplacian_M_3 pdavar/attention_guided_steering/rfm.py found in paper text by Syntology unverified no licence file found · pointer only · 50d7f5a95721461b · report
minmax_normalize pdavar/attention_guided_steering/control_toolkits.py found in paper text by Syntology unverified no licence file found · pointer only · 77f7e913fab304f1 · report
split_indices pdavar/attention_guided_steering/control_toolkits.py found in paper text by Syntology unverified no licence file found · pointer only · a42bbfb14a05ac2f · report

Results from the paper

The Papers with Code archive ends with its 2025-07-28 snapshot. This paper's arXiv identifier, 2602.00333, was issued in February 2026, after that date, so the archive has no leaderboard rows for it.

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections