TL;DR
The authors introduce Score-informed Neural Operator (SciNO), a functional diffusion model framework that leverages neural operators to stably approximate the Hessian diagonal of log-densities for ordering-based causal discovery. By pairing SciNO's precise statistical estimates with the semantic priors of Large Language Models (LLMs) via a new probabilistic control algorithm, they significantly improve causal reasoning performance and scalability without requiring model fine-tuning.
What Problem Does This Paper Address?
Discovering causal relationships from observational data is a fundamental challenge in machine learning. Representing these relationships as a Directed Acyclic Graph (DAG) via combinatorial search is an NP-hard problem that quickly becomes intractable as the number of variables grows.
To scale up, researchers often turn to ordering-based causal discovery. Under the Additive Noise Model (ANM) assumption, these methods simplify the problem by sequentially identifying and removing "leaf nodes" (variables that don't cause any others) to establish a topological ordering of the graph. Identifying these leaf nodes relies heavily on score matching—specifically, calculating the Hessian diagonal of the data's log-density.
However, existing approaches hit a wall:
- Kernel-based methods (like SCORE and CaPS) suffer from cubic computational complexity ($O(N^3)$) and frequently run out of memory on large datasets due to matrix inversion.
- Diffusion-based methods (like DiffAN) scale better but suffer from numerical instability because standard multi-layer perceptrons (MLPs) struggle to accurately compute the second-order derivatives required for the Hessian.
Methods
SciNO solves these stability and scalability issues by shifting score matching from standard Euclidean space into smooth function spaces (Hilbert and Sobolev spaces).
As shown in Figure 1, the authors modify the standard time-conditioned Fourier Neural Operator (FNO) architecture in two key ways:
- Learnable Time Encoding (LTE): Instead of using fixed positional embeddings, SciNO incorporates a continuous, learnable time encoding module. This allows the network to jointly learn spatiotemporal derivatives, stabilizing Jacobian and Hessian estimations near $t \approx 0$.
- Spectral Decomposition: Signals within the Fourier layers are explicitly split into their real and imaginary parts in the spectral domain, providing a more expressive representation of functional information.
Probabilistic LLM Control
Beyond improving data-driven causal discovery, the authors introduce a method to guide autoregressive models (like LLMs) using SciNO's statistics. Instead of treating LLM outputs as binary decisions, they frame causal ordering as a joint inference problem:
$$\mathbb{P}(x_{t+1}|x_{1:t}, \text{stat}, \text{context}) \propto \mathbb{P}_{AR}(x_{t+1}|x_{1:t}, \text{context}) \times \mathbb{P}_{SciNO}(\text{stat}|x_{t+1})$$
Using either rank-based or confidence-interval-based estimators from SciNO, this framework applies soft or hard supervision to guide the LLM's generation loop. This reduces the computational complexity of LLM queries from $O(|V|^2)$ to $O(|V|)$ while incorporating both semantic domain knowledge and rigorous data statistics.
Datasets
The framework was evaluated across a variety of synthetic and real-world benchmarks:
- Synthetic Graphs: Erdös-Rényi (ER) random graphs with node counts $D \in \{2, 3, 5, 10, 30, 50, 100\}$.
- Real/Semi-Synthetic Benchmarks:
- Physics: A 7-variable commonsense dataset modeling water evaporation.
- Sachs: A classic flow-cytometry dataset measuring 8 proteins in human immune signaling.
- BNLearn Collection: Four complex real-world graph structures simulated under both linear and nonlinear ANMs: MAGIC-NIAB (44 nodes), ECOLI70 (46 nodes), MAGIC-IRRI (64 nodes), and ARTH150 (107 nodes).
Key Insights and Ideas
- The Power of Sobolev Spaces: By defining the diffusion process over a Sobolev space ($W^2_k$), SciNO mathematically bounds higher-order derivatives. This fundamentally guarantees the numerical stability of the second-order derivatives needed for Hessian approximation—something standard MLPs cannot do.
- Synergy of Semantics and Statistics: Purely data-driven methods struggle when data is noisy or high-dimensional, while LLMs struggle with structural graph constraints. Combining them via a probabilistic control loop allows the LLM's semantic understanding (e.g., knowing that "Rainfall" likely causes "Moisture Content") to correct statistical errors, and vice versa.
Key Results
SciNO demonstrates substantial performance gains in both accuracy and memory efficiency:
- Order Divergence Reduction: On synthetic ER graphs, SciNO reduces order divergence by an average of 42.7% compared to DiffAN. On real-world datasets, it achieves a 31.5% reduction.
- Memory Efficiency: Unlike kernel-based baselines like CaPS, which throw Out-of-Memory (OOM) errors when sample sizes exceed 100,000, SciNO scales efficiently to large sample sizes due to its neural operator probing strategy.
- Linear ANM Adaptability: SciNO can seamlessly replace the score-matching components of linear frameworks like CaPS, yielding superior structural accuracy (SHD and SID) on high-dimensional benchmarks like ARTH150.
- Supercharging LLMs: When guiding Llama-3.1-8B, the probabilistic control algorithm cuts order divergence by 64% on average, and up to 79% on specific high-dimensional datasets compared to uncontrolled models.
Limitations and Future Work
While highly effective, the authors note a few limitations:
- ANM Dependency: The framework relies on the Additive Noise Model assumption, meaning its identifiability guarantees are restricted to additive functional relationships.
- Continuous Variables Only: SciNO is currently limited to continuous random variables.
Future Directions: The authors plan to extend the neural operator framework to handle discrete or mixed-type datasets, as well as multimodal inputs such as text, images, or time-series sequences.
Summary updated