arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2504.04861cs.CLcs.AI
收藏

SAFT:面向文本交互分类的结构感知Transformer

SAFT: Structure-aware Transformers for Textual Interaction Classification

Hong Kong Baptist University(香港浸会大学);National University of Singapore(新加坡国立大学)

Hongtao Wang, Renchi Yang, Hewen Wang, Haoran Zheng, Jianliang Xu

AI总结:

SAFT通过融合预训练语言模型与线图注意力等图模块,并引入结构嵌入编码TIN拓扑信息,有效提升文本交互分类的准确率。

摘要:

文本交互网络(TINs)是一种普遍存在的数据结构,用于建模电子商务网站、社交网络等平台上用户与物品之间的交互,其中每条交互都关联一段文本描述。对此类文本交互进行分类(TIC)广泛应用于检测电子商务中的垃圾评论、金融中的欺诈交易等场景。现有的TIC解决方案要么(i)由于使用上下文无关的文本嵌入而未能捕获丰富的文本语义,要么(ii)忽视TIN的二分图结构和节点异质性,导致TIC性能受损。在本工作中,我们提出SAFT,一种新的架构,它整合了基于语言和基于图的模块,以在交互的表示学习中有效融合文本语义与结构语义。具体而言,利用线图注意力(LGA)/门控注意力单元(GAUs)和预训练语言模型(PLMs)来建模交互级和词元级信号,并通过代理词元以迭代和上下文化的方式进一步耦合这些信号。此外,我们开发了一种高效且具有理论依据的方法,将与交互相关的局部和全局拓扑信息编码为结构嵌入。所得嵌入不仅将TIN底层的结构特征注入文本交互编码中,还促进了图采样策略的设计。在多个真实TIN数据集上的大量实证评估表明,SAFT在TIC准确率上优于最先进的基线方法。

英文摘要:

Textual interaction networks (TINs) are an omnipresent data structure used to model the interplay between users and items on e-commerce websites, social networks, etc., where each interaction is associated with a text description. Classifying such textual interactions (TIC) finds extensive use in detecting spam reviews in e-commerce, fraudulent transactions in finance, and so on. Existing TIC solutions either (i) fail to capture the rich text semantics due to the use of context-free text embeddings, and/or (ii) disregard the bipartite structure and node heterogeneity of TINs, leading to compromised TIC performance. In this work, we propose SAFT, a new architecture that integrates language- and graph-based modules for the effective fusion of textual and structural semantics in the representation learning of interactions. In particular, line graph attention (LGA)/gated attention units (GAUs) and pretrained language models (PLMs) are capitalized on to model the interaction-level and token-level signals, which are further coupled via the proxy token in an iterative and contextualized fashion. Additionally, an efficient and theoretically-grounded approach is developed to encode the local and global topology information pertaining to interactions into structural embeddings. The resulting embeddings not only inject the structural features underlying TINs into the textual interaction encoding but also facilitate the design of graph sampling strategies. Extensive empirical evaluations on multiple real TIN datasets demonstrate the superiority of SAFT over the state-of-the-art baselines in TIC accuracy.

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

↑