Think-at-Hard: 추론 능력 향상을 위한 동적 루프 트랜스포머
Think-at-Hard: Dynamic Looped Transformers for Improved Reasoning
한국어 초록
대규모 언어 모델(LLM)의 추론 능력을 향상시키는 것은 특히 매개변수 제약 조건 하에서 실제 응용에 매우 중요합니다. 루프 트랜스포머(Looped transformer)는 단일 순전파(forward pass)를 넘어 각 토큰을 정제하기 위해 여러 차례 잠재 반복(latent iteration)을 수행함으로써 이를 해결합니다. 그러나 본 연구에서는 잠재적 과도 사고(latent overthinking) 현상을 발견했습니다. 즉, 대부분의 토큰 예측은 첫 번째 순전파 후 이미 정확하지만, 이후 반복 과정에서 때때로 오류로 수정되기도 합니다. 본 연구에서는 잠재 반복을 선택적으로 건너뛰는 것이 정확도를 향상시킬 수 있는지 질문을 던졌으며, 최대 7.3%까지 성능을 높이는 오라클(oracle) 반복 정책을 통해 상당한 잠재력을 확인했습니다. 이에 착안하여, 선택적 반복에 최적화된 루프 트랜스포머인 Think-at-Hard(TaH)를 제안합니다. TaH는 경량 신경망 결정기(neural decider)를 사용하여 표준 순전파 후 오류일 가능성이 높은 토큰에서만 잠재 반복을 유발합니다. 잠재 반복 동안 깊이 인식 LoRA(depth-aware Low-Rank Adaptation) 모듈은 일반적인 다음 토큰 예측에서 집중적인 고난도 토큰 정제로 목표를 전환합니다. 이중 인과 어텐션(duo-causal attention) 메커니즘은 토큰 시퀀스 차원에서 추가적인 반복 깊이 차원으로 어텐션을 확장하여 완전한 순차적 병렬 처리를 통해 반복 간 정보 흐름을 가능하게 합니다. 9개 벤치마크에 대한 실험 결과, 수학, QA, 코딩 작업 전반에서 일관된 성능 향상을 보였습니다. 동일한 매개변수 수에서 TaH는 토큰의 93%에서 반복을 건너뛰면서도 항상 반복하는 기준선 모델 대비 3.8-4.4% 향상된 성능을 보였으며, 단일 반복 Qwen3 기준선 모델을 3.0-3.8% 능가했습니다. LoRA 및 결정기로 인해 3% 미만의 매개변수 추가를 허용할 경우, 성능 향상은 각각 5.3-6.2% 및 6.1-6.8%로 더욱 증가합니다. 코드는 https://github.com/thu-nics/TaH 에서 제공됩니다.
원문 초록
Improving the reasoning abilities of Large Language Models (LLMs), especially under parameter constraints, is crucial for real-world applications. Looped transformers address this by performing multiple latent iterations to refine each token beyond a single forward pass. However, we identify a latent overthinking phenomenon: most token predictions are already correct after the first pass, but are sometimes revised into errors in later iterations. We ask whether selectively skipping latent iterations can improve accuracy, and reveal significant potential with an oracle iteration policy that boosts performance by up to 7.3%. Motivated by this, we propose Think-at-Hard (TaH), a looped transformer optimized for selective iteration. TaH employs a lightweight neural decider to trigger latent iteration, only at tokens likely to be incorrect after the standard forward pass. During latent iterations, depth-aware Low-Rank Adaptation (LoRA) modules shift the objective from general next-token prediction to focused hard-token refinement. A duo-causal attention mechanism extends attention from the token sequence dimension to an additional iteration depth dimension, enabling cross-iteration information flow with full sequential parallelism. Experiments on nine benchmarks show consistent gains across math, QA, and coding tasks. With identical parameter counts, TaH outperforms always-iterate baselines by 3.8-4.4% while skipping iterations on 93% of tokens, and exceeds single-iteration Qwen3 baselines by 3.0-3.8%. When allowing <3% more parameters from LoRA and decider, the gains further increase to 5.3-6.2% and 6.1-6.8%, respectively. Our code is available at https://github.com/thu-nics/TaH.
제출 이력
확인된 버전만 표시합니다. 전체 제출 이력은 arXiv 원문에서 확인하세요.
- arXiv:2511.08577v4제출 시각 미확인
함께 살펴볼 논문
공통 태그를 근거로 연결했습니다. 실제 인용 관계나 논문의 우수성을 뜻하지 않습니다.
공통 태그로 연결된 공개 논문이 아직 없습니다.
토론
이 논문과 연결된 포럼 글이 아직 없습니다.