RLAS-BIABC:基于ABC算法的BERT模型的强化学习答案选择
RLAS-BIABC: A Reinforcement Learning-Based Answer Selection Using the BERT Model Boosted by an Improved ABC Algorithm
摘要:
答案选择是开放域问答问题的一个关键子任务。本文提出了一种基于注意力机制的长短期记忆(LSTM)和Transformers(BERT)词嵌入的双向编码器表示方法,并采用改进的人工蜂群(ABC)算法进行预训练,采用基于强化学习的BP算法进行训练,称为RLAS-BIABC。BERT可以包含在下游工作中并作为一个统一的特定于任务的架构进行微调,并且预训练的BERT模型可以抓住不同的语言效果。现有的算法通常训练的AS模型与正负对的两类分类器。正对包含一个问题和一个真实的答案,而负对包含一个问题和一个假答案。输出应该是一个积极的和零的负对。通常,负对比正对多,导致分类不平衡,从而大大降低系统性能。为了解决这一问题,我们将分类定义为一个连续的决策过程,在这个过程中,智能体在每一步都采集一个样本并进行分类,对于每一次分类操作,智能体都得到一个奖励,其中多数类的奖励小于少数类的奖励。最终,代理找到策略权重的最优值。我们用改进的ABC算法初始化策略权重。初始值技术可以防止陷入局部最优等问题。虽然ABC在大多数任务中表现良好,但ABC算法仍然存在一个弱点,即在发现相邻食物源位置时忽略了相关个体对的适应性。
英文摘要:
Answer selection (AS) is a critical subtask of the open-domain question answering (QA) problem. The present paper proposes a method called RLAS-BIABC for AS, which is established on attention mechanism-based long short-term memory (LSTM) and the bidirectional encoder representations from transformers (BERT) word embedding, enriched by an improved artificial bee colony (ABC) algorithm for pretraining and a reinforcement learning-based algorithm for training backpropagation (BP) algorithm. BERT can be comprised in downstream work and fine-tuned as a united task-specific architecture, and the pretrained BERT model can grab different linguistic effects. Existing algorithms typically train the AS model with positive-negative pairs for a two-class classifier. A positive pair contains a question and a genuine answer, while a negative one includes a question and a fake answer. The output should be one for positive and zero for negative pairs. Typically, negative pairs are more than positive, leading to an imbalanced classification that drastically reduces system performance. To deal with it, we define classification as a sequential decision-making process in which the agent takes a sample at each step and classifies it. For each classification operation, the agent receives a reward, in which the prize of the majority class is less than the reward of the minority class. Ultimately, the agent finds the optimal value for the policy weights. We initialize the policy weights with the improved ABC algorithm. The initial value technique can prevent problems such as getting stuck in the local optimum. Although ABC serves well in most tasks, there is still a weakness in the ABC algorithm that disregards the fitness of related pairs of individuals in discovering a neighboring food source position.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。