ACL Findings2021
Effective Batching for Recurrent Neural Network Grammars
Hiroshi Noji, Yohei Oseki
摘要
As a language model that integrates traditional symbolic operations and flexible neural representations, recurrent neural network grammars (RNNGs) have attracted great attention from both scientific and engineering perspectives. However, RNNGs are known to be harder to scale due to the difficulty of batched training. In this paper, we propose effective batching for RNNGs, where every operation is computed in parallel with tensors across multiple sentences. Our PyTorch implementation effectively employs a GPU and achieves x6 speedup compared to the existing C++ DyNet implementation with model-independent auto-batching. Moreover, our batched RNNG also accelerates inference and achieves x20-150 speedup for beam search depending on beam sizes. Finally, we evaluate syntactic generalization performance of the scaled RNNG against the LSTM baseline, based on the large training data of 100M tokens from English Wikipedia and the broad-coverage targeted syntactic evaluation benchmark. 1
问 Lune
尽管问,回答会引用原文。
Lune 会读完全文和相关的 Paper,每个回答都附上所依据的原文段落。
引用它的顶会 Paper3
- If Attention Serves as a Cognitive Model of Human Memory Retrieval, What is the Plausible Memory Representation?Ryo Yoshida, Shinnosuke Isono, Kohei Kajikawa, Taiga Someya 等ACL 2025 · 3 次引用
- Emergent Word Order Universals from Cognitively-Motivated Language ModelsTatsuki Kuribayashi, Ryo Ueda, Ryo Yoshida, Yohei Oseki 等ACL 2024 · 1 次引用
- GiLT: Augmenting Transformer Language Models with Dependency GraphsTianyu Huang, Yida Zhao, Chuyan Zhou, Kewei TuACL 2026
它引用的 Paper4
- A Systematic Assessment of Syntactic Generalization in Neural Language ModelsJennifer Hu, Jon Gauthier, Peng Qian, Ethan Wilcox 等ACL 2020 · 124 次引用
- Max-Margin Incremental CCG ParsingMilos Stanojevic, Mark SteedmanACL 2020 · 18 次引用
- An Analysis of the Utility of Explicit Negative Examples to Improve the Syntactic Abilities of Neural Language ModelsHiroshi Noji, Hiroya TakamuraACL 2020 · 12 次引用
- Structural Supervision Improves Few-Shot Learning and Syntactic Generalization in Neural Language ModelsEthan Wilcox, Peng Qian, Richard Futrell, Ryosuke Kohita 等EMNLP 2020 · 2 次引用
相关 Paper
- Recurrent Hierarchical Topic-Guided RNN for Language GenerationDandan Guo, Bo Chen, Ruiying Lu, Mingyuan ZhouICML 2020 · 20 次引用
- FlashRNN: I/O-Aware Optimization of Traditional RNNs on modern hardwareKorbinian Pöppel, Maximilian Beck, Sepp HochreiterICLR 2025
- MODE-LSTM: A Parameter-efficient Recurrent Network with Multi-Scale for Sentence ClassificationQianli Ma, Zhenxi Lin, Jiangyue Yan, Zipeng Chen 等EMNLP 2020 · 8 次引用
- Parallelizing Legendre Memory Unit TrainingNarsimha Reddy Chilkuri, Chris EliasmithICML 2021 · 47 次引用
- Learning to Recover from Multi-Modality Errors for Non-Autoregressive Neural Machine TranslationQiu Ran, Yankai Lin, Peng Li, Jie ZhouACL 2020 · 40 次引用
