[Paper Review] Linear discriminant initialization for feed-forward neural networks
This paper proposes Linear Discriminant Initialization (LDI), a geometry-driven method to initialize the first layer of feed-forward neural networks using linear discriminants that best separate data classes. By replacing random initialization with LDI, networks train faster and achieve higher accuracy, especially with large batch sizes, due to better alignment with data geometry and initialization in a more optimal loss basin.
Informed by the basic geometry underlying feed forward neural networks, we initialize the weights of the first layer of a neural network using the linear discriminants which best distinguish individual classes. Networks initialized in this way take fewer training steps to reach the same level of training, and asymptotically have higher accuracy on training data.
Motivation & Objective
- To improve neural network training efficiency and accuracy by replacing random weight initialization with a geometry-informed method.
- To investigate whether data-geometry-aware initialization can lead to faster convergence and better generalization.
- To explore the role of first-layer weights in capturing discriminative features, as suggested by geometric analyses of trained networks.
- To provide a computationally feasible alternative to expensive weight pruning methods like those in the lottery ticket hypothesis.
- To extend insights from geometric and topological network analysis into practical initialization techniques for deep learning.
Proposed method
- Apply linear discriminant analysis (LDA) to compute hyperplanes that best separate pairs of classes in the input data space.
- Use the unit vectors from LDA as initial weights for neurons in the first layer of a feedforward network.
- Iteratively apply LDA to remaining unsorted data points after each successful separation, discarding correctly classified points.
- This recursive process, termed the 'Sorting Game,' generates a sequence of hyperplanes that progressively sort data points by class.
- Initialize the first layer with at least as many neurons as hyperplanes generated, and use standard initialization (e.g., Xavier or He) for deeper layers.
- Allow all initialized weights to evolve during backpropagation training, preserving flexibility while starting from a geometrically informed state.
Experimental results
Research questions
- RQ1Can data-geometry-informed initialization improve training speed and final accuracy compared to random initialization?
- RQ2Does initializing with linear discriminants lead to better convergence, especially under large-batch training settings?
- RQ3To what extent do first-layer weights in trained networks reflect the geometric structure of the data distribution?
- RQ4Can a deterministic, non-random initialization method outperform standard random initialization without requiring network pruning?
- RQ5Is the proposed method scalable and applicable beyond small networks and simple architectures?
Key findings
- LDI-initialized networks converge faster and achieve higher training accuracy than randomly initialized networks with identical architectures.
- The performance gain is more pronounced under large-batch training, suggesting LDI helps locate better loss basins.
- On the MNIST dataset, the non-optimized Sorting Game algorithm takes ~170 seconds, while a single training epoch on a small network takes ~17 seconds.
- Training a full-sized network to completion would take roughly ten times longer than LDI initialization, indicating the method is computationally efficient relative to training.
- The improvement is more significant with sigmoid activation functions than ReLU, indicating potential sensitivity to activation type.
- Applying LDA to the first-layer feature map to initialize deeper layers did not yield positive results, suggesting LDI is most effective for the first layer.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.