paper-with-me

Papers

Attention Flows: Analyzing and Comparing Attention Mechanisms in Language Models

2020-09-03 · Joseph F DeRose, Jiayao Wang, Matthew Berger

Advances in language modeling have led to the development of deep attention-based models that are performant across a wide variety of natural language processing (NLP) problems. These language models are typified by a pre-training process on large unlabeled text corpora and subsequently fine-tuned for specific tasks. Although considerable work has been devoted to understanding the attention mechanisms of pre-trained models, it is less understood how a model's attention mechanisms change when trained for a target NLP task. In this paper, we propose a visual analytics approach to understanding fine-tuning in attention-based language models. Our visualization, Attention Flows, is designed to support users in querying, tracing, and comparing attention within layers, across layers, and amongst attention heads in Transformer-based language models. To help users gain insight on how a classification decision is made, our design is centered on depicting classification-based attention at the deepest layer and how attention from prior layers flows throughout words in the input. Attention Flows supports the analysis of a single model, as well as the visual comparison between pre-trained and fine-tuned models via their similarities and differences. We use Attention Flows to study attention mechanisms in various sentence understanding tasks and highlight how attention evolves to address the nuances of solving these tasks.

📄 PDF Abstract BibTeX arXiv:2009.07053

Code (0)

등록된 구현이 없습니다.

Tasks

Deep AttentionLanguage ModelingLanguage ModellingSentence

Similar Papers 제목 키워드 기반

Generative Flows with Invertible Attentions

2021-06-07 · CVPR 2022 1 · Rhea Sanjay Sukthanker, Zhiwu Huang, Suryansh Kumar, Radu Timofte 외

Flow-based generative models have shown an excellent ability to explicitly learn the probability density function of data via a sequence of invertible transformations. Yet, learning attentions in generative flows remains…

Image Generation

Attention Flows: Tracing LLM Conceptual Engagement via Story Summaries

2026-04-07 · Rebecca M. M. Hicke, Sil Hamilton, David Mimno, Ross Deans Kristensen-McLachlan arxiv

Although LLM context lengths have grown, there is evidence that their ability to integrate information across long-form texts has not kept pace. We evaluate one such understanding task: generating summaries of novels. Wh…

Knowing Where to Look? Analysis on Attention of Visual Question Answering System

2018-10-09 · Wei Li, Zehuan Yuan, Xiangzhong Fang, Changhu Wang

Attention mechanisms have been widely used in Visual Question Answering (VQA) solutions due to their capacity to model deep cross-domain interactions. Analyzing attention maps offers us a perspective to find out limitati…

Question AnsweringVisual Question AnsweringVisual Question Answering (VQA)

SimBrainNet: Evaluating Brain Network Similarity for Attention Disorders

2024-10-12 · Debashis Das Chakladar, Foteini Simistira Liwicki, Rajkumar Saini

Electroencephalography (EEG)-based attention disorder research seeks to understand brain activity patterns associated with attention. Previous studies have mainly focused on identifying brain regions involved in cognitiv…

EEG

BS-GAT Behavior Similarity Based Graph Attention Network for Network Intrusion Detection

2023-04-07 · Yalu Wang, Zhijie Han, Jie Li, Xin He

With the development of the Internet of Things (IoT), network intrusion detection is becoming more complex and extensive. It is essential to investigate an intelligent, automated, and robust network intrusion detection m…

Graph Attentiongraph constructionGraph Neural NetworkIntrusion Detection+1