paper-with-me

Papers

Parallax: Parameterized Local Linear Attention for Language Modeling

2026-05-27 · Yifei Zuo, Dhruv Pai, Zhichen Zeng, Alec Dewulf, Shuming Hu, Zhaoran Wang arxiv

Large Language Models (LLMs) have become the central paradigm in artificial intelligence, yet the core computational primitive of attention has remained structurally unchanged. Local Linear Attention (LLA) is an attention mechanism derived from nonparametric statistics in the test-time regression framework. In contrast to prior research on efficient attention variants, LLA upgrades the local constant estimate in softmax attention to a local linear estimate, yielding provably superior bias-variance tradeoffs for associative memory. However, LLA has not been scaled in LLM pretraining due to computational and numerical stability concerns. We introduce Parallax, a parameterized Local Linear Attention that is scalable for LLMs. Parallax eliminates the numerical solver in LLA and learns an extra query-like projector that probes the KV covariance. We place Parallax within a family of attention mechanisms connected by the bandwidth, the probe construction and the affine structure. We propose a hardware-aware algorithm that increases the arithmetic intensity over FlashAttention, shifting attention into a more compute bound regime. Our prototype decode kernel matches or outperforms FlashAttention 2/3 across diverse batch sizes and context lengths. We pretrain Parallax at 0.6B and 1.7B scales and find consistent perplexity improvements throughout pretraining with gains that transfer to downstream benchmarks. The advantage persists under both parameter-matched and compute-matched controls, demonstrating a Pareto improvement. We perform careful pretraining ablations and identify a novel phenomenon whereby Muon unlocks the capacity of Parallax. To our knowledge, this is the first empirical demonstration of strong architecture-optimizer codesign for attention mechanisms in the architecture research literature.

📄 PDF Abstract BibTeX arXiv:2605.29157

Code (0)

등록된 구현이 없습니다.

Similar Papers 제목 키워드 기반

Learning Parallax Attention for Stereo Image Super-Resolution

2019-03-14 · CVPR 2019 6 · Longguang Wang, Yingqian Wang, Zhengfa Liang, Zaiping Lin 외

Stereo image pairs can be used to improve the performance of super-resolution (SR) since additional information is provided from a second viewpoint. However, it is challenging to incorporate this information for SR since…

Image Super-ResolutionStereo Image Super-ResolutionSuper-Resolution

Parallax-tolerant Image Stitching

2014-06-01 · CVPR 2014 6 · Fan Zhang, Feng Liu

Parallax handling is a challenging task for image stitching. This paper presents a local stitching method to handle parallax based on the observation that input images do not need to be perfectly aligned over the whole o…

Image StitchingLocal Distortion

Leveraging Line-Point Consistence To Preserve Structures for Wide Parallax Image Stitching

2021-06-19 · CVPR 2021 1 · Qi Jia, ZhengJun Li, Xin Fan, Haotian Zhao 외

Generating high-quality stitched images with natural structures is a challenging task in computer vision. In this paper, we succeed in preserving both local and global geometric structures for wide parallax images, w…

Image Stitching

Parallax Effect Free Mosaicing of Underwater Video Sequence Based on Texture Features

2014-11-08 · Nagaraja S., Prabhakar C. J., Praveen Kumar P. U

In this paper, we present feature-based technique for construction of mosaic image from underwater video sequence, which suffers from parallax distortion due to propagation properties of light in the underwater environme…

Monocular Road Planar Parallax Estimation

2021-11-22 · Haobo Yuan, Teng Chen, Wei Sui, Jiafeng Xie 외

Estimating the 3D structure of the drivable surface and surrounding environment is a crucial task for assisted and autonomous driving. It is commonly solved either by using 3D sensors such as LiDAR or directly predicting…

3D ReconstructionAutonomous Driving