Interpretable Relational Inference with LLM-Guided Symbolic Dynamics Modeling
Organizations: School of Cyber Science and Technology, University of Science and Technology of China, Hefei, Anhui, China.
Abstract
Inferring latent interaction structures from observed dynamics is a fundamental inverse problem in many-body interacting systems. Most neural approaches rely on black-box surrogates over trainable graphs, achieving accuracy at the expense of mechanistic interpretability. Symbolic regression offers explicit dynamical equations and stronger inductive biases, but typically assumes known topology and a fixed function library. We propose COSINE (Co-Optimization of Symbolic Interactions and Network Edges), a differentiable framework that jointly discovers interaction graphs and sparse symbolic dynamics. To overcome the limitations of fixed symbolic libraries, COSINE further incorporates an outer-loop large language model that adaptively prunes and expands the hypothesis space using feedback from the inner optimization loop. Experiments on synthetic systems and large-scale real-world epidemic data demonstrate robust structural recovery and compact, mechanism-aligned dynamical expressions. Code: https://anonymous.4open.science/r/COSINE-6D43.
Figures & tables
| Model | Params | Spr | Kura | MM | CMN |
|---|---|---|---|---|---|
| DeepSeek-R1 | 8B | 1.00 | 1.00 | 0.53 | 0.51 |
| Qwen3 | 8B | 1.00 | 1.00 | 0.54 | 0.66 |
| DeepSeek-R1 | 14B | 1.00 | 0.99 | 0.88 | 1.00 |
| GPT-OSS | 20B | 1.00 | 0.99 | 1.00 | 1.00 |
| DeepSeek-R1 | 32B | 1.00 | 1.00 | 0.94 | 1.00 |
| Qwen3 | 32B | 1.00 | 0.83 | 0.99 | 0.90 |
Appendix figures & tables14 assets
Supplementary material from the paper’s appendix.
Appendix
| Dyn. | Graph | GC | MI | TE | GDP | NRI | RIVA | COSINE |
|---|---|---|---|---|---|---|---|---|
| MM | BA50 | 51.63 | 72.08 | 55.35 | 50.98 | 63.83 | 52.37 | 72.89 |
| ER50 | 54.65 | 64.90 | 53.84 | 52.85 | 59.84 | 52.31 | 73.21 | |
| WS50 | 59.48 | 91.23 | 55.98 | 56.97 | 88.30 | 54.19 | 87.49 | |
| Diff | BA50 | 64.22 | 68.07 | 56.56 | 54.59 | 59.84 | 52.19 | 91.98 |
| ER50 | 58.65 | 56.18 | 53.13 | 63.52 | 81.57 | 52.69 | 81.72 | |
| WS50 | 63.66 | 55.68 | 67.76 | 56.16 | 91.17 | 54.97 | 98.21 |
| Region | Component | Term 1 | Term 2 | Term 3 | Term 4 | Term 5 | Term 6 |
|---|---|---|---|---|---|---|---|
| Arizona | Message | (0.90) | (0.56) | (0.10) | (0.05) | (0.04) | - |
| Update | (0.58) | (0.13) | (0.06) | (0.05) | (0.03) | - | |
| Connecticut | Message | (0.54) | (0.10) | (0.07) | (0.05) | (0.04) | - |
| Update | (0.23) | (0.13) | (0.13) | (0.10) | (0.09) | (0.07) | |
| Illinois | Message | (0.52) | (0.28) | (0.07) | (0.07) | (0.07) | (0.07) |
| Update | (0.43) | (0.38) | (0.10) | (0.09) | (0.08) | (0.04) |