2024

Patchscopes: A Unifying Framework for Inspecting Hidden Representations of Language Models

Ghandeharioun, Asma, Caciularu, Avi, Pearce, Adam et al.

Understand

Understanding the internal representations of large language models (LLMs) can help explain models' behavior and verify their alignment with human values.

  • Given the capabilities of LLMs in generating human-understandable text, we propose leveraging the model itself to explain its internal representations in natural language.
  • We introduce a framework called Patchscopes and show how it can be used to answer a wide range of questions about an LLM's computation.
  • We show that many prior interpretability methods based on projecting representations into the vocabulary space and intervening on the LLM computation can be viewed as instances of this framework.

Reading the bibliography…