Progress Extrapolating Algorithmic Learning to Arbitrary Sequence Lengths
Recent neural network models for algorithmic tasks have led to significant improvements in extrapolation to sequences much longer than training, but it remains an outstanding problem that the performance still degrades for very long or adversarial sequences. We present alternative architectures and loss-terms to address these issues, and our testing of these approaches has not detected any remaining extrapolation errors within memory constraints. We focus on linear time algorithmic tasks including copy, parentheses parsing, and binary addition. First, activation binning was used to discretize the trained network in order to avoid computational drift from continuous operations, and a binning-based digital loss term was added to encourage discretizable representations. In addition, a localized differentiable memory (LDM) architecture, in contrast to distributed memory access, addressed remaining extrapolation errors and avoided unbounded growth of internal computational states. Previous work has found that algorithmic extrapolation issues can also be alleviated with approaches relying on program traces, but the current effort does not rely on such traces.
Code (0)
등록된 구현이 없습니다.
Similar Papers 제목 키워드 기반
I-BERT: Inductive Generalization of Transformer to Arbitrary Context Lengths
Self-attention has emerged as a vital component of state-of-the-art sequence-to-sequence models for natural language processing in recent years, brought to the forefront by pre-trained bi-directional Transformer models. …
Language ModelingLanguage ModellingMasked Language ModelingThe EOS Decision and Length Extrapolation
Extrapolation to unseen sequence lengths is a challenge for neural generative models of language. In this work, we characterize the effect on length extrapolation of a modeling decision often overlooked: predicting the e…
ExPe: Exact Positional Encodings for Generative Transformer Models with Extrapolating Capabilities
This paper introduces a novel approach to position embeddings in transformer models, named "Exact Positional Embeddings" (ExPE). An absolute positional embedding method that can extrapolate to sequences of lengths longer…
cgNA+min: computation of sequence-dependent dsDNA energy-minimising minicircle configurations
DNA minicircles are closed double-stranded DNA (dsDNA) fragments that have been demonstrated to be an important experimental tool to understand supercoiled, or stressed, DNA mechanics, such as nucleosome positioning and …
Recurrent Transformer Variational Autoencoders for Multi-Action Motion Synthesis
We consider the problem of synthesizing multi-action human motion sequences of arbitrary lengths. Existing approaches have mastered motion sequence generation in single action scenarios, but fail to generalize to multi-a…
Motion Synthesis