paper-with-me

Papers

Shared DIFF Transformer

2025-01-29 · Yueyang Cang, Yuhang Liu, Xiaoteng Zhang, Xiangju Wang

DIFF Transformer improves attention allocation by enhancing focus on relevant context while suppressing noise. It introduces a differential attention mechanism that calculates the difference between two independently generated attention distributions, effectively reducing noise and promoting sparse attention patterns. However, the independent signal generation in DIFF Transformer results in parameter redundancy and suboptimal utilization of information. In this work, we propose Shared DIFF Transformer, which draws on the idea of a differential amplifier by introducing a shared base matrix to model global patterns and incorporating low-rank updates to enhance task-specific flexibility. This design significantly reduces parameter redundancy, improves efficiency, and retains strong noise suppression capabilities. Experimental results show that, compared to DIFF Transformer, our method achieves better performance in tasks such as long-sequence modeling, key information retrieval, and in-context learning. Our work provides a novel and efficient approach to optimizing differential attention mechanisms and advancing robust Transformer architectures.

📄 PDF Abstract BibTeX arXiv:2501.17900

Code (0)

등록된 구현이 없습니다.

Tasks

In-Context LearningInformation Retrieval

Methods 이 논문이 사용한 방법론

Linear Layer A Linear Layer is a projection $\mathbf{XW + b}$.
Dense Connections Dense Connections, or Fully Connected Connections, are a type of layer in a deep neural network that use a linear operation where every input is connected to every output…
Multi-Head Attention 설명 없음
Position-Wise Feed-Forward Layer 설명 없음
Label Smoothing Label Smoothing is a regularization technique that introduces noise for the labels. This accounts for the fact that datasets may have mistakes in them, so maximizing the…
Layer Normalization Unlike batch normalization, Layer Normalization directly estimates the normalization statistics from the summed inputs…
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$…
BASE 설명 없음

Similar Papers 제목 키워드 기반

SITransformer: Shared Information-Guided Transformer for Extreme Multimodal Summarization

2024-08-28 · Sicheng Liu, Lintao Wang, Xiaogang Zhu, Xuequan Lu 외

Extreme Multimodal Summarization with Multimodal Output (XMSMO) becomes an attractive summarization approach by integrating various types of information to create extremely concise yet informative summaries for individua…

DictFormer: Tiny Transformer with Shared Dictionary

2021-09-29 · ICLR 2022 4 · Qian Lou, Ting Hua, Yen-Chang Hsu, Yilin Shen 외

We introduce DictFormer with efficient shared dictionary to provide a compact, fast, and accurate transformer model. DictFormer significantly reduces the redundancy in the transformer's parameters by replacing the prior …

Abstractive Text SummarizationLanguage ModelingLanguage ModellingMachine Translation+1

MSRA-SR: Image Super-resolution Transformer with Multi-scale Shared Representation Acquisition

2023-01-01 · ICCV 2023 1 · Xiaoqiang Zhou, Huaibo Huang, Ran He, Zilei Wang 외

Multi-scale feature extraction is crucial for many computer vision tasks, but it is rarely explored in Transformer-based image super-resolution (SR) methods. In this paper, we propose an image super-resolution Transf…

Image Super-ResolutionSuper-Resolution

Multi-Task Learning with Multi-Query Transformer for Dense Prediction

2022-05-28 · Yangyang Xu, Xiangtai Li, Haobo Yuan, Yibo Yang 외

Previous multi-task dense prediction studies developed complex pipelines such as multi-modal distillations in multiple stages or searching for task relational contexts for each task. The core insight beyond these methods…

DecoderMulti-Task Learning

Poirot at CMCL 2022 Shared Task: Zero Shot Crosslingual Eye-Tracking Data Prediction using Multilingual Transformer Models

2022-05-01 · CMCL (ACL) 2022 5 · Harshvardhan Srivastava

Eye tracking data during reading is a useful source of information to understand the cognitive processes that take place during language comprehension processes. Different languages account for different cognitive trigge…