MIT team's AI detects antidepressant use from one night of breathing
In short
- A team led by MIT has built an AI model that tells whether a person is taking an antidepressant from the way they breathe during one night of sleep. The breathing can come from a wearable chest belt or from a contactless radio sensor in the bedroom. The paper appeared in Nature Biomedical Engineering on 1 December 2026.
- How it works: antidepressants change sleep, especially dream (REM) sleep, and those changes show up in breathing. A transformer model, the kind of AI behind modern language models, learns to read that pattern and gives a score from 0 to 1.
- Tested on six sleep datasets (62,606 nights from 20,013 people, 1,842 of them on antidepressants), it scored an AUROC of 0.84, where 0.5 is a coin toss and 1.0 is perfect. It was strongest for the common SSRI and SNRI drugs and weakest for bupropion.
- The catch: the study is retrospective, and "taking the drug" was based on prescriptions and self-reports, not verified pills. The model detects exposure to the drug; it does not say whether the person is getting better.
0.84 AUROC across datasets (0.5 = chance, 1.0 = perfect); 0.87 AUROC on a dataset kept out of training; 20,013 people, 62,606 nights, six datasets; 11 antidepressants tested one by one
The problem it targets
The authors write that roughly half of patients with major depression have stopped taking their medicine as prescribed within six months of starting. They cite a randomized trial in which relapse was 32% for people who stayed on antidepressants against 56% for those who stopped, and a US cohort of 2.4 million patients in which stopping early raised the odds of a suicide attempt by 61%.
Doctors mostly rely on what patients tell them. Blood tests and brain scans need clinic visits; pill counts and pharmacy refills measure proxies, not intake. And depression itself, the authors note, makes any method that needs the patient's effort hard to use.
How it works
Antidepressants are known to delay and shorten REM sleep, the stage in which most dreaming happens, and to change other sleep stages. Sleep stages, in turn, leave traces in breathing. The model takes only the night's breathing waveform as input.
During training, the team also asked the model to reconstruct the sleeper's brain waves (EEG) from the breathing, so that it would learn features linked to brain activity. Once trained, it needs breathing alone. The breathing can come from sleep-lab chest belts, consumer wearables, or the Emerald sensor, a box that uses radio waves to track chest movement without touching the body; the paper cites earlier work showing its signal matches gold-standard belts with 92% average correlation.
First the team checked the idea: in four sleep-lab datasets (12,043 people, 1,328 on antidepressants), sleep stages worked out from breathing alone showed the same longer delay to REM and shorter REM time in antidepressant users as stages scored by experts from full lab recordings.
What it found
Source: the paper's Results and Fig. 3 legend. Training used four-fold cross-validation, with all nights from one person kept in the same fold.
For the SSRIs, the model caught 77% to 88% of users while correctly clearing 83% of non-users, the paper reports. For the SNRIs it caught 94% at the same setting; for bupropion, 33%. The authors link this order to how strongly each drug class suppresses REM sleep.
Scores rose with dose. In the MIT group's own dataset, which followed people at home for one to two years with dose records, low and possibly sub-therapeutic doses gave lower scores, and scores climbed at and above the standard dose. The authors read this as a sign the model is picking up the drug's effect on the body, not just the presence of a prescription.
Things that could have fooled it
The team checked other drugs that act on the brain or suppress REM sleep. Scores for sleeping pills, anticonvulsants, benzodiazepines, antipsychotics and anticholinergic drugs were all significantly lower than for antidepressants (P < 0.01). Taking such drugs alongside an antidepressant did not stop the model telling users from non-users. Results also held across sleep apnoea severity, body weight and depression severity.
Following people over months
In the MIT dataset, four case studies tracked nightly scores through starting venlafaxine, starting fluoxetine, stopping sertraline, and starting citalopram but taking it irregularly. The scores followed each change. For the venlafaxine patient, who stepped up from 37.5 mg to 75 mg and then 150 mg over about two months, the lowest dose produced no visible shift, while the two higher doses did. For that one person, averaging four consecutive nights was enough to tell dose levels apart statistically; the authors stress that other patients may need longer.
This is not yet a clinical test. The study is retrospective, so it cannot prove the drug caused the score change. Drug use was labelled from prescriptions and self-reports, which can be wrong both ways. Most participants came from sleep-lab studies, who tend to have more sleep problems than the general public. The output is a yes/no signal, not a check on dose or timing. The authors say prospective studies with verified adherence are needed.
Privacy, and who makes the sensor
The authors note that inferring antidepressant use from breathing is itself sensitive. They say patients must understand what is being measured and give explicit consent, that safeguards must stop misuse by third parties, and that the score should only ever be a supporting signal discussed with a treating doctor or pharmacist.
The paper's competing-interest statement says the senior author, Dina Katabi of MIT, is a cofounder and president of Emerald Innovations, the company behind the contactless sensor, and receives research funding from several companies. Co-authors include researchers at the University of Michigan and at Harvard-affiliated hospitals.
Terms in plain English
- Adherence: taking a medicine as prescribed (our wording).
- AUROC: a score for how well a test separates two groups across all possible cut-offs; 0.5 is chance, 1.0 is perfect (our wording).
- REM sleep: the sleep stage with rapid eye movements, in which most vivid dreaming happens; antidepressants tend to delay and shorten it.
- SSRI, SNRI, tricyclic: classes of antidepressant; SSRIs (such as sertraline) and SNRIs (such as venlafaxine) raise serotonin by blocking its reuptake.
Where things stand
The authors call the work "an important step" towards monitoring antidepressant adherence and picture a bedroom sensor uploading nightly results to a doctor's portal. Next, they say, come prospective studies with verified adherence to establish cause and real-world accuracy, versions that account for specific drugs, doses and timing, and studies that test whether breathing during sleep can also track whether treatment is working.
Sources
- Non-invasive AI biomarker for detecting antidepressant exposure and supporting remote adherence monitoring, Nature Biomedical Engineering, 1 December 2026 (open access, CC BY-NC-ND 4.0; full text read)
Sources
More from Ouch Explained
- A magnetic glove that measures a doctor's touch agreed with a clinic dynamometer and matched physicians' shoulder-injury grades in 9 of 10 patients, its makers say
- The skin photos that teach dermatology AI are 11% darker skin and 2.3% children, an atlas of 1.1 million images finds
- A sprayable powder seals a leaking bowel join on one side and stops organs sticking on the other, in mice
- Delayed gut toxicity hit about 3% of 1,308 cilta-cel CAR-T patients at 8 US centres, and 17 of 41 cases died with it active
- FDA approves Infilbray (venglustat), the first treatment for the brain symptoms of Type 3 Gaucher disease, after a 43-patient trial