Grounded Recurrent Neural Networks

Ankit Vani, Yacine Jernite, David A. SontagarXiv 2017

Abstract

Grounded Recurrent Neural Networks (GRNNs) address the challenges of data efficiency and interpretability in large-scale multi-label text classification, particularly in specialized domains like healthcare. By explicitly tying specific hidden state dimensions to individual labels and imposing a semi-diagonal weight constraint, GRNNs achieve linear scaling with the number of labels and provide built-in interpretability. Evaluation on clinical datasets (MIMIC-II/III) and StackOverflow benchmarks demonstrates that GRNNs outperform standard GRUs and bag-of-words models, especially in data-constrained scenarios.

Introduction

In specialized fields such as healthcare, extracting thousands of distinct concepts (e.g., ICD-9 diagnosis codes) from lengthy clinical notes is a critical task. Standard Recurrent Neural Networks (RNNs), such as LSTMs or GRUs, face significant hurdles in this domain:

  1. Data Efficiency: Deep learning models typically require massive labeled datasets, which are often scarce in medical contexts.
  2. Interpretability: Understanding why a "black box" RNN predicted a specific diagnosis from a 2,000-word discharge summary is difficult.
  3. Scaling: Computational costs and overfitting risks increase as the number of possible labels grows into the thousands.

Methodology

The Grounded Recurrent Neural Network (GRNN) architecture, built upon the Gated Recurrent Unit (GRU), introduces several core innovations to mitigate these issues.

Grounded Dimensions and Structural Constraints

The hidden state $h$ is partitioned into two components: grounded dimensions $g$, where each dimension corresponds to exactly one label, and control dimensions $c$, which track general context and history. To ensure that grounded dimensions maintain their semantic association with specific labels, the authors impose a semi-diagonal structural constraint on the weight matrices. Each grounded dimension $g_l$ is updated based only on its own previous value, the current input, and the control state.

Architecture of the GRNN showing grounded dimensions (g) mapped to specific labels and control dimensions (c).

Linear Scaling and Training

This semi-diagonal constraint allows the number of parameters to grow linearly with the number of labels, rather than quadratically, facilitating the handling of thousands of categories. Additionally, the models utilize curriculum learning—starting with short text snippets and gradually increasing document length—to help grounded dimensions maintain their meaning across long sequences.

Evaluation and Results

The GRNN was evaluated on three multi-label classification tasks: MIMIC-II (7,042 ICD-9 codes), MIMIC-III (5,000 codes), and StackOverflow (4,000 tags).

Performance and Data Efficiency

On the MIMIC-II dataset, the GRNN achieved a Micro-F1 score of 0.580, significantly outperforming the standard GRU (0.512) and a strong Attention Bag-of-Words baseline (0.523). The model also demonstrated superior Precision at N ($P@8$) and Recall at N ($R@8$) metrics, which are critical for clinical decision support systems.

Performance comparison of GRNN variants against baselines on the MIMIC-II dataset.

Experiments further revealed that as training data decreased, the performance gap between GRNN and standard GRUs widened. This confirms that the inductive bias provided by grounding makes the model more robust to small datasets. Furthermore, GRNNs showed the most significant improvement for labels with moderate frequency, which are typically difficult for standard models to learn without overfitting.

Interpretability

By design, each dimension in $g$ represents a specific label. This allows researchers to visualize the activation of a dimension as the model processes a document. For instance, a spike in the "Atrial Fibrillation" dimension following the phrase "patient went into afib" provides immediate, built-in verification of the model's reasoning.

Conclusion

GRNNs provide a powerful framework for multi-label classification by integrating structural inductive biases that improve both performance and transparency. While current iterations do not explicitly model complex label correlations or hierarchies, the grounded approach offers a significant step toward making deep learning models more practical for high-stakes domains like clinical medicine. Future work may explore softer constraints or structured prediction objectives to further enhance label interaction modeling.

Summary updated

Abstract

In this work, we present the Grounded Recurrent Neural Network (GRNN), a recurrent neural network architecture for multi-label prediction which explicitly ties labels to specific dimensions of the recurrent hidden state (we call this process "grounding"). The approach is particularly well-suited for extracting large numbers of concepts from text. We apply the new model to address an important problem in healthcare of understanding what medical concepts are discussed in clinical text. Using a publicly available dataset derived from Intensive Care Units, we learn to label a patient's diagnoses and procedures from their discharge summary. Our evaluation shows a clear advantage to using our proposed architecture over a variety of strong baselines.
BibTeX
@misc{vani2017grounded,
  author = {Ankit Vani and Yacine Jernite and David A. Sontag},
  title = {{Grounded Recurrent Neural Networks}},
  year = {2017},
  eprint = {1705.08557},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1705.08557},
}
Figure