Recently, many datasets have been proposed to test the systematic generalization ability of neural networks. The companion baseline Transformers, typically trained with default hyper-parameters from standard tasks, are shown to fail dramatically. Here we demonstrate that by revisiting model configurations as basic as scaling of embeddings, early stopping, relative positional embedding, and Universal Transformer variants, we can drastically improve the performance of Transformers on systematic generalization. We report improvements on five popular datasets: SCAN, CFQ, PCFG, COGS, and Mathematics dataset. Our models improve accuracy from 50% to 85% on the PCFG productivity split, and from 35% to 81% on COGS. On SCAN, relative positional embedding largely mitigates the EOS decision problem (Newman et al., 2020), yielding 100% accuracy on the length split with a cutoff at 26. Importantly, performance differences between these models are typically invisible on the IID data split. This calls for proper generalization validation sets for developing neural networks that generalize systematically. We publicly release the code to reproduce our results.
SenseTime Research(商汤科技研究院);Australian National University(澳大利亚国立大学);OPPO Research Institute(OPPO研究院);Shanghai AI Laboratory(上海人工智能实验室);The University of Hong Kong(香港大学)
Faculdade de Ciências da Universidade do Porto(波尔图大学理学院);University of Tübingen(图宾根大学);MPI for Intelligent Systems(马克斯·普朗克智能系统研究所);INESC TEC(葡萄牙系统与计算机工程、技术与科学研究所)
Devil is in the Queries: Advancing Mask Transformers for Real-world Medical Image Segmentation and Out-of-Distribution Localization
Alibaba Group(阿里巴巴集团);Peking University(北京大学);Shengjing Hospital(盛京医院);Guangdong Province People’s Hospital(广东省人民医院);Peking University Changsha Institute for Computing and Digital Economy(北京大学长沙计算与数字经济研究院)
An Embarrassingly Simple Approach to Enhance Transformer Performance in Genomic Selection for Crop Breeding
Shanghai Artificial Intelligence Laboratory(上海人工智能实验室);Institute of Computing Technology, Chinese Academy of Sciences(中国科学院计算技术研究所);School of Computer Science, University of Chinese Academy of Sciences(中国科学院大学计算机科学与技术学院);School of Computer Science and Artificial Intelligence, Wuhan University of Technology(武汉理工大学计算机科学与人工智能学院);School of Animal Science and Technology, Huazhong Agricultural University(华中农业大学动物科学技术学院)