Research map / Large language models / Language, safety and interpretability
E-Gen: Leveraging E-Graphs to Improve Continuous Representations of Symbolic Expressions
Hongbo Zheng, Suyuan Wang, Neeraj Gangwar, Nickvash Kani
University of Illinois, Urbana Champaign
Read the paperPlace an idea next to itCheck your own paper ↗
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 |
|---|---|---|---|
| train on E-Gen corpus instead of SymPy-generated corpus (seq2seq) | seq2seq · K-Means clustering | accuracy (%): 37.70 -> 96.72 | Improved |
| train on E-Gen corpus instead of SymPy corpus | seq2seq · Mistake detection (mistake class) | F1 (%): 53.61 -> 77.99 | Improved |
| use contrastive learning instead of seq2seq | CL Mean · K-Means clustering | accuracy (%): 96.72 -> 97.61 | Improved |
| use contrastive learning instead of seq2seq | CL Mean / CL Max · Semantic understanding beyond syntactic similarity | accuracy (%): 76.41 -> 50.36 (CL Mean), 48.19 (CL Max) | Hurt |
| use contrastive learning instead of seq2seq | CL Mean / CL Max · Embedding algebra | accuracy (%): 70.38 -> 64.73 (CL Mean), 50.34 (CL Max) | Hurt |
| use max pooling instead of average pooling for seq2seq (ablation) | seq2seq · seq2seq pooling choice | accuracy | Improved |
| use average instead of max pooling in contrastive learning (ablation) | CL Mean vs CL Max · Embedding algebra | accuracy (%): 50.34 -> 64.73 | Improved |
| use seq2seq embeddings instead of prompting GPT-4o | seq2seq · Mistake detection (322 steps, mistake class) | F1 (%): 61.11 -> 78.50 | Improved |
| use seq2seq embeddings instead of GPT-4o | seq2seq · Embedding algebra | accuracy (%): 39.60 -> 70.38 | Improved |
| train on E-Gen corpus (seq2seq) instead of SemEmb | seq2seq · Formula retrieval top-20 | accuracy (%): 45.56 -> 99.41 | Improved |
Open problems in linguistic encoding in LLM representations
Do the linguistic signals found in LLM representations play a causal role, and do they hold across languages and model scales?
- Evaluated on English only, so other languages are untested. · 21 papers state it
- Only small models were studied, and larger ones are untested. · 21 papers state it
- Links to model behaviour are correlational, with no causal test. · 14 papers state it
Closest papers by meaning
- Exploring Equation as a Better Intermediate Meaning Representation for Numerical Reasoning of Large Language Models (AAAI 2024 · similarity 0.86)
- OpenWebMath: An Open Dataset of High-Quality Mathematical Web Text (ICLR 2024 · similarity 0.85)
- Neuro-Symbolic Data Generation for Math Reasoning (NeurIPS 2024 · similarity 0.85)
- MathCoder2: Better Math Reasoning from Continued Pretraining on Model-translated Mathematical Code (ICLR 2025 · similarity 0.85)
- Regress, Don't Guess: A Regression-like Loss on Number Tokens for Language Models (ICML 2025 · similarity 0.85)
- A Compact Model for Mathematics Problem Representations Distilled from BERT (AAAI 2025 · similarity 0.85)
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.