# Interpretable Relational Inference with LLM-Guided Symbolic Dynamics Modeling

*Xiaoxiao Liang, Juyuan Zhang, Liming Pan, Linyuan Lü*

[NeurIPS page](https://neurips.cc/virtual/2026/poster/154449) · [Open on the map](../papers.html#p154449)

Category: [Time Series, PDEs & Probabilistic ML](../pcat/9.md) › [Symbolic-Neural Dynamical Modeling](../pgroup/250.md) · Type: new method · Keywords: relational inference, symbolic dynamics, LLM guidance, interpretable machine learning, graph discovery, epidemic modeling

Areas: [Model Architectures & Sequence Modeling](../areas/architectures.md) › Dynamic and relational architectures › Dynamical Systems; [AI for Science](../areas/ai-for-science.md) › Molecular Systems Modeling › Symbolic Dynamics Discovery

## Summary
COSINE is a differentiable framework that jointly discovers interaction graphs and sparse symbolic dynamics, using an LLM to adaptively prune and expand the symbolic library.

## Explained to a 5-year-old
We want to understand how things in a group affect each other by watching how they move over time. Usually, computers hide how they figure it out, but we want them to show the rules. We use a special tool that learns simple rules and a chat buddy that helps pick the right rules. This helps us see clear, easy-to-read formulas that match how the things really work. It works on both made-up examples and real disease data.

## Explained to a 5-year-old, longer
Imagine a crowd of people dancing, and we want to know who is influencing whom by watching their movements. Usually, computers figure this out in a way that is hard to see, like a secret recipe. We want the computer to tell us the clear rules, like simple math equations, that describe how each person affects the others. To do this, we use a tool that can learn those simple equations while also learning which connections exist between the people. We also ask a friendly language helper to suggest new equations and remove the ones that don’t fit. This way, the computer can keep improving its understanding step by step. The result is a set of easy-to-read formulas that look like the real way the crowd behaves. These formulas are compact, meaning they use few words and are easy to read. The method works on made-up examples that we create in the lab. It also works on real data from large disease outbreaks, showing how people spread illness to each other. By seeing these clear rules, scientists can better understand how diseases move through a population. This helps doctors and researchers make better plans to stop the spread.

## For a technical reader
The paper tackles the problem of figuring out hidden relationships between many interacting components by watching how they change over time. Existing neural models can predict outcomes but keep the reasoning opaque, while classic symbolic methods need the structure and equation set to be known beforehand. The authors propose a joint optimization that simultaneously learns a graph of connections and simple symbolic equations that describe the dynamics, using a differentiable formulation. An external large language model is used to continuously suggest or discard equation forms based on feedback from the learning process, keeping the symbolic library relevant. Experiments show the method recovers accurate structures and interpretable equations on both synthetic and real epidemic data.

## Problem
Inferring latent interaction structures from observed dynamics while maintaining mechanistic interpretability is challenging because neural methods are black-box and symbolic regression assumes known topology and fixed function libraries.

## Method
The approach formulates a joint optimization over interaction graphs and symbolic dynamics, using a differentiable symbolic regression layer, and leverages an outer-loop large language model to dynamically adjust the symbolic function library based on inner-loop feedback.

## Results
The approach achieves robust structural recovery and yields compact, mechanism-aligned dynamical expressions on both synthetic and real epidemic data.

## Contributions
It introduces a joint differentiable framework for discovering interaction graphs and sparse symbolic dynamics, and integrates an LLM to adaptively refine the symbolic library, enabling interpretable inference in complex interacting systems.

## Practical relevance
The method can be applied to real-world epidemic datasets to uncover interpretable interaction structures, aiding public health modeling and decision-making.

This page was written by language models from the title and abstract of each paper, and the answers were checked by two other models. It can be wrong: check the paper itself. [Suggest a correction](../feedback/?on=p/154449)
