Skip to main content

Tweet-analyzing algorithm can detect depression sooner than a human doctor

algorithm tweets analzying 42093562 l
Katarzyna Białasiewicz/123RF
As well as being an instantaneous method for sharing news and views with millions of people around the world, could Twitter also be a way of helping predict mental health issues such as clinical depression? Absolutely, claim researchers from Harvard University, Stanford University, and the University of Vermont. With that goal in mind, they analyzed data from hundreds of Twitter users to see if they can detect changes in language, which may correlate with depression or post-traumatic stress disorder (PTSD). Their newly developed algorithm suggest that not only is such a thing possible but that it could actually highlight telltale signs 100 to 200 days before clinical diagnosis — thereby making it a valuable predictive tool.

“We recruited individuals who were active on social media, and had been diagnosed by a psychiatrist as having depression or PTSD,” Chris Danforth, a researcher on the project from the University of Vermont, told Digital Trends. “Using a subset of their tweets, we trained an algorithm to identify differences between their behavior and that of a control population on Twitter who had not been diagnosed. Our main finding is that there are predictive markers distinguishing the two groups, and this is often true well before individuals are first diagnosed with these mental health problems.”

In the case of clinical depression, some of the linguistic markers included the fact that sufferers tend to be more likely to use negative words such as “no,” “never,” and “death,” and fewer positive ones such as “happy” and “photo.” It may sound obvious that an unhappy person will use unhappy words, but analysis of the posts people make on social media over time could turn out to be far more revealing in this capacity than the words a person uses in a short appointment with a doctor. That is, if a person is even willing to seek the help of a medical professional.

“We hope that our research will eventually help improve mental health care, for example in preventive screening,” Katharina Lix, another researcher on the project from Stanford, told us. “We could imagine clinicians using this technology as a supporting tool during a patient’s initial assessment, provided that the patient has agreed to have their social media data used in this way. However, before we get to that point, the technology needs to be validated using a larger sample of people that’s representative of the general population. We want to emphasize that any real-world application of this technology must carefully take into account ethical and privacy concerns.”

A paper describing the work was recently published in the journal Scientific Reports.

Luke Dormehl
I'm a UK-based tech writer covering Cool Tech at Digital Trends. I've also written for Fast Company, Wired, the Guardian…
This AI cloned my voice using just three minutes of audio
acapela group voice cloning ad

There's a scene in Mission Impossible 3 that you might recall. In it, our hero Ethan Hunt (Tom Cruise) tackles the movie's villain, holds him at gunpoint, and forces him to read a bizarre series of sentences aloud.

"The pleasure of Busby's company is what I most enjoy," he reluctantly reads. "He put a tack on Miss Yancy's chair, and she called him a horrible boy. At the end of the month, he was flinging two kittens across the width of the room ..."

Read more
Digital Trends’ Top Tech of CES 2023 Awards
Best of CES 2023 Awards Our Top Tech from the Show Feature

Let there be no doubt: CES isn’t just alive in 2023; it’s thriving. Take one glance at the taxi gridlock outside the Las Vegas Convention Center and it’s evident that two quiet COVID years didn’t kill the world’s desire for an overcrowded in-person tech extravaganza -- they just built up a ravenous demand.

From VR to AI, eVTOLs and QD-OLED, the acronyms were flying and fresh technologies populated every corner of the show floor, and even the parking lot. So naturally, we poked, prodded, and tried on everything we could. They weren’t all revolutionary. But they didn’t have to be. We’ve watched enough waves of “game-changing” technologies that never quite arrive to know that sometimes it’s the little tweaks that really count.

Read more
Digital Trends’ Tech For Change CES 2023 Awards
Digital Trends CES 2023 Tech For Change Award Winners Feature

CES is more than just a neon-drenched show-and-tell session for the world’s biggest tech manufacturers. More and more, it’s also a place where companies showcase innovations that could truly make the world a better place — and at CES 2023, this type of tech was on full display. We saw everything from accessibility-minded PS5 controllers to pedal-powered smart desks. But of all the amazing innovations on display this year, these three impressed us the most:

Samsung's Relumino Mode
Across the globe, roughly 300 million people suffer from moderate to severe vision loss, and generally speaking, most TVs don’t take that into account. So in an effort to make television more accessible and enjoyable for those millions of people suffering from impaired vision, Samsung is adding a new picture mode to many of its new TVs.
[CES 2023] Relumino Mode: Innovation for every need | Samsung
Relumino Mode, as it’s called, works by adding a bunch of different visual filters to the picture simultaneously. Outlines of people and objects on screen are highlighted, the contrast and brightness of the overall picture are cranked up, and extra sharpness is applied to everything. The resulting video would likely look strange to people with normal vision, but for folks with low vision, it should look clearer and closer to "normal" than it otherwise would.
Excitingly, since Relumino Mode is ultimately just a clever software trick, this technology could theoretically be pushed out via a software update and installed on millions of existing Samsung TVs -- not just new and recently purchased ones.

Read more