Wiola 13M, a Gated Spiral Attention Architecture for Parameter Efficient Small Language Models
Abstract
Small language models in the ten to one hundred million parameter range are attractive for on device inference, rapid experimentation, and controlled scientific study, yet most of them reuse the standard transformer block without adaptation to the small scale regime. We present Wiola, a decoder only language model whose novelty is concentrated in three drop in components of every layer. First, Spiral Rotary Positional Encoding perturbs the standard rotary frequencies by a slowly growing per dimension factor so that phase trajectories fan outward, improving long range discrimination while adding no parameters. Second, Gated Spiral Attention introduces a per head, content adaptive scalar gate derived from a causal cumulative statistic of the query stream, providing an implicit and differentiable form of soft head selection at negligible cost. Third, the Butterfly feed forward block replaces the conventional expansion layer with a multiplicative interaction and an intra block bypass path, matching the parameter count of a four times gated linear unit block while improving gradient flow in shallow stacks. We formalize each component, derive exact parameter and computation budgets, and prove that the gated attention admits an exact and numerically verified equivalence between full sequence training and cached autoregressive decoding, so that no approximation is introduced at inference time. We also describe a fully reproducible training and evaluation protocol on a standard tiny story corpus. The reference implementation is released as an open source package with weights ready publishing support.
Create a lesson
Metadata
- Categories
- cs.CL, cs.AI
- Comments
- 6
Related papers
Parameter Efficient Multimodal Instruction Tuning for Romanian Vision Language Models
Shared title terminologycs.CLGeorge-Andrei Dima, Răzvan-Alexandru Smădu, Dumitru-Clementin Cercel
DiCALM: Converting Autoregressive Convolution-Attention Language Models into Discrete Diffusion Language Models
Shared title terminologycs.CLPhong Le, Ngoc-Quan Pham, Dat Quoc Nguyen
DKnown-Jev-2: Article-Level Answer-Evidence Classification and Efficient Inference with a Pre-trained Language Model
Shared title terminologycs.CLQi Li, Jianjun Xu, Jiu Li et al.
CARVE: Content-Aware Recurrent with Value Efficiency for Chunk-Parallel Linear Attention
Shared title terminologycs.CLSayak Dutta
Distilled Rapid Embedding Transfer (DRET): Parameter-Efficient Biomedical Domain Adaptation via Priority-Based Embedding Transfer
Shared title terminologycs.CLGirish Sundaram, Daniel Berleant
TACG: Trajectory-Aware Commit Gating for Diffusion Language Model Decoding
Shared title terminologycs.CLChengcheng Wang, Tingzhang Luo, Wenhao Li et al.