← All stories

Spotting depression and anxiety early in people with type 2 diabetes

22 Jan 2025 · 1 min read · by the KnowLab team
The short version

A deep learning model that reads both the structured and the free-text parts of regional health records to predict who with type 2 diabetes will develop depression or anxiety.

The question

People with type 2 diabetes are more likely to struggle with depression and anxiety, but these problems are easy to miss. If we could see who is likely to develop them, support could start earlier.

What we did

We built a deep learning model called REDAPM. It learns from both the tick-box style data in regional electronic health records, such as test results and diagnoses, and the free text that clinicians write. We tested it on data from the region it was built on and, importantly, on data from outside it.

What we found

REDAPM predicted the onset of depression and anxiety better than the baseline models we compared it with, with strong scores in both the internal and the external tests.

Why it matters

Mental health is often overlooked in diabetes care. A tool that uses information the health system already holds could help clinicians and informaticians flag people who may need support sooner.