An open exploration of viable human-AI systems.
View the Project on GitHub algoplexity/cybernetic-intelligence
Structural breaks in univariate time series can be detected by observing qualitative shifts in the internal state dynamics of a pretrained Large Language Model (LLM), when presented with Cellular Automata (ECA)-encoded representations of the time series. When ECA evolution is tuned to the edge of chaos, it amplifies underlying dynamical patterns and transitions, which are then reflected as phase-shifts or topological discontinuities in the LLM’s latent state geometry (e.g., activation trajectories, attention flux, curvature, and Fisher Information Metric). These internal state changes can serve as indicators of regime shifts, enabling a cybernetic, model-agnostic detection framework.
| Component | Explanation |
|---|---|
| ECA at Edge of Chaos | ECAs such as Rule 110 exhibit sensitivity to initial conditions and can produce complex structures that reflect temporal dependencies. When applied to time series, they serve as a preprocessing lens to amplify subtle dynamical features. |
| LLM Internal States | Pretrained LLMs process symbolic sequences via high-dimensional embeddings. Their internal states (activations, attention maps, and derivatives) encode rich information about structure, syntax, and anomaly. |
| Structural Breaks | Regime shifts (e.g., changes in volatility or drift) result in distinct symbolic and dynamical signatures which—after ECA transformation—can be detected as internal shifts in the LLM’s latent space. |
| Cybernetic Lens (CIv6) | The system is viable if it can internally track perturbations, reconfigure interpretive dynamics, and signal change without retraining. The LLM serves as a frozen model with dynamic internal state responses—key to the viable system model. |
Transformation:
Probing Strategy:
Optionally extract:
Define change metrics on internal state manifolds:
Thresholding:
Raw Time Series → Symbolic Encoding → ECA Evolution →
→ Tokenization → LLM Internal Probing →
→ State Trajectory Analysis → Structural Break Inference →
→ Feedback to User/System for Interpretability & Adaptation
| Goal | Metric | Baseline | Experimental |
|---|---|---|---|
| Structural Break Detection Accuracy | Precision/Recall, F1 | Bai & Perron (OLS breaks), BIC methods | LLM State Shift + ECA |
| Sensitivity to Minor Shifts | ROC-AUC, Detection Delay | Change Point Detection Libraries | LLM FIM / Loop tracking |
| Generalization | Dataset Transferability | Train on Simulated Data | Evaluate on Market Data |
| Interpretability | Visual & Textual Trace | None | FIM curvature, loop path visualizations |
Finalize Choice of ECA Rules:
Select LLM Probing Interface:
Define Internal State Metrics:
Build Lightweight Prototyping Environment:
Simulate Breaks & Validate Internal Reactions: