paper-with-me

Papers

Finding the Pillars of Strength for Multi-Head Attention

2023-05-22 · Jinjie Ni, Rui Mao, Zonglin Yang, Han Lei, Erik Cambria

Recent studies have revealed some issues of Multi-Head Attention (MHA), e.g., redundancy and over-parameterization. Specifically, the heads of MHA were originally designed to attend to information from different representation subspaces, whereas prior studies found that some attention heads likely learn similar features and can be pruned without harming performance. Inspired by the minimum-redundancy feature selection, we assume that focusing on the most representative and distinctive features with minimum resources can mitigate the above issues and lead to more effective and efficient MHAs. In particular, we propose Grouped Head Attention, trained with a self-supervised group constraint that group attention heads, where each group focuses on an essential but distinctive feature subset. We additionally propose a Voting-to-Stay procedure to remove redundant heads, thus achieving a transformer with lighter weights. Moreover, our method achieves significant performance gains on three well-established tasks while considerably compressing parameters.

📄 PDF Abstract BibTeX arXiv:2305.14380

Code (2)

psycoy/acl-2023-grouped-head-attention 공식 구현 pytorch
senticnet/gha 공식 구현 pytorch

Tasks

feature selection

Methods 이 논문이 사용한 방법론

Softmax The Softmax output function transforms a previous layer's output into a vector of probabilities. It is commonly used for multiclass classification. Given an input vector $x$…
Linear Layer A Linear Layer is a projection $\mathbf{XW + b}$.

Similar Papers 제목 키워드 기반

Tracing Facts or just Copies? A critical investigation of the Competitions of Mechanisms in Large Language Models

2025-07-16 · Dante Campregher, Yanxu Chen, Sander Hoffman, Maria Heuss arxiv

This paper presents a reproducibility study examining how Large Language Models (LLMs) manage competing factual and counterfactual information, focusing on the role of attention heads in this process. We attempt to repro…

How Does Attention Work in Vision Transformers? A Visual Analytics Attempt

2023-03-24 · Yiran Li, Junpeng Wang, Xin Dai, Liang Wang 외

Vision transformer (ViT) expands the success of transformer models from sequential data to images. The model decomposes an image into many smaller patches and arranges them into a sequence. Multi-head self-attentions are…

3DPillars: Pillar-based two-stage 3D object detection

2025-09-06 · Jongyoun Noh, Junghyup Lee, Hyekang Park, Bumsub Ham arxiv

PointPillars is the fastest 3D object detector that exploits pseudo image representations to encode features for 3D objects in a scene. Albeit efficient, PointPillars is typically outperformed by state-of-the-art 3D dete…

3D Object Detection

Towards a Holistic View on Argument Quality Prediction

2022-05-19 · Michael Fromm, Max Berrendorf, Johanna Reiml, Isabelle Mayerhofer 외

Argumentation is one of society's foundational pillars, and, sparked by advances in NLP and the vast availability of text data, automated mining of arguments receives increasing attention. A decisive property of argument…

Argument MiningPrediction

PAN: Pillars-Attention-Based Network for 3D Object Detection

2025-09-19 · Ruan Bispo, Dane Mitrev, Letizia Mariotti, Clément Botty 외 arxiv

Camera-radar fusion offers a robust and low-cost alternative to Camera-lidar fusion for the 3D object detection task in real-time under adverse weather and lighting conditions. However, currently, in the literature, it i…

3D Object Detection