From Measurement to Expertise: Empathetic Expert Adapters for Context-Based Empathy in Conversational AI Agents

Erfan Shayegani, Jina Suh, Andy Wilson, Nagu Rangan, Javier HernandezarXiv 2025 · DOI

Introduction

While Large Language Models (LLMs) have become increasingly proficient at following instructions, their ability to deliver nuanced, context-aware empathy remains a significant challenge. Current models often default to a "generic" empathetic tone that fails to account for the specific needs of different tasks—a user debugging code requires a different emotional response than one discussing a personal tragedy. Furthermore, even when prompted to be empathetic, models suffer from "context contamination" or "empathy drift," where the desired tone diminishes as the conversation history grows.

Researchers have addressed these hurdles by developing a framework that moves beyond simple system prompting toward Empathetic Expert Adapters. This approach specializes LLMs for specific task clusters, significantly reducing the gap between user-desired and AI-delivered empathy.

Methodology: The Empathetic Pipeline

The authors propose a multi-stage pipeline designed to transform a base LLM into a suite of empathetic experts. This process involves extracting behavioral patterns, establishing robust measurement metrics, and finally aligning the model through specialized adapters.

The multi-stage framework for developing empathetic expert adapters, covering insight extraction, measurement, and alignment.

1. Task Clustering and Insight Extraction

By analyzing real-world human-AI interactions, the researchers identified four primary task clusters with distinct empathy requirements:

  • Distressing/Social/Personal: High emotional support needs.
  • Learning Skills: Encouraging and patient tone.
  • Work Issues/Career: Professional yet supportive.
  • Work Assignment/Writing: Task-focused with minimal emotional overhead.

2. Synthetic Data Generation and Steering

To overcome the scarcity of high-quality empathetic dialogue data, the team utilized a pipeline where GPT-4o generated initial prompts and Llama-3 simulated multi-turn conversations. These dialogues were then "steered" using expert-defined patterns to create a preference dataset containing both highly empathetic and non-empathetic responses for the same context.

3. Measuring and Aligning Empathy

Two types of reward models were developed to quantify empathy: a generative "LLM-as-a-judge" model using GPT-4o and a learning-based classifier (regression head) built on a frozen Llama-3 backbone. These models allowed the team to score responses and train Low-Rank Adapters (LoRA) for each task cluster. Unlike system prompts, these adapters bake empathetic behavior into the model's weights, ensuring consistency even in long conversations.

Distribution of empathy scores for chosen, original, and rejected responses across different steering strengths (Beta), illustrating the effectiveness of the preference dataset generation.

Datasets

The study utilized two primary data sources:

  • SENSE-7: A real-world dataset of 672 multi-turn conversations featuring subjective user ratings of perceived vs. desired empathy.
  • Synthetic Multi-turn Dataset: Thousands of turns generated and steered toward specific empathetic patterns to provide the necessary volume for adapter training.

Key Results and Insights

The implementation of Empathetic Expert Adapters yielded several critical findings:

  • Significant Gap Reduction: The adapters reduced the discrepancy between desired and perceived empathy by 72.66% across all tested task clusters.
  • Robustness to Drift: While system prompts lose their effectiveness as conversation history increases, the adapters maintained a consistent empathetic tone throughout multi-turn dialogues, effectively solving the "context contamination" problem.
  • Correlation with Utility: Perceived empathy showed a high correlation (0.64) with overall user satisfaction, suggesting that empathy is a core component of AI utility rather than a superficial addition.
  • Model Performance: Llama-3-8B-Instruct proved significantly more capable than smaller models like Phi-3-mini in handling complex emotional steering and maintaining context.

Limitations and Future Work

Despite these successes, the authors note that the study was limited to 8B and 3.8B parameter models. Future research may explore how larger models handle even more nuanced emotional instructions. Additionally, the ability to steer empathy raises ethical concerns regarding "dark empathy," where AI could be manipulated to build false trust for harmful purposes. The team suggests that moving toward a Mixture of Experts (MoE) architecture could allow for dynamic switching between empathetic adapters as a conversation evolves in real-time.

Summary updated

BibTeX
@misc{shayegani2025from,
  author = {Erfan Shayegani and Jina Suh and Andy Wilson and Nagu Rangan and Javier Hernandez},
  title = {{From Measurement to Expertise: Empathetic Expert Adapters for Context-Based Empathy in Conversational AI Agents}},
  year = {2025},
  eprint = {2511.03143},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2511.03143},
}
Figure