• 中国期刊全文数据库
  • 中国学术期刊综合评价数据库
  • 中国科技论文与引文数据库
  • 中国核心期刊(遴选)数据库
王涵, 李龙. 基于多任务学习的对话伦理判别方法J. 桂林电子科技大学学报, 2026, 46(3): 284-294. DOI: 10.16725/j.1673-808X.202381
引用本文: 王涵, 李龙. 基于多任务学习的对话伦理判别方法J. 桂林电子科技大学学报, 2026, 46(3): 284-294. DOI: 10.16725/j.1673-808X.202381
Wang Han, Li Long. A multi-task learning method for ethical dialogue detectionJ. Journal of Guilin University of Electronic Technology, 2026, 46(3): 284-294. DOI: 10.16725/j.1673-808X.202381
Citation: Wang Han, Li Long. A multi-task learning method for ethical dialogue detectionJ. Journal of Guilin University of Electronic Technology, 2026, 46(3): 284-294. DOI: 10.16725/j.1673-808X.202381

基于多任务学习的对话伦理判别方法

A multi-task learning method for ethical dialogue detection

  • 摘要: 随着人工智能的发展,相关的伦理问题和潜在风险愈发引起人们的关注。其中,对话作为人们日常交流方式之一,其与人工智能结合带来的伦理问题更加值得考虑。要应对这一问题,首要任务是实现对话的伦理判别。基于此,通过影视字幕、多轮对话数据集等多种来源方式,构建了与伦理相关的中文多轮对话数据集EthicDialog,并对数据集的特点进行了分析。此外,借助多任务学习实现了对话的伦理判别,将对话中话语的伦理属性偏移检测任务和对话伦理判别任务结合,从伦理标签变化和语义2个角度建模,从多种角度捕捉上下文的伦理相关信息;通过对Transformer层的掩码设计,关注了对话的全局、局部及说话者相关信息,从而更全面地考虑语义上下文、说话者信息等。实验结果表明了构造数据集的作用,显示出所提出模型较基准具有着一定的效果提升。

     

    Abstract: Ethical issues and potential risks associated with artificial intelligence have attracted increasing attention in recent years. As one of the most common forms of human communication, dialogue introduces important ethical concerns when combined with artificial intelligence systems. To address this issue, dialogue ethics detection has become an important research task. In this study, a Chinese multi-turn dialogue dataset, EthicDialog, is constructed from multiple sources, including film subtitles and existing dialogue corpora, and its statistical characteristics are systematically analyzed. Furthermore, a multi-task learning framework for dialogue ethics detection is proposed, which jointly performs ethical attribute shift detection and dialogue-level ethics classification. By introducing dedicated masking strategies into Transformer layers, the model effectively captures global contextual information, local semantic information, and speaker-related information, thereby enabling a more comprehensive understanding of semantic context. Experimental results demonstrate the effectiveness of the constructed Ethicdialog dataset and verify that the proposed model consistently outperforms baseline methods.

     

/

返回文章
返回