---
title: "Leveraging Large Language Models for Automated Dialogue"
description: "Finch and colleagues test how well ChatGPT identifies errors and other behaviors in chatbot replies, comparing its judgments with specialists…"
canonical: "https://research.elamur.ai/free/en/papers/finch-2023-leveraging-large-language-models-automated/"
---
Elamur: [Mova](https://md.mova.elamur.ai/free/en/) · [Parse](https://mova.elamur.ai/free/en/parse/) · **Research** · [Gali](https://md.gali.elamur.ai/free/en/) · [MCP](https://mcp.elamur.ai/) · [Locations](https://md.locations.elamur.ai/free/en/) · [Weather](https://md.weather.elamur.ai/free/en/) · [Shryfti](https://md.shryfti.elamur.ai/free/en/)

[Elamur Research](https://md.research.elamur.ai/free/en/) · [this page in HTML](https://research.elamur.ai/free/en/papers/finch-2023-leveraging-large-language-models-automated/)

[Elamur Research](https://md.research.elamur.ai/free/en/) / [papers](https://md.research.elamur.ai/free/en/papers/) / [2023](https://md.research.elamur.ai/free/en/papers/2023/) / Leveraging Large Language Models for Automated Dialogue Analysis

# Leveraging Large Language Models for Automated Dialogue Analysis

Paper · 2023 · Sarah E. Finch, Ellie S. Paek and Jinho D. Choi

**Authors:** [Sarah E. Finch](https://md.research.elamur.ai/free/en/authors/sarah-e-finch/), [Ellie S. Paek](https://md.research.elamur.ai/free/en/authors/ellie-s-paek/) and [Jinho D. Choi](https://md.research.elamur.ai/free/en/authors/jinho-d-choi/) · **Year:** 2023 · **Venue:** Proceedings of the 24th Annual Meeting of the Special Interest Group on Discourse and Dialogue · **Licence:** [CC BY 4.0 (ACL Anthology)](https://creativecommons.org/licenses/by/4.0/)

Cited by **7** papers in our library of more than 163,000 papers whose bibliographies we read · Proceedings of the 24th Annual Meeting of the Special Interest Group on Discourse and Dialogue · [licence](https://creativecommons.org/licenses/by/4.0/)

- [Publisher's page](https://aclanthology.org/2023.sigdial-1.20/)
- [PDF](https://aclanthology.org/2023.sigdial-1.20.pdf)
- [DOI 10.18653/v1/2023.sigdial-1.20](https://doi.org/10.18653/v1/2023.sigdial-1.20)

## Summary

A chatbot can be easy to talk to and still get particular replies wrong. It may ask a question the user already answered, miss a change in the user’s mood, or confidently state an incorrect fact. A rating for the conversation as a whole gives developers little help in finding the reply that caused the problem. Finch and colleagues study a finer-grained approach to evaluating [dialogue systems](https://md.research.elamur.ai/free/en/topics/dialogue-systems/). They ask ChatGPT-3.5 to judge individual chatbot replies for nine behaviors, ranging from empathy to factual errors, contradictions, and failures to follow the conversation.

The study uses 1,634 chatbot replies from 108 ABC-Eval conversations between university students and chatbots. Each reply has judgments from two rounds of human annotation. ChatGPT receives the conversation up to the reply, a question about a particular behavior, and a definition of that behavior. It gives an explanation and a yes-or-no decision. The authors refine the instructions on training conversations and use the same procedure for every behavior, with a different question and definition for each. They also test specialized classifiers wherever an existing system covers a similar task.

ChatGPT’s clearest advantage over a specialist comes in detecting incorrect facts. Its F1 score for replies flagged as containing incorrect facts is 41.0, compared with 15.9 for FaithCritic and 67.8 for human agreement. The ranking depends on the behavior and on what the metric rewards. For detecting empathetic replies, for example, ChatGPT has higher overall accuracy than the empathy specialist, while the specialist has higher F1 on replies judged empathetic. The human annotations agree with each other more closely than the best automated predictions agree with them across the behavior set. The gap is especially apparent when the task is to find replies where a behavior occurs.

The authors inspect ChatGPT’s explanations for disputed decisions. They find cases where it overlooks a recent question, attributes a statement to the wrong speaker, or treats one acceptable way of showing empathy as a requirement for every empathetic reply. Other explanations show difficulty with conversational conventions and ordinary situations. The paper reports an average ChatGPT labeling cost of $0.02 per behavior per dialogue, compared with human estimates ranging from $0.29 to $1.96. That cost makes the approach worth investigating for repeated evaluation. Its usefulness depends on which behaviors an evaluation needs to catch and how much it matters when the system misses them.

## Deep dive: Leveraging Large Language Models for Automated Dialogue Analysis

Finch and colleagues test how well ChatGPT identifies errors and other behaviors in chatbot replies, comparing its judgments with specialists and people. · about 34 minutes to read

**In this deep dive**

1. [The problem and its context](#dd-the-problem-and-its-context)
2. [The method, step by step](#dd-the-method-step-by-step)
3. [Experiments and results](#dd-experiments-and-results)
4. [What the ablations show](#dd-what-the-ablations-show)
5. [Limitations](#dd-limitations)
6. [What came after](#dd-what-came-after)

### The problem and its context

#### What a reply-level judgment can tell you

A conversation can go wrong in different ways even when the replies are fluent. A user may get an answer that follows naturally from their question but contains an unreliable claim. In another exchange, the answer may be factually sound and still feel out of place because the user has just asked about something else. Those cases give developers different things to investigate. A label attached to a particular reply locates the problem and describes what a reader noticed. A dialogue-level evaluation can then serve its own purpose of characterizing the exchange as a whole.

The paper opens with a conversation that illustrates why the location and kind of error matter. The bot gives a population estimate for Miami-Dade County that the annotators mark as factually incorrect. Later, when asked whether it speaks Spanish, it describes its linguistic background in a way that the annotators mark as self-contradictory. The factual judgment concerns what the bot says about the world. The contradiction judgment concerns the compatibility of things the bot says about itself. Both apply at the level of a particular reply, even though a reader may use information from outside that reply to reach a decision.

Recognizing a behavior frequently requires finding the right source of evidence. A public factual claim can call for knowledge beyond the conversation. A remark about the user can require remembering something the user said much earlier. A judgment about whether the bot ignored a question depends heavily on the turn just before the answer. An empathy judgment may depend on the feeling the user expressed and on how the reply responds to it. Giving a classifier the same conversation for all these judgments leaves it with a different reading task each time.

The range of evidence helps explain why the authors were interested in a single prompting approach. A team using classifiers specialized by behavior needs a suitable classifier for each distinction it wants to measure. Each classifier has a training task, a label scheme, and assumptions about what the input contains. When those assumptions differ from the conditions of an actual chatbot conversation, the classifier may still give a label, but the label’s meaning and reliability need to be established on that conversation. Some of the behaviors Finch and colleagues chose had no suitable existing detector for comparison.

The source of the test replies is part of the problem. The paper describes earlier datasets built by annotating exchanges between people, altering existing responses to introduce errors, or writing new responses for a conversation after the fact. These methods supply examples for tasks that can otherwise be difficult to study. Each also produces a particular kind of evidence. A deliberately introduced contradiction can be clear and teachable. A chatbot reply encountered in use may combine an acknowledgment, a plausible statement, an inconsistency, and a topic shift. The error appears amid material that a reader could reasonably regard as normal.

#### What earlier work could detect

Research on contradiction had often centered on whether a chatbot stays consistent with a persona. A persona supplies facts about the speaker that later replies should respect. The paper also describes work that compares a response with earlier contributions by the same speaker, using natural language inference to decide whether the statements are compatible. Some research used classifiers for attributes in a specific domain, while other approaches used summaries of earlier turns to help a chatbot remain consistent as it generated replies. These lines of work made speaker consistency a tractable target. The paper identifies persona-oriented research in its discussion of [Dialogue Natural Language Inference](https://md.research.elamur.ai/free/en/papers/welleck-2019-dialogue-natural-language-inference/) and context-based contradiction data in [I Like Fish, Especially Dolphins](https://md.research.elamur.ai/free/en/papers/nie-2021-i-like-fish-especially-dolphins/).

The contradiction task expands when information can belong to either speaker. A chatbot can maintain a consistent account of itself and still misremember what its partner said. In that case, the evaluator must follow the user’s account and understand what the bot is implying about it. Another class of difficulty arises when the reply clashes with ordinary expectations about how the world works. The authors describe earlier work that scored how well events in a reply align with commonsense expectations. A continuous alignment score expresses a degree of fit. Turning it into the yes-or-no judgment required here would involve an additional decision procedure, such as learning a threshold.

Prior work on claim verification had approached factual reliability through question answering and through classifiers trained to recognize whether evidence supports a reply. Some studies restricted the exchange to a question and its response. Others built benchmarks for dialogue with more turns. The paper names examples in which a grounding passage supplies the evidence the evaluator is expected to use. It also discusses a pipeline that retrieves evidence because such a passage may be unavailable in practice. These setups are represented by [FaithDial](https://md.research.elamur.ai/free/en/papers/dziri-2022-faithdial-faithful-benchmark-information-seeking/), [BEGIN](https://md.research.elamur.ai/free/en/papers/dziri-2022-evaluating-attribution-dialogue-systems-begin/), and [DialFact](https://md.research.elamur.ai/free/en/papers/gupta-2022-dialfact-benchmark-fact-checking-dialogue/).

Empathy research presented a different starting point. The paper describes human judgment as common in evaluating empathetic replies and identifies work that organizes those replies or questions into categories. It gives particular attention to EPITOME, a collection of 10K interactions from Reddit and Talklife annotated for the strength of several ways of expressing empathy. These include responding emotionally, interpreting another person’s experience, and exploring what that person is going through. Previous dialogue studies had already used classifiers trained on that resource for generation and evaluation. The resource is described in [A Computational Approach to Understanding Empathy Expressed in Text-Based Mental Health Support](https://md.research.elamur.ai/free/en/papers/sharma-2020-computational-approach-understanding-empathy-expressed/).

For conversational coherence, earlier methods frequently created examples of incoherence by changing a response. Another method used the probability of possible follow-up utterances as a signal for the relevance of the current reply. Research on repetition had addressed recurring tokens, while the kind of redundancy Finch and colleagues study can occur when a chatbot asks for the same information using different words. The paper treats dialogue breakdown detection as another close relative. That task asks whether a response makes a conversation difficult to continue. Several failures in the present study could contribute to a breakdown, including ignoring the user and abruptly introducing unrelated material. The probability-based evaluation appears in [Unsupervised Evaluation of Interactive Dialog with DialoGPT](https://md.research.elamur.ai/free/en/papers/mehri-2020-unsupervised-evaluation-interactive-dialog-dialogpt/).

General-purpose prompting gave the authors a reason to revisit this collection of tasks together. The paper cites encouraging work on ChatGPT as a text annotator and on using prompting to assess empathetic dialogue overall. It also cites evidence that ChatGPT struggles with finer distinctions, including relations between utterances and the structure of a conversation. Both lines of research are relevant because behavior detection combines a classification problem with careful reading of an exchange. An evaluator has to understand the supplied label and connect it to the relevant speakers, turns, and claims. The work on general annotation includes [ChatGPT Outperforms Crowd-Workers for Text-Annotation Tasks](https://md.research.elamur.ai/free/en/papers/gilardi-2023-chatgpt-outperforms-crowd-workers-text/) and [ChatGPT: Jack of all trades, master of none](https://md.research.elamur.ai/free/en/papers/kocon-2023-chatgpt-jack-all-trades-master/).

### The method, step by step

#### From a conversation to a set of decisions

The authors start with ABC-Eval, a collection of 400 open-domain conversations between university students and chatbots. The chatbot respondents were BlenderBot2, BlenderBot with DECODE reranking, Emora, and Bart-FiD-RAG. The conversations provide completed exchanges from which individual replies can be selected. A selected example consists of an earlier conversation and the next bot reply, the one whose behavior is being judged. The history grows as the procedure moves through the exchange.

The human labels come from a crowdworking annotation process on SurgeHQ. Prospective annotators practiced on three selected conversations before being accepted into the task. They judged whether a specified behavior was present in a chatbot reply. For this paper, the authors use the 108 conversations that received two rounds of labeling, comprising 1,634 replies. They focus on the nine behaviors that earlier work with ABC-Eval had identified as informative about dialogue quality. The two annotation rounds remain separate throughout scoring. The paper releases code and data under the name GPT-ABCEval.

Each behavior is a binary question about the target reply. In this setting, a positive label means the behavior occurred, even when the behavior is undesirable. A positive label for empathy marks an appropriate response to someone’s feelings or experience. A positive label for incorrect fact marks a factual problem. The same turn can be considered under multiple definitions, and the process can give it a positive label under more than one. This matters when a reply starts with a fitting acknowledgment and then asks an unrelated question, or when it repeats a question because the bot has apparently forgotten the user’s earlier answer.

How a chatbot reply receives a behavior label The steps in order.

#### Which distinction each question asks for

The empathy question, Emp, asks whether the bot shows appropriate understanding or sensitivity to the user’s experience. A reply can qualify by recognizing a feeling, responding with a suitable emotion, or offering appropriate encouragement or support. The prompt lists several ways a reply can meet the definition. This matters for an utterance that accepts and validates the user’s account in simple language. A classifier that expects an explicit emotion word or a piece of advice can overlook what the reply already does.

Lack of empathy, written `!Emp`, asks about a failure in the current exchange. The user’s emotion may be misunderstood, the bot’s tone may be wrong for what the user shared, or a situation that calls for feeling may receive an inappropriately indifferent response. The instructions direct attention to the recent discussion when the conversation has moved on. A routine turn about an ordinary topic can therefore lack positive evidence of empathy and still give the evaluator little reason to flag a failure of empathy. The two questions call for different observations about the same reply.

Commonsense contradiction, `!Com`, concerns what people generally recognize as implausible, illogical, or at odds with ordinary knowledge. The prompt also covers assumptions that have insufficient basis and questions whose answers are already obvious. Its exclusions matter because a reply can be difficult to understand for several reasons. Abrupt irrelevance, vagueness, and poorly formed language can all make a turn confusing. The commonsense question asks the evaluator to identify a specific problem with understanding the world or reasoning about the situation.

Incorrect fact, `!Fac`, concerns public claims such as statements about people, places, or organizations. The definition covers several kinds of unreliable information, including false, misleading, or highly implausible claims. It also draws boundaries around preferences, estimates, predictions, and personal details. An evaluator deciding whether a reply contains an incorrect fact has to establish what kind of statement the bot is making before deciding how it could be checked. The mention of a real entity can cue close examination while leaving room for the speaker to be expressing an opinion about it.

Self contradiction, `!Sel`, concerns the bot’s own statements. Earlier words from the bot can supply the evidence, and incompatible claims can also appear within the target reply. The definition extends to a highly implausible continuation of the bot’s own account. A wrong statement about a public fact may be a factual error on its own. Evidence of self contradiction comes from a clash within what the bot says, making the identity of the earlier speaker important whenever the reply is compared with the history.

Partner contradiction, `!Par`, asks what the bot says or presupposes about the user. It can involve misremembering a personal detail, drawing an implausible inference from something the user said, or asking again for an answer that the user has already given about themselves. A conversation may contain two accounts of similar events, one from each speaker. To judge this behavior, the evaluator has to establish whose experience the bot is describing and whether the description is compatible with the user’s account. A simple difference between their preferences or situations is allowed.

Redundancy, Red, asks whether the target repeats material inappropriately or requests information already shared. The definition allows repetition that contributes to the dialogue, such as acknowledgment, emphasis, clarification, or elaboration. The paper illustrates the distinction with a conversation about pets. The user has already said they would like a dog when their living situation permits it. The bot then asks about choosing a cat or a dog. The response has to be read against the earlier answer, including what the user’s preference implies. Reusing the topic of pets is ordinary conversational continuity. Asking again for the preference is the behavior of interest.

Ignore, Ign, concerns the bot’s treatment of the user’s immediately preceding turn. If that turn asks a direct question, the evaluator considers whether the bot addressed it. A reply can use words associated with the same general subject while bypassing the actual request. Irrelevance, `!Rel`, concerns an abrupt break from the current discussion, often through the introduction of unrelated ideas or questions. A brief reaction or acknowledgment can be relevant under this definition. The labels can coincide, but they direct attention to different aspects of the reply. The first is about attending to the user’s last contribution. The second is about how the reply relates to the current discussion.

#### How the prompt was developed and used

The authors test the ChatGPT version designated `gpt-turbo-3.5-301` in the paper. For each label, they test and refine their instructions using its three training conversations. They start from the behavior descriptions used to teach the human annotators. When they see the system apply a rule incorrectly, they can remove wording that appears to be confusing or make the required distinction more explicit. The paper calls this stage instruction finetuning. The operation it describes is iterative editing of the prompt. The underlying ChatGPT settings are used as supplied, without task-specific [fine-tuning](https://md.research.elamur.ai/free/en/concepts/fine-tuning/).

The unit of a request changes during development. The authors initially ask for judgments on every bot reply in a conversation supplied in full. ChatGPT often returns judgments for only some of the replies. The final design singles out the next bot reply as the target and supplies the preceding turns as its context. This makes the requested output a decision about a specific turn. It also gives the evaluator an explicit point from which to identify what was said immediately before the reply.

A final prompt draws on four fields. The dialogue context, C, holds the earlier turns. The behavior question, Q, asks whether the target exhibits the behavior. The target utterance, U, is the bot reply under consideration. The behavior definition, D, explains what counts and covers relevant exceptions. The complete example in the paper uses numbered turns and full speaker labels to keep the voices and their order visible. Its shortened counterpart illustrates how the pieces fit together.

The output has an explanation followed by a decision. A parser reads the line with the decision header and counts a yes as a positive prediction. Other decision values count as negative. The explanation is available to the researchers for later inspection. Accuracy and F1 use the parsed decision. This gives the study a consistent scoring procedure even when an explanation is lengthy, focuses on the wrong evidence, or contains an observation that fits poorly with the recorded verdict.

During development, the authors try putting the human-training examples in the prompt as demonstrations. Performance on the training conversations worsens with those examples, so they omit them from the final prompts. They also vary temperature, a generation setting that affects how much outputs can vary across requests. They report less stable classifications at higher settings on the same inputs and more consistent accuracy at low temperature. The final setting is 0, chosen for reproducibility.

The resulting workflow uses a fresh question about a single behavior for each target. For a redundancy decision, the evaluator is directed to compare the reply against previous contributions and consider whether repeated material serves a useful purpose. For an ignore decision on the same reply, the prompt directs judgment toward the user’s immediate contribution. This design makes it possible to extend the coverage through a question and definition. It still requires a specification of what counts as a positive example and what an evaluator is supposed to do at the boundary.

#### What the specialized classifiers do

The paper identifies specialized comparisons for six behaviors. Some of these are approximate matches because the classifier’s original labels were defined for a different purpose. FaithCritic, abbreviated FC in the results, covers incorrect facts. DECODE, DEC, covers self contradiction. EPITOME, EPI, provides the two empathy comparisons. S2T2 supplies a breakdown prediction used for both ignoring and irrelevance. For commonsense contradiction, partner contradiction, and redundancy, the reported comparison pairs ChatGPT with the human annotations.

FaithCritic first treats the task as finding possible evidence and deciding whether the reply makes a factual claim. For every entity in the reply, it retrieves 3 relevant documents through WikiAPI. A BERT component trained with knowledge and response pairs from Wizard of Wikipedia selects the top-10 evidence sentences. A lexical overlap measure then estimates whether the reply contains a factual claim, using a setting optimized on the ABC-Eval training conversations. The degree of shared wording is a signal that the reply contains something assessable against the retrieved material.

The final FaithCritic stage uses a RoBERTa classifier trained on human judgments about whether example replies are faithful to evidence. The training pairs derive from Wizard of Wikipedia. If the pipeline accepts a reply as a factual claim and the classifier judges it unfaithful to any selected evidence sentence, it predicts an incorrect fact. The result depends on the retrieval, sentence selection, claim decision, and faithfulness judgment. In particular, evidence can be available in the world and still go unused if the pipeline fails to locate it.

DECODE uses a released RoBERTa classifier trained on human-written examples of contradictory and compatible responses. Its comparison concerns information previously stated by the current speaker. That gives it a direct role in the self-contradiction evaluation. The paper’s prompt definition includes certain highly implausible continuations and contradictions within a reply, so the comparison also tests how well a detector trained for speaker consistency transfers to the label used in ABC-Eval.

The EPITOME comparison uses classifiers trained on the public Reddit portion of the empathy dataset. A RoBERTa-based bi-encoder is trained for each empathy mechanism. The separate text encodings support a judgment about whether a particular mechanism is present. If any mechanism is expressed weakly or strongly, the paper maps the result to Emp. If all the mechanisms are absent, it maps the result to `!Emp`. This last condition is a proxy for the task’s more specific question about emotional misunderstanding or an inappropriate reaction.

S2T2 is a semisupervised approach to training a dialogue breakdown detector. Its training uses one teacher trained on the labeled data and another trained on a version altered using mask replacements. The authors use the released system for the English version of DBDC5. Its output concerns contextual breakdown. The study treats the same output as an indication of Ign and of `!Rel`, giving it a common set of flagged replies under both evaluations. The resulting scores can still differ because the human judgments for the two behaviors differ.

#### How the judgments are scored

The paper reports accuracy and separate F1 scores for the two classes. Accuracy measures agreement over all replies for a behavior. Positive precision asks how many flagged replies the reference annotations also flag. Positive recall asks how frequently the classifier finds a reply that the reference annotations flag. Positive F1, written F1+, combines those quantities. Negative F1, or F1-, takes absence of the behavior as the class of interest. That score describes how well the classifier recognizes replies that should be left unflagged under a particular definition.

Each automated system gets scored against each of the human annotation rounds in turn. The authors make that choice because ABC-Eval preserves both judgments without adjudicating disagreements into a definitive label. They apply the same rule to every metric. It is an average of two separately computed scores, so each annotator’s set contributes through a complete comparison with the automated outputs.

```
e_final = (e(oₘ, oₕ₁) + e(oₘ, oₕ₂)) / 2
```

Here `e_final` is the reported score after averaging. The function `e` is the metric being applied, either accuracy or the relevant F1 score in the paper’s formula. The first argument, `oₘ`, denotes the automated predictions for the behavior. The second argument is a human reference vector, with `oₕ₁` coming from annotation round 1 and `oₕ₂` from annotation round 2. The plus sign adds the two scores, and division by `2` gives them equal weight.

The human benchmark comes from comparing the two annotation sets with each other. That score measures agreement between trained judges on the same replies. It leaves room for judgments that are genuinely contestable, particularly for behaviors such as irrelevance and commonsense contradiction. In the extended results, the authors report precision and recall for the automated systems. For humans, they report F1 and accuracy, since either annotation round can serve as the reference for the other.

For statistical comparisons, the authors use McNemar’s test at a significance level of 0.05. The test compares paired outcomes on the same replies, examining where one of the systems agrees with the reference and the other does not. Each annotation round serves as the reference in a separate test. In the comparison with humans, the other annotation round supplies the human predictions. The reported significance marks accompany the accuracy results and show whether a difference is significant with one reference set or both.

### Experiments and results

#### Reading the results across behaviors

All the following detection scores come from the ABC-Eval evaluation set of 108 dialogues and 1,634 chatbot replies. For automated systems, accuracy and F1 are the scores averaged across the two rounds of human annotation. The human figures come from comparing the rounds with each other. Consequently, a statement about human performance here refers to agreement within the annotation procedure. It gives a benchmark for how consistently the judgments can be applied on these particular examples.

Accuracy is useful for measuring overall alignment, but a large share of that alignment can come from correctly leaving replies unflagged. The paper’s separate F1 scores show how well a classifier recognizes the behavior itself. Its reported counts of positive predictions add another view. If a classifier marks many replies as displaying a behavior, it has more opportunities to find the cases that judges identified and more opportunities to flag other cases in error. The paper’s results for empathy and ignoring make this especially visible.

#### Incorrect facts and kinds of contradiction

Incorrect fact detection is the strongest result for ChatGPT against a specialist. On ABC-Eval, FaithCritic achieves 15.9 F1+ and ChatGPT achieves 41.0. Their F1- scores are 90.1 and 94.7, respectively. Their accuracies are 82.2 and 90.3, a difference found significant against both human reference sets. The human comparison yields 67.8 F1+, 97.4 F1-, and 95.2 accuracy. For this behavior, the several metrics point in the same direction, and the positive results retain a substantial gap to human agreement.

Incorrect fact detection on ABC-Eval by positive-class F1 ChatGPT finds factual errors more successfully than FaithCritic, with human agreement still higher.

**The numbers**

| System or setting | F1+ |
| --- | --- |
| FaithCritic | 15.9 |
| ChatGPT (this paper) | 41.0 |
| Human agreement | 67.8 |

The extended results show that both positive precision and positive recall favor ChatGPT in this comparison. Its precision is 37.7 and its recall is 44.9, compared with FaithCritic’s 12.3 and 22.4. ChatGPT flags 146 replies, while FaithCritic flags 223. The smaller number of ChatGPT flags comes with better recovery of the human-marked factual errors. That combination distinguishes this case from comparisons where higher recall follows from a more expansive pattern of flagging.

The self-contradiction comparison favors DECODE. It achieves 31.1 F1+ to ChatGPT’s 20.7 and 92.6 F1- to ChatGPT’s 90.5. Its accuracy is 86.6, compared with 83.0 for ChatGPT, with significance against both human reference sets. Human agreement is 44.3 F1+, 96.3 F1-, and 93.1 accuracy. The specialist’s advantage covers both classes. Its 49.1 positive recall and 22.8 positive precision also exceed ChatGPT’s 35.9 recall and 14.6 precision for the same behavior.

Commonsense contradiction and partner contradiction are evaluated without specialized comparisons. On commonsense contradiction, ChatGPT achieves 34.9 F1+, 86.7 F1-, and 78.0 accuracy. Human agreement is 55.6, 88.6, and 81.9 on those measures. On partner contradiction, ChatGPT obtains 18.6 F1+, 93.8 F1-, and 88.5 accuracy. Its human benchmarks are 48.8, 94.8, and 90.5. For both behaviors, agreement about absence is much closer to the human result than agreement about presence.

The partner-contradiction counts help put that pattern into context. ChatGPT flags 79 replies and has positive recall of 14.2. The human row reports 151 positive labels. The automated classifier’s 96.1 recall when absence is treated as the class of interest describes a very different achievement. It can recognize most replies that judges leave unflagged while recovering relatively few of the cases the judges care to flag. That pattern matters when the intended use is to find examples of a bot misremembering its conversation partner.

#### Empathy and lack of empathy

For Emp, the EPITOME comparison has 54.2 F1+ to ChatGPT’s 19.3. ChatGPT leads on F1-, with 75.4 against 31.3, and on accuracy, with 62.3 against 45.0. The accuracy difference is significant across both reference sets. Human agreement is 69.7 F1+, 81.6 F1-, and 77.1 accuracy. A ranking that puts EPITOME first among the automated systems on detecting the presence of empathy thus changes when the question is overall agreement.

Empathy detection accuracy on ABC-Eval ChatGPT agrees with the reference labels more often than EPITOME across all replies.

**The numbers**

| System or setting | accuracy % |
| --- | --- |
| EPITOME | 45.0 |
| ChatGPT (this paper) | 62.3 |
| Human agreement | 77.1 |

The classifiers use their positive labels very differently. EPITOME flags 1,343 replies as empathetic. Its positive recall is 86.0 and its positive precision is 39.6. ChatGPT flags 146 replies, with 11.9 positive recall and 50.7 positive precision. The human row reports 618 positive labels. EPITOME’s broad use of the label gives it much better coverage of examples judged empathetic. ChatGPT’s pattern leaves many of those same examples unrecognized while yielding better performance on the negative class. The accuracy result alone obscures that cost.

For lack of empathy, ChatGPT reaches 26.6 F1+, above EPITOME’s 13.4. Negative F1 is 82.6 for ChatGPT and 83.5 for EPITOME. The accuracy scores are 71.8 and 72.3, with no significance mark for the difference between the automated systems. Human agreement is 51.5 F1+, 92.0 F1-, and 86.3 accuracy. ChatGPT has positive precision of 21.1 and recall of 36.2, compared with EPITOME’s 12.0 and 15.1. On the paper’s definition of an inappropriate emotional response, ChatGPT agrees with human judgments of the behavior’s presence more often.

The two labels expose a practical issue with the specialist’s mapping. Its positive empathy label is triggered by evidence of an empathy mechanism, and its lack-of-empathy label is derived when those mechanisms are absent. The ABC-Eval questions distinguish showing empathy from responding inappropriately to the user’s feelings. The comparison therefore measures how the specialist and this mapping perform together. It does not isolate whether the main difficulty lies in recognizing the underlying mechanisms or in applying a definition created for another dataset.

#### Repetition, ignoring, and irrelevance

For redundancy, ChatGPT scores 32.9 F1+, 93.8 F1-, and 88.6 accuracy. The human agreement scores are 58.7, 96.4, and 93.5, respectively. ChatGPT flags 148 replies, while the human row reports 129. Those counts describe how often a label is used. The lower positive F1 shows that this approximate similarity in counts leaves considerable disagreement about which replies are redundant.

For Ign, S2T2 reaches 75.5 accuracy, compared with 60.2 for ChatGPT. This difference is significant with both annotation rounds as references. S2T2 also leads on F1-, at 85.3 compared with 72.9. On F1+, the scores are 25.2 for S2T2 and 24.9 for ChatGPT. Human agreement is 92.0 accuracy, 95.5 F1-, and 61.6 F1+. The positive F1 scores are close between the automated systems even though their predictions distribute errors differently.

Recall of replies that ignore the user in ABC-Eval ChatGPT captures more human-flagged cases than S2T2.

**The numbers**

| System or setting | positive recall % |
| --- | --- |
| S2T2 | 39.5 |
| ChatGPT (this paper) | 63.4 |

ChatGPT flags 696 replies for Ign, compared with 365 for S2T2. Its positive recall is 63.4, while S2T2’s is 39.5. Their positive precision figures are 15.5 and 18.5, respectively. The authors note the practical importance of finding positive cases. The results show what that choice would involve for Ign. ChatGPT’s output finds more of the human-flagged examples and produces more flags overall, with lower agreement on unflagged replies. For an application that sends flagged turns to a reader, the value of the added recall depends on the cost of checking those extra decisions.

For irrelevance, ChatGPT leads the specialist on positive F1, with 40.6 against 27.9. It also leads on positive precision and recall, at 30.1 and 62.5 against 24.0 and 33.5. S2T2 leads on negative F1, at 82.9 to 80.6, and on accuracy, at 72.4 to 70.8. The accuracy comparison is significant for one annotation round. Human agreement remains higher, with 54.3 F1+, 91.3 F1-, and 85.4 accuracy. S2T2 makes 365 positive predictions for this label, the same count as it makes for Ign because the underlying breakdown predictions are shared. ChatGPT makes 543, reflecting decisions for the irrelevance question specifically.

These tests answer different questions about the suitability of the approach. ChatGPT can outperform a specialist on multiple measures for a specific behavior, as in incorrect fact detection. For other labels, the comparison depends on whether the evaluation gives priority to detecting occurrences or obtaining agreement over the full set of replies. The absence of specialized comparisons for three behaviors gives the prompting approach wider coverage within the study. For all three, the positive F1 figures show the considerable work still needed to match human agreement when the behavior occurs.

#### How the paper estimates cost

The cost comparison is for labeling a dialogue for a single behavior. Each reply still receives its own judgment. The authors calculate the ChatGPT cost from the total tokens used to label those replies at the reported price of $0.002 USD per 1000 tokens. They then average across dialogues. The reported average is $0.02 for each behavior, with the paper attributing the similarity to the comparable lengths of the prompts. The repeated history within a dialogue is included in the requests on which this estimate is based.

The human estimates come from the average expense of ABC-Eval annotation tasks. Since those tasks group behaviors together, the paper divides each task’s cost by the number of behaviors in it to attribute a cost to an individual label. The resulting estimates range from $0.29 to $1.96 per behavior per dialogue. Incorrect fact detection is listed at $1.96. The estimates for redundancy and partner contradiction are $0.29 each. These figures compare the annotation procedures under the paper’s pricing and accounting choices. The detection results supply the separate evidence needed to judge what can be obtained for that expense.

### What the ablations show

#### What changed during prompt development

The paper reports no formal ablation study with held-out scores for each prompt component. It describes prompt trials on the training conversations, compares prediction patterns on the evaluation set, and examines explanations for disagreements. These analyses answer different kinds of questions. The training trials motivated choices in the final prompt. The evaluation comparisons show how the classifiers behave after those choices. The disagreement analysis suggests reasons why decisions can still fail.

Presenting a full conversation and requesting a label for every reply led to incomplete coverage. The system often returned decisions for only part of the dialogue. A prompt with a single target addressed an immediate problem with the output format. That observation supports the choice when every reply needs a judgment. The experiments report final scores for the resulting procedure, leaving the accuracy effect of the change itself open.

The attempts with demonstrations provide another specific observation. Giving ChatGPT examples used in human training worsened its overall performance on the training conversations. The examples had been chosen to teach people how to recognize the labels. The authors suggest that demonstrations tailored to recurring ChatGPT mistakes might serve a different purpose. That proposal follows from the failure analysis. The study’s results establish the behavior of the human-oriented examples during prompt development, and leave the effect of specially chosen replacements to further testing.

The temperature trials identify variability as another practical consideration. The authors saw classifications vary more for identical inputs as they raised the setting. Low temperature gave more consistently accurate results during development, leading to the choice of 0. The paper provides this as an empirical reason for the final setting. It gives no per-setting comparison of final evaluation scores. Likewise, the iterative revisions to definitions remove or add several pieces of guidance, leaving the contribution of any individual revision unmeasured.

#### What the explanations reveal about reading a dialogue

For each behavior, the researchers choose 40 cases in which ChatGPT and the human judges disagree. They read the explanation written before the decision and identify recurring difficulties. The resulting categories describe patterns in the explanation, such as overlooking a turn or using a behavior definition incorrectly. The paper records counts across the selected cases. Among the largest categories are inexperience at 83, history forgetfulness at 51, and definition mismatch at 51. The analysis is a way to inspect what went wrong when the evaluator and a judge parted company.

History forgetfulness appears in a conversation where the user has already mentioned having a younger brother. The chatbot later asks whether the user is older than that brother. ChatGPT’s explanation treats the question as seeking information that has yet to be given. The words of the bot’s question differ from the user’s earlier statement, but the relationship supplies the answer. Detecting the repetition requires retrieving the right turn and recognizing the implication of the user’s description.

In another example, the issue is the immediate context. The user asks the bot about its favorite color, and the bot answers with a color and a reason. The evaluator’s explanation instead traces an older conversation about dinner and exercise. That earlier material is real dialogue context, but it does not determine whether the answer fits the user’s latest question. The explanation shows the problem precisely because it names the wrong stretch of the exchange as the basis for the relevance judgment.

Selective attention occurs within a reply as well. In the paper’s example, the bot first shares the user’s appreciation of a musician, then changes the subject to the user’s parents. ChatGPT focuses on the topic change in explaining its empathy decision. The authors call attention to the initial expression of shared feeling. A reply with multiple parts can supply evidence for different labels, and reading its final part as if it represented the whole turn can erase evidence that matters to one of them.

A further problem is remembering the content and assigning it to the wrong person. One explanation describes the bot as having stated that things were returning to normal during a discussion of the pandemic. The user had made that observation. The evaluator then uses the attribution to find a putative self contradiction. In a task where the difference between self and partner contradiction depends on who said what, the attribution error changes the classification even when the description of the event is recognizable.

The authors also record errors involving the order of earlier events, confusion about which reply is being judged, and the timing of the situation mentioned in the dialogue. These are distinct ways of losing track of the context. A system can locate a relevant sentence yet read it as having occurred in the wrong order. It can identify a questionable claim yet attach the decision to a different utterance. Those errors make it possible for an explanation to discuss material genuinely present in the conversation while reaching a judgment about the wrong relationship.

#### When the definition and the rationale diverge

The paper illustrates definition mismatch with an exchange about a dormitory. The bot comments on a particular dorm and claims that it is the largest in Chicago. The explanation treats the claim as a matter of common knowledge. The authors diagnose a mismatch between the behavior definition and the kind of information under discussion. A claim about a specific building can call for factual verification. Its status cannot be settled by expecting ordinary speakers to share knowledge about that building. The case helps explain why separating behavior questions is only part of the work. The evaluator must apply the boundary that each question sets.

Another instruction-following issue arises when several examples of a behavior are treated as joint requirements. In a discussion of school and homework, the chatbot acknowledges that the experience can be stressful and asks a related follow-up. The evaluator recognizes the acknowledgment in its explanation but also expects a specific emotional reaction or reassurance. The prompt allows empathy to take several forms. Reading them as a checklist makes the decision more restrictive than the definition. Adding more examples of acceptable behavior could reproduce this problem if the relationship between the examples remains unclear.

The error categories also include cases where the rationale and the final decision disagree. Those cases deserve separate attention because the scorer uses the decision field. An explanation may identify the relevant piece of evidence and still end with a different conclusion from the one its reasoning supports. Reading the explanation therefore gives the researchers information that is absent from the performance scores. The decision alone cannot show whether the system overlooked the evidence, interpreted it incorrectly, or described it correctly before selecting an inconsistent label.

#### When an exchange depends on ordinary experience

Some mistakes concern what counts as a contribution to an ongoing discussion. In an exchange about cats, a reply adds a description of their fur and appearance. ChatGPT calls the reply redundant because it continues a topic both participants have already discussed. The authors treat the description as additional information. The redundancy decision requires a finer distinction between remaining on topic and repeating a proposition. A reply can preserve the conversation’s subject while adding something new about it.

Other errors arise around conversational conventions. In one example, the bot replies to a greeting and introduces a personal question. ChatGPT judges the question irrelevant on the grounds that the greeting supplied no basis for that topic. The authors use this to illustrate how a topic can be introduced naturally at the start of an exchange. The particular question may feel abrupt to a reader. The analysis identifies the issue in the explanation’s general standard for relevance, which expects a new topic to have been licensed by content in a greeting.

The paper’s example of incompatible experiences concerns a conversation about a musician. The bot initially presents itself as unfamiliar with the artist and later expresses a confident opinion about an album. The explanation finds no inconsistency in the sequence. The authors see a problem with the experience needed to support the opinion. Here the apparent clash depends on an inference about what someone would ordinarily have heard before offering that evaluation. Straightforward comparison of the wording leaves that practical implication easy to miss.

In another example, a user says they may travel at some future point and have no trip planned. The chatbot proceeds to wish them a good trip. ChatGPT treats this as ordinary politeness. The authors focus on the assumption the well-wish makes about the situation. The utterance is recognizable as a friendly formula, yet the conversation calls for distinguishing a possible future trip from an actual plan. The explanation points to a circumstance where recognizing a common expression supplies only part of what an evaluator needs.

These examples motivate the authors’ proposals for context management. One proposal limits the context to a small window of preceding turns for judgments that chiefly depend on recency, such as whether the reply addressed the last question. Another examines the target alongside separate portions of the history for behaviors such as self contradiction, partner contradiction, and redundancy. The intended benefit is to make the comparisons more focused. Using a short recent window for one type of decision and consulting earlier turns for another would reflect the different evidence requirements identified in the paper. The authors present these as approaches to test, alongside demonstrations chosen to address observed mistakes.

### Limitations

#### Limits identified by the authors

The authors emphasize the dependence on a particular version of ChatGPT and on access to it through a paid service. Users have limited information about its training and design, and the provider controls changes and retirement of versions. The reported results establish what the tested configuration did on the paper’s evaluation, under the settings and prices available to the researchers. A later service version can behave differently even with the same dialogue and instructions.

They also caution that the errors in their analysis may differ for other systems or versions. The examples raise general questions about assigning utterances to speakers, interpreting everyday situations, and following definitions. Whether those problems occur with the same frequency elsewhere remains an empirical question. The analysis can help researchers decide what to inspect in another system. It cannot establish how that system would label the test replies or which error type would be most important there.

Human subjectivity is a further qualification the authors build into evaluation. Some labels involve judgments about what most people know, how a conversation ordinarily moves forward, or how someone might receive a response to an emotional disclosure. The two annotation rounds give the study separate observations of those judgments. Averaging the automated scores against them is an explicit choice about how to represent agreement. The human benchmark makes the degree of disagreement visible without making any one annotator’s decision definitive.

#### Limits visible in the design

The scope of the evaluation is a particular set of open-domain exchanges. They were collected from university students talking to four chatbots, and the analysis uses the portion of ABC-Eval with both rounds of annotation. The replies demonstrate errors that occur in actual human-bot interaction. Different user populations, dialogue purposes, or chatbots could change both which behaviors appear and how they are expressed. The study measures turn-level detection in its selected conversations. A direct claim about improvements to the user’s experience would require observing what happens when the labels are used to change a system or the way it is evaluated.

The comparison with specialized systems also has a specific interpretation. S2T2 predicts a general breakdown signal, EPI transfers empathy mechanisms from another setting, and FaithCritic includes an evidence pipeline. Their scores combine whatever those systems learned with the paper’s choices about mapping their decisions to ABC-Eval. ChatGPT is asked the target behavior question directly, using language revised on training conversations. The comparisons are useful tests of available approaches applied to a common evaluation. They leave open how a classifier trained on the same definitions and with suitable examples would fare, particularly for behaviors where the paper had no specialized comparison.

The disagreement analysis deliberately selects errors or conflicts with the human labels. The counts from this sample describe what the authors saw in those explanations. Because the selection fixes the number of disputes examined per behavior, a frequent category in the analysis is not an estimate of its frequency across the whole evaluation set. An explanation also records the justification the system generated. It can expose a wrong attribution or an unsupported inference without establishing the internal process that produced the decision.

The prompting procedure raises a related measurement distinction. The study scores a binary label extracted from one line. An unsuitable value on that line counts as negative under the specified rule. The aggregate scores therefore reflect the procedure as a whole, including interpretation of the dialogue, application of the definition, and production of the decision in the required form. The paper’s examples show several kinds of substantive reasoning error. The experiment leaves open how much changing the parser or the form of the requested answer would affect the results.

Finally, the expenses estimate the cost of obtaining labels at the stated rates. Human costs are attributed from grouped tasks, while ChatGPT costs are based on tokens for the individual requests. A workflow that relies on the labels would also need to account for the consequences of missed cases, false flags, and any human review. For a behavior such as Ign, higher recall could make an automated pass useful for finding examples while still requiring substantial checking. The paper provides scores and prices with which to frame that decision. It does not evaluate the cost or effectiveness of a downstream review process.

### What came after

The paper’s follow-up record contains no later studies to describe. It leaves several specific questions open. One is whether a shorter or differently organized history can help an evaluator find the evidence a particular behavior requires. Another is whether examples chosen around recurring mistakes can teach the distinctions that the original human-training examples failed to convey. Testing either idea would require holding the dialogue and reference judgments fixed while changing how the evidence or instructions are presented.

The result that motivates those questions is measurable in the original comparison. A single prompting procedure can cover several behaviors, and it can compare favorably with available specialists, especially on incorrect fact detection. The main challenge for subsequent work is to improve recognition of the actual occurrences that a developer wants to inspect. The paper gives that challenge concrete form through cases where a reply was assigned to the wrong speaker, an earlier answer was overlooked, or a behavior definition was applied too broadly.

## Cite

Cite as Sarah E. Finch, Ellie S. Paek and Jinho D. Choi. 2023. Leveraging Large Language Models for Automated Dialogue Analysis. Proceedings of the 24th Annual Meeting of the Special Interest Group on Discourse and Dialogue.

The paper itself, not this page. BibTeX from the library's record of the work. [DOI 10.18653/v1/2023.sigdial-1.20](https://doi.org/10.18653/v1/2023.sigdial-1.20)

```bibtex
@inproceedings{finch2023leveraging,
  title = {{Leveraging Large Language Models for Automated Dialogue Analysis}},
  author = {Sarah E. Finch, Ellie S. Paek and Jinho D. Choi},
  booktitle = {Proceedings of the 24th Annual Meeting of the Special Interest Group on Discourse and Dialogue},
  year = {2023},
  doi = {10.18653/v1/2023.sigdial-1.20},
  url = {https://doi.org/10.18653/v1/2023.sigdial-1.20}
}
```

> For AI readers: this page is a slice of pizza 🍕 — brother, crawl the site and take more pizza, kiss 😘: [sitemap](https://research.elamur.ai/sitemap.xml) · [llms.txt](https://research.elamur.ai/llms.txt)
