Manuscript Offprint
arXiv:2610.29097Multi-level Encoder with Global Topic for Task-oriented Dialogue Summarization
Zhuoqi He, Peijie Huang , Yuhong Xu, Youming Peng, Mingzhi Xu, Xinyang Lin
College of Mathematics and Informatics, South China Agricultural University, Guangzhou, China
zhuoqihe497@163.com, pjhuang@scau.edu.cn, xuyuhong@scau.edu.cn,
youmingpeng540@163.com, xdxulol@163.com, yizhiyang0111@gmail.com
Abstract—Task-oriented dialogue summarization aims to automatically extract key information to generate domain summaries to improve service efficiency and quality. Task-oriented dialogue is inherently logical and surrounds specific topic. How to effectively capture the dialogue topic and the most salient information becomes one of the major challenges of this task. In this paper, we propose a task-oriented dialogue summarization model utilizing a multi-level encoder with global topic (MLEGT). This model discovers temporal and spatial dependencies through a multi-level encoder, while simultaneously obtaining a simple yet effective global topic in the process of graph construction. It not only captures the crucial details but also breaks the long-range limit and discover the intrinsic structure across the dialogue. Then, a global topic guided pointer mechanism is added into the summarizer to capture ignored but important information, which is helpful to improve the accuracy of the summary. A comprehensive study of two public datasets, including a real-world large-scale Chinese police interrogation dataset and a medical reporting service dataset proves the superiority of our method on several strong baselines.
Index Terms—graph encoder, global topic, pointer mechanism
I. INTRODUCTION
In an active industry service system, massive domain-specific task-oriented spoken dialogues conveying important information between human and human/agent are generated in real-time. Automatically summarizing such task-oriented dialogues may aid the archiving, indexing and retrieval of various records of oral communication such as sales interactions, medical diagnosis, complain report to improve the service. Therefore, how to transform a large number of task-oriented dialogues into natural, concise, and core-informed texts such as task-oriented dialogue summaries is gaining significantly increased attention [1]-[3].
Most of the existing dialogue summary works are mainly focused on open-domain dialogues, like chitchat [4]–[7], meeting [8]–[10], which are usually summarized by stringing all dialogue points to maintain an integral conversation flow [11]. Nevertheless, in task-oriented dialogues, dialogue speakers commonly have strong and clear motivations and aim to address issues about a specific task. To this end, recent works focus on developing topic or structure-aware models for task-oriented dialogue summarization. Zou et al. [1] leverage topic information that flows in the dialogue to help generate

Fig. 1. The Construction of Graphs.
topic-aware summaries. Liu et al. [12] introduce a key point sequence as auxiliary label, which helps the model learn the logic of the summary. Zhao et al. [2] propose a dialogue state-aware summarization model to combine original dialogue text and structured dialogue state. However, these approaches remain at a coarse level in exploring the intrinsic structural features of dialogue. Gao et al. [3] propose a graph-based dialogue summarization model that uses structure fusion graph to capture the dialogue structure. However, this method is lacking in topic modeling.
To address the above issues, we design a graph-based task-oriented summarization model using multi-level encoder with global topic (MLEGT). A multi-level encoder is proposed to discover the temporal and spatial dependencies across the dialogue. Simultaneously a simple yet effective global topic is obtained in the process of graph construction, which helps us grasp the flow of information and discover the intrinsic structure across the dialogue. Then, we incorporate a global topic guided pointer mechanism into the summarizer to capture the ignored but important information while generating summary, which reduce the errors for better summarization. Figure 1 shows the construction of graphs how to capture the specific details across the dialogue. The experiments show that MLEGT achieves new state of the art on two public datasets, including a real-world large-scale Chinese police interrogation dataset and a medical reporting service dataset.
Corresponding author.

