Deep attention parameters linked to outputs under smoothing functions
The Identifiability and Observability of Deep Normalized Attention
Summary
This paper studies which parts of deep single-head attention models can be uniquely determined by looking only at their inputs and outputs. The authors prove that under certain smooth transformations, like the common softmax normalization, these models' scoring and value combinations are mostly identifiable except for some sign ambiguities. They also explore cases where parameters become less observable due to score collapses, giving precise mathematical descriptions of these situations. The work includes calculations of how sensitive these parameters are when inputs nearly collapse, helping to understand when and why numerical difficulties occur.
What this means in practice
- •For machine learning engineers: Design attention layers with better parameter recovery by knowing when scores become unobservable or parameters degenerate, improving model interpretability and debugging.
- •For numerical analysts: Assess and mitigate numerical sensitivity in deep attention models during near-collapse scenarios using the authors’ Jacobian decay and contact order results.
A theory result. No direct application yet.