Hidden Boundary Motion in Transformer Optimization: Function-Space Orthogonalization of Affine Weight and Bias Updates
Zhang Gongyue, Sheng Yixuan, Liu donghan, Wang Zhiyong, Ren Weihong, Liu honghai
Abstract
Weights and biases are normally optimized as separate parameter tensors, yet they do not represent separate functions when the input to an affine layer has nonzero mean. For an affine map with input mean , a weight update contains a sample-independent displacement that is functionally indistinguishable from a bias update. We call this hidden contribution \emph{boundary motion} and decompose each update into a centered, sample-varying \emph{shape} component and a shared \emph{boundary} component. On a four-layer Transformer trained from scratch on IMDb, the bias-like term has a median norm equal to 0.664 of the raw weight-gradient norm across affine layers and training checkpoints. More strikingly, the median ratio is 134.7, while is 0.994. Thus, under AdamW, the observed boundary motion is almost entirely realized through the weight matrix rather than the explicit bias. We implement a diagnostic optimizer, Shape--Boundary Orthogonal AdamW (SBO-AdamW), that optimizes and with independent Adam states and compensates the weight-induced boundary displacement. In a single-seed experiment, SBO-AdamW raises validation accuracy from 81.68\% to 85.81\% and validation-selected test accuracy from 78.73\% to 82.73\%, with the best validation checkpoint occurring at step 800 instead of step 3000. However, the moving-batch-center compensation produces severe bias-coordinate drift and strongly reduces boundary energy. The present evidence therefore supports hidden boundary motion as an important optimization mechanism, but it does not yet establish a final general-purpose optimizer. A stable centered-affine parameterization is identified as the required next step.
Create a lesson
Related papers
An adaptive multi-fuzzy logic model for diagnosing transformer faults using dynamic weight optimization
Shared title terminologycs.LGKim-Anh Nguyen, Huy Hoang Le, Ba Tu Phung
Searching the Space of Feed-Forward Neural-Network Weight-Update Rules with Fixed Depth Symbolic Regression
Shared title terminologycs.LGCharles Brum, Edward Finkelstein
The Reference Matters: Displacement Probing for Weight-Space Learning
Shared title terminologycs.LGHaechan Shin, Hoonki Lee, Jungwoon Kang et al.
Soft-Constrained Optimization of Latent Space in Variational Autoencoders
Shared title terminologycs.LGYe Shi
WeCon: An Efficient Weight-Conditioned Neural Solver for Multi-Objective Combinatorial Optimization Problems
Shared title terminologycs.LGXuan Wu, Jinbiao Chen, Yang Li et al.
Optimizing Transformer Neural Network for Real-Time Outlier Detection on FPGAs
Shared title terminologycs.LGIlia Sobakinskikh, Paul Alexander Bilokon