Dimensionality Reduction in Deep Learning via Kronecker Multi-layer Architectures

Jarom D. Hogue, Robert M. Kirby, Akil NarayanarXiv 2022 · DOI

Introduction

Deep learning's success is largely driven by high-capacity models—networks with many layers and thousands of nodes. However, this capacity comes at a steep computational cost. Large weight matrices make both forward evaluation and back-propagation expensive in terms of time and memory. While techniques like pruning and dropout help manage this, they are often post-processing steps. This paper introduces the Kronecker Dual Layer (KDL), a novel architecture designed to be computationally efficient from the ground up by using Kronecker product structures to drastically reduce trainable parameters.

The Kronecker Dual Layer (KDL) Architecture

The core innovation relies on the Kronecker Product ($\otimes$). If two small matrices, $L$ and $R$, are combined via a Kronecker product, they create a much larger matrix. Crucially, multiplying a vector by this large matrix can be refactored into a series of operations using only the smaller matrices, turning an $O(N^2)$ operation into something closer to $O(N)$.

Unlike previous attempts to simply approximate a weight matrix $W \approx L \otimes R$, which often suffer from high approximation error, the authors propose a "dual layer" structure:

  1. The Split: Instead of one large weight matrix $W$, the layer uses two smaller matrices, $W_L$ and $W_R$.
  2. Intermediate Activation: The authors insert an additional activation function ($\phi_2$) and a bias vector between the operations of $W_L$ and $W_R$. This allows the network to learn more complex, non-linear representations than a simple product would allow.
  3. Rank-k Scaling: To increase model capacity, the layer can be constructed as a sum of $k$ such Kronecker-inspired structures. This "rank-$k$" approach allows for a flexible trade-off between model size and expressive power.

Experimental Evaluation

The researchers evaluated the KDL-NN architecture against standard Fully Connected Networks (FNN) and "Extended" FNNs (E-FNN), which match the node count of KDL, across several benchmarks including the Bike Sharing Dataset (BSD), BlogFeedback (BF), and MNIST.

Comparison of parameter counts between standard FNN, KDL-NN, and E-FNN architectures.

As shown in the table above, KDL-NNs achieve significant parameter savings. For instance, a KDL-NN with $k=2$ uses only 292 parameters compared to the 700 parameters required by a corresponding E-FNN with similar structural complexity.

Key Results and Insights

Massive Parameter Reduction

The quantitative improvements are most striking as problem size grows. On the MNIST dataset, a standard FNN used 1,238,730 parameters. A rank-1 KDL-NN achieved similar accuracy with only 6,534 parameters—a 99.5% reduction.

Convergence and Adaptive Rank

A key feature of the KDL approach is its ability to scale capacity. The researchers demonstrated an "Adaptive Rank" strategy where the network starts as a simple rank-1 KDL and "grows" by adding more Kronecker pairs during training if the error plateaus.

Error rates for the Kronecker-based model (KPD) as the rank $k$ increases, showing convergence to the performance of the full dense model across multiple datasets.

As illustrated in the figure above, the error of the Kronecker-based model (labeled KPD) consistently converges toward the performance of the full dense model as the rank $k$ increases. This confirms that the KDL structure can effectively recover the expressive power of dense networks while maintaining a much smaller footprint.

Implicit Regularization and Speed

Surprisingly, KDL-NNs often achieved lower test errors than standard dense networks. This suggests that the Kronecker structure acts as a beneficial regularizer, preventing overfitting by restricting the weight space to more organized patterns. Furthermore, training speed improved dramatically; for the BlogFeedback dataset, the KDL-NN was roughly 20x faster to train than a standard FNN.

Limitations and Future Work

While the theoretical gains are massive, implementation in modern frameworks like TensorFlow showed less dramatic speedups due to the high optimization of standard dense matrix operations (cuBLAS/MKL). Future work may involve developing specialized kernels for Kronecker operations. Additionally, while the dual-layer (KDL) was found to be the "sweet spot," investigating deeper multi-layer splits for massive-scale models remains an open area for research.

Summary updated

BibTeX
@misc{hogue2022dimensionality,
  author = {Jarom D. Hogue and Robert M. Kirby and Akil Narayan},
  title = {{Dimensionality Reduction in Deep Learning via Kronecker Multi-layer Architectures}},
  year = {2022},
  eprint = {2204.04273},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2204.04273},
}
Figure