TL;DR
While ChatGPT excels at identifying topic shifts in general-domain conversations—often providing more granular and logical segments than human annotators—it struggles significantly with specialized domains and complex rhetorical structures. The study reveals that ChatGPT tends to "linearize" dialogue, failing to recognize the hierarchical, long-distance relationships between utterances that define sophisticated discourse parsing.
What Problem Does This Paper Address?
Discourse analysis is the study of how individual utterances combine to form a coherent conversation. It involves two primary tasks: topic segmentation (dividing a dialogue into linear chunks based on subject matter) and discourse parsing (identifying the hierarchical rhetorical relations, like "Explanation" or "Acknowledgement," between utterances).
While Large Language Models (LLMs) like ChatGPT have mastered many language tasks, their ability to perform deep semantic reasoning—required to uncover these latent structures—remains under-explored. This paper systematically evaluates ChatGPT’s performance on these two tasks to see if its "understanding" of conversation structure matches its generative prowess.
Methods
The researchers evaluated ChatGPT (specifically gpt-3.5-turbo-0301) using a zero-shot approach, guided by a carefully crafted prompt template consisting of:
- Task Description: A clear explanation of the goal (e.g., "identify topic boundaries").
- Output Format: Instructions to output results in a machine-readable format (Python dictionaries for topics, sparse matrices for parsing).
- Structured Input: Numbered utterances provided line-by-line to help the model track indices.
Beyond zero-shot tests, they explored In-Context Learning (ICL), comparing "Vanilla" examples (input-output pairs) against Chain-of-Thought (CoT) prompting, where the model is given manual, step-by-step reasoning for how a discourse structure was derived. They also performed ablation studies to determine which prompt components were most vital.
Datasets
The study utilized several established benchmarks:
- Topic Segmentation:
- General Domain: DialSeg711 (English, synthetic booking dialogues), CNTD (Chinese, news-based chitchat), and TIAGE (English, aimless chitchat).
- Specific Domain: ZYS (Chinese, banking consultation).
- Discourse Parsing:
- STAC: Dialogues from an online game (The Settlers of Catan).
- Molweni: Technical dialogues from the Ubuntu Chat corpus.
Key Insights and Ideas
- ChatGPT as a "Super-Annotator" for Topics: In general domains, human evaluation showed that ChatGPT’s topic segments were considered better than or equal to human annotations in over 80% of cases. It often identifies finer-grained, highly logical topic shifts that human annotators might overlook.
- The "Linearity Trap": The most striking finding is that ChatGPT struggles with the hierarchy of discourse. In discourse parsing, it performs almost identically to a simple "rule-based" baseline that only links adjacent utterances. It fails to see "long-distance" links (e.g., an utterance at index 10 responding to one at index 2).
- Domain Sensitivity: ChatGPT’s general-world knowledge makes it a great topic segmenter for booking flights or chatting about news, but it fails in specialized domains like banking (ZYS dataset) where it lacks the necessary expertise to recognize subtle topic shifts.
- Prompting Brittleness: The "Output Format" was found to be the most critical component of the prompt. When forced to use traditional formats like sequence labeling (0/1 strings) or full adjacency matrices, ChatGPT’s performance plummeted because it struggled to maintain the correct length or shape of the output.
Key Results
- Topic Segmentation: ChatGPT significantly outperformed unsupervised state-of-the-art (SOTA) baselines on general datasets. For example, on DialSeg711, it achieved a $P_k$ error score of 10.56 (lower is better), compared to 26.80 for the best baseline.
- Discourse Parsing: Performance was mediocre. On the STAC dataset, ChatGPT achieved a Link $F_1$ of 59.91, barely beating a simple rule-based baseline (60.57) and falling far short of supervised SOTA models like SDDP (74.40).
- The Distance Gap: As shown in Figure 4, ChatGPT’s accuracy for discourse links drops to near zero for any distance greater than 1, whereas specialized models (SSDP) maintain much higher accuracy across distances.
- Human Preference: In manual pair-wise evaluations, ChatGPT-generated topic structures were preferred over human-annotated ones for the DialSeg711, CNTD, and TIAGE datasets.
Limitations and Future Work
- Robustness: ChatGPT failed to follow the requested output format in up to 9.5% of cases, requiring significant post-processing.
- Hierarchical Reasoning: The model’s failure to recognize non-linear discourse relations suggests that current LLMs still lack a deep understanding of complex conversational dynamics.
- Future Directions: The authors suggest that while CoT prompting helps, more work is needed to bridge the gap between LLMs and specialized supervised models for discourse parsing. Integrating domain-specific knowledge and improving the model's ability to handle long-distance dependencies are key hurdles.
Summary updated