Skip to content

← Research

Research · May 2025 – present

Predicting Next-Visit MMSE Scores From Speech Transcripts and Clinical History: A Patient-Grouped Evaluation

Deeptanshu Devatha (first author) and PhD Scholar Joe Xiao (mentor)

Published in Frontiers in Aging Neuroscience, vol. 18, Nov. 24, 2026 · Preprint posted on medRxiv, August 6, 2026

Published · November 2026
Chart of mean MMSE scores across visits for control and dementia groups
Mean MMSE scores across visits for the control and dementia groups in the data the model learns from.

Question

Dementia is usually tracked with short cognitive tests such as the Mini-Mental State Examination (MMSE, scored 0–30), given at clinic visits months apart. The Pitt Corpus visits also include recorded, transcribed speech. The question here is whether that speech, together with the clinical history already on file, can forecast the patient's MMSE score at a later visit.

This is framed as a regression problem: given everything known up to one visit, predict the MMSE at the next one. It is a forecast, not a diagnosis.

Data

Transcripts come from the DementiaBank Pitt Corpus, used under DementiaBank's controlled-access agreement; the repository contains no corpus data. Patients with only one visit, no transcript, or a missing MMSE at the target visit were excluded.

Patients12669 dementia, 57 control
Visits per patient2–5most had 2 or 3
Prediction samples1731–4 prior visits → MMSE at a later visit

Representation

Each prediction sample becomes a 53-dimensional vector built from three blocks.

Discourse coherence (Sentence-BERT)

Every sentence is embedded with Sentence-BERT. Adjacent cosine similarity measures local continuity; global coherence compares the first and last sentences; semantic slope fits the trend of each sentence's similarity to the opening sentence (negative means drifting away); topic drift measures distance from the transcript's mean embedding; embedding variance captures erratic jumps.

Lexical and syntactic (spaCy)

Filler rate, 50-token moving-average type-token ratio (MATTR), inter-sentence repetition, mean sentence length, fragment ratio (sentences with no verb, from POS tags), named-entity rate and generic-word rate. Together with the five coherence features, these are the 12 per-visit features.

  • 12 linguistic features from the most recent prior visit: the patient's current speech state, not an average over history.
  • 8 change features: visit-to-visit differences (Δ) for eight of the twelve.
  • 4 temporal features: number of prior visits, gap to the target visit, mean gap, total observation span.
  • 20 semantic components: 384-dimensional SBERT transcript embeddings reduced with PCA.
  • 9 clinical and demographic features: entry MMSE, Blessed Dementia Rating, CDR, NYU staging, Mattis DRS, baseline diagnosis, age, education, sex.

Model

