E-Gen: Leveraging E-Graphs to Improve Continuous Representations of Symbolic Expressions
Not on the map. Why?
Abstract (arXiv)
Vector representations have been pivotal in advancing natural language processing (NLP), with prior research focusing on embedding techniques for mathematical expressions using mathematically equivalent formulations. While effective, these approaches are constrained by the size and diversity of training data. In this work, we address these limitations by introducing E-Gen, a novel e-graph-based dataset generation scheme that synthesizes large and diverse mathematical expression datasets, surpassing prior methods in size and operator variety. Leveraging this dataset, we train embedding models using two strategies: (1) generating mathematically equivalent expressions, and (2) contrastive learning to explicitly group equivalent expressions. We evaluate these embeddings on both in-distribution and out-of-distribution mathematical language processing tasks, comparing them against prior methods. Finally, we demonstrate that our embedding-based approach outperforms state-of-the-art large language models (LLMs) on several tasks, underscoring the necessity of optimizing embedding methods for the mathematical data modality. The source code and datasets are available at https://github.com/MLPgroup/E-Gen.
Key facts. Cited by 1 paper in the map (data through 7 Oct 2026). Builds on 30 of its 57 references that are in the map. First posted on arXiv 24 Jan 2025.
Builds on
30 of 57 references.
References · 30
- 2017Attention Is All You Needcited by 59,932
- 2023GPT-4 Technical Reportcited by 18,132
- 2024The Llama 3 Herd of Modelscited by 14,192
- 2020A Simple Framework for Contrastive Learning of Visual Representationscited by 11,979
- 2018Representation Learning with Contrastive Predictive Codingcited by 7,662
- 2016SGDR: Stochastic Gradient Descent with Warm Restartscited by 4,993
- 2013Efficient Estimation of Word Representations in Vector Spacecited by 4,346
- 2014Learning Phrase Representations using RNN Encoder-Decoder for Statistical Machine Translationcited by 4,016
- 2014Sequence to Sequence Learning with Neural Networkscited by 2,974
- 2021SimCSE: Simple Contrastive Learning of Sentence Embeddingscited by 2,168
- 2018Unsupervised Feature Learning via Non-Parametric Instance-level Discriminationcited by 1,838
- 2023MathVista: Evaluating Mathematical Reasoning of Foundation Models in Visual Contextscited by 1,582
18 more
- 2021Show Your Work: Scratchpads for Intermediate Computation with Language Modelscited by 871
- 2019Deep Learning for Symbolic Mathematicscited by 266
- 2022HyperTree Proof Search for Neural Theorem Provingcited by 192
- 2020Injecting Numerical Reasoning Skills into Language Modelscited by 133
- 2021NaturalProofs: Mathematical Theorem Proving in Natural Languagecited by 80
- 2021MathBERT: A Pre-Trained Model for Mathematical Formula Understandingcited by 58
- 2023SNIP: Bridging Mathematical Symbolic and Numeric Realms with Unified Pre-trainingcited by 41
- 2019Exploration of Neural Machine Translation in Autoformalization of Mathematics in Mizarcited by 40
- 2016Learning Continuous Semantic Representations of Symbolic Expressionscited by 25
- 2019Automatic Generation of Headlines for Online Math Questionscited by 10
- 2022A Survey in Mathematical Language Processingcited by 9
- 2014Mathematical Language Processing Projectcited by 6
- 2018Equation Embeddingscited by 5
- 2022AIFB-WebScience at SemEval-2022 Task 12: Relation Extraction First -- Using Relation Extraction to Identify Entitiescited by 5
- 2017Preliminary Exploration of Formula Embedding for Mathematical Information Retrieval: can mathematical formulae be embedded like a natural language?cited by 3
- 2024STEM-POM: Evaluating Language Models Math-Symbol Reasoning in Document Parsingcited by 3
- 2022Semantic Representations of Mathematical Expressions in a Continuous Vector Spacecited by 2
- 2019Query Auto Completion for Math Formula Searchcited by 1
Built on by
Citing papers per year: 2025: 1.
1 paper.