NAACL 2024long4 citations

Generating Mental Health Transcripts with SAPE (Spanish Adaptive Prompt Engineering)

Daniel Lozoya, Alejandro Berazaluce, Juan Perches, Eloy Lúa, Mike Conway, Simon D’Alfonso

Abstract

Large language models have become valuable tools for data augmentation in scenarios with limited data availability, as they can generate synthetic data resembling real-world data. However, their generative performance depends on the quality of the prompt used to instruct the model. Prompt engineering that relies on hand-crafted strategies or requires domain experts to adjust the prompt often yields suboptimal results. In this paper we present SAPE, a Spanish Adaptive Prompt Engineering method utilizing genetic algorithms for prompt generation and selection. Our evaluation of SAPE focuses on a generative task that involves the creation of Spanish therapy transcripts, a type of data that is challenging to collect due to the fact that it typically includes protected health information. Through human evaluations conducted by mental health professionals, our results show that SAPE produces Spanish counselling transcripts that more closely resemble authentic therapy transcripts compared to other prompt engineering techniques that are based on Reflexion and Chain-of-Thought.

BibTeX
@inproceedings{lozoya-etal-2024-generating,
    title = "Generating Mental Health Transcripts with {SAPE} ({S}panish Adaptive Prompt Engineering)",
    author = "Lozoya, Daniel  and
      Berazaluce, Alejandro  and
      Perches, Juan  and
      L{\'u}a, Eloy  and
      Conway, Mike  and
      D{'}Alfonso, Simon",
    editor = "Duh, Kevin  and
      Gomez, Helena  and
      Bethard, Steven",
    booktitle = "Proceedings of the 2024 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies (Volume 1: Long Papers)",
    month = jun,
    year = "2024",
    address = "Mexico City, Mexico",
    publisher = "Association for Computational Linguistics",
    url = "https://aclanthology.org/2024.naacl-long.285/",
    doi = "10.18653/v1/2024.naacl-long.285",
    pages = "5096--5113"
}
Generating Mental Health Transcripts with SAPE (Spanish Adaptive Prompt Engineering) · NAACL 2024