Back

Infusing behavior science into large language models for activity coaching

Hegde, N. G.; Vardhan, M.; Nathani, D.; Rosenzweig, E.; Seneviratne, M.; Karthikesalingam, A.

2023-04-03 health systems and quality improvement
10.1101/2023.03.31.23287995 medRxiv
Show abstract

Large language models (LLMs) have shown promise for task-oriented dialogue across a range of domains. The use of LLMs in health and fitness coaching is under-explored. Behavior science frameworks such as COM-B, which conceptualizes behavior change in terms of capability (C), Opportunity (O) and Motivation (M), can be used to architect coaching interventions in a way that promotes sustained change. Here we aim to incorporate behavior science principles into an LLM using two knowledge infusion techniques: coach message priming (where exemplar coach responses are provided as context to the LLM), and dialogue re-ranking (where the COM-B category of the LLM output is matched to the inferred user need). Simulated conversations were conducted between the primed or unprimed LLM and a member of the research team, and then evaluated by 8 human raters. Ratings for the primed conversations were significantly higher in terms of empathy and actionability. The same raters also compared a single response generated by the unprimed, primed and re-ranked models, finding a significant uplift in actionability from the re-ranking technique. This is a proof of concept of how behavior science frameworks can be infused into automated conversational agents for a more principled coaching experience. Institutional Review Board (IRB)The study does not involve human subjects beyond the volunteer annotators. IRB approval was not sought for this research.

Matching journals

The top 4 journals account for 50% of the predicted probability mass.

1
Frontiers in Digital Health
20 papers in training set
Top 0.1%
23.4%
2
PLOS ONE
4510 papers in training set
Top 17%
10.5%
3
PLOS Digital Health
91 papers in training set
Top 0.2%
10.5%
4
Scientific Reports
3102 papers in training set
Top 16%
6.6%
50% of probability mass above
5
Sensors
39 papers in training set
Top 0.3%
5.0%
6
Physiological Measurement
12 papers in training set
Top 0.1%
4.1%
7
JMIR Formative Research
32 papers in training set
Top 0.5%
2.7%
8
Royal Society Open Science
193 papers in training set
Top 1%
2.7%
9
Medical Decision Making
10 papers in training set
Top 0.1%
2.2%
10
Journal of Medical Internet Research
85 papers in training set
Top 2%
2.0%
11
Methods in Ecology and Evolution
160 papers in training set
Top 1%
1.7%
12
Frontiers in Psychiatry
83 papers in training set
Top 2%
1.5%
13
Frontiers in Public Health
140 papers in training set
Top 5%
1.4%
14
npj Digital Medicine
97 papers in training set
Top 2%
1.4%
15
Healthcare
16 papers in training set
Top 0.9%
1.4%
16
Journal of Personalized Medicine
28 papers in training set
Top 0.8%
0.9%
17
IEEE Journal of Biomedical and Health Informatics
34 papers in training set
Top 2%
0.8%
18
BMJ Open
554 papers in training set
Top 12%
0.8%
19
JMIR mHealth and uHealth
10 papers in training set
Top 0.4%
0.8%
20
Trials
25 papers in training set
Top 2%
0.8%
21
Bioengineering
24 papers in training set
Top 1%
0.8%
22
Frontiers in Bioengineering and Biotechnology
88 papers in training set
Top 3%
0.8%
23
Biological Psychology
18 papers in training set
Top 0.1%
0.8%
24
European Journal of Human Genetics
49 papers in training set
Top 1%
0.8%
25
Philosophical Transactions of the Royal Society B: Biological Sciences
53 papers in training set
Top 1%
0.7%
26
International Journal of Environmental Research and Public Health
124 papers in training set
Top 7%
0.7%
27
BMC Medical Informatics and Decision Making
39 papers in training set
Top 3%
0.5%
28
JMIRx Med
31 papers in training set
Top 2%
0.5%
29
Journal of Clinical and Translational Science
11 papers in training set
Top 0.6%
0.5%
30
Nature
575 papers in training set
Top 17%
0.5%