Skip to content

Extracting latent predictions from a Transformer with the Tuned LensEliciting Latent Predictions from Transformers with the Tuned Lens

arXiv· arXiv:2303.08112· Nora Belrose, Igor Ostrovsky, Lev McKinney, Zach Furman, Logan Smith, Danny Halawi, Stella Biderman, Jacob Steinhardt·Indexed by this site · 25 days ago· Originally publishedAlignment
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

Read originalarxiv.org