Research map / Large language models / Language, safety and interpretability
Tree-Based Representation and Generation of Natural and Mathematical Language
Alexander Scarlatos, Andrew Lan
University of Massachusetts Amherst
Read the paperPlace an idea next to itCheck your own paper ↗
13measured effects
9improved
3no clear effect
1hurt
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 |
|---|---|---|---|
| Use tree position embeddings, tree tokens and constrained decoding (MathGPT) instead of GPT-2 text tokens | GPT-2 · Math23K equation extraction | Tree Match: 47.8 -> 52.4 | Improved |
| Same change | GPT-2 · Math23K equation extraction | Solve Rate: 54.6 -> 60.3 | Improved |
| Same change | GPT-2 · EXEQ-300k next mathematical expression | TED: 4.125 -> 2.656 | Improved |
| Same change | GPT-2 · EXEQ-300k next text region | BLEU-4: 42.5 -> 46.2 | Improved |
| Same change | GPT-2 · EXEQ-300k headline generation | BLEU-4: 55.3 -> 56.5 | No clear effect |
| Same change | GPT-2 · Student action prediction | accuracy: 40.0 -> 41.8 | Improved |
| Same change | GPT-2 · OFEQ-10k headline generation | BLEU-4: 34.8 -> 34.2 | Hurt |
| Add tree position embeddings (ablation) | MathGPT (25 epochs) · Math23K equation extraction | Tree Match: 52.6 -> 53.1 | Improved |
| Add math symbol type embeddings (ablation) | MathGPT (25 epochs) · Math23K equation extraction | Tree Match: 53.0 -> 53.1 | No clear effect |
| Link math token embeddings to text token embeddings instead of learning unique ones (ablation) | MathGPT (25 epochs) · Math23K equation extraction | Tree Match: 51.0 -> 53.1 | Improved |
| Represent numbers as digit subtrees instead of own tokens (ablation) | MathGPT (25 epochs) · Math23K equation extraction | Tree Match: 49.4 -> 53.1 | Improved |
| Pre-train 25 epochs instead of 50 epochs (ablation) | MathGPT · Math23K equation extraction | Tree Match: 52.4 -> 53.1 | Improved |
Open problems in controlled text generation
How can generation be controlled and checked reliably across languages, domains and model sizes without extra cost?
- Each study covers one domain, source or task, so transfer is unknown. · 13 papers state it
- Only a few languages are tested, mostly English or high-resource ones. · 12 papers state it
- Extra stages, calls or tokens make generation slower and costlier. · 10 papers state it
Closest papers by meaning
- An Expression Tree Decoding Strategy for Mathematical Equation Generation (EMNLP 2023 · similarity 0.91)
- E-Gen: Leveraging E-Graphs to Improve Continuous Representations of Symbolic Expressions (NAACL 2025 · similarity 0.91)
- NaturalProver: Grounded Mathematical Proof Generation with Language Models (NeurIPS 2022 · similarity 0.89)
- MathCoder2: Better Math Reasoning from Continued Pretraining on Model-translated Mathematical Code (ICLR 2025 · similarity 0.87)
- Neuro-Symbolic Data Generation for Math Reasoning (NeurIPS 2024 · similarity 0.87)
- Exploring Equation as a Better Intermediate Meaning Representation for Numerical Reasoning of Large Language Models (AAAI 2024 · similarity 0.86)
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.