NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Discovering the Typing Behaviour of Parkinson's Patients Using Topic Models

Antony Milne, Mihalis Nicolaou, Katayoun FarrahiSocInfo 2017

TL;DR

This paper introduces a novel approach using Latent Dirichlet Allocation (LDA) to analyze typing behavior and detect early signs of Parkinson's disease. By modeling key press durations as "words" and typing sessions as "documents," the researchers identified distinct typing patterns in Parkinson's patients, specifically longer key hold times, which could pave the way for unobtrusive, early diagnosis.

What Problem Does This Paper Address?

Early diagnosis of neurodegenerative diseases like Parkinson's is crucial for maximizing treatment effectiveness and slowing disease progression. While current diagnostic methods rely on physical examinations and symptom observation, these can be costly and may not capture subtle, early-stage motor impairments. The paper addresses the need for unobtrusive, continuous monitoring of motor signs. Typing behavior, a common daily activity, is proposed as a potential indicator of early motor deficits, offering a cost-effective and transparent method for data collection. The challenge lies in identifying specific typing patterns that are discriminative of Parkinson's disease from normal typing behavior.

Methods

The core of this research utilizes Latent Dirichlet Allocation (LDA), a statistical generative model for discovering latent topics within a collection of documents. In this context:

  • Documents: Each individual typing session is treated as a document.
  • Words: Key press durations are discretized into 50 bins, and each bin represents a "word."
  • Topics: LDA is used to discover underlying thematic structures (topics) within the typing data.

The authors trained separate LDA models for a group of Parkinson's patients and a control group. By analyzing the composition of these topics and the distribution of "words" (key press durations) within them, they aimed to identify topics that are significantly more probable in Parkinson's patients. To quantify the dissimilarity between topics from the two groups, they employed the Bhattacharyya coefficient, where a lower coefficient indicates a topic is more unique to the Parkinson's group.

Datasets

The study used two datasets: MIT-CS1PD and MIT-CS2PD, associated with Ref. [5]. These datasets contain typing data from subjects in Madrid, Spain, who performed typing tests for 15 minutes. The combined dataset comprises 116 documents, with 60 from Parkinson's sufferers and 56 from control subjects.

Key Insights and Ideas

  • Typing as a Biomarker: The research strongly suggests that typing behavior, specifically key press duration, can serve as a sensitive indicator of early Parkinson's disease.
  • Longer Key Holds: The most significant finding is that Parkinson's patients exhibit a tendency towards longer key hold times compared to control subjects. This is a key discriminative feature.
  • Topic Modeling for Behavioral Analysis: LDA proves to be an effective tool for uncovering subtle behavioral differences in complex data like typing patterns, even in an unsupervised manner.
  • Uniqueness of Parkinson's Topics: Certain topics, characterized by a high probability of longer key press durations, are found to be significantly more prevalent in Parkinson's patients, suggesting they could act as "signatures" of the disease.

Key Results

The LDA models revealed distinct topic compositions for Parkinson's patients and control groups. Specifically, topics identified in Parkinson's patients were heavily skewed towards longer key press durations (higher "word" labels). The Bhattacharyya coefficient analysis highlighted five specific topics (tP = 4, 6, 7, 11, 30) as particularly indicative of Parkinson's disease, with their content dominated by words corresponding to long key press durations. For instance, topic tP=4 showed a high probability for key press durations in bins 49 and 50, indicating very long holds.

Limitations and Future Work

The authors acknowledge several limitations and suggest future directions:

  • Feature Set: While key press duration was the primary feature, they suggest that incorporating other features like travel time between key strokes, keyboard row, and even smartphone key/holding information could enhance the model's discriminative power.
  • Topic Consistency: The current approach trains separate LDA models for each group, leading to potentially different topic interpretations. Future work could explore methods to learn consistent topics across groups without simply combining the data, or to learn them completely separately while still allowing for meaningful comparison.
  • Generalizability: The approach shows promise for generalization to other datasets and applications, but further validation on diverse datasets is recommended.
  • Generative Models: The authors plan to utilize generative models that learn keystroke dynamics more explicitly and further evaluate discovered topics for detecting Parkinson's disease signatures.

Summary updated

BibTeX
@inproceedings{milne2017discovering,
  author = {Antony Milne and Mihalis Nicolaou and Katayoun Farrahi},
  title = {{Discovering the Typing Behaviour of Parkinson's Patients Using Topic Models}},
  booktitle = {SocInfo},
  year = {2017},
  doi = {10.1007/978-3-319-67256-4\_9},
}
Figure