上下文—答案元模型:在首个答案token生成前预测LLM激活
Context--Answer Metamodels: Forecasting LLM Activations Before the First Answer Token
研究训练上下文—答案元模型,将上下文激活序列映射为答案平均池化激活的点预测或分布预测,四类元模型均能高保真预测,分布元模型还可捕捉随机解码下的rollout波动。训练集扩至500,000条prompt时性能持续提升,并可零样本泛化到域外数据集。Qwen2.5的上下文激活还能预测Qwen3.5与Gemma 4的答案激活,显示激活预测可跨模型迁移。
arXiv:2611.06837v2 Announce Type: replace Abstract: Under stochastic decoding, a single context can elicit many different answers from a language model. Characterizing this variation typically requires many expensive autoregressive rollouts, each revealing only one realization. We ask whether the activations produced while reading the context can directly forecast the model's rollout activations. We train context--answer metamodels that map a context activation sequence to point or distribution forecasts of mean-pooled answer activations. We find that (i) the four metamodel families we study forecast mean-pooled answer activations with high fidelity, and the distribution metamodels also capture rollout variability; (ii) performance improves as the training set grows to 500,000 prompts, and the metamodels generalize zero-shot to out-of-domain datasets; (iii) their forecasts retain behavior-predictive signal; and (iv) context activations from Qwen2.5 predict mean-pooled answer activations from Qwen3.5 and Gemma 4, suggesting that activation forecasts can transfer across models. Together, these results suggest that context activation traces can support scalable forecasts of behaviors in LLM answers before the first answer token is generated.
来源:arXiv (AI + Vision + Imaging) · arxiv.org