scimeatlas

Research map / Architectures and efficiency / Attention and transformers

Segment-Based Attention Masking for GPTs

Shahar Katz, Liran Ringel, Yaniv Romano, Lior Wolf

ACL 2025Architectures and efficiency › Attention and transformersapproach: Attention head mechanismsopen problems in this approach12 citations (OpenAlex)

Tel Aviv University · Technion - Israel Institute of Technology

Read the paperPlace an idea next to itCheck your own paper ↗

12measured effects
5improved
1no clear effect
5hurt
1mixed

AI-extracted. The measured effects below were read by AI from the paper's full text (no summary yet). Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Measured effects reported in the paper

What was changedWhereMeasuredEffect
replace causal masking with segment-based MAS during prefill (with fine-tuning)Llama-3.2-1B · Commonsense Reasoningaverage accuracy: 63.3 -> 68.6Improved
replace causal masking with MASQwen2.5-3B · Commonsense Reasoningaverage accuracy: 78.1 -> 84.1Improved
replace causal masking with MASLlama-3-8B · Commonsense Reasoningaverage accuracy: 84.0 -> 85.8Improved
replace causal masking with MASLlama-3-8B · HellaSwagaccuracy: 94.5 -> 93.2Hurt
replace causal masking with MASeight models · BoolQaccuracy: win rate 85.7%Mixed
evaluate causal-trained model with MAS (no MAS fine-tuning) (ablation)Llama-3.2-3B · Commonsense Reasoningaverage accuracy: 5.5 averageHurt
evaluate MAS-trained model with causal attention only (ablation)Llama-3.2-3B · Commonsense Reasoningaverage accuracy: 64.4 vs 82.3 with MASHurt
fine-tune only Wq,Wv instead of Wq,Wk,Wv (ablation)Llama-3.2-3B + MAS · Commonsense Reasoningaverage accuracy: 81.7 -> 82.3Improved
add WU,WD to trained matrices (Wq,Wk,Wv,WU,WD) (ablation)Llama-3.2-3B + MAS · Commonsense Reasoningaverage accuracy: 82.3 -> 80.4Hurt
train only Wq (ablation)Llama-3.2-3B + MAS · Commonsense Reasoningaverage accuracy: 82.3 -> 80.3Hurt
train only MLP matrices (WU,WD) with MAS (ablation)Llama-3.2 models · Commonsense Reasoningaverage accuracyNo clear effect
compare MAS vs causal across training checkpoints (ablation)Llama-3.2-1B/3B · Commonsense Reasoningaverage accuracyImproved

Open problems in attention head mechanisms

Do the attention-head mechanisms and length-generalization results hold in full-scale, real-world models?

All 5 open problems and what was already tried →

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy