Evaluation of Code Generation for Simulating Participant Behavior in Experience Sampling Method by Iterative In-Context Learning of a Large Language Model
Open Access
- 17 June 2024
- journal article
- research article
- Published by Association for Computing Machinery (ACM) in Proceedings of the ACM on Human-Computer Interaction
- Vol. 8 (EICS) , 1-19
Abstract
The Experience Sampling Method (ESM) is commonly used to understand behaviors, thoughts, and feelings in the wild by collecting self-reports. Sustaining sufficient response rates, especially in long-running studies remains challenging. To avoid low response rates and dropouts, experimenters rely on their experience, proposed methodologies from earlier studies, trial and error, or the scarcely available participant behavior data from previous ESM protocols. This approach often fails in finding the acceptable study parameters, resulting in redesigning the protocol and repeating the experiment. Research has shown the potential of machine learning to personalize ESM protocols such that ESM prompts are delivered at opportune moments, leading to higher response rates. The corresponding training process is hindered due to the scarcity of open data in the ESM domain, causing a cold start, which could be mitigated by simulating participant behavior. Such simulations provide training data and insights for the experimenters to update their study design choices. Creating this simulation requires behavioral science, psychology, and programming expertise. Large language models (LLMs) have emerged as facilitators for information inquiry and programming, albeit random and occasionally unreliable. We aspire to assess the readiness of LLMs in an ESM use case. We conducted research using GPT-3.5 turbo-16k to tackle an ESM simulation problem. We explored several prompt design alternatives to generate ESM simulation programs, evaluated the output code in terms of semantics and syntax, and interviewed ESM practitioners. We found that engineering LLM-enabled ESM simulations have the potential to facilitate data generation, but they perpetuate trust and reliability challenges.Keywords
Funding Information
- Dutch Research Council (628.011.214)
This publication has 46 references indexed in Scilit:
- Employing large language models in survey researchNatural Language Processing Journal, 2023
- Optimizing Adaptive Notifications in Mobile Health Interventions Systems: Reinforcement Learning from a Data-driven Behavioral SimulatorJournal of Medical Systems, 2021
- Effect of experience sampling schedules on response rate and recall accuracy of objective self-reportsInternational Journal of Human-Computer Studies, 2019
- Just-in-Time Adaptive Interventions (JITAIs) in Mobile Health: Key Components and Design Principles for Ongoing Health Behavior SupportAnnals of Behavioral Medicine, 2017
- The importance of teachers' emotions and instructional behavior for their students' emotions – An experience sampling analysisTeaching and Teacher Education, 2014
- Validity and Reliability of the Experience-Sampling Method2014
- The Experience Sampling Method2014
- Translating keyword commands into executable code2006
- Using the experience sampling method to evaluate ubicomp applicationsIEEE Pervasive Computing, 2003
- Measuring Daily Events and Experiences: Decisions for the ResearcherJournal of Personality, 1991