Labels Generated by Large Language Models Help Measure People's Empathy in Vitro

Md Rakibul Hasan, Yue Yao, Md Zakir Hossain, Aneesh Krishna, Imre Rudas +2 more
1/1/2025
cs.CLcs.LG

Official code: hasan-rakibul/LLMPathy (1 star, Apache-2.0, last commit 2026-03-16).

Abstract

Large language models (LLMs) have revolutionised many fields, with LLM-as-a-service (LLMSaaS) offering accessible, general-purpose solutions without costly task-specific training. In contrast to the widely studied prompt engineering for directly solving tasks (in vivo), this paper explores LLMs' potential for in-vitro applications: using LLM-generated labels to improve supervised training of mainstream models. We examine two strategies - (1) noisy label correction and (2) training data augmentation - in empathy computing, an emerging task to predict psychology-based questionnaire outcomes from inputs like textual narratives. Crowdsourced datasets in this domain often suffer from noisy labels that misrepresent underlying empathy. We show that replacing or supplementing these crowdsourced labels with LLM-generated labels, developed using psychology-based scale-aware prompts, achieves statistically significant accuracy improvements. Notably, the RoBERTa pre-trained language model (PLM) trained with noise-reduced labels yields a state-of-the-art Pearson correlation coefficient of 0.648 on the public NewsEmp benchmarks. This paper further analyses evaluation metric selection and demographic biases to help guide the future development of more equitable empathy computing models. Code and LLM-generated labels are available at https://github.com/hasan-rakibul/LLMPathy.

View on arXivView PDF

Code Implementations(1)

Apache-2.0

Code of "Labels Generated by Large Language Models Help Measure People's Empathy in Vitro"

10Shell, PythonFeb 19, 20247 months agoApache-2.0

Similar Papers

Cite this paper

@article{hasan2025labels,
  title  = {Labels Generated by Large Language Models Help Measure People's Empathy in Vitro},
  author = {Md Rakibul Hasan and Yue Yao and Md Zakir Hossain and Aneesh Krishna and Imre Rudas and Shafin Rahman and Tom Gedeon},
  year   = {2025},
  eprint = {2501.00691},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2501.00691v2}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2501.00691.svg)](https://codeofpaper.com/paper/2501.00691)

Discussion