Research map / Large language models / Agents, code and math
Analysis of Tree-Structured Architectures for Code Generation
Samip Dahal, Adyasha Maharana, Mohit Bansal
University of North Carolina at Chapel Hill
Read the paperPlace an idea next to itCheck your own paper ↗
11measured effects
7improved
1no clear effect
3hurt
AI-extracted. The measured effects below were read by AI from the paper's full text (no summary yet). Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.
Measured effects reported in the paper
| What was changed | Where | Measured | Effect |
|---|---|---|---|
| encode the constituency tree with a structure-aware Tree Transformer instead of text input | Transformer baseline · CoNaLa test | BLEU: 28.13 -> 30.30 | Improved |
| encode the constituency tree with a structure-aware Tree Transformer | Transformer baseline · ATIS test | accuracy: 75.89 -> 86.83 | Improved |
| feed linearized constituency parse tree instead of text | Transformer baseline · CoNaLa test | BLEU: 28.13 -> 27.71 | Hurt |
| feed linearized constituency parse tree instead of text | Transformer baseline · ATIS test | accuracy: 75.89 -> 53.57 | Hurt |
| add subtree masking (ablation) | structured tree-to-tree · CoNaLa validation | BLEU: 31.76 -> 33.76 | Improved |
| add hierarchical embeddings (ablation) | structured tree-to-tree · CoNaLa validation | BLEU: 32.62 -> 33.76 | Improved |
| increase LSTM parameter count of Xu et al. model | LSTM baseline · CoNaLa | BLEU | No clear effect |
| use structured model when quoted string ends the input | Transformer baseline · CoNaLa test | BLEU: 20.79 -> 26.42 | Improved |
| use structured model when no quoted strings | Transformer baseline · CoNaLa test | BLEU: 10.04 -> 12.42 | Improved |
| use structured model when variable ends the input | Transformer baseline · ATIS test | accuracy: 76.31 -> 88.88 | Improved |
| use structured model for TreeGen comparison | structured tree-to-tree · ATIS test | accuracy: 86.83 vs 89.1 (TreeGen) | Hurt |
Open problems in execution-based code verification
Can execution-based code verification be trusted beyond Python, small benchmarks and the tests it relies on?
- Evaluated on Python or one other language only. · 17 papers state it
- Only a few models were tested, and larger ones were left out. · 16 papers state it
- Passing the tests does not show the code is correct. · 15 papers state it
Closest papers by meaning
- EpiCoder: Encompassing Diversity and Complexity in Code Generation (ICML 2025 · similarity 0.83)
- Divide-and-Conquer Meets Consensus: Unleashing the Power of Functions in Code Generation (NeurIPS 2024 · similarity 0.83)
- Reasoning Through Execution: Unifying Process and Outcome Rewards for Code Generation (ICML 2025 · similarity 0.81)
- AlphaVerus: Bootstrapping Formally Verified Code Generation through Self-Improving Translation and Treefinement (ICML 2025 · similarity 0.81)
- RPM-MCTS: Knowledge-Retrieval as Process Reward Model with Monte Carlo Tree Search for Code Generation (AAAI 2026 · similarity 0.81)
- Let's Revise Step-by-Step: A Unified Local Search Framework for Code Generation with LLMs (NeurIPS 2025 · similarity 0.81)
Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.