NAACL 2025long1 citations

Adaptive Prompting: Ad-hoc Prompt Composition for Social Bias Detection

Maximilian Spliethöver, Tim Knebler, Fabian Fumagalli, Maximilian Muschalik, Barbara Hammer, Eyke Hüllermeier, Henning Wachsmuth

Abstract

Recent advances on instruction fine-tuning have led to the development of various prompting techniques for large language models, such as explicit reasoning steps. However, the success of techniques depends on various parameters, such as the task, language model, and context provided. Finding an effective prompt is, therefore, often a trial-and-error process. Most existing approaches to automatic prompting aim to optimize individual techniques instead of compositions of techniques and their dependence on the input. To fill this gap, we propose an adaptive prompting approach that predicts the optimal prompt composition ad-hoc for a given input. We apply our approach to social bias detection, a highly context-dependent task that requires semantic understanding. We evaluate it with three large language models on three datasets, comparing compositions to individual techniques and other baselines. The results underline the importance of finding an effective prompt composition. Our approach robustly ensures high detection performance, and is best in several settings. Moreover, first experiments on other tasks support its generalizability.

BibTeX
@inproceedings{spliethover-etal-2025-adaptive,
    title = "Adaptive Prompting: Ad-hoc Prompt Composition for Social Bias Detection",
    author = {Splieth{\"o}ver, Maximilian  and
      Knebler, Tim  and
      Fumagalli, Fabian  and
      Muschalik, Maximilian  and
      Hammer, Barbara  and
      H{\"u}llermeier, Eyke  and
      Wachsmuth, Henning},
    editor = "Chiruzzo, Luis  and
      Ritter, Alan  and
      Wang, Lu",
    booktitle = "Proceedings of the 2025 Conference of the Nations of the Americas Chapter of the Association for Computational Linguistics: Human Language Technologies (Volume 1: Long Papers)",
    month = apr,
    year = "2025",
    address = "Albuquerque, New Mexico",
    publisher = "Association for Computational Linguistics",
    url = "https://aclanthology.org/2025.naacl-long.122/",
    pages = "2421--2449",
    ISBN = "979-8-89176-189-6"
}