Introduction
Recurrent Neural Networks (RNNs), including Long Short-Term Memory (LSTM) and Gated Recurrent Units (GRU), are essential for processing sequential data. However, their performance is highly sensitive to initial weight parameters. Poor initialization often leads to vanishing gradients or numerical instability, resulting in suboptimal generalization. While generic initialization techniques exist, they are typically "data-agnostic." This paper introduces TAXO, a supervised, data-aware pretraining strategy designed to optimize RNN initialization by learning a dataset's inherent complexities through a hierarchical classification curriculum.
The TAXO Methodology
The core of the TAXO approach is a "top-down" level-wise pretraining procedure that prioritizes learning the most challenging classes in a dataset. The process is structured in three phases:
- Initial Assessment: A standard RNN ($M_0$) is trained on the complete multi-class problem to establish a baseline performance and identify class-wise confusion.
- Entropy-Based Ranking: The confusion matrix of $M_0$ is analyzed. For each class, the entropy of its predictions is calculated. High entropy indicates that the model frequently confuses that class with others, marking it as a "hard" class.
- Sequential Pretraining: Classes are ranked by entropy to build a sequence of nested classification tasks. The model is first trained to distinguish the hardest class from all others. Subsequently, the next hardest class is added, and the model is fine-tuned. This continues for a predefined depth ($d$), providing a robust set of initial weights for the final multi-class model.
Experimental Results
The researchers evaluated TAXO across two domains: Speech Recognition (JapVowel and ArabDigits) and Remote Sensing (Gard and Reunion Island).
Performance in Remote Sensing
In the Remote Sensing domain, where temporal dependencies are critical, TAXO demonstrated substantial improvements. On the Gard dataset, accuracy rose from a baseline of 85.74% to 90.89%. On the Reunion dataset, the F-Measure improved significantly from 68.34% to 76.77%.
The per-class analysis on the Reunion dataset reveals that TAXO consistently outperforms standard GRU baselines and even expert-defined hierarchies ($GRU_{DH}$), particularly in classes that are traditionally difficult to classify.
Automated Taxonomy vs. Domain Expertise
A key finding was that the automated TAXO method outperformed a hierarchy manually designed by domain experts ($GRU_{DH}$) for the Reunion Island dataset. This suggests that the model's internal confusion is a more reliable indicator for curriculum design than human-defined categories. Furthermore, unlike some pretraining methods that shuffle data ($LSTM_{sh}$), TAXO preserves vital temporal dependencies, which is crucial for domains like satellite imagery.
Conclusion
TAXO provides a powerful, data-driven alternative to standard RNN initialization. By forcing the network to address the most difficult classification boundaries early in the training process, it achieves superior generalization on complex sequence classification tasks. While the method introduces additional computational overhead during the pretraining phase, the resulting performance gains—especially in specialized domains like remote sensing—justify the investment. Future work will explore automating the selection of pretraining depth and extending the method to other architectures.
Summary updated