Maintenance Notice

Due to necessary scheduled maintenance, the JMIR Publications website will be unavailable from Wednesday, July 01, 2020 at 8:00 PM to 10:00 PM EST. We apologize in advance for any inconvenience this may cause you.

Who will be affected?

Accepted for/Published in: Journal of Medical Internet Research

Date Submitted: Mar 21, 2021
Date Accepted: Nov 21, 2021

The final, peer-reviewed published version of this preprint can be found here:

Harnessing Artificial Intelligence for Health Message Generation: The Folic Acid Message Engine

Schmaelzle R, Wilcox S

Harnessing Artificial Intelligence for Health Message Generation: The Folic Acid Message Engine

J Med Internet Res 2022;24(1):e28858

DOI: 10.2196/28858

PMID: 35040800

PMCID: 8808340

Warning: This is an author submission that is not peer-reviewed or edited. Preprints - unless they show as "accepted" - should not be relied on to guide clinical practice or health-related behavior and should not be reported in news media as established information.

Harnessing AI for Health Message Generation: The Folic Acid Message Engine

  • Ralf Schmaelzle; 
  • Shelby Wilcox

ABSTRACT

Background:

Communication campaigns utilizing social media can raise public awareness, but they are difficult to sustain. One barrier is the need to constantly generate and post novel, yet on-topic messages, which creates a resource-intensive bottleneck.

Objective:

Here, we harness the latest advances in artificial intelligence (AI) to build a system that can generate a large number of candidate messages, which could be used for a campaign. The topic of folic acid, a B-vitamin that helps prevent major birth defects, serves as an example, but the system can work with other topics as well.

Methods:

We used the Generative-Pre-trained-Transformer-2 (GPT2) architecture, a machine learning model trained on a large natural language corpus, and fine tuned it using a dataset of auto-downloaded tweets about #folicacid. The fine tuned model was then used as a message engine, that is to create new messages about this topic. We carried out an online study to gauge how human raters evaluate the AI-generated tweet messages compared to original, human-crafted messages.

Results:

We find that the Folic Acid Message Engine can easily create several hundreds of new messages that appear natural to humans. Online raters evaluated the clarity and quality of a selected sample AI-generated tweets as on par with human-generated ones. Overall, these results show that it is feasible to use such a message engine to suggest messages for online campaigns.

Conclusions:

The message engine can serve as a starting point for more sophisticated AI-guided message creation systems for health communication. Beyond the practical potential of such systems for campaigns in the age of social media, they also hold great scientific potential for quantitative analysis of message characteristics that promote successful communication. We discuss future developments and obvious ethical challenges that need to be addressed as AI technologies for health persuasion enter the stage.


 Citation

Please cite as:

Schmaelzle R, Wilcox S

Harnessing Artificial Intelligence for Health Message Generation: The Folic Acid Message Engine

J Med Internet Res 2022;24(1):e28858

DOI: 10.2196/28858

PMID: 35040800

PMCID: 8808340

Download PDF


Request queued. Please wait while the file is being generated. It may take some time.

© The authors. All rights reserved. This is a privileged document currently under peer-review/community review (or an accepted/rejected manuscript). Authors have provided JMIR Publications with an exclusive license to publish this preprint on it's website for review and ahead-of-print citation purposes only. While the final peer-reviewed paper may be licensed under a cc-by license on publication, at this stage authors and publisher expressively prohibit redistribution of this draft paper other than for review purposes.