Given breathing recordings from two nights of sleep, one associated with antidepressant use and one without, an AI model identified the night associated with use about 84 percent of the time. On a separate dataset the model had not seen during training, that figure reached 87 percent. The results, reported December 1, 2026, by MIT’s Computer Science and Artificial Intelligence Laboratory (CSAIL), describe how well the model distinguished between two nights—not how reliably it could tell a clinician that a patient had missed a pill.
What breathing can reveal about sleep
Antidepressants can change patterns of brain activity during sleep, including when a person enters rapid eye movement (REM) sleep. Researchers usually measure those patterns with an electroencephalogram (EEG), which requires scalp electrodes. Breathing is easier to record at home: a wearable can monitor it, or a contactless bedroom sensor can use radio waves to track the rise and fall of the chest.
To connect the two measurements, the MIT team trained its model on breathing and EEG recordings collected at the same time. The model learned to predict patterns of brain activity from breathing. A second component then used those learned patterns to identify signs of antidepressant use. Once trained, the system needed only the breathing recording.
The retrospective study covered 62,606 nights from 20,552 people across six datasets, including about 1,800 people taking antidepressants. Performance varied by drug class. In the paired-night comparison, the model distinguished nights associated with SSRI use, including sertraline and fluoxetine, about 90 percent of the time. For SNRIs such as venlafaxine, the figure was about 95 percent. Performance was lower for older tricyclic antidepressants and lowest for atypical drugs such as bupropion, which were less common in the data.
Following changes over time
In one home dataset, some participants contributed nightly recordings for a year or more. Lead author Ali Mirzazadeh said scores rose when participants started an antidepressant and declined gradually when they stopped. For one participant with detailed dosing records, about four consecutive nights were enough to detect a dose change. That finding does not establish how many nights would be needed for other patients.
The researchers reported that depression itself, sleep apnea, body weight and use of other psychiatric medications did not explain the signal in their checks. Higher doses produced a stronger signal, consistent with a physiological drug effect. But medication use in the existing datasets was largely self-reported. Mirzazadeh said a prospective study would be needed to establish causality.
The team sees a possible role in clinical trials, where unreported interruptions can make a treatment appear less effective. In clinical care, a change in breathing patterns might prompt a conversation about medication without asking patients to keep a daily log. It would not establish whether the treatment was relieving depression. Roy Perlis, a Massachusetts General Hospital psychiatrist who was not involved in the study, described the approach as promising but not ready for real-world use.
Because breathing recordings can reveal sensitive health information, the researchers said any use should require explicit informed consent and safeguards against misuse. They envision the result as supporting a conversation with a doctor or pharmacist, not replacing it. As of the December 1 report, the paper was scheduled for publication in Nature Biomedical Engineering later that month.


