Cue-CoT: Chain-of-thought Prompting for Responding to In-depth Dialogue Questions with LLMs

Hongru Wang, Rui Wang, Fei Mi, Yang Deng, Zezhong Wang, Bin Liang, Ruifeng Xu, Kam-Fai Wong

TL;DR

The paper introduces Cue-CoT, a novel chain-of-thought prompting method that explicitly instructs Large Language Models (LLMs) to infer a user's hidden status—such as personality, emotion, and psychological state—before generating a dialogue response. By introducing this intermediate reasoning step, Cue-CoT significantly boosts both the helpfulness and acceptability of LLM responses in complex, in-depth conversation scenarios.

What Problem Does This Paper Address?

When deployed in dialogue systems, LLMs typically generate responses by directly mapping the conversation history to an output. While this works for simple queries, it often falls short in deep, nuanced conversations (e.g., mental health support or personalized counseling).

Human communication relies heavily on underlying linguistic cues that signal a speaker's emotional or psychological state. Standard prompting strategies overlook these cues, causing LLMs to generate stereotypical, tedious, or emotionally tone-deaf responses. Because understanding a user's hidden needs requires complex inference, a single-step generation often fails to deliver a satisfying response.

Methods

To bridge this gap, the authors propose Cue-CoT (Linguistic Cue-based Chain-of-Thought), which breaks response generation into a multi-stage reasoning process. They explore two main architectural variants:

  1. O-Cue CoT (One-step Cue CoT): The model is prompted to output both the intermediate user status and the final response simultaneously in a single generation step ($M : c \rightarrow s, r$).
  2. M-Cue CoT (Multi-step Cue CoT): The process is explicitly decoupled. In Step 1, the model infers the user's status based on the context ($M : c \rightarrow s$). In Step 2, this inferred status is fed back into the model along with the context to generate the final response ($M : c \rightarrow s \rightarrow r$).
Figure 1: An example of different prompting for responding to in-depth dialog questions with LLMs, including standard prompting, O-Cue CoT, and M-Cue CoT. We shadow the intermediate reasoning results, i.e., the personality, empathy, and psychological status of the user, and highlight the instructions at the input and indicate the roles of different parts of the response (in green) in M-Cue CoT.

Additionally, for one-shot learning scenarios, the authors introduce a Demonstration Selection Strategy. Instead of picking random examples, they use the intermediate reasoning results (user status) as a selection criterion, matching the test query with a demonstration where the user exhibits a similar psychological or emotional profile.

Datasets

To rigorously evaluate Cue-CoT, the authors constructed a comprehensive benchmark consisting of 6 datasets across both Chinese and English, totaling 7.3k dialogues. The benchmark targets three primary linguistic cues:

  • Personality: Built using a pipeline powered by gpt-3.5-turbo to infer personalities from real-world question-answer seeds collected from Zhihu (Chinese) and Quora (English).
  • Emotion: Re-organized from existing empathetic dialogue datasets: D4 (Chinese depression-diagnosis chat) and EmpatheticDialogues (ED) (English).
  • Psychology: Adapted from mental health counseling datasets: PsyQA (Chinese) and EMH (English).

Key Insights and Ideas

  • The Multi-Step Advantage: Decomposing the task (M-Cue CoT) performs drastically better than doing it all at once (O-Cue CoT). Smaller or less capable models (like ChatGLM-6B or Alpaca-7B) struggle to follow complex, long instructions in a single step, often failing to output the required formatting or truncating their reasoning. Decoupling the steps makes the instructions easier for the model to digest.
  • Status-Based Few-Shot Matching: Matching few-shot examples based on user status similarity rather than just raw text similarity yields better performance. This validates the intuition that users with similar psychological profiles prefer similar conversational styles.
  • The "Illusion of Evaluation": The paper highlights a critical pitfall in LLM evaluation. Comparing models against human ground-truth text from standard datasets can yield misleadingly high win-rates because human dataset responses are often short or uninformative. Directly benchmarking against standard prompting provides a much fairer and more rigorous baseline.

Key Results

The authors evaluated Cue-CoT across 5 popular LLMs (ChatGLM-6B, BELLE-LLAMA-7B-2M, Alpaca-7B, Vicuna-7B-v1.1, and ChatGPT) using pairwise human and automated evaluations (with ChatGPT as a judge).

  • Consistent Superiority: M-Cue CoT outperformed standard prompting across all models and all datasets in both helpfulness and acceptability.
  • High Win Rates: Under zero-shot settings with ChatGPT as the backbone, M-Cue CoT achieved win rates over 85% in helpfulness and up to 96% in acceptability against standard prompting on English datasets.
  • Robustness in Smaller Models: While O-Cue CoT caused performance drops in weaker models like Alpaca due to instruction-following limitations, M-Cue CoT successfully unlocked reasoning capabilities in these same models, boosting their win rates significantly.

Limitations and Future Work

While highly effective, the authors note several limitations:

  • Scope of Cues: The framework currently only considers personality, emotion, and psychology. Other cues like speaker charisma, subjectivity, or perspective remain unexplored.
  • Prompt Sensitivity: LLMs are notoriously sensitive to prompt engineering, and the prompts designed for this study may not be globally optimal.
  • Unchecked Intermediate Steps: The framework evaluates the quality of the final response, but does not directly measure the accuracy of the intermediate user status inference due to the subjective, "one-to-many" nature of dialogue.

Future directions include exploring chain-of-thought tuning and explicit instruction tuning to bake these capabilities directly into the models.

Summary updated

Abstract

Large Language Models (LLMs), such as \texttt{ChatGPT}, greatly empower dialogue systems with strong language understanding and generation capabilities. However, most of the previous works prompt the LLMs to directly generate a response based on the dialogue context, overlooking the underlying linguistic cues about the user status exhibited in the context. Such in-depth dialogue scenarios are challenging for existing LLMs to figure out the user's hidden needs and respond satisfactorily through a single-step inference. To this end, we propose a novel linguistic cue-based chain-of-thoughts (\textit{Cue}-CoT), which enhances the LLMs inference with an intermediate reasoning step to find cues exhibited in the dialogue, aiming to provide a more personalized and engaging response. To evaluate the approach, we build a benchmark with in-depth dialogue questions, consisting of 6 datasets in both Chinese and English, targeting 3 major linguistic cues during the conversation: \textit{personality}, \textit{emotion}, and \textit{psychology}. We conduct extensive experiments on the proposed benchmark with 5 LLMs under both zero-shot and one-shot settings. Empirical results demonstrate our proposed \textit{Cue}-CoT method outperforms standard prompting methods in terms of both \textit{helpfulness} and \textit{acceptability} on all datasets.
BibTeX
@inproceedings{wang2023cue,
  author = {Hongru Wang and Rui Wang and Fei Mi and Yang Deng and Zezhong Wang and Bin Liang and Ruifeng Xu and Kam-Fai Wong},
  title = {{Cue-CoT: Chain-of-thought Prompting for Responding to In-depth Dialogue Questions with LLMs}},
  booktitle = {Conference on Empirical Methods in Natural Language Processing},
  year = {2023},
  doi = {10.18653/v1/2023.findings-emnlp.806},
}
Figure