paper-with-me

홈 › Papers

LM Transparency Tool: Interactive Tool for Analyzing Transformer Language Models

2024-04-10 · Igor Tufanov, Karen Hambardzumyan, Javier Ferrando, Elena Voita

We present the LM Transparency Tool (LM-TT), an open-source interactive toolkit for analyzing the internal workings of Transformer-based language models. Differently from previously existing tools that focus on isolated parts of the decision-making process, our framework is designed to make the entire prediction process transparent, and allows tracing back model behavior from the top-layer representation to very fine-grained parts of the model. Specifically, it (1) shows the important part of the whole input-to-output information flow, (2) allows attributing any changes done by a model block to individual attention heads and feed-forward neurons, (3) allows interpreting the functions of those heads or neurons. A crucial part of this pipeline is showing the importance of specific model components at each step. As a result, we are able to look at the roles of model components only in cases where they are important for a prediction. Since knowing which components should be inspected is key for analyzing large models where the number of these components is extremely high, we believe our tool will greatly support the interpretability community both in research settings and in practical applications.

📄 PDF Abstract BibTeX arXiv:2404.07004

Code (1)

facebookresearch/llm-transparency-tool jax

Tasks

Decision Making

Methods 이 논문이 사용한 방법론

Focus 설명 없음

Similar Papers 제목 키워드 기반

LM-Debugger: An Interactive Tool for Inspection and Intervention in Transformer-Based Language Models

2022-04-26 · Mor Geva, Avi Caciularu, Guy Dar, Paul Roit 외

The opaque nature and unexplained behavior of transformer-based language models (LMs) have spurred a wide interest in interpreting their predictions. However, current interpretation methods mostly focus on probing models…

Prediction

LLM Comparator: Visual Analytics for Side-by-Side Evaluation of Large Language Models

2024-02-16 · Minsuk Kahng, Ian Tenney, Mahima Pushkarna, Michael Xieyang Liu 외

Automatic side-by-side evaluation has emerged as a promising approach to evaluating the quality of responses from large language models (LLMs). However, analyzing the results from this evaluation approach raises scalabil…

Ecco: An Open Source Library for the Explainability of Transformer Language Models

2021-08-01 · ACL 2021 5 · J Alammar

Our understanding of why Transformer-based NLP models have been achieving their recent success lags behind our ability to continue scaling these models. To increase the transparency of Transformer-based language models, …

Text Generation

An Interactive Visualization Tool for Understanding Active Learning

2021-11-09 · Zihan Wang, Jialin Lu, Oliver Snow, Martin Ester

Despite recent progress in artificial intelligence and machine learning, many state-of-the-art methods suffer from a lack of explainability and transparency. The ability to interpret the predictions made by machine learn…

Active LearningBIG-bench Machine Learning

Transformer Explainer: Interactive Learning of Text-Generative Models

2024-08-08 · Aeree Cho, Grace C. Kim, Alexander Karpekov, Alec Helbling 외

Transformers have revolutionized machine learning, yet their inner workings remain opaque to many. We present Transformer Explainer, an interactive visualization tool designed for non-experts to learn about Transformers …