Journal of Computer Applications

    Next Articles

Joint intent and slot recognition method via prompt-guided generation and tri-mutual attention

TENG Shangzhi1HUANG Jin1,LYU Xueqiang1,YOU Xindong2   

  1. 1. Beijing Key Laboratory of Internet Culture Digital Dissemination, Beijing Information Science and Technology University 2. School of Information Engineering, Beijing Institute of Graphic Communication
  • Received:2025-09-18 Revised:2026-01-07 Online:2026-03-16 Published:2026-03-16
  • About author:TENG Shangzhi, born in 1989, Ph. D., associate professor. His research interests include natural language processing. HUANG Jin, born in 2000, M. S. candidate. His research interests include natural language processing. LYU Xueqiang, born in 1970, Ph. D., professor. His research interests include artificial intelligence, big data. YOU Xindong, born in 1989, Ph. D., professor. Her research interests include patent knowledge mining, natural language processing.
  • Supported by:
    National Natural Science Foundation of China (62171043); Project of General Administration of Market Supervision and Quality of the People's Republic of China (0747-2461SCCZAE77)

基于提示引导生成与三元注意力的意图槽位联合识别方法

滕尚志1,黄进1,吕学强1,游新冬2   

  1. 1.北京信息科技大学 网络文化与数字传播北京市重点实验室 2.北京印刷学院 信息工程学院
  • 通讯作者: 游新冬
  • 作者简介:滕尚志(1989—),男,江苏沛县人,副教授,博士,主要研究方向:自然语言处理;黄进(2000—),男,河北唐山人,硕士研究生,主要研究方向:自然语言处理;吕学强(1970—),男,辽宁抚顺人,教授,博士,CCF会员,主要研究方向:人工智能、大数据;游新冬(1989—),女,福建永定人,教授,博士,主要研究方向:专利知识挖掘、自然语言处理。
  • 基金资助:
    国家自然科学基金资助项目(62171043);国家市场质量监督管理总局项目(0747-2461SCCZAE77)

Abstract: To address the semantic ambiguity and difficulty in candidate selection caused by the diverse results generated by large language models in intent recognition and slot filling tasks, a new approach for joint intent-slot recognition based on prompt-guided generation and tri-mutual attention was proposed,named PGT-Joint(Prompt-guided Generation and Tri-mutual Attention for Joint Intent–Slot Recognition). This approach first constructs prompts based on domain knowledge to guide the large language model in generating multiple candidate intent-slot combinations. Secondly, a tri-mutual attention mechanism is designed to explicitly model the high-order semantic relationships between user questions, candidate intents, and slots. Finally, a comparative learning-to-rank model is used to filter and optimize the candidate results. Experimental results on a Mini/Micro LED domain question-answering dataset show that, compared with baseline models such as BERT-Intent and BERT-Slot, PGT-Joint improves intent recognition accuracy by 0.4 to 3.8 percentage points and slot filling F1 score by 4.1 to 6.6 percentage points. Notably, the most significant gain is observed in joint matching accuracy, with an improvement of 5.2 to 10.2 percentage points. In addition, ablation experiments verified the key role of prompt generation and ternary interactive attention mechanism in performance improvement, indicating that PGT-Joint can effectively enhance semantic understanding capabilities in professional domain dialogue systems.

Key words: intent detection, slot filling, large language model, contrastive learning, attention mechanism

摘要: 针对大语言模型在意图识别与槽位填充任务中生成结果多样性带来的语义歧义和候选选择困难问题,提出了一种基于提示引导生成与三元交互注意力机制的意图-槽位联合识别方法,简称PGT-Joint(Prompt-guided Generation and Tri-mutual Attention for Joint intent–slot recognition)。该方法首先结合领域知识构建提示,引导大语言模型生成多组候选意图-槽位组合;其次设计三元交互注意力机制,显式建模用户问题、候选意图和槽位之间的高阶语义关系;最后通过对比学习排序模型对候选结果进行筛选与优化。实验结果表明,在Mini/Micro LED领域问答数据集上,与BERT-Intent、BERT-Slot等模型相比,PGT-Joint在意图识别准确率的提升幅度达到0.4~3.8个百分点,在槽位填充F1值的提升幅度达到4.1~6.6个百分点,在联合匹配准确率上的提升最为显著,提升幅度达到5.2~10.2个百分点。此外,消融实验验证了提示生成和三元交互注意力机制在性能提升中的关键作用,说明PGT-Joint能够在专业领域对话系统中有效增强语义理解能力。

关键词: 意图识别, 槽位填充, 大语言模型, 对比学习, 注意力机制

CLC Number: