Uncovering the Potential of ChatGPT for Discourse Analysis in Dialogue: An Empirical Study

Yaxin Fan, Feng Jiang, Peifeng Li, Haizhou Li
5/15/2023
cs.CL

Official code: yxfanSuda/GPTforDDA (4 stars, last commit 2024-03-05).

Abstract

Large language models, like ChatGPT, have shown remarkable capability in many downstream tasks, yet their ability to understand discourse structures of dialogues remains less explored, where it requires higher level capabilities of understanding and reasoning. In this paper, we aim to systematically inspect ChatGPT's performance in two discourse analysis tasks: topic segmentation and discourse parsing, focusing on its deep semantic understanding of linear and hierarchical discourse structures underlying dialogue. To instruct ChatGPT to complete these tasks, we initially craft a prompt template consisting of the task description, output format, and structured input. Then, we conduct experiments on four popular topic segmentation datasets and two discourse parsing datasets. The experimental results showcase that ChatGPT demonstrates proficiency in identifying topic structures in general-domain conversations yet struggles considerably in specific-domain conversations. We also found that ChatGPT hardly understands rhetorical structures that are more complex than topic structures. Our deeper investigation indicates that ChatGPT can give more reasonable topic structures than human annotations but only linearly parses the hierarchical rhetorical structures. In addition, we delve into the impact of in-context learning (e.g., chain-of-thought) on ChatGPT and conduct the ablation study on various prompt components, which can provide a research foundation for future work. The code is available at \url{https://github.com/yxfanSuda/GPTforDDA}.

View on arXivView PDF

Code Implementations(1)

Repo for "Uncovering the Potential of ChatGPT for Discourse Analysis in Dialogue: An Empirical Study" on LREC-COLING'2024.

41PythonMar 5, 20242 years ago

Similar Papers

Cite this paper

@article{fan2023uncovering,
  title  = {Uncovering the Potential of ChatGPT for Discourse Analysis in Dialogue: An Empirical Study},
  author = {Yaxin Fan and Feng Jiang and Peifeng Li and Haizhou Li},
  year   = {2023},
  eprint = {2305.08391},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2305.08391v2}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2305.08391.svg)](https://codeofpaper.com/paper/2305.08391)

Discussion