CogSteer: Cognition-Inspired Selective Layer Intervention for Efficiently Steering Large Language Models

Large Language Models (LLMs) achieve remarkable performance through pretraining on extensive data.This enables efficient adaptation to diverse downstream tasks.However, the lack of interpretability in their underlying mechanisms limits the ability to effectively steer LLMs for specific applications.In this work, we investigate the intrinsic mechanisms of LLMs from a cognitive perspective using eye movement measures.Specifically, we analyze the layer-wise correlation between human cognitive indicators and LLM representations.Building on these insights, we propose a heuristic approach for selecting the optimal steering layer to modulate LLM semantics.To this end, we introduce an efficient selective layer intervention based on prominent parameter-efficient fine-tuning methods, which conventionally adjust either all layers or only the final layer.Additionally, we present an implicit layer contrastive intervention during inference to steer LLMs away from toxic outputs.Extensive experiments on natural language understanding, reasoning, and generation tasks, conducted on GPT-2, Llama2-7B, and Mistral-7B, demonstrate the effectiveness and efficiency of our approach.As a model-agnostic framework, it enhances the interpretability of LLMs while improving efficiency for safe deployment.

Authors

Publication Details

Published
2025-01-01
DOI
https://doi.org/10.18653/v1/2025.findings-acl.1308
Primary Topic
Topic Modeling
Type
article
Field-Weighted Citation Impact
0.00

Funders

Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

CogSteer: Cognition-Inspired Selective Layer Intervention for Efficiently Steering Large Language Models

Xingshan Li, Chris Biemann, Liang Ding, Longqin Jiang et al.
Topic Modeling
article

CogSteer: Cognition-Inspired Selective Layer Intervention for Efficiently Steering Large Language Models

Xingshan Li, Chris Biemann, Liang Ding, Longqin Jiang, Longyue Wang, Xintong Wang, Jingheng Pan
article en

Abstract

Large Language Models (LLMs) achieve remarkable performance through pretraining on extensive data.This enables efficient adaptation to diverse downstream tasks.However, the lack of interpretability in their underlying mechanisms limits the ability to effectively steer LLMs for specific applications.In this work, we investigate the intrinsic mechanisms of LLMs from a cognitive perspective using eye movement measures.Specifically, we analyze the layer-wise correlation between human cognitive indicators and LLM representations.Building on these insights, we propose a heuristic approach for selecting the optimal steering layer to modulate LLM semantics.To this end, we introduce an efficient selective layer intervention based on prominent parameter-efficient fine-tuning methods, which conventionally adjust either all layers or only the final layer.Additionally, we present an implicit layer contrastive intervention during inference to steer LLMs away from toxic outputs.Extensive experiments on natural language understanding, reasoning, and generation tasks, conducted on GPT-2, Llama2-7B, and Mistral-7B, demonstrate the effectiveness and efficiency of our approach.As a model-agnostic framework, it enhances the interpretability of LLMs while improving efficiency for safe deployment.

Universität Hamburg
Quality Education
Openalex Percentile: Top 90%
Topic Modeling
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.