paper-with-me

홈 › Papers

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

2024-01-11 · Asma Ghandeharioun, Avi Caciularu, Adam Pearce, Lucas Dixon, Mor Geva

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. Moreover, several of their shortcomings such as failure in inspecting early layers or lack of expressivity can be mitigated by Patchscopes. Beyond unifying prior inspection techniques, Patchscopes also opens up new possibilities such as using a more capable model to explain the representations of a smaller model, and multihop reasoning error correction.

📄 PDF Abstract BibTeX arXiv:2401.06102

Code (0)

등록된 구현이 없습니다.

Methods 이 논문이 사용한 방법론

Patching Activation patching studies the model's computation by altering its latent representations, the token embeddings in transformer-based language models, during the inference process

Similar Papers 제목 키워드 기반

Faithful-Patchscopes: Understanding and Mitigating Model Bias in Hidden Representations Explanation of Large Language Models

2026-01-30 · Xilin Gong, Shu Yang, Zehua Cao, Lynne Billard 외 arxiv

Large Language Models (LLMs) have demonstrated strong capabilities for hidden representation interpretation through Patchscopes, a framework that uses LLMs themselves to generate human-readable explanations by decoding f…

Superscopes: Amplifying Internal Feature Representations for Language Model Interpretation

2025-03-03 · Jonathan Jacobi, Gal Niv

Understanding and interpreting the internal representations of large language models (LLMs) remains an open challenge. Patchscopes introduced a method for probing internal activations by patching them into new prompts, p…

Language ModelingLanguage Modelling

Jump to Conclusions: Short-Cutting Transformers With Linear Transformations

2023-03-16 · Alexander Yom Din, Taelin Karidi, Leshem Choshen, Mor Geva

Transformer-based language models create hidden representations of their inputs at every layer, but only use final-layer representations for prediction. This obscures the internal decision-making process of the model and…

Decision MakingLanguage ModelingLanguage Modelling

A Unifying Framework for Causal Imitation Learning with Hidden Confounders

2025-02-11 · Daqian Shao, Thomas Kleine Buening, Marta Kwiatkowska

We propose a general and unifying framework for causal Imitation Learning (IL) with hidden confounders that subsumes several existing confounded IL settings from the literature. Our framework accounts for two types of hi…

Imitation LearningMuJoCo

External Observers May See More Clearly: Cross-Model Span-Level Hallucination Detection in Large Language Models via Hidden State Probing

2026-10-01 · Kingshuk Gupta, Davide Buscaldi arxiv

As Large Language Models (LLMs) increasingly serve as foundational reasoning engines, their tendency to hallucinate remains a critical vulnerability. While recent internal state probes offer a promising alternative to sl…

Binary Classification