基于注意力机制的LSTM剽窃检测和基于种群的非平衡类预训练参数方法
An LSTM-based Plagiarism Detection via Attention Mechanism and a Population-based Approach for Pre-Training Parameters with imbalanced Classes
摘要:
剽窃是学术和工业环境中的主要问题之一,其目标是在典型文档或源代码中找到相似的项目。本文提出了一种基于长短期记忆(LSTM)和注意力机制的架构,称为LSTM-AM-ABC,并通过基于种群的方法进行参数初始化。在LSTM、注意力机制和前馈神经网络的学习过程中,基于前馈的优化算法如反向传播(BP)在文献中被广泛使用,但它们存在一些问题,如陷入局部最优。为了解决这个问题,可以使用基于群体的元启发式(PBMH)算法。为此,本文采用PBMH算法,人工蜂群(ABC),缓和的问题。我们提出的算法可以同时找到所有LSTM,注意力机制和前馈神经网络中模型学习的初始值。换句话说,ABC算法找到了一个有希望的点开始BP算法。为了评估,我们比较我们提出的算法与传统的和基于人口的方法。结果清楚地表明,所提出的方法可以提供有竞争力的性能。
英文摘要:
Plagiarism is one of the leading problems in academic and industrial environments, which its goal is to find the similar items in a typical document or source code. This paper proposes an architecture based on a Long Short-Term Memory (LSTM) and attention mechanism called LSTM-AM-ABC boosted by a population-based approach for parameter initialization. Gradient-based optimization algorithms such as back-propagation (BP) are widely used in the literature for learning process in LSTM, attention mechanism, and feed-forward neural network, while they suffer from some problems such as getting stuck in local optima. To tackle this problem, population-based metaheuristic (PBMH) algorithms can be used. To this end, this paper employs a PBMH algorithm, artificial bee colony (ABC), to moderate the problem. Our proposed algorithm can find the initial values for model learning in all LSTM, attention mechanism, and feed-forward neural network, simultaneously. In other words, ABC algorithm finds a promising point for starting BP algorithm. For evaluation, we compare our proposed algorithm with both conventional and population-based methods. The results clearly show that the proposed method can provide competitive performance.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。