Conditional Attribute Estimation with Autoregressive Sequence Models

Erica Stutz, Giacomo Marino, Daniella Meeker, Qiao Liu, Andrew J. Loza

arXiv:2605.14004 · 2026-05-16 공개 · arXiv · PDF

transformer language-models autoregressive-models credit-assignment sparse-reward attribute-estimation conditional-attribute counterfactual-analysis

Abstract

Generative models are often trained with a next-token prediction objective, yet many downstream applications require the ability to estimate or control sequence-level properties. Next-token prediction can lead to overfitting of local patterns during training, underfitting of global structure, and requires significant downstream modifications or expensive sampling to guide or predict the global attributes of generated samples at inference time. Here, we introduce Conditional Attribute Transformers, a novel method for jointly estimating the next-token probability and the value of an attribute conditional on each potential next token selection. This framework enables three critical capabilities within a single forward pass, without modification of the input sequence: (1) per-token credit assignment across an entire sequence, by identifying how each token in a sequence is associated with an attribute's value; (2) counterfactual analysis, by quantifying attribute differences conditional on alternative next token choices; (3) steerable generation, by decoding sequences based on a combination of next-token and attribute likelihoods. Our approach achieves state of the art performance on sparse reward tasks, improves next-token prediction at sufficient model sizes, estimates attribute probabilities orders of magnitude faster than sampling, and can guide decoding of autoregressive sequence models on a range of language tasks.

한국어 요약

📋 한 줄 요약

**[Generative Models / Sequence Modeling]** 다음 토큰 확률과 함께 각 후보 토큰을 조건으로 한 시퀀스 속성 값을 동시에 추정하는 Conditional Attribute Transformers를 제안하여, 토큰 단위 credit assignment·반사실 분석·조향 생성을 한 번의 forward pass로 실현한다.

🎯 핵심 기여도

💡 핵심 아이디어

"속성을 조건으로 시퀀스를 만들기"를 위해 별도의 컨디셔닝이나 비싼 샘플링에 의존하는 대신, 모델이 학습 단계에서 next token과 그 token이 선택될 때 시퀀스 속성이 어떻게 될지를 동시에 학습하도록 만든다. 그 결과 같은 forward 결과 안에서 credit assignment와 counterfactual, steering이 자연스럽게 따라온다.

🔬 기술적 접근법

📊 주요 결과

💭 의의 및 한계

**의의**: 별도 reward 모델·복잡한 RL·반복 샘플링 없이도 시퀀스 속성을 직접 모델 안에 내재화하는 깔끔한 학습 패러다임을 제시. **한계**: 학습 시 attribute 정의·라벨링이 필요하고, 정의 가능한 attribute에 적용 범위가 제한될 수 있음.

🚀 실용적 활용