논문 해설
Analyze Feature Flow to Enhance Interpretation and Steering in Language Models
언어 모델의 해석과 조정을 강화하기 위한 특징 흐름 분석
- 연구 문제 대규모 언어모델의 층 사이에서 SAE 특징이 어떻게 이어지는지 데이터 없이 추적하는 문제를 다룹니다.
- 연구 방법 SAE 디코더 가중치의 코사인 유사도로 층 간 특징을 매칭해 흐름 그래프를 구성합니다.
- 주요 결과 top1 코사인 유사도 매칭은 선행 특징 비활성화에서 평균 활성화 변화 0.75와 성공률 65%를 보였습니다.
층 사이 특징 흐름을 추적하려는 이유
대규모 언어모델은 여러 층을 거치며 정보를 변형하지만, SAE 특징을 단일 층에서만 분석하면 특징이 언제 생기고 어디서 전달되는지 알기 어렵습니다. 이 논문은 서로 다른 층의 SAE 특징을 연결해 흐름 그래프를 만들고, 그 연결을 해석과 조종에 쓰는 것을 목표로 합니다. 기존 방법 중 일부는 활성화 데이터의 상관을 계산해야 하므로 많은 데이터가 필요합니다.
디코더 가중치의 코사인 유사도 매칭
이 방법은 대상 특징의 디코더 벡터와 다른 모듈 또는 이전 층의 SAE 디코더 열 사이 코사인 유사도를 계산합니다. 각 위치에서 최대 유사도 s(R), s(M), s(A)를 구하고, 이 값의 높고 낮음에 따라 특징이 이전 잔차, MLP, 어텐션에서 왔는지 해석합니다. 짧은 층 간 매칭을 이어 붙여 초기 층부터 최종 층까지의 흐름 그래프를 구성합니다.

Figure 1 . Schematic illustration of inner-layer matching. We select a feature with index i on the SAE trained at the layer output. Its embedding f, which is the ith column of this SAE’s decoder weight, is compared to every column of other SAEs on the same layer (after the MLP and attention blocks, as well as with the SAE on the residual stream before some layer). These comparisons indicate the feature’s source. See Section 3.3 for more details.
원문 · CC BY 4.0 · Daniil Laptev, Nikita Balagansky, Yaroslav Aksenov, Daniil Gavrilov · Analyze Feature Flow to Enhance Interpretation and Steering in Language Models · 원문 그림 인용 · 원본 PDF 3쪽에서 그림 영역을 추출했습니다.선행 특징 비활성화로 본 인과 의존성
저자들은 top1 코사인 유사도로 고른 선행 특징을 개입으로 비활성화하고 대상 특징의 활성화 변화를 측정했습니다. 같은 조건에서 top1 방법은 평균 활성화 변화 0.75와 성공률 65%를, 전수 탐색은 0.83과 73%를 보였습니다. 무작위로 상위 5개 후보 중 하나를 고르는 방법은 top1보다 비활성화 성공률을 크게 낮췄습니다.

Figure 8 . Mean activation changes when deactivating one prede- cessor at a time. Deactivation of some predecessor causes less impact if this predecessor is not activated alone, which leads to the conclusion that combined groups exhibit circuit-like behavior.
원문 · CC BY 4.0 · Daniil Laptev, Nikita Balagansky, Yaroslav Aksenov, Daniil Gavrilov · Analyze Feature Flow to Enhance Interpretation and Steering in Language Models · 원문 그림 인용 · 원본 PDF 7쪽에서 그림 영역을 추출했습니다.
Table 1 . Comparison of deactivation methods. The exhaustive search evaluates all activated predecessor features individually and reports maximum performance. The similar results between correlation-based and our data-free method validate our approach.
원문 · CC BY 4.0 · Daniil Laptev, Nikita Balagansky, Yaroslav Aksenov, Daniil Gavrilov · Analyze Feature Flow to Enhance Interpretation and Steering in Language Models · 원문 그림 인용 · 원본 PDF 7쪽에서 그림 영역을 추출했습니다.다중 층 주제 조종의 설정과 결과
조종 실험에서는 흐름 그래프로 고른 특징들의 계수를 층 인덱스에 따라 지수, 선형 또는 상수로 분배했습니다. 생성 텍스트는 주제 점수 Behavioral과 문장 품질 Coherence로 평가되며, 최종 지표는 두 값의 곱입니다. 이 결과는 Gemma 2 2B에서 특정 프롬프트와 설정으로 얻은 것입니다.

