基于树栈存储单元的组合推广
Compositional Generalization with Tree Stack Memory Units
摘要:
我们研究合成泛化,即,zero-shot推广到领域中概念的新组合的问题。标准神经网络在很大程度上无法进行组合学习。我们提出了树堆栈内存单元(Tree-SMU),以实现强大的组合泛化。Tree-SMU是一种带有堆栈记忆单元的递归神经网络(\SMU s),它是一种新型的记忆增强神经网络,其记忆具有可微堆栈结构。树架构中的每个SMU学习从其堆栈中读取,并通过门控组合其子堆栈和状态来写入堆栈。堆栈有助于捕获问题域中的长期依赖关系,从而实现组合泛化。此外,堆栈还保留每个节点的后代的顺序,从而保留树上的局部性。我们展示了两个数学推理基准强有力的实证结果。我们使用四个组合性测试来评估Tree-SMU的泛化性能,并表明与Transformers和Tree-LSTM等强基线相比,它可以实现准确的组合泛化。
英文摘要:
We study compositional generalization, viz., the problem of zero-shot generalization to novel compositions of concepts in a domain. Standard neural networks fail to a large extent on compositional learning. We propose Tree Stack Memory Units (Tree-SMU) to enable strong compositional generalization. Tree-SMU is a recursive neural network with Stack Memory Units (\SMU s), a novel memory augmented neural network whose memory has a differentiable stack structure. Each SMU in the tree architecture learns to read from its stack and to write to it by combining the stacks and states of its children through gating. The stack helps capture long-range dependencies in the problem domain, thereby enabling compositional generalization. Additionally, the stack also preserves the ordering of each node's descendants, thereby retaining locality on the tree. We demonstrate strong empirical results on two mathematical reasoning benchmarks. We use four compositionality tests to assess the generalization performance of Tree-SMU and show that it enables accurate compositional generalization compared to strong baselines such as Transformers and Tree-LSTMs.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。