Multi-layer Learnable Attention Mask for Multimodal Tasks

Wayner Barrios, SouYoung Jin
6/4/2024
cs.CVcs.AIcs.LG

No confident code implementation found for this paper. 6 possible matches can be shown below.

Abstract

While the Self-Attention mechanism in the Transformer model has proven to be effective in many domains, we observe that it is less effective in more diverse settings (e.g. multimodality) due to the varying granularity of each token and the high computational demands of lengthy sequences. To address the challenges, we introduce the Learnable Attention Mask (LAM), strategically designed to globally regulate attention maps and prioritize critical tokens within the sequence. Leveraging the Self-Attention module in a BERT-like transformer network, our approach adeptly captures associations between tokens. The extension of the LAM to a multi-layer version accommodates the varied information aspects embedded at each layer of the Transformer network. Comprehensive experimental validation on various datasets, such as MADv2, QVHighlights, ImageNet 1K, and MSRVTT, demonstrates the efficacy of the LAM, exemplifying its ability to enhance model performance while mitigating redundant computations. This pioneering approach presents a significant advancement in enhancing the understanding of complex scenarios, such as in movie understanding.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. 6 weaker matches are hidden by default — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{barrios2024multilayer,
  title  = {Multi-layer Learnable Attention Mask for Multimodal Tasks},
  author = {Wayner Barrios and SouYoung Jin},
  year   = {2024},
  eprint = {2406.02761},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2406.02761v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2406.02761.svg)](https://codeofpaper.com/paper/2406.02761)

Discussion