Abstract
This paper proposes an unsupervised method to automatically learn the architecture of deep neural networks (DNNs) by leveraging the "efficient coding principle" from neuroscience. By employing global group sparse coding on entire images, the algorithm discovers local connectivity patterns and determines optimal network depth without human-designed priors. Our findings reveal a significant positive correlation between unsupervised feature entropy and supervised classification accuracy. On the CIFAR-10 dataset, the automatically learned structures achieve competitive performance, demonstrating the potential for principled, automated architecture design.
Introduction
The success of Deep Neural Networks (DNNs) typically depends on human experts manually designing complex architectures, including layer counts, connection types (e.g., convolutions), and pooling strategies. This process is often a tedious trial-and-error endeavor requiring substantial domain expertise. Originally written in 2014 and released in 2021, this research addresses a fundamental question: Can we learn an effective network structure from scratch in a fully automatic and principled manner? By replacing human intuition with an information-theoretic approach, the authors aim to automate the learning of inter-layer connections and network depth.
Methodology
The proposed approach is grounded in the efficient coding principle, which suggests that internal representations should maximize the mutual information between inputs and outputs, effectively maximizing the entropy of output signals.
Global Group Sparse Coding
To implement this principle, the authors utilize global group sparse coding. Unlike traditional sparse coding applied to small image patches, this method is trained on whole images (whitened prior to processing). This global approach allows the network to naturally discover its own connectivity:
- Inter-layer Connections: The dictionary matrix resulting from sparse coding is thresholded to create a binary mask. This mask defines the wiring diagram, pruning weak connections to leave a sparse, optimized structure.
- Invariance and Pooling: Using group lasso, neurons are categorized into groups based on their selectivities, mimicking the spatial invariance typically achieved by pooling layers in Convolutional Neural Networks (CNNs).
Determining Network Depth
The algorithm uses feature entropy as a stopping criterion for depth. As the efficient coding principle aims for statistically independent features, the algorithm stops adding layers when the entropy gain between successive layers falls below a specific threshold. Once the structure is established, the learned masks and weights initialize a feed-forward network for fine-tuning via backpropagation.
Results and Key Insights
The framework was evaluated primarily on the CIFAR-10 dataset. Key findings include:
- Entropy-Accuracy Correlation: A primary insight is the strong positive correlation between the unsupervised entropy of a network's features and its supervised classification accuracy. This suggests that maximizing entropy is a valid proxy for learning discriminative features.
- Discovery of CNN-like Structures: Despite no explicit local connectivity constraints, the global sparse coding algorithm naturally learned basis functions localized to specific image regions. It effectively "rediscovered" the local receptive fields characteristic of CNNs by capturing the statistical structure of natural images.
- Performance: A 3-layer automatically structured network achieved 69.8% test accuracy on CIFAR-10, outperforming a 1-layer CNN (60.4%) and approaching the performance of a human-designed 2-layer CNN (72.5%).
- Effectiveness of Sparse Coding: Structures derived from sparse coding significantly outperformed those generated randomly or via Restricted Boltzmann Machines (RBMs). For example, at 10% connection density, sparse coding reached 57.2% accuracy versus 48.2% for random structures.
Conclusion
This work demonstrates that fundamental principles from neuroscience can be successfully applied to automate DNN architecture design. While the computational cost of global sparse coding on full images is high—requiring specialized custom CUDA-based FISTA implementations—the results prove that structural priors can be learned rather than manually engineered. Future work may explore extending these principles to other domains like speech and natural language processing, as well as refining the theoretical links between redundancy reduction and deep learning performance.
Summary updated