Proceedings of the AAAI Conference on Artificial Intelligence · 2021 · 23 citations · 39 references
ComputingComputer ScienceComputational LinguisticsMachine LearningNatural Language ProcessingAbstract Syntax TreesCode GenerationDeep LearningNatural Language GenerationNatural Language UnderstandingSyntax ParsingAbstract Syntax Tree GenerationAbstract Syntax Tree RepresentationBenchmark DatasetsBreadth-first SearchNeural Language ModelsPrediction DistributionsSequence-to-sequence Generation
Code generation aims to automatically generate a piece of code given an input natural language utterance. Currently, among dominant models, it is treated as a sequence-to-tree task, where a decoder outputs a sequence of actions corresponding to the pre-order traversal of an Abstract Syntax Tree. However, such a decoder only exploits the pre-order traversal based preceding actions, which are insufficient to ensure correct action predictions. In this paper, we first throughly analyze the context modeling difference between neural code generation models with different traversals based decodings (preorder traversal vs breadth-first traversal), and then propose to introduce a mutual learning framework to jointly train these models. Under this framework, we continuously enhance both two models via mutual distillation, which involves synchronous executions of two one-to-one knowledge transfers at each training step. More specifically, we alternately choose one model as the student and the other as its teacher, and require the student to fit the training data and the action prediction distributions of its teacher. By doing so, both models can fully absorb the knowledge from each other and thus could be improved simultaneously. Experimental results and in-depth analysis on several benchmark datasets demonstrate the effectiveness of our approach. We release our code at https://github.com/DeepLearnXMU/CGML.
39
FitNets: Hints for Thin Deep Nets
Adriana Romero, Nicolas Ballas, Samira Ebrahimi Kahou et al. · arXiv (Cornell University) · 2014 · 2K citations · Full text
Education, Educational Technology, Artificial Intelligence In Education +8
Language to Logical Form with Neural Attention
Li Dong, Mirella Lapata · 2016 · 655 citations · Full text
Tommaso Furlanello, Zachary C. Lipton, Michael Tschannen et al. · arXiv (Cornell University) · 2018 · 445 citations · Full text