arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2402.03635cs.IR
收藏

软件问答网站中的检索增强跨模态标签推荐

Retrieval Augmented Cross-Modal Tag Recommendation in Software Q&A Sites

Sijin Lu, Pengyu Xu, Bing Liu, Hongjian Sun, Liping Jing, Jian Yu

AI总结:

提出检索增强跨模态标签推荐模型,通过外部知识检索增强表示,并利用跨模态注意力与门控融合,在三个真实数据集上超越现有方法。

摘要:

软件问答网站中的帖子通常由三个主要部分组成:标题、描述和代码,它们相互关联并共同描述问题。现有的标签推荐方法往往将不同模态视为一个整体,或未能充分考虑不同模态之间的交互。此外,它们专注于直接从帖子本身提取信息,忽略了外部知识源的信息。因此,我们提出了一种软件问答网站中的检索增强跨模态(RACM)标签推荐模型。具体而言,我们首先将输入帖子作为查询,通过从外部知识源检索信息来增强不同模态的表示。对于检索增强的表示,我们采用跨模态上下文感知注意力,利用主要模态描述对子模态标题和代码进行有针对性的特征提取。在融合过程中,采用门控机制实现细粒度特征选择,控制从子模态中提取的信息量。最后,融合后的信息用于标签推荐。在三个真实数据集上的实验结果表明,我们的模型优于最先进的同类模型。

英文摘要:

Posts in software Q\&A sites often consist of three main parts: title, description and code, which are interconnected and jointly describe the question. Existing tag recommendation methods often treat different modalities as a whole or inadequately consider the interaction between different modalities. Additionally, they focus on extracting information directly from the post itself, neglecting the information from external knowledge sources. Therefore, we propose a Retrieval Augmented Cross-Modal (RACM) Tag Recommendation Model in Software Q\&A Sites. Specifically, we first use the input post as a query and enhance the representation of different modalities by retrieving information from external knowledge sources. For the retrieval-augmented representations, we employ a cross-modal context-aware attention to leverage the main modality description for targeted feature extraction across the submodalities title and code. In the fusion process, a gate mechanism is employed to achieve fine-grained feature selection, controlling the amount of information extracted from the submodalities. Finally, the fused information is used for tag recommendation. Experimental results on three real-world datasets demonstrate that our model outperforms the state-of-the-art counterparts.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