Identifying Effective Strategies in Prompt Evolution for Stress and Emotion Prediction
Organizations: Department of Computer Science, Kyung Hee University, Yongin, South Korea · Department of Biomedical Engineering, University of Texas at Austin, Austin, TX, USA · Department of Computer Science, University of Texas at Austin, Austin, TX, USA · College of Fine Arts, University of Texas at Austin, Austin, TX, USA ·
Abstract
Early stress detection and risk prediction are crucial for timely mental health assessment and support. While large language models have recently shown promise for social media stress prediction, relying on accuracy can obscure false positives. Also, prompt revisions yield inconsistent gains across models and tasks, with unclear links to strategy combinations and instruction changes. By comparing six methods on social media stress and emotion data across two model sizes, we found that GEPA and its extension combining instructions from two prompts (GEPA+merge) improved prediction over initial prompts in several settings. We also identified five prompting strategies associated with development gains. These strategies included directing attention to emotional evidence, distinguishing current from past distress, illustrating indirect cues, requiring emotional context, and guiding label selection. Moreover, we documented four observations across tasks and evaluation settings. In a separate set of searches, binary stress prediction improved early, whereas multilabel emotion prediction initially declined and partly recovered. The other three concerned incorrect or conflicting instructions, gains on small comparison samples that did not hold on full development data, and changes in selected prompts' development and reported test rankings. These findings identify effective prompt evolution methods, strategy combinations associated with gains, and task and evaluation limits, providing guidance for applying prompt evolution methods to social media stress detection.
Figures & tables
| Statistic | Dreaddit [ 8 ] | GoEmotions [ 9 ] |
|---|---|---|
| Text unit | Five sentences | One comment |
| Mean words (SD) | 85.6 (32.1) | 12.8 (6.7) |
| Median words | 80 | 12 |
| Annotated items | 3,553 | 58,009 |
| Released classification subset | 3,553 | 54,263 |
| Available labels | 2 | 28 |
| Strategy | Examples from prompts | Development scores (%) |
|---|---|---|
| Directing Attention to Emotional Evidence Dreaddit, seed 42 | Candidate 1: “the label is based on the author’s emotional state, not on the topic” Candidate 10: “Stress is primarily linked to the emotional state of the author, not the external situation itself.” | Candidate 1: 76.14 Candidate 10: 84.96 Separate branches Candidate 10 selected |
| Distinguish current from past distress Dreaddit, seed 42 | “stress is determined by the current emotional state and expression in the text, not the past events themselves.” | Candidates |
| Illustrate indirect emotional cues Dreaddit, seed 42 | “self-deprecation”, “feeling trapped”, and “feeling like they ‘deserve’ negative treatment” | Candidates |
| Require emotional context Dreaddit, seed 42 | “Physical symptoms or medical concerns are not sufficient on their own to label the text as stress, unless they are tied to emotional strain or anxiety.” | Candidates Child 18: 78.52 (Same rule retained) |
| Guide emotion label selection GoEmotions | Neutral: “should only be selected if the text explicitly reflects no strong emotional content.” 1. “extract all emotionally charged words or phrases.” 2. “Cross-reference these phrases with the 28-label inventory to identify all possible matching labels.” | Seed 43, candidates Seed 44, candidates |
LLM Prompting
Large language model prompting studies how instructions, examples, context, and formats steer model behavior at inference time.
See all 429 papers