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.
Towards Scalable and Privacy-Preserving Deep Neural Network via Algorithmic-Cryptographic Co-design
Zhejiang University(浙江大学);Ant Group(蚂蚁集团);Macquarie University(麦考瑞大学);JZTData Technology(金智塔科技);Peking University(北京大学);East China Normal University(华东师范大学)
Exploring the Connection Between Binary and Spiking Neural Networks
The Pennsylvania State University(宾夕法尼亚州立大学);School of Electrical Engineering and Computer Science(电气工程与计算机科学学院);University Park(大学公园(此处为校区名,按要求提取到学院级别,原机构为宾夕法尼亚州立大学,学院为其下属,按规则提取到大学级别即可))