karan commited on
Commit
b349fbd
·
1 Parent(s): 79c206a

updated ReadMe

Browse files
Files changed (1) hide show
  1. README.md +168 -21
README.md CHANGED
@@ -1,36 +1,183 @@
1
- # SynPAT: Synthetic Physical Theories with Data
2
 
3
- This dataset contains systems of dimensionally consistent equations generated across various configurations of:
 
 
4
 
5
- - Number of variables: 6 to 9
6
- - Number of derivatives: 2 to 4
7
- - Number of equations: 4 to 6
8
 
9
- Each configuration includes three generated systems with:
10
 
11
- - Symbolic equations (`system.txt`)
12
- - Numerical data (`system.dat`)
13
- - Replacements (`replacement_*.txt`)
14
- - Consequences (`consequence.txt`, `consequence.dat`)
15
- - Noisy variants for each noise level (`*_0.001.dat`, ..., `*_0.1.dat`)
16
 
17
- ## Purpose
18
 
19
- Designed to benchmark symbolic regression models on machine-assisted physical discovery tasks.
 
 
20
 
21
- ## File structure
22
 
23
- The dataset is packaged as a single `dataset.zip` archive. Inside are directories for each configuration (`vars_X_derivs_Y_eqns_Z/`) containing 3 systems each.
 
 
 
 
24
 
25
- ## Citation
26
 
27
- > Srivastava et al., **SynPAT: A System for Generating Synthetic Physical Theories with Data**, NeurIPS 2025 (submitted)
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
28
 
29
  ## License
30
 
31
- [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/)
32
 
33
- ## Related resources
34
 