Figure 11 . Activation of specific topics. We compare single-layer steering and cumulative approaches with three rescaling strategies (Appendix B). Activating multiple similar features amplifies a topic’s presence but may degrade overall text coherence.
원문 · CC BY 4.0 · Daniil Laptev, Nikita Balagansky, Yaroslav Aksenov, Daniil Gavrilov · Analyze Feature Flow to Enhance Interpretation and Steering in Language Models · 원문 그림 인용 · 원본 PDF 8쪽에서 그림 영역을 추출했습니다.
Figure 16 . From each flow graph, we select features on a particular layer l and perform steering with the four different strategies. Bars represent the best result for each layer among all scores s. In some cases, steering on a layer other than 12 may improve results.
원문 · CC BY 4.0 · Daniil Laptev, Nikita Balagansky, Yaroslav Aksenov, Daniil Gavrilov · Analyze Feature Flow to Enhance Interpretation and Steering in Language Models · 원문 그림 인용 · 원본 PDF 18쪽에서 그림 영역을 추출했습니다.적용 범위와 남은 한계
이 매칭은 SAE 차원이 정렬된 경우에만 적용할 수 있으며, Gemma Scope의 어텐션 SAE는 MLP·잔차 SAE와 차원이 달라 적용되지 않습니다. 저자들은 Gemma의 어텐션 SAE가 충분히 잘 학습되지 않았을 가능성을 제기합니다. 비활성화 실험에서도 일부 인과 의존성은 포착되지 않고 남을 수 있다고 밝힙니다.
논문 정보
- 저자
- Daniil Laptev, Nikita Balagansky, Yaroslav Aksenov, Daniil Gavrilov
- 학회·저널
- arXiv · 프리프린트
- 최초 공개일
- 2025년 2월 5일
- 등록일
- 2026년 10월 31일
- 수정일
- 2025년 7월 24일
- 버전
- v3
- arXiv
- 2502.03032
- 분류
- cs.LG · cs.CL
- 원문 이용 조건
- CC BY 4.0
- 제공 범위
- 논문 정보, 해설, 허용된 원문 그림
AI 해설은 논문 원문과 별개의 설명이며 오류가 있을 수 있습니다. 원문과 그림은 각 출처의 이용 조건과 따로 표시된 권리를 따릅니다.
초록
We introduce a new approach to systematically map features discovered by sparse autoencoder across consecutive layers of large language models, extending earlier work that examined inter-layer feature links. By using a data-free cosine similarity technique, we trace how specific features persist, transform, or first appear at each stage. This method yields granular flow graphs of feature evolution, enabling fine-grained interpretability and mechanistic insights into model computations. Crucially, we demonstrate how these cross-layer feature maps facilitate direct steering of model behavior by amplifying or suppressing chosen features, achieving targeted thematic control in text generation. Together, our findings highlight the utility of a causal, cross-layer interpretability framework that not only clarifies how features develop through forward passes but also provides new means for transparent manipulation of large language models.
원문 인용
Daniil Laptev, Nikita Balagansky, Yaroslav Aksenov, Daniil Gavrilov (2025). Analyze Feature Flow to Enhance Interpretation and Steering in Language Models. arXiv:2502.03032v3. https://arxiv.org/abs/2502.03032v3
BibTeX
@misc{laptev2025analyze,
title = {{Analyze Feature Flow to Enhance Interpretation and Steering in Language Models}},
author = {Daniil Laptev and Nikita Balagansky and Yaroslav Aksenov and Daniil Gavrilov},
year = {2025},
eprint = {2502.03032},
archivePrefix = {arXiv},
url = {https://arxiv.org/abs/2502.03032v3}
}