Force without transmission: a depth-induced rank collapse that no loss on the representation reopens
Organizations: Data-intensive Systems and Visualization Group (dAI.SY), Technische Universität Ilmenau, Max-Planck-Ring 14, 98693 Ilmenau, Thuringia, Germany · German Centre for Integrative Biodiversity Research (iDiv) Halle–Jena–Leipzig, Deutscher Platz 5e, 04103 Leipzig, Saxony, Germany · Faculty of Biological Sciences, Friedrich Schiller University, Fürstengraben 1, 07745 Jena, Thuringia, Germany
Abstract
Training can drive a transformer into a rank collapse: all token representations point in one direction, and learning stops. In a related collapse of attention, a loss term with a bounded corrective force repairs the network during the run. We ask whether such a term repairs rank collapse. We collapse small transformers by weakening their skip connection and treat copies of the collapsed network. No added loss term repaired the collapse, although the stronger kind pushed with about a tenth of the task gradient. The reason was the path, not the strength. The task gradient no longer reached the query and key weights, which decide where attention looks, and the added term's gradient faded before the blocks where the collapse forms. Restoring the skip connection, which changes no weight, reopened this path at once. The rank then recovered, but only far above the scale of collapse. After a burst of high learning rate the path stayed open and the rank recovered untreated. Registered predictions from the path ranked recovery times but did not transfer to this cause. In every case the loss stayed above that of a healthy network after the rank recovered. Whether a collapsed network can be repaired depends on whether the gradient still reaches the weights that must change, not on how strongly a loss term pushes.
Figures & tables
| Treatment | Added loss | Force class | Added loss when switched on |
|---|---|---|---|
| penalty / | vanishing | / | |
| hinge / | bounded | / | |
| cosine | neither | ||
| untreated | – | control | – |
| reversed ramp | – | driver reversed | – |
Appendix figures & tables5 assets
Supplementary material from the paper’s appendix.
Appendix
| Treatment | events | median | range over events | clip fraction |
|---|---|---|---|---|
| penalty 1 | 8 | 0.0032 | 0.0027–0.0043 | 0.22 |
| hinge 1 | 8 | 0.0887 | 0.0550–0.1630 | 0.44 |
| penalty 4 | 8 | 0.0130 | 0.0111–0.0170 | 0.21 |
| hinge 4 | 8 | 0.3071 | 0.1942–0.6194 | 0.60 |
| cosine 1 | 8 | 0.0618 | 0.0380–0.0881 | 0.40 |