프로필

설정

불러오는 중…

← 홈

도움말·문의

자주 묻는 질문

어떤 기능에 로그인이 필요한가요?

공개 논문의 해설과 논문 정보, 모델 구조, 관련 논문, 용어는 로그인 없이 볼 수 있습니다. 논문 올리기, 내 보관함, 읽기 기록, 논문 평가, 관심 분야 추천, 메일과 알림은 로그인해야 쓸 수 있습니다.

PDF 파일로도 올릴 수 있나요?

논문은 arXiv나 DOI 링크로 올리고, 해설은 모두에게 공개됩니다. 출처와 이용 조건이 확인되지 않아 해설을 공개할 수 없는 논문은 올릴 수 없습니다. PDF 파일 올리기와 나만 보기는 구독 회원만 쓸 수 있고, 파일로 올린 논문은 나만 보기로만 저장합니다. 제목으로 공식 정보를 찾는 검색은 버튼을 누를 때만 합니다.

그림과 AI 해설은 정확한가요?

그림은 논문 원본만 쓰고 이용 허락이 확인된 것만 보여 줍니다. 해설은 AI가 쓴 글이라 틀릴 수 있습니다. 중요한 주장과 수치, 그림의 맥락은 원문 근거로 확인해 주세요.

저작권 문제를 알리고 싶어요.

이용 조건과 원문 출처는 논문 정보 탭에 있습니다. 문제가 있으면 ‘문의하기’에서 ‘논문 내용·그림·저작권’을 골라 논문 링크와 문제가 되는 부분, 권리를 확인할 수 있는 근거를 보내 주세요. 접수만으로 권리가 확정되거나 바로 삭제되지는 않습니다. 검토 결과는 ‘내 문의’에서 볼 수 있습니다.

비밀번호를 잊었어요.

이메일로 가입했다면 로그인 창의 비밀번호 찾기에서 인증한 이메일로 다시 설정할 수 있습니다. Google, 네이버, 카카오로 가입했다면 그 서비스에서 비밀번호를 바꿔 주세요.

문의할 때 무엇을 적어야 하나요?

어느 화면에서 무엇을 하다 생긴 문제인지 논문 링크와 함께 적어 주세요. 비밀번호, API 키, 인증 코드, 전화번호 같은 개인정보는 적지 마세요. 문의와 답변은 Refivu에 저장되고 ‘내 문의’에서 볼 수 있습니다.

회원탈퇴는 어떻게 하나요?

설정의 내 계정에서 회원탈퇴를 누르세요. 지워지는 내용을 확인하고 본인 확인을 마치면 탈퇴됩니다. 다른 요청은 ‘문의하기’에서 ‘계정’을 골라 남겨 주세요.

논문 해설

The Truth Lies Somewhere in the Middle (of the Generated Tokens)

진실은 생성된 토큰의 중간 어딘가에 있다

  • 연구 문제 자기회귀 언어 모델이 생성한 토큰들의 은닉 상태를 하나의 표현으로 모을 때, 어떤 집계 방식이 모델 내부 상태와 입력 의미를 더 잘 반영하는지가 핵심 문제입니다.
  • 연구 방법 생성 토큰의 최종 레이어 은닉 상태에 토큰 평균 풀링을 적용하고, 같은 풀링 규칙으로 얻은 표현들을 볼록 결합으로 섞어 참조 공간과의 debiased CKA 정렬을 측정합니다.
  • 주요 결과 Qwen3-14B의 생성 토큰 평균 표현은 시각-언어 정렬에서 개별 토큰보다 높았고, 혼합 점이 단일 구간보다 높은 정렬을 보였습니다. 프롬프트 토큰은 평균을 취해도 개선되지 않았습니다.

생성 토큰 표현을 하나의 벡터로 모으는 문제

자기회귀 언어 모델은 토큰을 하나씩 생성하며, 각 토큰의 은닉 상태는 앞선 토큰에 의해 계산됩니다. 이 논문은 생성 과정에서 얻은 은닉 상태들을 하나의 벡터 표현으로 어떻게 압축해야 모델의 내부 상태와 입력 의미를 잘 반영하는지 묻습니다. 기존 연구는 주로 단일 순전파의 프롬프트 토큰 상태를 대상으로 했고, 자기회귀 모델에서는 인과 마스킹 때문에 평균을 취한 표현이 약하다고 알려져 있습니다. 저자들은 생성 토큰은 프롬프트 토큰과 다르게 모델 자신의 출력에 의해 계속 갱신되는 문맥에서 계산되므로, 평균 풀링이 생성 토큰에서는 다르게 작동할 수 있다고 봅니다.

