Skip to content
Back to earlier research
05BIOMEDICAL NLP / TOPIC MODELING / EXPLORATORY ML

Biomedical NLP for Alzheimer's Disease

Extracting latent clinical patterns from unstructured medical records and imaging-derived biomarkers.

2018 — 2019 · University College London

An exploratory biomedical NLP pipeline for discovering latent clinical patterns in Alzheimer's disease records by combining unstructured medical text with cognitive, genetic, and imaging-derived biomarkers.

01

The Clinical-NLP Challenge

This project was completed as an MSc research dissertation at University College London, using data from the Alzheimer's Disease Neuroimaging Initiative (ADNI). Clinical records contain rich signal about disease progression, but it is locked in unstructured text. The goal was to surface latent patterns from that text and combine them with structured biomarkers, rather than to build a diagnostic classifier.

02

Dataset and Biomarkers

The corpus was built from unstructured ADNI medical-record text. Each patient document was enriched with structured signals available in ADNI: APOE4 genotype (a genetic risk factor), MMSE cognitive score, and hippocampal volume normalized by intracranial volume — a standard adjustment for individual head-size variation.

03

Text-Processing Pipeline

Raw clinical text was extracted, tokenized, and lemmatized, then passed through bigram detection to capture multi-word clinical phrases, synonym normalization to collapse clinically equivalent terms, and frequency filtering with deduplication to remove noise before corpus construction.

system.inspect("tokenization")Illustrative

Patient reports low mood and hearing loss

patientlow_moodhearing_loss
ADNI Medical Records
Text Extraction
Tokenization & Lemmatization
Bigram Detection
Synonym Normalization
Frequency Filtering & Dedup
Enriched Clinical Corpus
LDA Topic Modeling
Coherence Evaluation
Topic Visualization
04

Topic-Model Architecture

Documents were modeled with Latent Dirichlet Allocation (LDA): each document is treated as a mixture of latent topics, and each topic as a distribution over vocabulary. LDA is a bag-of-words model — it does not capture word order or deep contextual meaning, which shaped how results were interpreted.

Documents
Topic Distributions
Topic Keywords
system.inspect("lda_parameters")Illustrative
coherence score0.50

Illustrative relationship — not a fitted result.

05

Biomarker Encoding

Clinical text, APOE4 genotype, MMSE score, and normalized hippocampal volume were fused into a single enriched patient document, giving the topic model structured biomarker context alongside free text.

system.inspect("biomarker_fusion")
Clinical TextAPOE4 genotypeMMSE cognitive scoreNormalized hippocampal volume
Enriched Patient DocumentTopic Model
06

Evaluation and Visualization

Topic models were evaluated primarily through coherence scoring across different numbers of topics, passes, and iterations, alongside qualitative inspection of topic-keyword distributions and corpus visualizations.

system.inspect("topic_distribution")Illustrative
Topic 1
Topic 2
Topic 3
Topic 4
Topic 5

Illustrative example — not model output.

07

Limitations

  • This was an exploratory research prototype, not a clinically validated diagnostic system.
  • No diagnostic accuracy is claimed anywhere in this write-up.
  • LDA is a bag-of-words model and does not capture word order or deep contextual meaning.
  • Any illustrative data shown on this page (example tokens, topic labels, chart values) is clearly marked as illustrative, not a reported result.
08

What I Learned

Working with real clinical text surfaced how much preprocessing quality drives topic-model quality — normalization and filtering choices mattered more than model tuning. It also reinforced the limits of bag-of-words methods for clinical narrative, motivating later work with transformer-based representations.

09

Technologies

  • Python
  • Gensim
  • Natural Language Processing
  • Latent Dirichlet Allocation
  • Topic Modeling
  • Text Preprocessing
  • Coherence Evaluation
  • ADNI
  • Data Visualization
All earlier researchPrimary work Get in touch