paper-with-me

홈 › Papers

MSWA: Refining Local Attention with Multi-ScaleWindow Attention

2025-01-02 · Yixing Xu, Shivank Nag, Dong Li, Lu Tian, Emad Barsoum

Transformer-based LLMs have achieved exceptional performance across a wide range of NLP tasks. However, the standard self-attention mechanism suffers from quadratic time complexity and linearly increased cache size. Sliding window attention (SWA) solves this problem by restricting the attention range to a fixed-size local context window. Nevertheless, SWA employs a uniform window size for each head in each layer, making it inefficient in capturing context of varying scales. To mitigate this limitation, we propose Multi-Scale Window Attention (MSWA) which applies diverse window sizes across heads and layers in the Transformer. It not only allows for different window sizes among heads within the same layer but also progressively increases window size allocation from shallow to deep layers, thus enabling the model to capture contextual information with different lengths and distances. Experimental results on language modeling and common-sense reasoning tasks substantiate that MSWA outperforms traditional local attention in both effectiveness and efficiency.

📄 PDF Abstract BibTeX arXiv:2501.01039

Code (0)

등록된 구현이 없습니다.

Tasks

Common Sense ReasoningLanguage ModelingLanguage Modelling

Methods 이 논문이 사용한 방법론

Attention 설명 없음
BPE Byte Pair Encoding, or BPE, is a subword segmentation algorithm that encodes rare and unknown words as sequences of subword units. The intuition is that various word…
Linear Layer A Linear Layer is a projection $\mathbf{XW + b}$.
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$…
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…
Absolute Position Encodings Absolute Position Encodings are a type of position embeddings for [Transformer-based models] where positional encodings are…
Dropout Dropout is a regularization technique for neural networks that drops a unit (along with connections) at training time with a specified probability $p$ (a common value is…
Adam 설명 없음

Similar Papers 제목 키워드 기반

MSWAL: 3D Multi-class Segmentation of Whole Abdominal Lesions Dataset

2025-03-17 · Zhaodong Wu, Qiaochu Zhao, Ming Hu, Yulong Li 외

With the significantly increasing incidence and prevalence of abdominal diseases, there is a need to embrace greater use of new innovations and technology for the diagnosis and treatment of patients. Although deep-learni…

Transfer Learning

DreamSwapV: Mask-guided Subject Swapping for Any Customized Video Editing

2025-08-20 · Weitao Wang, Zichen Wang, Hongdeng Shen, Yulei Lu 외 arxiv

With the rapid progress of video generation, demand for customized video editing is surging, where subject swapping constitutes a key component yet remains under-explored. Prevailing swapping approaches either specialize…

Video Generation

PrivLLMSwarm: Privacy-Preserving LLM-Driven UAV Swarms for Secure IoT Surveillance

2025-12-07 · Jifar Wakuma Ayana, Huang Qiming arxiv

Large Language Models (LLMs) are emerging as powerful enablers for autonomous reasoning and natural-language coordination in unmanned aerial vehicle (UAV) swarms operating within Internet of Things (IoT) environments. Ho…

Reinforcement LearningFederated Learning

SimSwap: An Efficient Framework For High Fidelity Face Swapping

2021-06-11 · Renwang Chen, Xuanhong Chen, Bingbing Ni, Yanhao Ge

We propose an efficient framework, called Simple Swap (SimSwap), aiming for generalized and high fidelity face swapping. In contrast to previous approaches that either lack the ability to generalize to arbitrary identity…

Face SwappingVocal Bursts Intensity Prediction

FraudSMSWalker: Benchmarking Agentic Large Language Models for SMS-to-Webpage Fraud Detection

2026-06-15 · Y. H. Zhou, Z. M. Ma, Y. J. Zhou, Y. T. Li 외 arxiv

SMS fraud is increasingly cross-channel: a message directs the user to a webpage, and the final risk depends on how the SMS claim aligns with the page content and requested user action. However, existing evaluations eith…

Fraud Detection