Figure 1: Conceptual illustration: Mean pooling across tokens
generated by an autoregressive language model yields a represen-
tation that better captures the…

Figure 1 .Conceptual illustration: Mean pooling across tokens generated by an autoregressive language model yields a represen- tation that better captures the semantic content of the input than any individual token. The model is prompted to imagine the scene described by a caption. We compare the generated-token represen- tations to reference representations of corresponding images.

원문 · CC BY 4.0 · Sophie L. Wang, Phillip Isola, Brian Cheung · The Truth Lies Somewhere in the Middle (of the Generated Tokens) · 원문 그림 인용 · 원본 PDF 1쪽에서 그림 영역을 추출했습니다.

풀링 방식과 볼록 결합, 커널 정렬 지표

방법은 생성 토큰의 은닉 상태 H를 최종 레이어에서 얻고, 마지막 토큰 풀링과 토큰 평균 풀링을 비교합니다. 평균 풀링은 생성 길이 T에 대해 평균을 취하는 연산으로 정의되며, 이 논문은 토큰 평균을 통해 정보가 여러 토큰에 분산되어 있는지를 봅니다. 또한 같은 풀링 규칙으로 얻은 세 표현을 2-단형 위의 볼록 결합으로 섞어 격자 점마다 정렬을 평가합니다. 정렬은 언어 모델 표현 쪽 샘플 간 커널 K와 참조 표현 쪽 커널 L의 일치도로 측정하며, 주 지표는 편향을 줄인 debiased CKA입니다. debiased CKA는 대각을 0으로 둔 뒤 U-centering을 적용한 HSIC로 정규화하고, 값의 범위가 [-1, 1]입니다.

이 논문의 결과는 Qwen3-14B에서 생성된 토큰 표현을 DINOv2 등 참조 임베딩과 비교한 것입니다.

Figure 2: Pooling the Token Dimension.Each cube represents the
activation tensor H∈R L×T×D for a sample. Blue regions refer
to the subset of activations that a…

Figure 2 .Pooling the Token Dimension.Each cube represents the activation tensor H∈R L×T×D for a sample. Blue regions refer to the subset of activations that are selected and averaged across the token dimension to produce aD-dimensional embedding.

원문 · CC BY 4.0 · Sophie L. Wang, Phillip Isola, Brian Cheung · The Truth Lies Somewhere in the Middle (of the Generated Tokens) · 원문 그림 인용 · 원본 PDF 2쪽에서 그림 영역을 추출했습니다.
Table 1: LLM checkpoints used in experiments

Table 1 .LLM checkpoints used in experiments.

원문 · CC BY 4.0 · Sophie L. Wang, Phillip Isola, Brian Cheung · The Truth Lies Somewhere in the Middle (of the Generated Tokens) · 원문 그림 인용 · 원본 PDF 18쪽에서 그림 영역을 추출했습니다.

생성 토큰 평균과 혼합의 정렬 향상

시각-언어 실험에서 WIT와 DCI 각각 1024개 샘플을 사용했을 때, 생성 토큰의 평균 풀링은 개별 토큰보다 높은 정렬을 보였습니다. 토큰 단위의 정렬 곡선은 평균에 포함되는 토큰이 늘수록 향상되며, 이 결과는 다섯 개 랜덤 시드의 평균으로 보고됩니다. 볼록 결합 실험에서는 단형 내부의 혼합 점이 어느 단일 구간 꼭짓점보다 일관되게 높은 정렬을 보였습니다. 추론 과제와 단백질 과제에서도 같은 구조가 나타났다고 보고되며, 이는 시각 설정에만 국한된 효과가 아니라는 근거로 제시됩니다.

Figure 3: (Left)Generated-token representations improve as tokens are averaged.Vision–language alignment is quantified over 1024
samples using language model r…

Figure 3 .(Left)Generated-token representations improve as tokens are averaged.Vision–language alignment is quantified over 1024 samples using language model representations derived from last-token and mean-token embeddings during generation. The dashed line denotes the representation obtained by pooling across all tokens. Alignment increases as additional tokens are averaged and exceeds that of every individual token. Curves are averaged over five random seeds; variability across seeds is low (mean standard deviation 4.8×10 −3, max 9.6×10 −3), hence not visible in the figure. (Right)Generated tokens induce representational phases.Sample prompt and generation. Colored segments correspond to interpretable phases of the generation averaged over 1024 samples.