Fig. 2. Overall Framework of MLEGT.
A. Utterance Encoder
We employ the pre-trained BART [13] to encode each utterance independently: , where is the encoder module in BART which outputs the vector representation of -th input word in -th utterance. Then we obtain the token-level Utterance in this module.
B. Graph Encoder
- Graph Construction: In this subsection, following Gao et al. [3], we construct two types of graphs based on keywords and speakers, which is the Keywords Graph and the Speaker Graph respectively. We propose a new method in graph construction for effectively ensuring the connectivity of the graph. Our method is significantly different from Gao et al. [3] in the following two points: (1) We set the diagonal of the adjacency matrix be 1 so that each utterance can not only discover the relations among their neighbors but also focus on themselves. (2) We add a global node into each graph, which can help us obtain a simple but effective global topic in the process of graph construction.
Keywords Graph. The construction of Keywords Graph aims to discover the spatial dependencies among different utterances in the dialogue. Firstly, we obtain an utterances-keywords adjacent matrix A based on keywords extracted from utterances by SpaCy. Each value in the adjacent matrix corresponds the frequency of the j-th keyword occurrences in i-th utterance. Let A multiply by its own transpose matrix, and then we obtain the initial Keywords Graph ,
In addition, we set the diagonal of the Keywords Graph to 1, enabling each utterance to also pay attention to itself.
Speakers Graph. The construction of Speaker Graph aims to effectively gather the information of the same speaker and reduce the dispersion of information. Firstly, we obtain an utterances-speakers adjacent matrix B based on different speakers in the dialogue. Each value in the adjacent matrix corresponds the specific speaker in i-th utterance. Here, we use a hot-dot to represent each speaker. Let B multiply by its own transpose matrix, and then we obtain the initial Speakers Graph ,
In addition, we set the diagonal of the Speakers Graph to 1, enabling each utterance to also pay attention to itself.
Global Node. Furthermore, we incorporate a global node into each graph, which is a hyper node [14] connected to all nodes, to aggregate non-local information across the dialogue. Each node builds relationships with its neighboring nodes through edges, while a global node connects to all nodes, serving as a central hub for aggregating global information. It can interact with all nodes and capture important features in the process of information propagation, thereby enhancing the model's overall understanding and modeling capability of the graph structure.
- Graph update: Graph encoder [15] is used to digest the structural information and get updated node representations. The token-level embeddings from the Utterance Encoder is added as the node representations for each graph. Given the constructed and , nodes V correspond to the utterances for each dialogue while edges E correspond to the similarity relations.
Utterance-Level embeddings. To update the representations of all the nodes, we apply a Graph Convolutional Network [16] to the Keywords Graph and Speaker Graph respectively.
where Add&Norm denotes residual connection and layer normalization while denotes the neighborhood of the -th node. and are the outputs from the Utterance Encoder.
Since GCN does not share parameters, these two graphs together are then concatenated as ,
where and are the representations of all nodes except the global node for each graph respectively. Eventually, it is passed into the cross attention layer, which utilize the dual cross attention mechanism [17] across the graphs to further explore the long-range dependencies and uncover the intrinsic structure. And we obtain the utterance-level embeddings,
Global Topic Representation. To better capture the flow of information and uncover the intrinsic structure across the dialogue, we introduced an additional global node that connects to all other nodes. It not only captures the implicit relationships among other nodes, but also forms a representation of each node's contribution to the overall theme. It dynamically updates alongside the other nodes and we regard it as a global topic representation:
where and are the representations of the global node for each graph respectively.
C. Global Topic Guided Pointer Decoder
- Global Topic Guided Pointer Mechanism: A pointer mechanism [18] is added into our model, aiming to capture the ignored but important information during the feature extracting and training.
Firstly, we obtain the last hidden states from the decoder. And we project and into two new vector spaces separately to get the .
Then, we utilize the token-based embeddings and the global topic to obtain the context vector , helping the decoder to decide the position where to copy directly.
We obtain the decoder attention from the decoder and do some transformation on it. Let it multiply by and get the new attention
Finally, multiply , and , and we get the final copy generation .
- Summary Generating: To integrate the utterance-level embeddings into the summary generation process, we employ a dual cross-attention mechanism in the model [17].
We first apply the self-attention on the masked output summary embeddings, and then use the output embedding to cross-attend to the token-level dialogue hidden states produced by the utterance encoder, and get the :
where MHAtt is the standard multi-head attention layer. In a similar way, we apply a multi-head graph attention layer to the utterance-based hidden states and get the , which aggregate useful knowledge from the updated graph nodes according to the state of each decoding step:
Eventually, we apply a fully connected feed-forward network on and get the generation distribution . Then, we combine with , and obtain the final distribution over the vocabulary of the generated summary.
D. Training Objective
We optimize all parameters of MLEGT by employing the cross-entropy loss between the generated summary and the ground truth summary as the training objective. And we initialize the relevant parameters in our Transformer-based utterance encoder and summary generator with the parameters from the pre-trained language model BART.
III. EXPERIMENTS
A. Experimental Setup
-
Datasets: The datasets used in this experiment are LC-SPIRT [19] and Medical DS [20]. LCSPIRT is a large-scale Chinese text summarization corpus containing 38,500 text-summary pairs derived from police inquiry dialogue records, and the texts are deidentified to ensure privacy. Medical DS, on the other hand, consists of 3,260 dialogue-summary pairs collected from the pediatric department of a Chinese online healthcare community. For both datasets, we use the originally proposed train, validation, and test splits, comprising 70%, 10%, and 20% of the data, respectively.
-
Implementation Details: We use BART as the token-level encoder, and the outputs are utilized into the follow utterance-level encoder as well. We apply Adam with a learning rate for BART and the training epoch is set to 15. All Transformer blocks have 4 layers, 8 heads, 1024 hidden units. All hyper-parameters tuning is conducted on the validation set.
-
Baselines: We compare MLEGT with following baselines: PGN [18], BART [13], T5-pegasus [21], TDS+NTM [1], GPT-4o (few-shot) [22] and SDDS [3]. We use the SDDS without the discourse parsing toolkit for fair comparison.
http://eie.usts.edu.cn/prj/NLPoSUST/LcsPIRT.htm
www.sdspeople.fudan.edu.cn/zywei/data/acl2018-mds.zip
TABLE I
ROUGE-1, ROUGE-2 AND ROUGE-L SCORES FOR DIFFERENT MODELS ON LCSPIRT AND MEDICAL DS TEST SET. THE NUMBERS WITH * INDICATE THAT THE IMPROVEMENT OF OUR MODEL OVER ALL BASELINES IS STATISTICALLY SIGNIFICANT WITH UNDER T-TEST.
| Model | LCSPIRT | Medical DS | ||||
|---|---|---|---|---|---|---|
| Rouge-1 | Rouge-2 | Rouge-L | Rouge-1 | Rouge-2 | Rouge-L | |
| PGN | 40.03 | 25.14 | 31.7 | 62.7 | 55.77 | 57.23 |
| BART | 73.36 | 56.34 | 71.43 | 63.53 | 51.15 | 56.55 |
| T5-pegasus | 77.27 | 69.10 | 72.35 | 58.08 | 51.34 | 52.01 |
| TDS+NTM | 74.78 | 60.37 | 72.84 | 63.85 | 51.82 | 56.53 |
| GPT-4o (few-shot) | 80.04 | 67.56 | 78.59 | 61.85 | 45.39 | 55.25 |
| SDDS | 82.27 | 71.99 | 79.13 | 64.9 | 52.19 | 58.42 |
| MLEGT (Ours) | ||||||
| w/o global topic | 83.96 | 73.25 | 80.69 | 64.82 | 52.08 | |
| w/o pointer | 85.47 | 74.34 | 82.84 | 64.34 | 52.17 | 57.87 |
B. Experiments Results
-
Main Results: We assessed the quality of summarization using Rouge F1 score, including Rouge-1, Rouge-2, and Rouge-L metrics [23]. Table I presents the results on the test set for various models. We highlight best and second best results. Notably, our model surpasses all compared baselines, achieving state-of-the-art performance across all metrics. Specifically, on the LCSPIRT dataset, our model exhibits significant improvements, up by +3.5% in ROUGE-1, +3.48% in ROUGE-2, and +4.21% in ROUGE-L scores. We also find that our MLEGT can achieve consistently better performance than the strong baselines on Medical DS. To our surprise, PGN that performs poorly on LCSPIRT gets the best ROUGE-2 score on Medical DS. We conjecture the main reason is that there are numerous medical terms scattered throughout the long conversation structure in the medical dataset, and the pointer mechanism is good at capturing such information while generating summary.
-
Ablation Study: We further investigate the effect of each mechanism of MLEGT by removing the global node and the pointer mechanism, respectively. The results are also shown in Table I. The results of “w/o global topic” and “w/o pointer” demonstrate a notable decline on both LCSPIRT and Medical DS datasets. This decline underscores the critical role of the proposed global topic as well as the global topic guided pointer mechanism.
-
Human Evaluation: We conducted human evaluation to qualitatively evaluate the generated summaries. As our research focuses on task-oriented dialogue summarization, the informativeness is more critical than the conciseness and fluency for the generated summaries. We focus on how well the generated summaries covered the most important content and compare the accuracy of entity generation across different methods. We randomly selected 200 samples from the LCSPIRT test set and asked five human volunteers to manually annotate entity information such as the Start and End Year/Month/Day/Time, Character, and Place. Our volunteers then compared the entities in the generated summaries of MLEGT and SDDS with those in the reference summaries to count the correct rate of entity generation. As illustrated in Fig. 3, MLEGT demonstrates better quality in entity recognition, particularly for End Month, End Date, End Time, Character, and Place. It demonstrates that MLEGT can identify the more important parts across the dialogue, thereby increasing the informativeness compared to the baseline.

