The program was able to find associations in the Instagram data that backed these theories up. Photos from people with depression tend to be bluer, darker and grayer. "[People with depression] tend to have more comments on their posts, but fewer likes.
"Depressed people were less likely to use any filters at all, but when they did use filters they went for Inkwell, which makes everything black and white," Reece says. "And depressed people have fewer faces in their photos, but they tend to post more photos with faces."
Then Reece and his coauthor removed the depression diagnosis information from their remaining untouched Instagram photos. They gave those to the computer program and had the machine figure out which of those users had depression and which of them didn't. "We were right about people being healthy 84 percent of the time. About a third of the people who were truly depressed, the machine found," Reece says.
When the machine gave a depression marker, it was right about 54 percent of the time, compared to unassisted primary physicians who correctly make a depression diagnosis about 42 percent of the time. "It's not an A+, but it's a 25 percent improvement over those human rates," Reece says.
This study hasn't been peer reviewed, but it looks like the algorithm is doing a a fairly good job. Reece says it doesn't mean that computer programs are going to replace primary doctors when it comes to diagnosing depression. Primary doctors look at the general population, rather than just Instagram users, and don't separate people into binary categories like depression or no depression like the program does. "You can't even really compare the two in a formal sense," Reece says.
And the algorithm can't truly diagnose someone with depression or rule it out the way a psychologist or psychiatrist would. Ideally, programs like this might help clinicians quickly find people who are struggling and need help. Right now, Reece says that patients wait several months on average between depression sets in and treatment. "If someone is depressed and really needs services, and they don't get that assessment, anything that can help them get assessed is good," he says.
And computers are able to look at vast amounts of social media information, something which a doctor could never do. Researchers have created computer scripts that can parse out signs of depression from Twitter, Facebook or Tumblr feeds. That means a program like this could provide useful information that doctors otherwise wouldn't have, says Munmun De Choudhury, a social and computer scientist at Georgia Tech who was not involved in this study. "The goal lies in empowering the clinician with tools that would help people manage or cope with these challenges above and beyond what they're currently using."
But we aren't quite there yet, says Dr. Megan Moreno, an adolescent psychiatrist at Seattle Children's Hospital who studies social media and mental illness. "We're probably still a ways away from having these types of approaches normalized as part of clinical care," she says. "I think this is a cool and interesting piece to the puzzle."
Actually using this information for depression screening comes with legal and privacy issues. "We're talking about the perspective that we could find people who need help. There's so much hope and optimism, but if we develop ways to monitor [social media data], then who else will monitor?" Moreno says. "Could these things come back and affect someone's employment or insurability? To some extent, people assume some of that is already happening."
Companies could already be collecting the data for this type of use. After all, Tweets, Tumblr and many Instagram posts are freely available to anyone with an Internet connection.
Copyright 2016 NPR. To see more, visit http://www.npr.org/.