Abstract
Deep learning models excel at predicting complex dynamics but often lack interpretability. This paper presents a neuro-symbolic framework that extracts human-readable state transition rules from high-dimensional time-series data. By utilizing a Recurrent Temporal Gaussian-Bernoulli Restricted Boltzmann Machine (RTGB-RBM), the approach maps raw pixel data to a discrete hidden space and derives logical "laws of physics" governing state evolutions.
Introduction
Understanding the underlying rules of a dynamic system—such as physical motion or chemical reactions—is a fundamental goal in science and engineering. While deep learning provides powerful predictive capabilities for high-dimensional data like video, it typically operates as a "black box," offering little explanation for its outputs. Conversely, symbolic logic systems are highly interpretable but struggle with raw, noisy data.
This research addresses this gap by proposing a method to automatically extract essential, unobservable factors from raw data and learn the symbolic rules that govern them. The core contribution is the RTGB-RBM, which bridges the divide between continuous visual perception and discrete logical reasoning.
Methodology
The proposed architecture, the Recurrent Temporal Gaussian-Bernoulli Restricted Boltzmann Machine (RTGB-RBM), integrates two specialized components:
- Gaussian-Bernoulli RBM (GB-RBM): Handles continuous input values, such as pixel intensities in video frames.
- Recurrent Temporal RBM (RT-RBM): Captures temporal dependencies, modeling how discrete hidden states evolve over time.
The Rule Extraction Workflow
The process begins by training the model to simultaneously reconstruct input data and predict subsequent frames. Once trained, Gibbs sampling is employed to approximate the conditional probability of a hidden state at time $t$ given the state at $t-1$. These transitions are then formalized into a probabilistic logic format: $$p :: h_{t+1,i} \leftarrow h_{t,1} \wedge \neg h_{t,2} \dots \wedge h_{t,m}$$ This representation allows for human-interpretable rules, such as "If features A and B are present, feature C will occur with probability $p$." To ensure these symbols are grounded in reality, hidden variables are projected back into visual space as "feature maps," enabling researchers to visually verify what each logical variable represents (e.g., a ball moving in a specific direction).
Experimental Setup
The method was evaluated on two benchmarks for visual dynamics:
- Bouncing Ball: A physics simulation involving one or three balls in a 2D box (10,000 videos, 100x100 pixels).
- Moving MNIST: A more complex dataset featuring two overlapping handwritten digits (10,000 sequences, 64x64 pixels).
Results and Discussion
The RTGB-RBM demonstrated superior performance over standard RT-RBMs on continuous data, highlighting the importance of the Gaussian-Bernoulli component for raw video processing.
Interpretability and Accuracy
A key finding is that the model successfully compresses high-dimensional visual noise into a small set of essential hidden variables. In the single-ball scenario, rule-based predictions were highly accurate. As the number of hidden variables increased from 10 to 100, the extracted rules became more granular, leading to a significant drop in prediction error. Even in the Moving MNIST dataset, characterized by visual ambiguity from overlapping digits, the model effectively reconstructed paths and approached the accuracy of full neural models.
Limitations
Despite its success, the model faces challenges with error accumulation; because rules are probabilistic, small discrepancies can compound over long sequences, causing the rule-based trajectory to drift. Additionally, while the model captures individual object dynamics well, representing complex multi-object interactions (like collisions) in a simple logical form remains difficult.
Conclusion
This work demonstrates a viable path toward interpretable AI by grounding symbolic logic in deep neural representations. By extracting "laws of physics" directly from pixels, the RTGB-RBM provides a framework for understanding complex systems without sacrificing the power of deep learning. Future work will focus on enhancing rule expressivity for multi-object interactions and integrating continuous-discrete hybrid rules.
Summary updated