paper-with-me

Papers

Mask-Based Priors Are More Persistent than Query-Key Initializations

2026-08-01 · Mingze Ma, Hemanth Saratchandran, Cameron Gordon, Simon Lucey arxiv

Transformers do not merely lack data on some Boolean extrapolation tasks; they generalize in a systematically wrong way. Recent work on generalization on the unseen has shown that, despite fitting the observed domain, Transformers often extrapolate according to a simpler minimum-degree interpolator rather than the true target function. These Boolean tasks are not practical applications, but controlled stress tests for understanding Transformer inductive bias. We ask whether this failure mode can be corrected by injecting explicit structural priors into attention. Existing structured-initialization methods alter Transformer inductive bias indirectly, by choosing query and key projections whose similarity scores approximate a desired attention pattern. However, we find that when applied to Boolean extrapolation, these QK-based priors can be rapidly overwritten during training and fail to change the learned extrapolation rule. We propose a simpler alternative: initialize the additive attention mask directly. Unlike standard hard masks used for causality or locality attention, our mask is a finite, learnable attention-logit bias initialized from task-level interaction structure. This separates the structural prior from content-dependent attention scores, allowing it to persist throughout optimization. On Boolean reasoning tasks, mask-based initialization achieves near-perfect extrapolation where vanilla and QK-initialized Transformers remain trapped by the default inductive bias. The same mechanism also improves low-data arithmetic performance and remains competitive on vision and language benchmarks. These results show that attention masks can serve not only as architectural constraints, but as a simple substrate for encoding persistent inductive bias in Transformers.

📄 PDF Abstract BibTeX arXiv:2608.00418

Code (0)

등록된 구현이 없습니다.

Similar Papers 제목 키워드 기반

Observation-Aligned Mask Priors for Learning Physical Dynamics from Authentic Occlusions

2026-05-16 · Chiyuan Ma, Zihan Zhou, Tianshu Yu arxiv

Learning physical dynamics directly from incomplete observations is challenging because authentic occlusions are structured, sample-dependent, and often missing not at random, whereas existing methods typically rely on h…

RUFNet: Query-Guided Support Mask Refinement and Uncertainty Fusion based on Hybrid Mamba for Few-Shot Brain Tumor Segmentation

2026-07-06 · Dongyi He, Xiangkai Wang, Binbing Xu, Bin Jiang 외 arxiv

Few-shot brain tumor segmentation remains challenging due to noisy support masks, inter-patient variations between support and query images, and the lack of pixel-wise confidence estimation. This study proposes RUFNet, a…

Medical Image SegmentationBrain Tumor Segmentation

Fine-Grained Representation for Lane Topology Reasoning

2025-11-16 · Guoqing Xu, Yiheng Li, Yang Yang arxiv

Precise modeling of lane topology is essential for autonomous driving, as it directly impacts navigation and control decisions. Existing methods typically represent each lane with a single query and infer topological con…

Autonomous Driving

ColBERT's [MASK]-based Query Augmentation: Effects of Quadrupling the Query Input Length

2024-08-24 · Ben Giacalone, Richard Zanibbi

A unique aspect of ColBERT is its use of [MASK] tokens in queries to score documents (query augmentation). Prior work shows [MASK] tokens weighting non-[MASK] query terms, emphasizing certain tokens over others , rather …

CMaP-SAM: Contraction Mapping Prior for SAM-driven Few-shot Segmentation

2025-04-07 · Shuai Chen, Fanman Meng, Haoran Wei, Chenhao Wu 외

Few-shot segmentation (FSS) aims to segment new classes using few annotated images. While recent FSS methods have shown considerable improvements by leveraging Segment Anything Model (SAM), they face two critical limitat…

PositionSegmentation