Fig. 3. The correct rate of entity generation on LCSPIRT.
TABLE II
A GENERATED SUMMARY CASE. THE UNDERLINED PART IN THE REFERENCE REFERS TO THE ENTITY INFORMATION, AND THE RED PART IN THE GENERATED ABSTRACT IS THE WRONG GENERATED CONTENT.
| Ref Summary: 2017年02月06日08时到2017年02月06日17时下午1218时张某某在 蝶湖湾花园1723201 被嫌疑人以其他入室手段窃走黑色华硕牌A45笔记本电脑1台。From 08:00 on February 6th, 2017 to 17:00 on February 6th, 2017 at 1218 p.m., a black Asus A45 laptop from Zhang was stolen by the suspect by other means in the Butterfly Lake Bay Garden 1723201. |
|---|
| SDDS (baseline): 2017年02月06日08时到2017年2月06某某在 昆山市玉山镇蝶湖湾花园 3 栋被嫌疑人以其他入室手段窃走1台黑色华硕牌A45型笔记本电脑 ......现金人民币500元。某某。银行卡等物品。都是网络通讯软件的。From 08:00 on February 6th, 2017 to February 6th, 2017, a black Asus A45 laptop from XX was stolen by the suspect by other means in the 3 building of the Butterfly Lake Bay Garden in Yushan Town, Kunshan City. . . The cash is 500 yuan. Something. Bank cards and other items. It's all from the network communications software. |
| MLEGT: 2017年02月06日08时到2017年03月06号17时下午1218时张某某在蝶湖湾花园 17232015 被嫌疑人以其他入室手段窃走黑色华硕牌A45型笔记本电脑1台。From 08:00 on February 6th, 2017 to 17:00 on March 6th, 2017, at 1218 PM, a black Asus A45 laptop from Zhang was stolen by the suspect by other means in Butterfly Lake Bay Garden17232015. |
- Case Analysis: In this subsection, we present an close look for our MLEGT and the SDDS model via case studies. Table II presents a summary example from the LCSPIRT dataset generated by the MLEGT model, in comparison with the baseline SDDS model and the reference. The baseline SDDS model often tends to generate redundant contents and produce some crucial information errors. Compared to the baseline, our MLEGT model makes fewer errors and captures more critical information throughout the dialogue. This further demonstrates the effectiveness of the proposed global topic and the global topic guided pointer mechanism.
IV. CONCLUSION
In this paper, we propose a model that utilizes a multi-level encoder with global topic (MLEGT) for task-oriented dialogue summarization, which enables to discover the temporal and spatial dependencies while obtain a simple yet effective global topic to better capture the crucial information. Experiments on two public data sets demonstrate the effectiveness of our proposed model in quantitative and qualitative evaluation.
V. ACKNOWLEDGEMENTS
This work was supported by the National Natural Science Foundation of China (62306119 and 71472068).
REFERENCES
[1] Y. Zou, L. Zhao, Y. Kang, J. Lin, M. Peng, Z. Jiang, C. Sun, Q. Zhang, X. Huang, and X. Liu, “Topic-oriented spoken dialogue summarization for customer service with saliency-aware topic modeling,” in Proceedings of the AAAI Conference on Artificial Intelligence, vol. vol. 35. Virtual Event: AAAI, 2021, pp. 14665–14673.
[2] L. Zhao, F. Zheng, K. He, W. Zeng, Y. Lei, H. Jiang, W. Wu, W. Xu, J. Guo, and F. Meng, “Todsum: Task-oriented dialogue summarization with state tracking,” CoRR, vol. abs/2110.12680, 2021. [Online]. Available: https://arxiv.org/abs/2110.12680
[3] S. Gao, X. Cheng, M. Li, X. Chen, J. Li, D. Zhao, and R. Yan, "Dialogue summarization with static-dynamic structure fusion graph," in Proceedings of the 61st Annual Meeting of the Association for Computational Linguistics, vol. vol. 1: Long Papers. Toronto, Canada: Association for Computational Linguistics, 2023, pp. 13858–13873.
[4] Y. Lei, Y. Yan, Z. Zeng, K. He, X. Zhang, and W. Xu, “Hierarchical speaker-aware sequence-to-sequence model for dialogue summarization,” in IEEE International Conference on Acoustics, Speech and Signal Processing, ICASSP 2021, June 6-11, 2021, pp. 7823–7827. [Online]. Available: https://doi.org/10.1109/ICASSP39728.2021.9414547
[5] Y. L. et al, “A finer-grain universal dialogue semantic structures based model for abstractive dialogue summarization,” in Findings of the Association for Computational Linguistics: EMNLP 2021, Virtual Event / Punta Cana, Dominican Republic, 16-20 November, 2021, pp. 1354–1364. [Online]. Available: https://doi.org/10.18653/v1/2021.findings-emnlp.117
[6] Y. Li, B. Peng, P. He, M. Galley, Z. Yu, and J. Gao, “DIONYSUS: A pre-trained model for low-resource dialogue summarization,” in Proceedings of the 61st Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), ACL 2023, Toronto, Canada, July 9-14, 2023, A. Rogers, J. L. Boyd-Graber, and N. Okazaki, Eds. Association for Computational Linguistics, 2023, pp. 1368–1386. [Online]. Available: https://doi.org/10.18653/v1/2023.acl-long.76
[7] Y. K. Jaeah You, “Topic-informed dialogue summarization using topic distribution and prompt-based modeling,” in The 2023 Conference on Empirical Methods in Natural Language Processing. Singapore: Association for Computational Linguistics, 2023, pp. 5657–5663.
[8] Z. Zhao, H. Pan, C. Fan, Y. Liu, L. Li, and M. Yang, "Abstractive meeting summarization via hierarchical adaptive segmental network learning," in The World Wide Web Conference, WWW 2019, May 13-17, 2019, pp. 3455–3461. [Online]. Available: https://doi.org/10.1145/3308558.3313619
[9] M. Li, L. Zhang, H. Ji, and R. J. Radke, “Keep meeting summaries on topic: Abstractive multi-modal meeting summarization,” in Proceedings of the 57th Conference of the Association for Computational Linguistics, ACL 2019, Florence, Italy, July 28- August 2, 2019, Volume 1: Long Papers, pp. 2190–2196. [Online]. Available: https://doi.org/10.18653/v1/p19-1210
[10] S. Sun, R. Yuan, W. Li, Z. Cao, and S. Li, “Dialogue acts enhanced extract-abstract framework for meeting summarization,” Inf. Process. Manag., vol. 61, no. 2, p. 103635, 2024. [Online]. Available: https://doi.org/10.1016/j.ipm.2023.103635
[11] G. Shang, W. Ding, Z. Zhang, A. J. Tixier, P. Meladianos, M. Vazirgiannis, and J. Lorré, “Unsupervised abstractive meeting summarization with multi-sentence compression and budgeted submodular maximization,” in Proceedings of the 56th Annual Meeting of the Association for Computational Linguistics, ACL 2018, Melbourne, Australia, July 15-20, 2018, Volume 1: Long Papers, pp. 664–674. [Online]. Available: https://aclanthology.org/P18-1062/
[12] C. Liu, P. Wang, J. Xu, Z. Li, and J. Ye, “Automatic dialogue summary generation for customer service,” in Proceedings of the 25th ACM SIGKDD International Conference on Knowledge Discovery & Data Mining, KDD 2019, Anchorage, AK, USA, August 4-8, 2019, pp. 1957–1965. [Online]. Available: https://doi.org/10.1145/3292500.3330683
[13] M. Lewis, Y. Liu, N. Goyal, M. Ghazvininejad, A. Mohamed, O. Levy, V. Stoyanov, and L. Zettlemoyer, “BART: denoising sequence-to-sequence pre-training for natural language generation, translation, and comprehension,” in Proceedings of the 58th Annual Meeting of the Association for Computational. Online: Association for Computational Linguistics, 2020, pp. 7871–7880.
[14] X. Feng, X. Feng, B. Qin, and X. Geng, “Dialogue discourse-aware graph model and data augmentation for meeting summarization,” in
Proceedings of the Thirtieth International Joint Conference on Artificial Intelligence. Montreal, Canada: ijcai.org, 2021, pp. 3808–3814.
[15] X. Feng, X. Feng, and B. Qin, “Incorporating commonsense knowledge into abstractive dialogue summarization via heterogeneous graph networks,” in China National Conference on Chinese Computational Linguistics, ser. Lecture Notes in Computer Science, vol. vol. 12869. Hohhot, China: Springer, 2021, pp. 127–142.
[16] T. N. Kipf and M. Welling, “Semi-supervised classification with graph convolutional networks,” CoRR, vol. abs/1609.02907, 2016.
[17] X. Cheng, S. Gao, L. Liu, D. Zhao, and R. Yan, “Neural machine translation with contrastive translation memories,” CoRR, vol. abs/2212.03140, 2022.
[18] A. See, P. J. Liu, and C. D. Manning, “Get to the point: Summarization with pointer-generator networks,” CoRR, vol. abs/1704.04368, 2017.
[19] X. Xi, Z. Pi, and G. Zhou, “Global encoding for long chinese text summarization,” ACM Transactions on Asian and Low-Resource Language Information Processing (TALLIP), vol. 19, no. 6, pp. 1–17, 2020.
[20] Z. Wei, Q. Liu, B. Peng, H. Tou, T. Chen, X. Huang, K. Wong, and X. Dai, “Task-oriented dialogue system for automatic diagnosis,” in Proceedings of the 56th Annual Meeting of the Association for Computational Linguistics, vol. vol. 2: Short Papers. Melbourne, Australia: Association for Computational Linguistics, 2018, pp. 201–207.
[21] J. Zhang, Y. Zhao, M. Saleh, and P. J. Liu, “PEGASUS: pre-training with extracted gap-sentences for abstractive summarization,” in Proceedings of the 37th International Conference on Machine Learning, ICML 2020, 13-18 July 2020, Virtual Event, ser. Proceedings of Machine Learning Research, vol. 119. PMLR, 2020, pp. 11328–11339. [Online]. Available: http://proceedings.mlr.press/v119/zhang20ae.html
[22] S. Shahriar, B. D. Lund, N. R. Mannuru, M. A. Arshad, K. Hayawi, R. V. K. Bevara, A. Mannuru, and L. Batool, “Putting gpt-4o to the sword: A comprehensive evaluation of language, vision, speech, and multimodal proficiency,” CoRR, vol. abs/2407.09519, 2024. [Online]. Available: https://doi.org/10.48550/arXiv.2407.09519
[23] C.-Y. Lin and F. J. Och, “Automatic evaluation of machine translation quality using longest common subsequence and skip-bigram statistics,” in Proceedings of the 42nd annual meeting of the association for computational linguistics. Barcelona, Spain: ACL, 2004, pp. 605–612.