Thanos: Enhancing Conversational Agents with Skill-of-Mind-Infused Large Language Model

Young-Jun Lee, Dokyong Lee, Junyoung Youn, Kyeongjin Oh, Ho-Jin ChoiarXiv 2024 · DOI

Introduction

Modern Large Language Models (LLMs) often struggle with the nuances of social dialogue, frequently falling victim to the "one-to-many" problem—where multiple plausible but socially inappropriate responses exist for a single prompt—and the "scattering of evidence," where critical social cues are lost in long conversation histories. To address these challenges, researchers have introduced THANOS, a family of LLMs designed to master "Skill-of-Mind" (SoM). This human-like ability allows models to internally reason about the most appropriate conversational strategy (e.g., empathy, persona recall, or ethics) before generating a response.

The Skill-of-Mind Framework

The core of the THANOS approach is the Skill-of-Mind process, which mimics human social reasoning through three distinct stages:

  1. Interpreting Social Context: The model analyzes demographics, personas, and dialogue history.
  2. Explanation/Rationale: The model generates a "Chain-of-Thought" internal reasoning explaining why a specific skill is required.
  3. Skill Selection: The model selects the most appropriate skill from a hierarchical taxonomy of over 38 categories.
The Skill-of-Mind process: interpreting context, generating rationale, and selecting a skill before responding.

By fine-tuning models (1B, 3B, and 8B parameters) using Low-Rank Adaptation (LoRA) on LLaMA-3 architectures, the researchers trained THANOS to sequentially generate an explanation and a skill label (using a [RESULT_SKILL] token) as a guiding prefix for the final response.

Dataset Construction: Multifaceted Skill-of-Mind

A significant contribution of this work is the MULTIFACETED SKILL-OF-MIND dataset. Compiled from 12 existing dialogue sources (such as SODA and EmpatheticDialogues), it comprises approximately 100,000 conversation turns. Unlike previous benchmarks, this dataset provides granular annotations for 38+ conversational skills and includes the underlying rationale for each choice.

Comparison of the Multifaceted Skill-of-Mind dataset against existing dialogue benchmarks.

The dataset was annotated using GPT-4, which was prompted to adopt a "perspective-taking" style to ensure the rationales realistically reflect a speaker's internal state. This focus on "Empathy," "Ethics," and "Helpfulness" serves as a prosocial safeguard for the resulting models.

Results and Analysis

THANOS models demonstrate superior performance in both skill prediction and response quality. In comparative tests against baselines like LLaMA-3-8B and Gemma-2-2B, THANOS consistently identified the correct conversational skill across in-domain and out-of-domain scenarios.

Human evaluations on the DailyDialog dataset further validate the approach. The THANOS 8B model achieved a 71.4% naturalness score, a dramatic improvement over the 28.6% score of the base LLaMA-3.1-8B. Furthermore, the model showed strong generalizability to unseen tasks, such as image-sharing dialogues in PhotoChat, indicating that the Skill-of-Mind framework effectively transfers across diverse domains.

Conclusion and Future Work

While THANOS represents a major step forward in social AI, the current implementation relies on a modular "plan-then-act" process where the SoM output serves as an augmented prompt. Future research aims to embed Skill-of-Mind reasoning natively within the model's weights. Additionally, the researchers plan to evaluate THANOS in high-stakes environments, such as professional psychological counseling and complex multi-party negotiations, to further refine its social intelligence.

Summary updated

Abstract

