Release
← All projects
ResearchPythonResearch

neusym-bridge

Symbolic causal structure out of neural representations.

A neurosymbolic bridge: detecting shared structure across neural networks (CKA, Procrustes) and extracting causal structure expressible as symbolic rules.

PythonUpdated September 2, 2026

Download

This project has no releases yet.

The source is on GitHub; this page updates itself when a version ships.

Documentation

neusym-bridge

Neurosymbolic bridge: extracting symbolic causal structure from neural network common representations.

Project Structure

neusym-bridge/
├── configs/                    # Experiment configurations
├── docs/results/               # Experiment reports and archived results
├── rules/                      # Relatum rule files
├── scripts/                    # Phase orchestration scripts
│   ├── run_phase0.py           # Data generation + model training
│   ├── run_phase1.py           # Common structure detection (CKA, Procrustes)
│   ├── run_phase2.py           # Physics correspondence (SVCCA, SINDy)
│   └── run_phase3.py           # Collapse mechanism verification
├── src/neusym_bridge/
│   ├── data/                   # PDE solvers and data generation
│   ├── models/                 # CNN world model + training
│   ├── analysis/               # Representation analysis + structure extraction
│   └── relatum/                # Probabilistic collapse mechanism
└── tests/                      # 46 tests

Validation Phases

PhaseStatusKey Result
0: EnvironmentPASS3 models converge (ratio=1.006)
1: Common StructurePASS 4/5CKA=0.944 across 3 CNN models
2: Physics CorrespondenceConditionalSVCCA=0.999, 3 causal directions found
3: Collapse MechanismPASS 6/6Collapse, retraction, active query verified