PHILADELPHIA — Twitter users with depression and anxiety were found to be more likely to post pictures with lower aesthetic values and less vivid colors, particularly images in grayscale, according to a new study led by researchers at Penn Medicine. Additionally, they found that users tended to suppress positive emotions rather than outwardly display more negative emotions, such as keeping a straight face instead of outright frowning, in their profile pictures. The study sought to utilize computer vision and artificial intelligence to determine what qualities of photos posted to and set as profile images on Twitter could be associated with depression and anxiety, with an eye toward using the platform as a method of screening for both. The research will be presented at the International AAAI Conference on Web and Social Media June 11-14 in Munich.
In 2018, Penn Medicine researchers found that depression could be predicted as much as three months before a diagnosis by using artificial intelligence to identify keywords that flagged certain users. As social media is becoming increasingly image-focused—more than half of all tweets, 3,000-plus of them per second, now contain an image—the value in gaining clues on health conditions through image content will become increasingly valuable to medicine.
“While the association between depression and language-use patterns is well-studied, the visual aspects of depression has not been,” said the study’s lead author, Sharath Guntuku, PhD, a research scientist with Penn Medicine’s Center for Digital Health. “It is challenging to transform pixels that form the images to interpretable features, but with the advances in computer vision algorithms, we are now attempting to uncover another dimension of the condition as it manifests online.”
The researchers used algorithms to extract features such as colors, facial expressions, and different aesthetic measures (such as depth of field, symmetry, and lighting) from images posted by more than 4,000 Twitter users who consented to be a part of the study. To quickly categorize their depression and anxiety scores, they analyzed each person’s last 3,200 tweets. Meanwhile, 887 users also completed a traditional survey to obtain depression and anxiety scores. Then, image features were correlated with users’ depression and anxiety scores. From this, several significant relationships emerged.
In addition to finding an association between depression and anxiety and those who posted less vivid photos, the researchers also discovered that profile images of anxious users are marked by grayscale and low aesthetic cohesion, but less so than those of depressed users. There was also something to be interpreted in what was not included in photos. Depressed users often posted photos only of their own faces with no family, friends, or other people appearing in them. Additionally, the posts rarely included the recreational activities or interests, which more often showed up in photos of non-depressed users.
“Depression is often accompanied by ‘flat affect,’ which is characterized by reduced expression and displays of emotion,” Guntuku said. “The condition also takes a toll on one’s appeal toward hobbies or games—activities in general—that are otherwise usually enjoyed.”
Developing a more automated version of the work the researchers did holds promise for expanding depression and anxiety screening.
“This tool is far from perfect to be used as a diagnostic tool. However, an automated machine learning tool could be a low-cost method for clinicians, with permission from their patients, to monitor their accounts and potentially detect elevated depression or anxiety levels, Guntuku explained. “The clinicians could then refer patients who were flagged by tool for more formal screening methods.”
The study’s senior author, Lyle Ungar, PhD, a professor of Genomics and Computational Biology and Psychology, said that there are great possibilities beyond just Twitter, and anxiety and depression, too.
“Something like this could be applied to Instagram and text messaging, too,” Ungar said. “We hope this may give some insights into the different facets of depression. And we’re also looking at a variety of other conditions, from loneliness to ADHD.”
Other authors on this study include Johannes Eichstaedt and Daniel Preotiuc-Pietro.
Penn Medicine is one of the world’s leading academic medical centers, dedicated to the related missions of medical education, biomedical research, excellence in patient care, and community service. The organization consists of the University of Pennsylvania Health System and Penn’s Raymond and Ruth Perelman School of Medicine, founded in 1765 as the nation’s first medical school.
The Perelman School of Medicine is consistently among the nation's top recipients of funding from the National Institutes of Health, with $550 million awarded in the 2022 fiscal year. Home to a proud history of “firsts” in medicine, Penn Medicine teams have pioneered discoveries and innovations that have shaped modern medicine, including recent breakthroughs such as CAR T cell therapy for cancer and the mRNA technology used in COVID-19 vaccines.
The University of Pennsylvania Health System’s patient care facilities stretch from the Susquehanna River in Pennsylvania to the New Jersey shore. These include the Hospital of the University of Pennsylvania, Penn Presbyterian Medical Center, Chester County Hospital, Lancaster General Health, Penn Medicine Princeton Health, and Pennsylvania Hospital—the nation’s first hospital, founded in 1751. Additional facilities and enterprises include Good Shepherd Penn Partners, Penn Medicine at Home, Lancaster Behavioral Health Hospital, and Princeton House Behavioral Health, among others.
Penn Medicine is an $11.1 billion enterprise powered by more than 49,000 talented faculty and staff.