To increase social bonding with interlocutors, humans naturally acquire the ability to respond appropriately in a given situation by considering which conversational skill is most suitable for the response - a process we call skill-of-mind. For large language model (LLM)-based conversational agents, planning appropriate conversational skills, as humans do, is challenging due to the complexity of social dialogue, especially in interactive scenarios. To address this, we propose a skill-of-mind-annotated conversation dataset, named Multifaceted Skill-of-Mind, which includes multi-turn and multifaceted conversational skills across various interactive scenarios (e.g., long-term, counseling, task-oriented), grounded in diverse social contexts (e.g., demographics, persona, rules of thumb). This dataset consists of roughly 100K conversations. Using this dataset, we introduce a new family of skill-of-mind-infused LLMs, named Thanos, with model sizes of 1B, 3B, and 8B parameters. With extensive experiments, these models successfully demonstrate the skill-of-mind process and exhibit strong generalizability in inferring multifaceted skills across a variety of domains. Moreover, we show that Thanos significantly enhances the quality of responses generated by LLM-based conversational agents and promotes prosocial behavior in human evaluations.

Empirical ResultsBrowse all benchmarks →

BenchmarkMethodMetricScoreProtocol / Evidence
Human evaluation of Multifaceted Skill-of-MindMultifaceted Skill-of-Mind annotationsrelevance3.72 4-point Likert scalescale=4-point Likert · evaluators=15 students · samples-per-evaluator=100 randomly sampled instances
Source quote
L105: To assess the quality of Multifaceted Skill-of-Mind\xspace, we conduct a human evaluation based on five criteria: (1) relevance, (2) plausibility, (3) understanding, (4) skill alignment, and (5) skill adequacy. Each human evaluator rates 100 randomly sampled instances on a 4-point Likert scale for all criteria. Criteria (1-3) measure the quality of the explanation, while criteria (4-5) assess the quality of the conversational skill. Further details about each evaluation criterion and the recruitment process for human evaluators are provided in the Appendix~\ref{supp_sec:human_eval_question} and Appendix~\ref{supp_sec:detail_human_eval}. On average, we achieve notably high scores: 3.72 for relevance, 3.75 for plausibility, 3.74 for understanding, 3.64 for skill alignment, and 3.59 for skill adequacy. Additionally, we compute inter-rater agreement (IA) using Krippendorff's \alpha, yielding a value of 0.62, which indicates a substantial level of agreement. These results demonstrate the reliability and quality of Multifaceted Skill-of-Mind\xspace, particularly with respect to generating human-like skill-of-mind in interactions.
Human evaluation of Multifaceted Skill-of-MindMultifaceted Skill-of-Mind annotationsplausibility3.75 4-point Likert scalescale=4-point Likert · evaluators=15 students · samples-per-evaluator=100 randomly sampled instances
Source quote
L105: To assess the quality of Multifaceted Skill-of-Mind\xspace, we conduct a human evaluation based on five criteria: (1) relevance, (2) plausibility, (3) understanding, (4) skill alignment, and (5) skill adequacy. Each human evaluator rates 100 randomly sampled instances on a 4-point Likert scale for all criteria. Criteria (1-3) measure the quality of the explanation, while criteria (4-5) assess the quality of the conversational skill. Further details about each evaluation criterion and the recruitment process for human evaluators are provided in the Appendix~\ref{supp_sec:human_eval_question} and Appendix~\ref{supp_sec:detail_human_eval}. On average, we achieve notably high scores: 3.72 for relevance, 3.75 for plausibility, 3.74 for understanding, 3.64 for skill alignment, and 3.59 for skill adequacy. Additionally, we compute inter-rater agreement (IA) using Krippendorff's \alpha, yielding a value of 0.62, which indicates a substantial level of agreement. These results demonstrate the reliability and quality of Multifaceted Skill-of-Mind\xspace, particularly with respect to generating human-like skill-of-mind in interactions.
Human evaluation of Multifaceted Skill-of-MindMultifaceted Skill-of-Mind annotationsunderstanding3.74 4-point Likert scalescale=4-point Likert · evaluators=15 students · samples-per-evaluator=100 randomly sampled instances
Source quote
L105: To assess the quality of Multifaceted Skill-of-Mind\xspace, we conduct a human evaluation based on five criteria: (1) relevance, (2) plausibility, (3) understanding, (4) skill alignment, and (5) skill adequacy. Each human evaluator rates 100 randomly sampled instances on a 4-point Likert scale for all criteria. Criteria (1-3) measure the quality of the explanation, while criteria (4-5) assess the quality of the conversational skill. Further details about each evaluation criterion and the recruitment process for human evaluators are provided in the Appendix~\ref{supp_sec:human_eval_question} and Appendix~\ref{supp_sec:detail_human_eval}. On average, we achieve notably high scores: 3.72 for relevance, 3.75 for plausibility, 3.74 for understanding, 3.64 for skill alignment, and 3.59 for skill adequacy. Additionally, we compute inter-rater agreement (IA) using Krippendorff's \alpha, yielding a value of 0.62, which indicates a substantial level of agreement. These results demonstrate the reliability and quality of Multifaceted Skill-of-Mind\xspace, particularly with respect to generating human-like skill-of-mind in interactions.
Human evaluation of Multifaceted Skill-of-MindMultifaceted Skill-of-Mind annotationsskill alignment3.64 4-point Likert scalescale=4-point Likert · evaluators=15 students · samples-per-evaluator=100 randomly sampled instances
Source quote
L105: To assess the quality of Multifaceted Skill-of-Mind\xspace, we conduct a human evaluation based on five criteria: (1) relevance, (2) plausibility, (3) understanding, (4) skill alignment, and (5) skill adequacy. Each human evaluator rates 100 randomly sampled instances on a 4-point Likert scale for all criteria. Criteria (1-3) measure the quality of the explanation, while criteria (4-5) assess the quality of the conversational skill. Further details about each evaluation criterion and the recruitment process for human evaluators are provided in the Appendix~\ref{supp_sec:human_eval_question} and Appendix~\ref{supp_sec:detail_human_eval}. On average, we achieve notably high scores: 3.72 for relevance, 3.75 for plausibility, 3.74 for understanding, 3.64 for skill alignment, and 3.59 for skill adequacy. Additionally, we compute inter-rater agreement (IA) using Krippendorff's \alpha, yielding a value of 0.62, which indicates a substantial level of agreement. These results demonstrate the reliability and quality of Multifaceted Skill-of-Mind\xspace, particularly with respect to generating human-like skill-of-mind in interactions.
Human evaluation of Multifaceted Skill-of-MindMultifaceted Skill-of-Mind annotationsskill adequacy3.59 4-point Likert scalescale=4-point Likert · evaluators=15 students · samples-per-evaluator=100 randomly sampled instances
Source quote
L105: To assess the quality of Multifaceted Skill-of-Mind\xspace, we conduct a human evaluation based on five criteria: (1) relevance, (2) plausibility, (3) understanding, (4) skill alignment, and (5) skill adequacy. Each human evaluator rates 100 randomly sampled instances on a 4-point Likert scale for all criteria. Criteria (1-3) measure the quality of the explanation, while criteria (4-5) assess the quality of the conversational skill. Further details about each evaluation criterion and the recruitment process for human evaluators are provided in the Appendix~\ref{supp_sec:human_eval_question} and Appendix~\ref{supp_sec:detail_human_eval}. On average, we achieve notably high scores: 3.72 for relevance, 3.75 for plausibility, 3.74 for understanding, 3.64 for skill alignment, and 3.59 for skill adequacy. Additionally, we compute inter-rater agreement (IA) using Krippendorff's \alpha, yielding a value of 0.62, which indicates a substantial level of agreement. These results demonstrate the reliability and quality of Multifaceted Skill-of-Mind\xspace, particularly with respect to generating human-like skill-of-mind in interactions.
BibTeX
@misc{lee2024thanos,
  author = {Young-Jun Lee and Dokyong Lee and Junyoung Youn and Kyeongjin Oh and Ho-Jin Choi},
  title = {{Thanos: Enhancing Conversational Agents with Skill-of-Mind-Infused Large Language Model}},
  year = {2024},
  eprint = {2411.04496},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2411.04496},
}
Figure