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

注意力机制与上下文建模系统在文本挖掘机器翻译中的应用

Attention Mechanism and Context Modeling System for Text Mining Machine Translation

Boston University(波士顿大学);Duke University(杜克大学);Carnegie Mellon University(卡内基梅隆大学);University of Pennsylvania(宾夕法尼亚大学);North Carolina State University(北卡罗来纳州立大学)

Yuwei Zhang, Junming Huang, Sitong Liu, Zexi Chen, Zizheng Li

AI总结:

本文提出一种融合K-means聚类与Transformer的架构,通过前置聚类和注意力权重重校准增强上下文理解,提升机器翻译质量。

摘要:

本文提出了一种基于Transformer范式的新型架构方案,并创新性地融合了K-means聚类算法,以增强该方案对上下文的理解能力。Transformer模型凭借其并行计算能力和多头注意力机制,在机器翻译任务中表现出色。然而,在处理高度复杂的语言结构时,它可能会遇到上下文歧义或忽略局部特征的问题。为规避这一限制,本文引入了K-means算法,用于对输入文本中的词汇和习语进行分层,从而更好地识别和保留语言的局部结构和上下文信息。这种组合的优势在于,K-means能够自动发现文本中的主题或概念区域,这些区域可能与翻译质量直接相关。因此,本文所设计的方案将K-means作为Transformer的前置阶段,并重新校准多头注意力权重,以帮助区分具有相似语义或功能的词汇和习语。这确保了该方案在训练阶段对这些聚类所体现的上下文信息给予更高关注,而不仅仅是关注位置信息。

英文摘要:

This paper advances a novel architectural schema anchored upon the Transformer paradigm and innovatively amalgamates the K-means categorization algorithm to augment the contextual apprehension capabilities of the schema. The transformer model performs well in machine translation tasks due to its parallel computing power and multi-head attention mechanism. However, it may encounter contextual ambiguity or ignore local features when dealing with highly complex language structures. To circumvent this constraint, this exposition incorporates the K-Means algorithm, which is used to stratify the lexis and idioms of the input textual matter, thereby facilitating superior identification and preservation of the local structure and contextual intelligence of the language. The advantage of this combination is that K-Means can automatically discover the topic or concept regions in the text, which may be directly related to translation quality. Consequently, the schema contrived herein enlists K-Means as a preparatory phase antecedent to the Transformer and recalibrates the multi-head attention weights to assist in the discrimination of lexis and idioms bearing analogous semantics or functionalities. This ensures the schema accords heightened regard to the contextual intelligence embodied by these clusters during the training phase, rather than merely focusing on locational intelligence.

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

↑