2021 36th IEEE/ACM International Conference on Automated Software Engineering (ASE) · 2021 · 21 citations · 15 references
ComputingComputer ScienceComputational LinguisticsNatural Language ProcessingProgramming LanguagesAbstract Syntax TreesCode GenerationSyntactic AnalysisSyntax AnalysisSyntax ParsingText SummarizationAbstract Syntax Tree AnalysisAbstract Syntax Tree GenerationAbstract Syntax Tree Representation
Code summarization aims to generate brief natural language descriptions for source code. As source code is highly structured and follows strict programming language grammars, its Abstract Syntax Tree (AST) is often leveraged to inform the encoder about the structural information. However, ASTs are usually much longer than the source code. Current approaches ignore the size limit and simply feed the whole linearized AST into the encoder. To address this problem, we propose AST-Transformer to efficiently encode tree-structured ASTs. Experiments show that AST-Transformer outperforms the state-of-arts by a substantial margin while being able to reduce 90 ~ 95% of the computational complexity in the encoding process.
15
DROPS (Schloss Dagstuhl – Leibniz Center for Informatics) · 2023 · 76.3K citations · Full text
DeBERTa: Decoding-enhanced BERT with Disentangled Attention
Pengcheng He, Xiaodong Liu, Jianfeng Gao et al. · arXiv (Cornell University) · 2020 · 430 citations · Full text