Our new X account is live! Follow @wizwand_team for updates
WorkDL logo mark

SNIP: Bridging Mathematical Symbolic and Numeric Realms with Unified Pre-training

About

In an era where symbolic mathematical equations are indispensable for modeling complex natural phenomena, scientific inquiry often involves collecting observations and translating them into mathematical expressions. Recently, deep learning has emerged as a powerful tool for extracting insights from data. However, existing models typically specialize in either numeric or symbolic domains, and are usually trained in a supervised manner tailored to specific tasks. This approach neglects the substantial benefits that could arise from a task-agnostic multi-modal understanding between symbolic equations and their numeric counterparts. To bridge the gap, we introduce SNIP, a Symbolic-Numeric Integrated Pre-training model, which employs contrastive learning between symbolic and numeric domains, enhancing their mutual similarities in the embeddings. By performing latent space analysis, we observe that SNIP provides cross-domain insights into the representations, revealing that symbolic supervision enhances the embeddings of numeric data and vice versa. We evaluate SNIP across diverse tasks, including symbolic-to-numeric mathematical property prediction and numeric-to-symbolic equation discovery, commonly known as symbolic regression. Results show that SNIP effectively transfers to various tasks, consistently outperforming fully supervised baselines and competing strongly with established task-specific methods, especially in the low data regime scenarios where available data is limited. Code and model are available at: https://github.com/deep-symbolic-mathematics/Multimodal-Math-Pretraining

Kazem Meidani, Parshin Shojaee, Chandan K. Reddy, Amir Barati Farimani• 2023

Related benchmarks

TaskDatasetResultRank
Symbolic RegressionSRBench black-box (test)
R^20.3335
28
Symbolic RegressionStrogatz Dataset ϵ = 0.0 (test)
R^20.9952
20
Symbolic RegressionFeynman Dataset epsilon=0.1 (test)
R2 Score0.9917
20
Symbolic RegressionStrogatz Dataset epsilon=0.01 (test)
R2 Score0.9844
20
Symbolic RegressionFeynman Dataset epsilon=0.001 (test)
R299.04
20
Symbolic RegressionStrogatz Dataset epsilon=0.001 (test)
R2 Score0.9667
20
Symbolic RegressionFeynman Dataset epsilon=0.01 (test)
R20.987
20
Symbolic RegressionFeynman Dataset ϵ = 0.0 (test)
R^20.985
20
Symbolic RegressionStrogatz Dataset epsilon=0.1 (test)
R291.87
20
Showing 9 of 9 rows

Other info

Follow for update