[Paper Review] Effective Representations of Clinical Notes
This paper proposes neural network-based representations of clinical notes using transfer learning to improve predictive modeling with limited labeled data. By leveraging pre-trained embeddings (GloVe) and RNNs on a large EHR corpus, the method learns compact, patient-level representations that significantly outperform traditional bag-of-words and topic models—especially when training data is scarce (N < 1000).
Clinical notes are a rich source of information about patient state. However, using them to predict clinical events with machine learning models is challenging. They are very high dimensional, sparse and have complex structure. Furthermore, training data is often scarce because it is expensive to obtain reliable labels for many clinical events. These difficulties have traditionally been addressed by manual feature engineering encoding task specific domain knowledge. We explored the use of neural networks and transfer learning to learn representations of clinical notes that are useful for predicting future clinical events of interest, such as all causes mortality, inpatient admissions, and emergency room visits. Our data comprised 2.7 million notes and 115 thousand patients at Stanford Hospital. We used the learned representations, along with commonly used bag of words and topic model representations, as features for predictive models of clinical events. We evaluated the effectiveness of these representations with respect to the performance of the models trained on small datasets. Models using the neural network derived representations performed significantly better than models using the baseline representations with small ($N < 1000$) training datasets. The learned representations offer significant performance gains over commonly used baseline representations for a range of predictive modeling tasks and cohort sizes, offering an effective alternative to task specific feature engineering when plentiful labeled training data is not available.
Motivation & Objective
- Address the challenge of predicting clinical events like mortality and hospitalization from high-dimensional, sparse clinical notes with limited labeled data.
- Reduce reliance on task-specific feature engineering by learning data-driven, patient-level representations of clinical notes.
- Evaluate whether transfer learning can yield more efficient representations than standard baselines (e.g., bag-of-words, topic models) in low-data regimes.
- Demonstrate that learned representations generalize well across diverse clinical prediction tasks with minimal customization.
- Assess the utility of combining learned representations with traditional features (e.g., wide and deep models) when data becomes more abundant.
Proposed method
- Use a two-stage transfer learning approach: pre-train on a large clinical note corpus (2.7M notes, 115k patients) to learn meaningful representations.
- Apply the 'embed-and-aggregate' method: map clinical concepts to dense GloVe embeddings, then average them at the note and patient levels to form fixed-length patient vectors.
- Use a recurrent neural network (RNN) architecture to jointly learn representations for concepts, notes, and patients, with supervision from discrete diagnosis codes.
- Train the RNN on the full note sequence per patient, using temporal order to capture clinical progression and context.
- Evaluate representations as input features for downstream models (e.g., logistic regression) on target tasks: mortality, inpatient admission, ER visits.
- Compare performance across representations using learning curves to assess model accuracy as a function of training set size.
Experimental results
Research questions
- RQ1Can neural network-based representations of clinical notes improve predictive performance on rare clinical events when labeled data is limited?
- RQ2How do transfer learning-based representations compare to traditional baselines (e.g., bag-of-words, LDA) in low-data regimes?
- RQ3Does combining learned representations with bag-of-words features yield better performance than either alone when training data increases?
- RQ4To what extent do the learned representations generalize across diverse clinical prediction tasks without task-specific tuning?
- RQ5How does the performance of learned representations scale with increasing training set size compared to simpler baselines?
Key findings
- Neural network-derived representations significantly outperformed bag-of-words and topic model baselines when training data was small (N < 1000 patients).
- The RNN-based representation achieved the highest performance across all tasks and training set sizes, particularly excelling in low-data scenarios.
- The simpler 'embed-and-aggregate' method performed nearly as well as the RNN approach, offering a strong trade-off between performance and computational efficiency.
- Combining the RNN representation with bag-of-words features yielded consistent performance gains across all training set sizes, outperforming both individual components.
- With sufficient labeled data (N > 1000), bag-of-words with TF-IDF weighting matched or surpassed the performance of learned representations, suggesting diminishing returns for transfer learning at scale.
- The study’s optimistic bias in evaluation (prediction time aligned with future events) does not invalidate the core finding: learned representations are more effective than baselines in low-data settings.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.