Nickvash Kani, Hongbo Zheng, Suyuan Wang, Neeraj Gangwar
We have not lifted any functions out of this paper's repositories yet, so there is nothing we have run. The repositories linked to it are listed below.
Some links come from the archived Papers with Code dataset (CC BY-SA 4.0): attribution and licence.
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-ofdistribution mathematical language processing tasks, comparing them against prior methods. Finally, we demonstrate that our embeddingbased 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.
The same record, over MCP at https://syntology.ai/mcp:
get_harvested_code_for_paper("2501.14951")
get_code_for_paper("2501.14951")
have("2501.14951")
The run record, dated, one paper per request, free:
curl https://syntology.ai/api/ran/2501.14951.json
A badge for a README (the split and the date, never a ratio):
[](https://syntology.ai/paper/2501.14951)
Connect an agent — have() is free.