Tree-Transformer: A Transformer-Based Method for Correction of Tree-Structured Data
Not on the map. Why?
Abstract (arXiv)
Many common sequential data sources, such as source code and natural language, have a natural tree-structured representation. These trees can be generated by fitting a sequence to a grammar, yielding a hierarchical ordering of the tokens in the sequence. This structure encodes a high degree of syntactic information, making it ideal for problems such as grammar correction. However, little work has been done to develop neural networks that can operate on and exploit tree-structured data. In this paper we present the Tree-Transformer textemdash a novel neural network architecture designed to translate between arbitrary input and output trees. We applied this architecture to correction tasks in both the source code and natural language domains. On source code, our model achieved an improvement of 25% F0.5 over the best sequential method. On natural language, we achieved comparable results to the most complex state of the art systems, obtaining a 10% improvement in recall on the CoNLL 2014 benchmark and the highest to date F0.5 score on the AESW benchmark of 50.43.
Key facts. Cited by 20 papers in the map (data through 14 Oct 2026). First posted on arXiv 1 Aug 2019.
Builds on
No reference list yet.
Built on by
Citing papers per year: 2021: 9; 2022: 4; 2023: 4; 2024: 1; 2025: 2.
20 papers.
Sort:
By area:
- 2021Unified Pre-training for Program Understanding and Generationcited by 366
- 2021Retrieval Augmented Code Generation and Summarizationcited by 149
- 2021Integrating Visuospatial, Linguistic and Commonsense Structure into Story Visualizationcited by 52
- 2021CodeQA: A Question Answering Dataset for Source Code Comprehensioncited by 30
- 2021API2Com: On the Improvement of Automatically Generated Code Comments Using API Documentationscited by 10
- 2021Structured Context and High-Coverage Grammar for Conversational Question Answering over Knowledge Graphscited by 10
- 2023Graph-Induced Syntactic-Semantic Spaces in Transformer-Based Variational AutoEncoderscited by 6
- 2021DeepCPCFG: Deep Learning and Context Free Grammars for End-to-End Information Extractioncited by 3
- 2022Transformer with Tree-order Encoding for Neural Program Generationcited by 3
- 2022Forming Trees with Treeformerscited by 3
- 2025SURGE: On the Potential of Large Language Models as General-Purpose Surrogate Code Executorscited by 3
- 2022ImmunoLingo: Linguistics-based formalization of the antibody languagecited by 2
8 more
- 2023APIContext2Com: Code Comment Generation by Incorporating Pre-Defined API Documentationcited by 2
- 2021Enhancing the Transformer Decoder with Transition-based Syntaxcited by 1
- 2023G-MATT: Single-step Retrosynthesis Prediction using Molecular Grammar Tree Transformercited by 1
- 2024Representation Learning of Geometric Treescited by 1
- 2021Trees in transformers: a theoretical analysis of the Transformer's ability to represent treescited by 0
- 2022What AI can do for horse-racing ?cited by 0
- 2023Spatial Attention and Syntax Rule Enhanced Tree Decoder for Offine Handwritten Mathematical Expression Recognitioncited by 0
- 2025Tree Meets Transformer: A Hybrid Architecture for Scalable Power Allocation in Cell-Free Networkscited by 0
- 2025Tree Meets Transformer: A Hybrid Architecture for Scalable Power Allocation in Cell-Free Networks27 Dec 2025
- 2025SURGE: On the Potential of Large Language Models as General-Purpose Surrogate Code Executors16 Feb 2025
- 2024Representation Learning of Geometric Trees16 Aug 2024
- 2023Graph-Induced Syntactic-Semantic Spaces in Transformer-Based Variational AutoEncoders14 Nov 2023
- 2023G-MATT: Single-step Retrosynthesis Prediction using Molecular Grammar Tree Transformer4 May 2023
- 2023Spatial Attention and Syntax Rule Enhanced Tree Decoder for Offine Handwritten Mathematical Expression Recognition13 Mar 2023
- 2023APIContext2Com: Code Comment Generation by Incorporating Pre-Defined API Documentation3 Mar 2023
- 2022ImmunoLingo: Linguistics-based formalization of the antibody language26 Sep 2022
- 2022Forming Trees with Treeformers14 Jul 2022
- 2022What AI can do for horse-racing ?11 Jul 2022
- 2022Transformer with Tree-order Encoding for Neural Program Generation30 May 2022
- 2021Trees in transformers: a theoretical analysis of the Transformer's ability to represent trees16 Dec 2021
8 more
- 2021Integrating Visuospatial, Linguistic and Commonsense Structure into Story Visualization21 Oct 2021
- 2021CodeQA: A Question Answering Dataset for Source Code Comprehension17 Sep 2021
- 2021Structured Context and High-Coverage Grammar for Conversational Question Answering over Knowledge Graphs1 Sep 2021
- 2021Retrieval Augmented Code Generation and Summarization26 Aug 2021
- 2021API2Com: On the Improvement of Automatically Generated Code Comments Using API Documentations19 Mar 2021
- 2021Unified Pre-training for Program Understanding and Generation10 Mar 2021
- 2021DeepCPCFG: Deep Learning and Context Free Grammars for End-to-End Information Extraction10 Mar 2021
- 2021Enhancing the Transformer Decoder with Transition-based Syntax29 Jan 2021
- 2021Retrieval Augmented Code Generation and Summarizationcited by 149
- 2021Retrieval Augmented Code Generation and Summarization26 Aug 2021
- 2021Unified Pre-training for Program Understanding and Generationcited by 366
- 2021Integrating Visuospatial, Linguistic and Commonsense Structure into Story Visualizationcited by 52
- 2021CodeQA: A Question Answering Dataset for Source Code Comprehensioncited by 30
- 2021API2Com: On the Improvement of Automatically Generated Code Comments Using API Documentationscited by 10
- 2021Structured Context and High-Coverage Grammar for Conversational Question Answering over Knowledge Graphscited by 10
- 2023Graph-Induced Syntactic-Semantic Spaces in Transformer-Based Variational AutoEncoderscited by 6
- 2021DeepCPCFG: Deep Learning and Context Free Grammars for End-to-End Information Extractioncited by 3
- 2022Transformer with Tree-order Encoding for Neural Program Generationcited by 3
- 2022Forming Trees with Treeformerscited by 3
- 2025SURGE: On the Potential of Large Language Models as General-Purpose Surrogate Code Executorscited by 3
- 2022ImmunoLingo: Linguistics-based formalization of the antibody languagecited by 2
- 2023APIContext2Com: Code Comment Generation by Incorporating Pre-Defined API Documentationcited by 2
12 most cited of 19 All 19 (JSON)
- 2025Tree Meets Transformer: A Hybrid Architecture for Scalable Power Allocation in Cell-Free Networks27 Dec 2025
- 2025SURGE: On the Potential of Large Language Models as General-Purpose Surrogate Code Executors16 Feb 2025
- 2024Representation Learning of Geometric Trees16 Aug 2024
- 2023Graph-Induced Syntactic-Semantic Spaces in Transformer-Based Variational AutoEncoders14 Nov 2023
- 2023G-MATT: Single-step Retrosynthesis Prediction using Molecular Grammar Tree Transformer4 May 2023
- 2023Spatial Attention and Syntax Rule Enhanced Tree Decoder for Offine Handwritten Mathematical Expression Recognition13 Mar 2023
- 2023APIContext2Com: Code Comment Generation by Incorporating Pre-Defined API Documentation3 Mar 2023
- 2022ImmunoLingo: Linguistics-based formalization of the antibody language26 Sep 2022
- 2022Forming Trees with Treeformers14 Jul 2022
- 2022What AI can do for horse-racing ?11 Jul 2022
- 2022Transformer with Tree-order Encoding for Neural Program Generation30 May 2022
- 2021Trees in transformers: a theoretical analysis of the Transformer's ability to represent trees16 Dec 2021
12 newest of 19 All 19 (JSON)