Supervised level-wise pretraining for recurrent neural network initialization in multi-class classification

Dino Ienco, Roberto Interdonato, Raffaele GaetanoarXiv 2019

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:

  1. 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.
  2. 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.
  3. 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%.

Quantitative results for Remote Sensing tasks (Gard and Reunion)

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.

Per-Class F-measure comparison on the Reunion dataset

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

Abstract

Recurrent Neural Networks (RNNs) can be seriously impacted by the initial parameters assignment, which may result in poor generalization performances on new unseen data. With the objective to tackle this crucial issue, in the context of RNN based classification, we propose a new supervised layer-wise pretraining strategy to initialize network parameters. The proposed approach leverages a data-aware strategy that sets up a taxonomy of classification problems automatically derived by the model behavior. To the best of our knowledge, despite the great interest in RNN-based classification, this is the first data-aware strategy dealing with the initialization of such models. The proposed strategy has been tested on four benchmarks coming from two different domains, i.e., Speech Recognition and Remote Sensing. Results underline the significance of our approach and point out that data-aware strategies positively support the initialization of Recurrent Neural Network based classification models.
BibTeX
@misc{ienco2019supervised,
  author = {Dino Ienco and Roberto Interdonato and Raffaele Gaetano},
  title = {{Supervised level-wise pretraining for recurrent neural network initialization in multi-class classification}},
  year = {2019},
  eprint = {1911.01071},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1911.01071},
}
Figure