Extracting latent predictions from a Transformer with the Tuned LensEliciting Latent Predictions from Transformers with the Tuned Lens
AI summary
Researchers propose the tuned lens method, which trains an affine probe for each block of a frozen pretrained model to decode hidden states into a vocabulary distribution, thereby observing layer by layer how predictions are refined. The authors claim it improves on the logit lens, being more predictive, more reliable and less biased than the logit lens on autoregressive language models with up to 20B parameters. Causal experiments show that the features used by the tuned lens are similar to the model's own, and that the trajectory of latent predictions can detect malicious inputs with high accuracy. Reproduction code has been released.
Related events and news
0 events · 2 news mentions
News that mentions this paper
- FAR.AIcites the paper's id or linkFAR.AI 发布 2023 对齐研究进展:从 KataGo 对抗攻击到鲁棒性缩放律
A team led by Nora Belrose developed the tuned lens technique to interpret activations at each layer of a transformer as being about predictions of the next token.
- AI Alignment Forumcites the paper's id or linkWorkspaceBench:评估读取模型全局工作区的可解释性方法
Tuned lens: a variant of logit lens that learns an affine transformation for each layer before applying the unembedding matrix, initialized at the identity (i.e. logit lens) and trained to minimize