oroikono commited on
Commit
feb71a8
·
verified ·
1 Parent(s): 79e13c4

Upload folder using huggingface_hub

Browse files
Files changed (3) hide show
  1. README.md +74 -0
  2. config.json +32 -0
  3. model.safetensors +3 -0
README.md ADDED
@@ -0,0 +1,74 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: sigs
3
+ license: mit
4
+ datasets:
5
+ - oroikono/sigs-symbolic-pde-corpus
6
+ arxiv: 2502.01476
7
+ tags:
8
+ - transformers
9
+ - pytorch
10
+ - scientific-machine-learning
11
+ - neuro-symbolic-ai
12
+ - symbolic-regression
13
+ - pde
14
+ ---
15
+
16
+ # SIGS ICML 2026 Grammar-VAE
17
+
18
+ This repository contains the grammar variational autoencoder used by SIGS,
19
+ **Neuro-Symbolic AI for Analytical Solutions of Differential Equations**
20
+ (Oikonomou et al., ICML 2026).
21
+
22
+ ## Model description
23
+
24
+ SIGS embeds syntactically valid mathematical expressions into a continuous
25
+ latent space and decodes latent vectors under a context-free grammar. The wider
26
+ SIGS pipeline searches that space for closed-form candidates and then refines
27
+ their constants against differential-equation residuals.
28
+
29
+ This is a grammar model, not a natural-language model. Its inputs are one-hot
30
+ grammar-production sequences with shape `[batch, productions, sequence_length]`.
31
+
32
+ ## Loading
33
+
34
+ Install SIGS with its Hugging Face dependencies, then load the checkpoint:
35
+
36
+ ```python
37
+ from sigs.huggingface import SIGSModel
38
+
39
+ model = SIGSModel.from_pretrained("oroikono/sigs-icml-2026")
40
+ ```
41
+
42
+ The associated production-sequence corpus can be represented with Hugging Face
43
+ Datasets, and `examples/train_with_accelerate.py` provides a distributed training
44
+ entry point.
45
+
46
+ ## Intended use
47
+
48
+ - Research on grammar-guided symbolic generation.
49
+ - Reproducing the symbolic proposal component of SIGS.
50
+ - Closed-form differential-equation solution discovery with the wider SIGS
51
+ search and residual-refinement pipeline.
52
+
53
+ ## Limitations
54
+
55
+ - Generated candidates are restricted to the published grammar and maximum
56
+ production-sequence length.
57
+ - The model alone does not certify that an expression solves a differential
58
+ equation; residual, initial-condition, and boundary-condition checks remain
59
+ necessary.
60
+ - Performance outside the PDE families and expression corpus reported in the
61
+ paper has not been established.
62
+
63
+ ## Citation
64
+
65
+ ```bibtex
66
+ @misc{oikonomou2026neurosymbolic,
67
+ title={Neuro-Symbolic AI for Analytical Solutions of Differential Equations},
68
+ author={Oikonomou, Orestis and Lingsch, Levi and Grund, Dana and Mishra, Siddhartha and Kissas, Georgios},
69
+ year={2026},
70
+ eprint={2502.01476},
71
+ archivePrefix={arXiv},
72
+ primaryClass={cs.LG}
73
+ }
74
+ ```
config.json ADDED
@@ -0,0 +1,32 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "architectures": [
3
+ "SIGSModel"
4
+ ],
5
+ "decoder_dropout": 0.0,
6
+ "decoder_hidden_size": 512,
7
+ "decoder_mode": "positional",
8
+ "decoder_num_layers": 1,
9
+ "decoder_rnn_type": "gru",
10
+ "decoder_samples": 1,
11
+ "dtype": "float32",
12
+ "encoder_conv_sizes": [
13
+ 64,
14
+ 128,
15
+ 256
16
+ ],
17
+ "encoder_dropout": 0.0,
18
+ "encoder_hidden_size": 256,
19
+ "encoder_kernel_sizes": [
20
+ 2,
21
+ 3,
22
+ 4
23
+ ],
24
+ "encoder_layer_norm": false,
25
+ "kl_weight": 1.0,
26
+ "latent_size": 32,
27
+ "model_type": "sigs",
28
+ "sequence_length": 72,
29
+ "tightness": 1.0,
30
+ "transformers_version": "5.15.0",
31
+ "vocab_size": 53
32
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c80c59384a6bfe70d5c7cd452a633098d273bac260af0452baa5c4883bbe9aee
3
+ size 24495888