The model is LightGBM, a gradient-boosted tree ensemble, chosen for a small tabular dataset with mixed feature types. Before training, the pipeline runs these steps:

  • RobustScaler normalization, which limits the influence of outliers.
  • Correlation pruning: one of any pair with |r| > 0.8 is dropped; clinical variables are kept.
  • Permutation-importance selection with a preliminary LightGBM keeps the 15 most useful features, and the clinical variables are added back.
  • Quantile binning (KBinsDiscretizer) appends a discretized copy of each feature.
  • Gaussian augmentation: three noisy copies per sample (noise at 2% of each feature's SD), each tagged with its parent patient.
  • Optuna (Tree-structured Parzen Estimator, 200 trials, 10 hyperparameters), scored by mean validation R² across the patient-grouped folds.

Evaluation and the leakage problem

In October 2025, while checking the cross-validation code, I found that it split the data by visit rather than by patient. With several visits per person, one visit could land in training and another in validation. The model could then score well partly by recognizing a person, not by learning anything general about speech and cognition.

Diagram comparing a random visit-level split, where one patient appears in both training and validation folds, with a patient-grouped split, where each patient is entirely in one fold.
Visit-level splitting (left) lets one patient's visits appear on both sides of the split. Patient-grouped splitting (right) keeps each patient in one fold.

The fix: 5-fold GroupKFold grouped by patient ID. The augmented copies carry their parent's ID, so they stay in their parent's fold, and metrics are computed only on out-of-fold predictions for the original, unaugmented samples. The scores went down after the fix, which is what removing leaked information should do.

A second problem surfaced in December 2025. Entry MMSE, which should be the strongest single predictor, was contributing almost nothing. Two silent data-joining bugs were responsible: a renamed spreadsheet column and a string-versus-integer patient-ID mismatch. Because of them, every patient received the same imputed value. Fixing them produced the largest single improvement in the project (write-up).

In July 2026, before submission, I checked the draft line by line against the code. It still described six coreference and entity-transition features that the trained model never used. The Methods section was rewritten to describe the twelve features the model was actually trained on (write-up).

Results

Tuned model, patient-grouped 5-fold cross-validation, out-of-fold predictions on original samples
MetricValue
R²0.840 ± 0.015
RMSE (MMSE points)2.75
MAE (MMSE points)2.02
Pearson r0.917

An average error of about two MMSE points is similar in size to the scoring variability reported between human raters on the MMSE itself. An earlier held-out test split (March 2026) gave R² 0.732. The paper reports patient-grouped cross-validation instead, which comes out higher. Because selection and tuning were not nested (see Limitations), the paper notes that the cross-validation figure may be optimistic.

Ablation: what actually contributes

To see where the accuracy comes from, each feature group was retrained alone. Every run used the same fixed, untuned LightGBM (300 trees, depth 3, learning rate 0.05) under the same patient-grouped folds, so any difference between rows comes from the features alone.

Feature-source ablation (fixed, untuned LightGBM; patient-grouped 5-fold CV)
Feature subsetR² (mean ± SD)RMSEMAEr
Linguistic features only0.118 ± 0.1406.384.910.429
SBERT embeddings only0.458 ± 0.1704.943.910.699
Clinical/demographic only0.716 ± 0.0803.562.520.859
Speech (linguistic + SBERT)0.437 ± 0.1805.043.800.683
Clinical + SBERT0.759 ± 0.0863.262.420.880
All features0.740 ± 0.0803.392.410.869
All features, no longitudinal change features0.740 ± 0.0773.392.450.868

Clinical history is the strongest single source by a wide margin. SBERT embeddings carry far more signal than the handcrafted linguistic features, and combining the two speech sources doesn't beat SBERT alone. Adding SBERT to the clinical features gives the best subset (0.759 against 0.716), but the standard deviations overlap, so this is directional evidence of complementary signal, not a demonstrated gain. Removing the visit-to-visit change features changed nothing (0.740 both ways). A January 2026 conclusion that depended on them did not survive this controlled rerun (write-up).

Follow-up audit (October 2026)

In-cohort analysis complete · External validation pending

The limitations above are really a list of experiments. In October 2026 I ran the ones that the existing data allow, and tried to find an independent cohort for the one they don't. Everything in this section is new work, separate from the submitted paper; the paper's numbers are unchanged.

Important caveat. The raw Pitt transcripts and clinical spreadsheet were not available for this follow-up, only derived per-visit features. So these analyses use a simpler representation than the paper (five informative handcrafted discourse features plus a 384-dimensional Sentence-BERT vector, and "clinical" means MMSE history and visit timing only, not CDR, Blessed or diagnosis). They test the paper's question, not its exact model, and they can neither confirm nor refute 0.840.

1. How much does speech add beyond knowing the last MMSE?

The prediction target is a patient's next MMSE. The simplest possible forecast is "same as last time" (persistence). I compared it with models of increasing information under 20 repeats of patient-grouped 5-fold cross-validation. Every learned step (scaling, PCA, ridge penalty) was fitted inside the training fold only, the LightGBM settings were fixed in advance rather than tuned, and uncertainty comes from resampling patients, not visits. The analysis plan was frozen before the comparison was run.

Left: dot-and-interval chart of out-of-fold mean absolute error for persistence, ridge and LightGBM models with and without speech features. Right: paired change in error when speech is added; every interval spans zero.
Left: error of each model (95% patient-bootstrap intervals). Right: change in error from adding speech to the MMSE-history model; all intervals include zero. Figure generated from the aggregate results file.
126 patients, 173 samples; repeat-averaged out-of-fold metrics
ModelR²MAE95% CI of MAE
Persistence (last observed MMSE)0.6862.371.93–2.85
Ridge, MMSE history0.7502.372.00–2.77
Ridge, speech only0.4094.023.51–4.56
Ridge, MMSE history + speech0.7582.362.00–2.73
LightGBM, MMSE history0.7642.331.98–2.71
LightGBM, MMSE history + speech0.7372.452.10–2.82

Result. Adding speech to the MMSE-history ridge model changed the error by −0.008 points (95% CI −0.157 to +0.132) and R² by +0.008 (−0.015 to +0.035): no detectable gain. For LightGBM, adding speech made R² slightly worse (−0.027, −0.052 to −0.002). Speech alone does carry signal (R² 0.41, in line with the paper's SBERT-only 0.46), but that signal is redundant once the previous MMSE is known. Predicting the change in MMSE is hard for every model (R² on change at most 0.10).

What this does and doesn't establish. With 126 patients the design can rule out gains larger than roughly 0.15 MMSE points; smaller benefits are not excluded, and a richer clinical baseline might shrink or change the picture. It is a null-to-inconclusive result, consistent in direction with the paper's own ablation (0.716 → 0.759 with overlapping spreads), and it is not evidence that speech is useless for dementia.

2. How optimistic is fitting feature selection and tuning on all patients?

I re-implemented the paper's protocol on the same features and ran it two ways: with selection, scaling, augmentation and tuning done once on all patients (as in the paper), and with all of them re-done inside every training fold ("nested", 40 tuning trials, 6 repeats). The all-patients version scored R² 0.768 and the nested version 0.742, a difference of +0.025 (95% CI −0.004 to +0.052). The direction matches the paper's own warning, but the interval includes zero and the size applies to this simpler representation, not to the paper's headline.

3. A bug in the LSTM input file

While loading the archived derived files, I found that the LSTM input file (training_samples.json) holds the same speech matrix for all 173 samples. Two defects in the data-prep script were responsible: numpy-formatted arrays could not be parsed and a silent fallback hid the failure, and per-patient visit positions were used as global row numbers. The LightGBM pipeline builds its features differently and is not affected. I have not verified which version of the file the paper's LSTM comparison used. The new loader checks alignment and has regression tests.

4. External validation: not done, and why

A real external validation needs an independent cohort with speech at an earlier visit and MMSE at a later one. I surveyed the candidates from primary sources (full report):

  • ADReSS / ADReSSo are drawn from the Pitt corpus itself, so they are not independent.
  • Delaware, Lu, TAUKADIAL appear to be single-session (follow-up visits unverified), so at best they support a different, cross-sectional experiment, which would have to be labelled that way.
  • WLS is longitudinal but does not use the MMSE.

All of these require DementiaBank membership, and students must be sponsored by a faculty member. I haven't requested access and haven't run anything on an external cohort, so external validation is pending, not done. A prespecified protocol (frozen model, paired participant-level intervals, explicit success/failure/inconclusive rules) is ready so the evaluation can't be tuned after the fact. Given result 1, I expect it to be inconclusive or null, which would still be worth reporting.

Code, tests and my role

Audit, code, tests and aggregate results are in the repository: audit, evaluation code, model card, limitations. Eleven unit tests use synthetic fixtures and pass; the experiments need the licensed data and are not runnable by outsiders without it. The repository holds no patient data. I directed this follow-up and am responsible for its claims; the analysis code was written with AI assistance (Claude Code). The model is a research prototype, not a diagnostic tool.

Limitations

  • Non-nested selection and tuning. Correlation pruning, permutation-importance selection, PCA and the Optuna search were each run once on the full dataset, not refit inside the folds. Selection and tuning depend on the labels, so the reported cross-validation metrics may be optimistic.
  • Small, single cohort. The study has 126 patients and 173 samples from one corpus, with no external validation. Very few patients score below 10, and the model over-predicts for them.
  • Speech's contribution is modest. Most of the accuracy comes from clinical history. The case for speech rests on the SBERT increment in the ablation.
  • Missing data sources. The data include no imaging, biomarkers or medication history. The paper lists benchmarking against simpler baselines as future work; a first version of that is in the follow-up audit.

Research log

I wrote these posts as the work happened, and the dates are the original posting dates. The early entries describe approaches that were later dropped, including an LSTM and the coreference features.