homehome Home chatchat Notifications


Facebook posts can be used to predict anxiety, depression, and even diabetes

One day, our social media history might play an important role in the doctor's office.

Mihai Andrei
June 24, 2019 @ 5:30 pm

share Share

A new study finds that Facebook posts are better than demographic information when it comes to predicting a number of mental health conditions, as well as diabetes. This suggests that one day, our social media history might play an important role in the doctor’s office.

You can tell a lot of things by a person’s social media history, but medical information isn’t exactly one of them, but this is exactly what was presented in a new study. In the research, the team analyzed the entire Facebook post history of around 1,000 patients (who had given their consent for this study), building three analysis models: one that looked at post language, one that looked at demographics, and one that combined the two.

They then looked at 21 different medical conditions, assessing whether the Facebook history could be used to predict these conditions — all 21 were. Actually, 10 of them were predictable from post history alone, without even looking at the demographic information. It’s still early, but the results were impressive.

“This work is early, but our hope is that the insights gleaned from these posts could be used to better inform patients and providers about their health,” said lead author Raina Merchant, MD, MS, the director of Penn Medicine’s Center for Digital Health and an associate professor of Emergency Medicine. “As social media posts are often about someone’s lifestyle choices and experiences or how they’re feeling, this information could provide additional information about disease management and exacerbation.”

The language we use carries many unconscious biases which can be linked to our behaviors and habits. In turn, these behaviors can also be indicative of other underlying problems. Some connections were clear: people who tended to use words like “bottle” or “drink” more often were more likely to suffer from alcohol abuse. Others, however, were much less intuitive.

For instance, the people that most often used religious language (with words such as “God” or “pray”) were 15 times more likely to have diabetes than those who used these terms the least. When fed into the models, this information could be used and extrapolated to predict serious conditions.

“Our digital language captures powerful aspects of our lives that are likely quite different from what is captured through traditional medical data,” said study author Andrew Schwartz, PhD, visiting assistant professor at Penn in Computer and Information Science, and an assistant professor of Computer Science at Stony Brook University. “Many studies have now shown a link between language patterns and specific disease, such as language predictive of depression or language that gives insights into whether someone is living with cancer. However, by looking across many medical conditions, we get a view of how conditions relate to each other, which can enable new applications of AI for medicine.”

The thing is, because the content we publish on Facebook is not in a medical context, it can contain information that’s usually not mentioned in a medical or clinical context, including potential markers for specific diseases. For depression, words like “pain,” “crying,” or “tears” were good indicators, but also less obvious words such as “stomach,” “head,” or “hurt”.

It’s not the first time this idea was suggested. Previous research has found that Facebook history can be indicative of mental health conditions such as depression. The fact that this approach can be further extended to conditions such as diabetes is even more encouraging.

Now, the team is carrying a larger trial where they will ask participants to share social media history with their doctor to see how this data can be best used in a practical setting. This is the one big caveat to this study: the sample size. Not only was it fairly small, but it was also largely female (76%) and African American (71%) — not representative for the entire population.

Journal Reference: Merchant et al. Evaluating the predictability of medical conditions from social media posts. PLOS ONE. DOI:10.1371/journal.pone.0215476

share Share

This 5,500-year-old Kish tablet is the oldest written document

Beer, goats, and grains: here's what the oldest document reveals.

A Huge, Lazy Black Hole Is Redefining the Early Universe

Astronomers using the James Webb Space Telescope have discovered a massive, dormant black hole from just 800 million years after the Big Bang.

Did Columbus Bring Syphilis to Europe? Ancient DNA Suggests So

A new study pinpoints the origin of the STD to South America.

The Magnetic North Pole Has Shifted Again. Here’s Why It Matters

The magnetic North pole is now closer to Siberia than it is to Canada, and scientists aren't sure why.

For better or worse, machine learning is shaping biology research

Machine learning tools can increase the pace of biology research and open the door to new research questions, but the benefits don’t come without risks.

This Babylonian Student's 4,000-Year-Old Math Blunder Is Still Relatable Today

More than memorializing a math mistake, stone tablets show just how advanced the Babylonians were in their time.

Sixty Years Ago, We Nearly Wiped Out Bed Bugs. Then, They Started Changing

Driven to the brink of extinction, bed bugs adapted—and now pesticides are almost useless against them.

LG’s $60,000 Transparent TV Is So Luxe It’s Practically Invisible

This TV screen vanishes at the push of a button.

Couple Finds Giant Teeth in Backyard Belonging to 13,000-year-old Mastodon

A New York couple stumble upon an ancient mastodon fossil beneath their lawn.

Worms and Dogs Thrive in Chernobyl’s Radioactive Zone — and Scientists are Intrigued

In the Chernobyl Exclusion Zone, worms show no genetic damage despite living in highly radioactive soil, and free-ranging dogs persist despite contamination.