35
- - 📘 [Project GitHub](https://github.com/jlenchner/theorizer)
36
- - 📄 [Croissant metadata](https://w3id.org/croissant)
 
1
+ # SynPAT: Generating Synthetic Physical Theories with Data
2
 
3
+ This is the Hugging Face dataset entry for **SynPAT**, a synthetic theory and data generation system developed for the paper:
4
+ **SynPAT: Generating Synthetic Physical Theories with Data**
5
+ GitHub: [https://github.com/jlenchner/theorizer](https://github.com/jlenchner/theorizer)
6
 
7
+ SynPAT generates symbolic physical systems and corresponding synthetic data to benchmark symbolic regression and scientific discovery algorithms. Each synthetic system includes symbolic equations, dimensionally consistent variables/constants, algebraic consequences, and both clean and noisy datasets.
 
 
8
 
9
+ ---
10
 
11
+ ## Dataset Structure
 
 
 
 
12
 
13
+ The dataset is organized hierarchically by configuration and system index:
14
 
15
+ ```
16
+ dataset/{config}/System_{n}/
17
+ ```
18
 
 
19
 
20
+ Where:
21
+ - `{v}` ∈ {6, 7, 8, 9} is the number of symbolic variables
22
+ - `{d}` ∈ {2, 3, 4} is the number of derivatives (among the symbolic variables)
23
+ - `{e}` ∈ {4, 5, 6} is the number of equations in the system
24
+ - `{n}` ∈ {1, 2, 3} indexes the individual system instances per configuration
25
 
26
+ Each `System_{n}` directory contains exactly 18 files:
27
 
28
+ ### Symbolic System and Consequence:
29
+ - `system.txt` — base symbolic system with metadata including variable types, units, constants, and equations
30
+ - `consequence.txt` — derived consequence equation (single polynomial) with associated metadata
31
+
32
+ ### Clean Data:
33
+ - `system.dat` — clean numerical dataset corresponding to `system.txt`
34
+ - `consequence.dat` — clean data for the consequence polynomial
35
+
36
+ ### Noisy Data:
37
+ For each noise level ε ∈ {0.001, 0.01, 0.05, 0.1}, the following files are included:
38
+ - `system_ε.dat` — noisy system data with Gaussian noise of standard deviation ε
39
+ - `consequence_ε.dat` — noisy consequence data with Gaussian noise of standard deviation ε
40
+
41
+ This results in:
42
+ - 4 `system_ε.dat` files
43
+ - 4 `consequence_ε.dat` files
44
+
45
+ ### Replacement Systems:
46
+ - `replacement_1.txt` through `replacement_5.txt` — versions of `system.txt` where one axiom has been replaced, used for consequence prediction benchmarking under ablation.
47
+
48
+ ### Summary of File Count per System:
49
+ - 2 base files: `system.txt`, `consequence.txt`
50
+ - 2 clean data files: `system.dat`, `consequence.dat`
51
+ - 8 noisy data files: `system_ε.dat`, `consequence_ε.dat` for 4 ε values
52
+ - 5 replacement files: `replacement_1.txt` through `replacement_5.txt`
53
+
54
+ **Total per system:** 2 + 2 + 8 + 5 = **17 files**
55
+
56
+ Each configuration folder (`vars_{v}_derivs_{d}_eqns_{e}`) contains exactly three systems: `System_1`, `System_2`, `System_3`.
57
+
58
+ The full dataset spans all 4 × 3 × 3 = **36 configurations**, totaling **108 systems** and **1836 files**.
59
+
60
+
61
+ ## File Format Example
62
+
63
+ ### system.txt
64
+
65
+ `system.txt` contains the symbolic system, including variables, constants, derivatives, equations, and units:
66
+
67
+ ```text
68
+ Variables: ['Fc', 'Fg', 'W', 'd1', 'd2', 'm1']
69
+ Constants: ['G', 'c']
70
+ Derivatives: ['dx1dt', 'd2x1dt2', 'dx2dt']
71
+ Equations:
72
+ dx1dt*dx2dt*d2*m1 - W*d1
73
+ d2x1dt2*W*m1 - Fc*Fg*d1
74
+ 2*c*Fg + dx2dt*Fc - dx2dt*Fg
75
+ G*d2x1dt2*d2*m1 + G*Fc*d2 - G*W + 4*d2x1dt2*dx1dt^2*d1^2
76
+ -d2x1dt2*Fc*m1 + d2x1dt2*Fg*m1 + Fc*Fg
77
+ Units of Measure of Variables: ['s^(-2)*kg*m', 's^(-2)*kg*m', 'm^2*s^(-2)*kg', 'm', 'm', 'kg']
78
+ Units of Measure of Constants: ['1/kg*m^3*s^(-2)', '1/s*m']
79
+ Units of Measure of Derivatives: ['1/s*m', 's^(-2)*m', '1/s*m']
80
+ Units of Measure of Equations:
81
+ m^3*s^(-2)*kg
82
+ kg^2*m^3*s^(-4)
83
+ m^2*s^(-3)*kg
84
+ m^5*s^(-4)
85
+ kg^2*m^2*s^(-4)
86
+ ```
87
+
88
+ ### consequence.txt
89
+
90
+ `consequence.txt` includes **additional metadata** for data generation and symbolic regression tasks:
91
+
92
+ ```text
93
+ Variables: ['Fc', 'Fg', 'W', 'd1', 'd2', 'm1']
94
+ Constants: ['G', 'c']
95
+ Derivatives: ['dx1dt', 'd2x1dt2', 'dx2dt']
96
+ Equations:
97
+ dx1dt*dx2dt*d2*m1 - W*d1
98
+ d2x1dt2*W*m1 - Fc*Fg*d1
99
+ 2*c*Fg + dx2dt*Fc - dx2dt*Fg
100
+ G*d2x1dt2*d2*m1 + G*Fc*d2 - G*W + 4*d2x1dt2*dx1dt^2*d1^2
101
+ -d2x1dt2*Fc*m1 + d2x1dt2*Fg*m1 + Fc*Fg
102
+ Units of Measure of Variables: ['s^(-2)*kg*m', 's^(-2)*kg*m', 'm^2*s^(-2)*kg', 'm', 'm', 'kg']
103
+ Units of Measure of Constants: ['1/kg*m^3*s^(-2)', '1/s*m']
104
+ Units of Measure of Derivatives: ['1/s*m', 's^(-2)*m', '1/s*m']
105
+ Units of Measure of Equations:
106
+ m^3*s^(-2)*kg
107
+ kg^2*m^3*s^(-4)
108
+ m^2*s^(-3)*kg
109
+ m^5*s^(-4)
110
+ kg^2*m^2*s^(-4)
111
+
112
+ Measured Variables: ['d1', 'Fg', 'm1', 'W']
113
+ Observed Constants: []
114
+ Measured Derivatives: ['d2x1dt2']
115
+
116
+ Target Polynomial:
117
+ d1*m1*d2x1dt2*Fg^2 - m1^2*d2x1dt2^2*W + m1*d2x1dt2*W*Fg
118
+ ```
119
+
120
+ ### replacement_i.txt
121
+
122
+ `replacement_i.txt` has the same format as `system.txt` but with one axiom replaced by a different, dimensionally consistent axiom
123
+ ```text
124
+ Variables: ['Fc', 'Fg', 'W', 'd1', 'd2', 'm1']
125
+ Constants: ['G', 'c']
126
+ Derivatives: ['dx1dt', 'd2x1dt2', 'dx2dt']
127
+ Equations:
128
+ dx1dt*dx2dt*d2*m1 - W*d1
129
+ >>> c*Fc*d2 + c*Fg*d1 - dx1dt*Fg*d1 + dx2dt*Fg*d2 + dx2dt*W <<<
130
+ 2*c*Fg + dx2dt*Fc - dx2dt*Fg
131
+ G*d2x1dt2*d2*m1 + G*Fc*d2 - G*W + 4*d2x1dt2*dx1dt^2*d1^2
132
+ -d2x1dt2*Fc*m1 + d2x1dt2*Fg*m1 + Fc*Fg
133
+ Units of Measure of Variables: ['s^(-2)*kg*m', 's^(-2)*kg*m', 'm^2*s^(-2)*kg', 'm', 'm', 'kg']
134
+ Units of Measure of Constants: ['1/kg*m^3*s^(-2)', '1/s*m']
135
+ Units of Measure of Derivatives: ['1/s*m', 's^(-2)*m', '1/s*m']
136
+ Units of Measure of Equations:
137
+ m^3*s^(-2)*kg
138
+ m^3*s^(-3)*kg
139
+ m^2*s^(-3)*kg
140
+ m^5*s^(-4)
141
+ kg^2*m^2*s^(-4)
142
+ ```
143
+
144
+ ### Data Files
145
+
146
+ Each `.dat` file contains rows of numerical data corresponding to samples used for learning or evaluation. Each row represents one data point.
147
+
148
+ **system_0.1.dat** (first few rows of noisy system data):
149
+
150
+ ```text
151
+ 1.925664644193098241e+00 2.872700594236812677e+00 ...
152
+ ```
153
+
154
+ **Header of .dat files**:
155
+
156
+ ```text
157
+ G c dx1dt d2x1dt2 dx2dt Fc W d1 Fg m1 d2
158
+ 1.000000 1.0000000 ......
159
+ ```
160
+
161
+ - `system.dat` and its noisy versions (`system_0.001.dat`, `system_0.01.dat`, `system_0.05.dat`, `system_0.1.dat`) contain all variables, constants, and derivatives used in the full symbolic system. The data columns follow the same fixed order shown in the header.
162
+
163
+ - `consequence.dat` and its noisy versions (`consequence_0.001.dat`, `consequence_0.01.dat`, etc.) contain only the subset of constants, derivatives, and variables needed to evaluate the consequence polynomial in `consequence.txt`. The columns are ordered as: constants first, followed by any measured derivatives, and then the measured variables.
164
+
165
+ ---
166
+
167
+ ## Authors
168
+
169
+ - **Karan Srivastava** — University of Wisconsin-Madison (ksrivastava4@wisc.edu)
170
+ - **Jonathan Lenchner** — IBM T.J. Watson Research Center (lenchner@us.ibm.com)
171
+ - **Joao Goncalves** — IBM T.J. Watson Research Center (jpgoncal@us.ibm.com)
172
+ - **Lior Horesh** — IBM T.J. Watson Research Center (lhoresh@us.ibm.com)
173
+
174
+ ---
175
 
176
  ## License
177
 
178
+ MIT License
179
 
180
+ ---
181
 
182
+ For issues, questions, or contributions, please visit:
183
+ [https://github.com/jlenchner/theorizer](https://github.com/jlenchner/theorizer)