원문 · CC BY 4.0 · Sophie L. Wang, Phillip Isola, Brian Cheung · The Truth Lies Somewhere in the Middle (of the Generated Tokens) · 원문 그림 인용 · 원본 PDF 4쪽에서 그림 영역을 추출했습니다.
Figure 4: Alignment is maximized by mixing generated tokens.Vision–language alignment under convex combinations of token-slice
ensembles at increasing levels o…

Figure 4 .Alignment is maximized by mixing generated tokens.Vision–language alignment under convex combinations of token-slice ensembles at increasing levels of granularity. Across depths, alignment is consistently higher for interior convex combinations than for any single token slice, indicating that semantic information is distributed across the generation rather than localized to one segment. (Left) Depth 1: the simplex vertices correspond to embeddings computed by averaging hidden states over the first, middle, and final thirds of the generated token sequence. (Middle) Depth 2: each third is further subdivided into three contiguous token ranges, yielding simplices over finer-grained token slices. (Right) Depth 3: continued recursive subdivision of the token sequence into smaller contiguous ranges.

원문 · CC BY 4.0 · Sophie L. Wang, Phillip Isola, Brian Cheung · The Truth Lies Somewhere in the Middle (of the Generated Tokens) · 원문 그림 인용 · 원본 PDF 4쪽에서 그림 영역을 추출했습니다.

프롬프트 토큰과 대조 실험

생성 토큰 표현은 같은 캡션에서 얻은 프롬프트 토큰 표현보다 정렬이 높았습니다. 보고된 값은 개별 토큰과 평균 풀링 모두에서 생성 쪽이 0.410, 프롬프트 쪽이 0.184입니다. 반면 프롬프트 토큰은 평균을 취해도 정렬이 개선되지 않았습니다. 이미지-텍스트 쌍을 셔플하면 평균 풀링의 개선이 사라지므로, 등방성 노이즈에 따른 분산 감소만으로는 관찰된 개선을 설명하기 어렵다고 저자들은 해석합니다. 이 대조는 실험 설계상 대응이 유지된 조건과 깨진 조건을 나란히 두고 비교한 결과입니다.

Figure 6: Prompt-token representations do not benefit from mean pooling.Extension of Figure 3 and Figure 4 to prompt tokens.
Unlike generated-token representat…

Figure 6 .Prompt-token representations do not benefit from mean pooling.Extension of Figure 3 and Figure 4 to prompt tokens. Unlike generated-token representations, prompt-token representations do not improve under token averaging. The averaged prompt representation performs comparably to the best individual prompt tokens near the end of the prompt, but does not exceed them. Red denotes the tokens corresponding toImagine what it would look like to see.

원문 · CC BY 4.0 · Sophie L. Wang, Phillip Isola, Brian Cheung · The Truth Lies Somewhere in the Middle (of the Generated Tokens) · 원문 그림 인용 · 원본 PDF 5쪽에서 그림 영역을 추출했습니다.
Figure 14: (Top) Token embeddings are shuffled after embedding. (Middle) Generated tokens are shuffled before re-embedding. (Bottom)
Sample pairings are shuffl…

Figure 14 .(Top) Token embeddings are shuffled after embedding. (Middle) Generated tokens are shuffled before re-embedding. (Bottom) Sample pairings are shuffled during kernel alignment.

원문 · CC BY 4.0 · Sophie L. Wang, Phillip Isola, Brian Cheung · The Truth Lies Somewhere in the Middle (of the Generated Tokens) · 원문 그림 인용 · 원본 PDF 21쪽에서 그림 영역을 추출했습니다.
Figure 15: Extension of Figure 4 in which image-text pairings are shuffled, breaking semantic correspondence

Figure 15 .Extension of Figure 4 in which image-text pairings are shuffled, breaking semantic correspondence.

원문 · CC BY 4.0 · Sophie L. Wang, Phillip Isola, Brian Cheung · The Truth Lies Somewhere in the Middle (of the Generated Tokens) · 원문 그림 인용 · 원본 PDF 22쪽에서 그림 영역을 추출했습니다.
Figure 16: Extension of Figure 13b in which image-text pairings are shuffled, breaking semantic correspondence

Figure 16 .Extension of Figure 13b in which image-text pairings are shuffled, breaking semantic correspondence.

