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

通过3D孪生网络改进文本语义相似度建模

Improving Text Semantic Similarity Modeling through a 3D Siamese Network

Shanghai University of International Business and Economics(上海对外经贸大学)

Jianxiang Zang, Hui Liu

AI总结:

针对传统孪生网络建模文本语义相似度时因池化丢失层级语义、限制下游方法的问题,提出3D孪生网络将语义映射到高维空间,搭配多模块强化框架,在四个基准上验证了有效性与高效性。

摘要:

孪生网络作为文本语义相似度建模的一种方法已得到广泛应用。传统方法在编码阶段依赖池化操作压缩Transformer块输出的语义表示,得到二维语义向量,同时丢失了Transformer块的层级语义信息。此外,这种受限的语义向量结构类似扁平化的景观,限制了可应用于下游建模的方法,因为这些方法只能在这片平坦区域内进行探索。为解决该问题,我们提出一种用于文本语义相似度建模的新型3D孪生网络,将语义信息映射到更高维度的空间。三维语义张量不仅保留了更精确的空间与特征域信息,还为下游建模策略全面捕捉这些信息提供了必要的结构条件。借助这一结构优势,我们引入多个模块强化该3D框架,聚焦特征提取、注意力和特征融合三个方面。我们在四个文本语义相似度基准上开展的大量实验,证明了该3D孪生网络的有效性与高效性。

英文摘要:

Siamese networks have gained popularity as a method for modeling text semantic similarity. Traditional methods rely on pooling operation to compress the semantic representations from Transformer blocks in encoding, resulting in two-dimensional semantic vectors and the loss of hierarchical semantic information from Transformer blocks. Moreover, this limited structure of semantic vectors is akin to a flattened landscape, which restricts the methods that can be applied in downstream modeling, as they can only navigate this flat terrain. To address this issue, we propose a novel 3D Siamese network for text semantic similarity modeling, which maps semantic information to a higher-dimensional space. The three-dimensional semantic tensors not only retains more precise spatial and feature domain information but also provides the necessary structural condition for comprehensive downstream modeling strategies to capture them. Leveraging this structural advantage, we introduce several modules to reinforce this 3D framework, focusing on three aspects: feature extraction, attention, and feature fusion. Our extensive experiments on four text semantic similarity benchmarks demonstrate the effectiveness and efficiency of our 3D Siamese Network.

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

↑