SIP:通过模拟向序列到序列模型注入结构归纳偏置
SIP: Injecting a Structural Inductive Bias into a Seq2Seq Model by Simulation
AI总结:
针对Transformer等序列到序列模型系统性泛化能力弱的问题,提出SIP方法,通过预训练模拟有限状态转换器注入结构归纳偏置,有效提升了相关任务的泛化与少样本学习能力。
摘要:
强归纳偏置能够实现小样本学习,并助力训练分布外的泛化。Transformer等主流神经架构本身缺乏针对序列到序列自然语言处理任务的强结构归纳偏置,因此即便在大量文本上预训练后,它们仍难以实现训练分布外的系统性泛化,例如对更长输入的外推。\n本文展示了如何通过预训练序列到序列模型在合成数据上模拟结构变换,高效地向其注入结构归纳偏置。具体而言,我们通过预训练Transformer根据有限状态转换器(Finite State Transducers, FSTs)的描述模拟FST,向其注入面向FST的归纳偏置。\n实验表明,该方法赋予了模型预期的归纳偏置,提升了FST类任务的系统性泛化能力和少样本学习效果。分析显示,微调后的模型能准确捕捉未见底层FST的状态动态,说明模拟过程已被微调模型内化。
英文摘要:
Strong inductive biases enable learning from little data and help generalization outside of the training distribution. Popular neural architectures such as Transformers lack strong structural inductive biases for seq2seq NLP tasks on their own. Consequently, they struggle with systematic generalization beyond the training distribution, e.g. with extrapolating to longer inputs, even when pre-trained on large amounts of text. We show how a structural inductive bias can be efficiently injected into a seq2seq model by pre-training it to simulate structural transformations on synthetic data. Specifically, we inject an inductive bias towards Finite State Transducers (FSTs) into a Transformer by pre-training it to simulate FSTs given their descriptions. Our experiments show that our method imparts the desired inductive bias, resulting in improved systematic generalization and better few-shot learning for FST-like tasks. Our analysis shows that fine-tuned models accurately capture the state dynamics of the unseen underlying FSTs, suggesting that the simulation process is internalized by the fine-tuned model.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。