# Poster 29650

- Kind: Poster
- Talk page and recording: https://iclr.cc/virtual/2025/poster/29650

> Transcript of the talk's recording (session_asr), made by speech recognition or taken from the host's captions. It may contain errors. The words are the speakers'; listen to the recording on the talk's page before quoting it.

Hi, my name is Vasilis. I'll be presenting work on a theory of initialization's impact on specialization on behalf of a great collaboration with Devin Jarvis, Clementine Domine, Andrew Sachs, and Stefano Serra -Manelli. Previous work in deep learning theory established a link between activation function and specialization.
If we consider a two-layer teacher-student setup in which a network known as the student is trained from labels generated by a fixed-weight network known as the teacher, we can measure specialisation as the similarity of the hidden layer representation of the student versus the teacher. One signature of this is the self -similarity of the student nodes, denoted here by the matrix Q, where we would expect a fully specialised student to have entries of one along the diagonal for the number of nodes in the hidden layer of the teacher and zero elsewhere.
Although a common assumption has been that sigmoidal students specialize and ReLU students will not, we show in our paper that network initialization can also have a significant impact on specialization, irrespective of the activation function. For example, we show here generalization error trajectories and Q matrices for sigmoidal student that does not specialize and a ReLU network that does.
Concretely, we show that both initialization imbalance, i.e. the relative scale of the first and second layer initializations, and the uniformity of the second layer initialization play crucial roles in the phenomenon of specialization in this setup. We show here for ReLU and sigmoid activation phase diagrams of an aggregated entropy measure over the Q matrix diagonal. The x-axis in each panel is the standard deviation of the first layer initialization.
The y-axis is the norm of a polar coordinate initialization of the second layer, while the different panels represent different angles of the second layer polar coordinate initialization. Theta equals zero corresponds to maximally different weights in the second layer initialization, while theta equals pi over four corresponds to identical weights in second layer initialization.
Blue-leaning initializations show specialization and yellow-leaning initializations exhibit high entropy and thus represent non-specialized solutions. The assumptions tying activation to specialization have underpinned various follow-up works, including the domain of continual learning, where it provides the basis of an argument explaining why there is a non-monotonic relationship between catastrophic forgetting and task similarity.
While this relationship has been observed in numerous studies with continual learning, both empirically and in theory, there are also settings in which one can get monotonic relationships, most notably in early work by Goodfellow et al. In this paper, we try to unify these perspectives on forgetting profiles through the lens of initialization and specialization.
Using the same teacher-student setup from before, we find that networks that specialise during the first task of learning and have relatively uniform second task initialisation will exhibit non-monotonic forgetting as a function of task similarity via network behaviours that have been characterised as a Maslow's hammer effect in the literature. This is shown in the green curve here. However, if there is no specialisation after the first task and large asymmetric weights in the second task layer,
the orange curve, or there is specialization after both tasks, the blue curve, the networks exhibit monotonically worse forgetting for more dissimilar second tasks. Our findings have implications for various machine learning methods, notably elastic weight consolidation, which is a widely used method for mitigating catastrophic forgetting.
We show that EWC relies on specialised solutions to work well, since specialisation leaves spare capacity or directions for the network to explore in later tasks. In our paper, we provide further theoretical justifications for our findings using race dynamics in the framework of deep linear networks, as well as further experiments on non-synthetic datasets such as MNIST and disentanglement experiments in VAEs.
To conclude, our main findings are that initialization drives specialization, and this explains the source of two forgetting profiles in continual learning. Thanks for watching.
