arXiv:2609.09595cs.LGSep 2026

Manuscript Offprint

arXiv:2609.09595

Teacher Geometry Shapes Learnability in Teacher-Student Networks

Kai J. Sandbrink, Flavio Martinelli, Alexander van Meegen, Wulfram Gerstner, Johanni Brea

Abstract

Teacher-student systems, in which a teacher neural network generates training labels so that a student neural network can learn to implement the same function, are widely used as an abstract setting to study learning. However, the structure of the teachers is often overlooked by assuming randomly-generated, normally-distributed parameters. This hides substantial variation in how learnable different teachers are. We formalize learnability as the success rate of converging to the global minimum, as a function of overparameterization, learning algorithm, student initialization distribution, and teacher geometry. We both identify an easy distribution that maximizes node dissimilarity and a hard distribution that minimizes it, and show that these two distributions induce markedly different success rates across a large range of settings and for different activation functions. To explain the gap, we study the loss landscape of small neural networks that contain two distinct kinds of suboptimal local minima, out-of-bounds (OOB) minima at the edge of the data distribution and interior minima within. Assuming infinite data and a fast readout layer, we analytically reduce the loss landscape of small networks to two dimensions, showing that the region of attraction of interior minima changes as a function of teacher structure. In larger networks, maximally dissimilar teachers induce more interior minima, while minimally dissimilar teachers induce more OOB minima. Motivated by these analyses, we show that differentially increasing the learning rate of the readout layer and decreasing the learning rate of the inner biases increases success rates. These findings provide an important step in narrowing the gap between the study of teacher-student networks and more structured functions that arise in practice.

Preprint.

1 Introduction

How well a function can be learned by a neural network, also known as its learnability, is strongly determined by its expressibility [1–3]: how many units, and what architecture, does a neural network need to express it? If a neural network does not have sufficient capacity to represent a function, it will never be able to learn it. Linear functions and simple boolean functions AND and OR, which can all be represented by a single node, are the simplest. Famously, XOR requires two nodes and two layers to be solved successfully [4, 5]. In higher dimensions, parity on multiple bits places requirements on architecture and input data distribution to be learned successfully [6–8]. Functions containing periodic components are hard for neural networks to approximate across common activation functions, none of which contain a periodic element [9], and therefore require a large number of neurons. However, this is not the complete picture. Even when a function can be efficiently implemented by a neural network, local optimization methods such as gradient descent may still fail to find the solution by converging to suboptimal local minima [10, 11].

We therefore ask: Apart from expressibility, what factors influence the learnability of a function? To make this question precise, we make use of the teacher-student framework in which a student is trained to match the outputs generated by another network [12–14]. This makes a minimal parameterization known by construction.

Empirically, the rate of convergence to the global minimum is highly dependent on the exact configuration of the teacher networks, as demonstrated by “easy teachers” that are learnable by a student with the same number of nodes and “hard teachers” that are rarely matched even by student networks twice as wide as the teacher network [15]. Teachers in many theoretical studies are drawn with normally distributed weights [12, 14, 16–18], or assume simplified structures on weights or data (e.g. diagonal [19], orthogonal [20]); these modeling choices do not take into account differences in the difficulty between teachers. A complete picture of what factors determine the probability of a student network reaching zero loss is missing.

In this paper, we systematically study the sources of variation in difficulty of teacher-student systems from the perspective of loss landscapes. For first-order optimization methods such as gradient descent, the critical points and their regions of attraction are of particular interest as they can lead student networks to converge above the global minimum [10]. The loss landscape with its critical points is purely determined by the teacher network (and the training data). However, the regions of attraction depend also on the flow fields induced by the optimizer dynamics [21]. Therefore, two teacher networks of the same size can induce loss landscapes of different levels of difficulty either by increasing or decreasing the number of suboptimal local minima; or by changing the size of their basins of attraction. In this paper, we investigate these factors through the study of three teacher distributions with highly different success rates, through an analytical reduction to study the loss landscape of small networks and through a number of controlled experiments to identify specific factors of variance.

The paper makes the following contributions:

  • We introduce and formalize teacher-student learnability as a function of teacher distribution, initialization, data, overparameterization, and optimizer.
  • We discover that the similarity between teacher node weights strongly negatively correlates with the convergence probability of students. We define three distributions of teachers with increasing degree of learnability: minimally dissimilar, standard, and maximally dissimilar.
  • We characterize the loss landscape in ReLU networks analytically to study how local minima are influenced by the orientations, signs, and biases of teacher and student nodes.
  • We describe the minima reached by students in the different teacher distributions, showing that neurons are more likely to be driven out-of-bounds for minimally dissimilar and standard distributions than for the maximally dissimilar teacher distribution.
  • We study the impact of the optimizer on the learning algorithm and show in particular that increasing the learning rate of the readout weights or decreasing that of the inner biases substantially improves success rates across all distributions.

Figure

B

Figure

Figure 1: (A) A teacher network with input dimension D=2D = 2 and M=3M = 3 hidden ReLU neurons. The color of the lines indicates whether a node has a positive (red) or negative (blue) readout weight. The color in the contour plot indicates the network output as a function of the input x; the arrows indicate the non-zero side of the ReLU. (B) Same as (A), except showing an overparameterized student network at initialization with N=4N = 4 hidden neurons.

References (55)