New AI model using social media posts may help predict community deaths from opioid use

New AI model using social media posts may help predict community deaths from opioid use

Clinicians and other professionals trying to stop the opioid crisis in the United States need all the tools they can to accurately identify communities at risk of large increases in deaths from opioid use and prevent deaths. A study led by a team of computer scientists at Stony Brook University and published in npj Digital Medicine presents a unique approach using artificial intelligence (AI) and social media posts to predict opioid mortality rates.

The findings revealed that a sophisticated AI algorithm was able to predict opioid death rates—going back from previous years 2011 to 2107—much more accurately than using traditional information researchers and clinicians often use, such as prior rates in communities and socio-economic measures.

According to the National Center for Health Statistics, the U.S. has been tackling an opioid epidemic for more than two decades. And age-adjusted opioid-related deaths have increased by some 350% over the 20 years from 1999 to 2020.

Lead Author Matthew Matero (Ph.D. student in Computer Science at Stony Brook), senior author H. Andrew Schwartz (Associate Professor in Computer Science) and National Institute on Drug Abuse Data Scientist Salvatore Giorgi created TrOP (Transformer for Opioid Prediction), a new model for community-specific trend projections that uses community-specific social media language, along with past opioid-related mortality data to predict future changes in opioid-related deaths.

According to the authors, TrOP builds on recent advances in sequence modeling, namely transformer networks, to use changes in yearly language on Twitter, and past mortality, to project the following year’s mortality rates in many U.S counties.

They used language data derived from the County Tweet Lexical Bank, a dataset that contains word usage on Twitter collected from more than 2,000 U.S. counties starting from 2011. They built yearly topics or groupings that appeared together for each county from 2011 to 2017.

Using this language data as a central point, they combined it with data queried from the Centers for Disease Control and Prevention to gather the yearly opioid-related deaths per county. They then limited the full dataset to only U.S. counties that reported opioid-related deaths for all of the years 2011 to 2017. This totaled data from 357 counties, which includes some 212 million people thus nearly two-thirds the population of the U.S.

This method predicted rates of opioid-related deaths that actually took place in the future with surprising accuracy.

“The main result of this study was in fact a statistical evaluation of how well our AI model’s predictions lined up with what really happened, and doing this without assuming any particular language used in social posts should equate to mortality,” explains Schwartz.

They found that the proposed model of predicting opioid-related deaths forecasted the actual yearly death rates within 1.15 deaths per 100,000 people, only a 3% absolute mean percent error.

Schwartz and his co-authors recognize the morbidity and mortality around opioid use and its prevention is a complex issue.

“Community-specific predictions are just one line of attack on what is a very complex problem that certainly needs a multifaceted and evolving response,” says Schwartz. “What this work with TrOP provides is the potential for more accurate predictions for opioid-related deaths, which would give professionals and community leaders the ability to better prepare and target areas where there is likely to be an increase in mortality.”

They will continue to assess this AI model in different ways in order to test its accuracy. And given that social media and its wording continues to change and evolve, so to TrOP may have to be adjusted and updated in order to predict opioid-related deaths in communities across the country.

The authors suggest public health officials and those seeking to address the opioid epidemic try to deploy such an AI model to improve their existing community assessments to get a better idea of the direction of the epidemic in communities and regions in the coming year or years.

They also urge that any such algorithm using an AI model with social posts should include a replication of the empirical data findings and external validity checks, and that “all results should always be taken in consultation with other evidence of community opioid-related death risks.”

More information:
Matthew Matero et al, Opioid death projections with AI-based forecasts using social media language, npj Digital Medicine (2023). DOI: 10.1038/s41746-023-00776-0

Journal information:
npj Digital Medicine

Source: Read Full Article