원문 · CC BY 4.0 · Sophie L. Wang, Phillip Isola, Brian Cheung · The Truth Lies Somewhere in the Middle (of the Generated Tokens) · 원문 그림 인용 · 원본 PDF 22쪽에서 그림 영역을 추출했습니다.

풀링 방법 비교와 레이어 평균

풀링 방법을 비교한 표 2에서 Mean pool의 CKA는 0.4106, Best per-token은 0.2910, Attention pool은 0.2932, Max pool은 0.3505로 보고됩니다. 같은 표에는 m-kNN 값도 함께 있으며, 평균 풀링이 두 지표 모두에서 가장 높은 정렬을 보였다고 설명됩니다. 레이어 방향에서는 레이어 평균이 최고의 단일 레이어와 비슷한 정렬을 보였으나 그보다 개선하지는 않았습니다. 이 결과는 Qwen3-14B 생성 토큰을 DINOv2에 정렬한 설정에서 나온 것입니다.

Table 2: Extension of Figure 3: Alignment across pooling methods

Table 2 .Extension of Figure 3: Alignment across pooling methods.

원문 · CC BY 4.0 · Sophie L. Wang, Phillip Isola, Brian Cheung · The Truth Lies Somewhere in the Middle (of the Generated Tokens) · 원문 그림 인용 · 원본 PDF 19쪽에서 그림 영역을 추출했습니다.
Figure 26: Extension of Figure 4 to vision-language alignment under convex combination of layer-slice ensembles at increasing levels of
granularity

Figure 26 .Extension of Figure 4 to vision-language alignment under convex combination of layer-slice ensembles at increasing levels of granularity.

원문 · CC BY 4.0 · Sophie L. Wang, Phillip Isola, Brian Cheung · The Truth Lies Somewhere in the Middle (of the Generated Tokens) · 원문 그림 인용 · 원본 PDF 29쪽에서 그림 영역을 추출했습니다.

계산 비용과 해석의 범위

생성 기반 표현은 프롬프트 임베딩의 단일 순전파와 달리 T개의 토큰을 생성해야 하므로 계산 비용이 T에 비례해 증가합니다. 또한 커널 정렬은 여러 샘플의 관계 구조에 대한 평균 일치도를 측정하므로, 특정 생성이 정답인지를 직접 보장하지 않습니다. 저자들은 평균된 상태가 디코딩 중 나타나는 상태 분포 밖에 있을 수 있어, 이를 모델에 다시 넣어 생성을 이어가는 용도로는 쓰기 어렵다고 설명합니다. 따라서 이 표현은 생성 가능한 상태라기보다 내부 상태를 탐색하는 도구로 읽어야 합니다.

논문 정보

저자
Sophie L. Wang, Phillip Isola, Brian Cheung
학회·저널
arXiv · 프리프린트
최초 공개일
2026년 5월 11일
등록일
2026년 10월 29일
수정일
2026년 5월 11일
버전
v1
arXiv
2605.09969
분류
cs.LG · cs.CL
원문 이용 조건
CC BY 4.0
제공 범위
논문 정보, 해설, 허용된 원문 그림

AI 해설은 논문 원문과 별개의 설명이며 오류가 있을 수 있습니다. 원문과 그림은 각 출처의 이용 조건과 따로 표시된 권리를 따릅니다.

초록

How should hidden states generated autoregressively be collapsed into a representation that reflects a language model's internal state? Despite tokens being generated under causal masking, we find that mean pooling across their hidden states yields more semantic representations than any individual token alone. We quantify this through kernel alignment to reference spaces in language, vision, and protein domains. The improvement through mean pooling is consistent with information being distributed across generated tokens rather than localized to a single position. Furthermore, representations derived from generated tokens outperform those from prompt tokens, and alignment across generation reveals interpretable dynamics in model behavior.

원문 인용

Sophie L. Wang, Phillip Isola, Brian Cheung (2026). The Truth Lies Somewhere in the Middle (of the Generated Tokens). arXiv:2605.09969v1. https://arxiv.org/abs/2605.09969v1

BibTeX
@misc{wang2026truth,
  title = {{The Truth Lies Somewhere in the Middle (of the Generated Tokens)}},
  author = {Sophie L. Wang and Phillip Isola and Brian Cheung},
  year = {2026},
  eprint = {2605.09969},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2605.09969v1}
}

관련 논문 보기다른 논문 둘러보기

논문 미리 보기
계정 보안

Google 계정 연결

Google 계정을 연결하면 그 계정으로도 로그인할 수 있습니다.

Refivu

회원탈퇴

Refivu
Refivu

회원가입