arrow
返回

Improving Tree-Structured Decoder Training for Code Generation via Mutual Learning

delete2021-05-18
delete0
delete
OA
AI
DOI:10.1609/aaai.v35i16.17662delete
delete原文链接
delete分享
delete收藏
摘要

摘要

En 中文
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.
Quantized Decoders that Maximize Mutual Information for Polar Codes
err2024-07-01
err0
PREAI
errZhu, Hongfei; Cao, Zhiwei; Zhao, Yuping; Li, Dou
err分享
err收藏
err分享
err收藏
Reduce the Complexity of List Decoding of Polar Codes by Tree-Pruning
err2016-02-01
err30
errOAAI
errChen, Kai; Li, Bin; Shen, Hui; Jin, Jie; Tse, David
err分享
err收藏
Tree-Structured Expectation Propagation for Decoding Finite-Length LDPC Codes
err2011-02-01
err11
errOAAI
errOlmos, Pablo M.; Jose Murillo-Fuentes, Juan; Perez-Cruz, Fernando
err分享
err收藏
Deep Learning Methods for Improved Decoding of Linear Codes线性码改进译码的深度学习方法
err2018-02-01
err373
errOAAI
errNachmani, Eliya; Marciano, Elad; Lugosch, Loren; Gross, Warren J.; Burshtein, David; Be'ery, Yair
err分享
err收藏
Generalized LDPC Codes With Low-Complexity Decoding and Fast Convergence
err2025-11-01
err0
PREAI
errSimegn, Dawit; Artemasov, Dmitry; Andreev, Kirill; Rybin, Pavel; Frolov, Alexey
err分享
err收藏

期刊

暂无期刊信息

机构

暂无机构信息
引用论文

引用论文

暂无论文信息