Distanced LSTM: Time-Distanced Gates in Long Short-Term Memory Models for Lung Cancer Detection

Riqiang Gao, Yuankai Huo, Shunxing Bao, Yucheng Tang, Sanja L. Antic, Emily S. Epstein, Aneri B. Balar, Steve Deppen, Alexis B. Paulson, Kim L. Sandler, Pierre P. Massion, Bennett A. Landman

Introduction

Longitudinal medical imaging, which involves analyzing multiple scans of a patient over time, is critical for diagnosing progressive diseases like lung cancer. Observing the growth or morphological changes of a lung nodule provides significantly more diagnostic value than a single cross-sectional snapshot. However, standard deep learning sequence models, such as Long Short-Term Memory (LSTM) networks, are designed for data with uniform time steps. In clinical practice, patient follow-ups are often irregular, with intervals ranging from months to years. Standard LSTMs treat these varying gaps as identical, potentially losing vital temporal context necessary for accurate malignancy prediction.

Methodology: The Distanced LSTM (DLSTM)

To address the challenge of irregular temporal intervals, we propose the Distanced LSTM (DLSTM). Unlike previous "Time-LSTM" variants that focus on local gaps between consecutive scans, DLSTM emphasizes the global distance from any given scan to the most recent (and typically most informative) scan in the sequence.

The core of this architecture is the Temporal Emphasis Model (TEM), a learnable exponential decay function: $$D(d_t, a, c) = a \cdot e^{-c \cdot d_t}$$ where $d_t$ represents the time distance from scan $t$ to the final diagnostic point. This function modulates the LSTM’s forget and input gates, effectively weighting the influence of historical data based on its chronological proximity to the present.

Architecture of the Distanced LSTM (DLSTM) incorporating time distance $d_t$ to the latest scan.

Experimental Evaluation

The DLSTM was evaluated across three datasets of increasing complexity:

  1. Tumor-CIFAR: A synthetic benchmark created by embedding "growing nodules" into CIFAR-10 images. This dataset isolates the model's ability to interpret growth rates independent of image features.
  2. NLST (National Lung Screening Trial): A public dataset of nearly 1,800 subjects with relatively regular annual screenings.
  3. Clinical Data: A real-world dataset from Vanderbilt University Medical Center (1,420 subjects) characterized by highly heterogeneous and irregular scan intervals.

Key Results and Insights

The synthetic Tumor-CIFAR experiments highlighted a critical weakness in standard architectures. When nodule sizes were identical but time intervals varied (simulating different growth rates), standard LSTMs and CNNs performed no better than random chance, yielding an AUC of 0.50. In contrast, DLSTM maintained near-perfect performance with an AUC of 0.995 by successfully integrating the temporal metadata to interpret growth rates.

Performance comparison on Tumor-CIFAR: (a) different nodule sizes, same intervals; (b) same nodule sizes, different intervals.

On the irregular clinical dataset, DLSTM achieved a state-of-the-art AUC of 0.8905, significantly outperforming standard LSTMs (0.8380) and baseline CNNs (0.8350). These results validate the "Latest is Greatest" principle: while historical data provides context for growth, the most recent scan remains the primary anchor for diagnosis.

Conclusion

Distanced LSTM provides a robust framework for handling the inherent temporal irregularity of clinical longitudinal data. By anchoring neural gates to the final time point via the Temporal Emphasis Model, DLSTM captures growth dynamics more effectively than standard sequence models. Future research will focus on extending this temporal logic to longer sequences and integrating it directly into 3D feature extraction layers to further enhance diagnostic precision.

Summary updated

BibTeX
@inproceedings{gao2019distanced,
  author = {Riqiang Gao and Yuankai Huo and Shunxing Bao and Yucheng Tang and Sanja L. Antic and Emily S. Epstein and Aneri B. Balar and Steve Deppen and Alexis B. Paulson and Kim L. Sandler and Pierre P. Massion and Bennett A. Landman},
  title = {{Distanced LSTM: Time-Distanced Gates in Long Short-Term Memory Models for Lung Cancer Detection}},
  booktitle = {MLMI @ MICCAI},
  year = {2019},
  doi = {10.1007/978-3-030-32692-0\_36},
}
Figure