ENTRO-CORE: Regime-Dependent Entropy-Augmented Control for Dynamical Systems
Project description
๐ด ENTRO-CORE โ Regime-Dependent Entropy-Augmented Control
"Intelligence by Design, Stability by Physics"
ENTRO-CORE is the third project of the EntropyLab research program (E-LAB-03). It investigates entropy-based control architectures for dynamical systems, introducing a hybrid regime-switching controller that combines PID with nonlinear entropy feedback.
Project Code: E-LAB-03 | Lab: Entropy Research Lab | Submitted: April 2026
๐ Table of Contents
- Overview
- Key Finding
- Control Laws
- Experimental Results
- Project Structure
- Installation
- Quick Start
- Validation
- EntropyLab Roadmap
- Documentation
- Citation
- Author
- License
๐ญ Overview
Modern AI systems operate under high-dimensional feedback loops that can lead to instability, especially under long-context reasoning or recursive inference. ENTRO-CORE moves entropy control from an external monitoring layer (ENTRO-AI) into the core control architecture itself.
Instead of: Monitor โ Detect โ Intervene (reactive)
ENTRO-CORE does: Self-regulate internally (proactive)
| Metric | Value |
|---|---|
| PID Final ฮจ (stable regime) | 0.017 |
| ENTRO-CORE Final ฮจ | -0.239 |
| Hybrid Final ฮจ | -0.012 |
| Validation Runs | 5 runs per controller |
| Noise Robustness | ฯ = 0.00 โ 0.15 |
๐ฌ Key Finding
Entropy-based control is regime-dependent, not universally superior.
PID remains optimal in stable linear systems, while entropy-based control provides benefits in near-critical regimes.
| Regime | Optimal Controller |
|---|---|
| Stable linear | PID |
| Near-critical / nonlinear | ENTRO-CORE / Hybrid |
๐ Control Laws
PID Controller
u_PID(t) = K_pยทe(t) + K_iยทโซe(ฯ)dฯ + K_dยทฤ(t)
with e(t) = -ฮจ(t), K_p=0.8, K_i=0.2, K_d=0.3
Entropy-Based Controller (ENTRO-CORE v1)
u_ENTRO(t) = wโยทฯ(ฮจ_norm - ฮธ) + wโยทtanh(ฮจฬ) + wโยทtanh(ฮจฬ)
with wโ=0.5, wโ=0.3, wโ=0.2, ฮธ=1.4
Hybrid Regime-Switching Controller
u(t) = { u_PID(t) if ฮจ(t) < ฮจ_th
{ u_ENTRO(t) if ฮจ(t) โฅ ฮจ_th
with switching threshold ฮจ_th = 1.7
๐ Experimental Results
Under near-critical initial conditions (ฮจ(0)=1.8, ฮจฬ(0)=0.3):
| Controller | Final ฮจ (t=20s) | Outcome |
|---|---|---|
| Uncontrolled | 0.053 | Naturally stable |
| PID | 0.017 | Optimal convergence |
| ENTRO-CORE v1 | -0.239 | Mild overshoot |
| Hybrid (threshold=1.7) | -0.012 | Robust performance |
Noise Sensitivity (Hybrid Controller)
| Noise ฯ | Final ฮจ | Outcome |
|---|---|---|
| 0.00 | 0.339 | Stabilized |
| 0.02 | 0.341 | Stabilized |
| 0.05 | 0.355 | Stabilized |
| 0.10 | 0.412 | Stabilized |
| 0.15 | 0.523 | Stabilized |
๐๏ธ Project Structure
entro-core/
โ
โโโ ๐ README.md # This file
โโโ ๐ LICENSE # MIT License
โโโ ๐ CHANGELOG.md # Version history
โโโ ๐ CONTRIBUTING.md # Contribution guidelines
โโโ ๐ CITATION.cff # Academic citation metadata
โโโ ๐ pyproject.toml # Build configuration
โโโ ๐ requirements.txt # Runtime dependencies
โโโ ๐ requirements-dev.txt # Development dependencies
โ
โโโ ๐ entro_core/ # Core Python package
โ โโโ ๐ init.py # Package entry point
โ โโโ ๐ controller.py # ENTRO-CORE v1 (original)
โ โโโ ๐ controller_v2.py # ENTRO-CORE v2 (negative feedback)
โ โโโ ๐ hybrid_controller.py # Regime-switching controller
โ โโโ ๐ actuator.py # Actuation strategies
โ โโโ ๐ normalize.py # Logistic normalization (Eq. 4)
โ โโโ ๐ state.py # State tracker (ฮจ, ฮจฬ, ฮจฬ)
โ โโโ ๐ control_law.py # Control law u(t) (Eq. 5)
โ
โโโ ๐ simulation/ # Validation simulations
โ โโโ ๐ generate_figures_fixed.py # Trajectory generation
โ โโโ ๐ validation_experiment.py # Full validation suite
โ โโโ ๐ hybrid_test.py # Hybrid controller test
โ โโโ ๐ results/
โ โโโ ๐ trajectories_fixed.csv # Comparison data
โ
โโโ ๐ tests/ # Unit tests
โ โโโ ๐ test_controller.py # Controller tests (21 tests)
โ โโโ ๐ init.py
โ
โโโ ๐ paper/ # Research paper assets
โ โโโ ๐ arxiv/
โ โโโ ๐ entro_core_paper_revised.tex # LaTeX manuscript
โ
โโโ ๐ docs/ # Documentation
โโโ ๐ index.md
โโโ ๐ control_theory.md
โโโ ๐ api_reference.md
โ๏ธ Installation
Requirements
- Python 3.11+
- No external dependencies required (pure Python)
Via PyPI
pip install entro-core
From Source
git clone https://github.com/gitdeeper10/entro-core.git
cd entro-core
pip install -e ".[dev]"
๐ Quick Start
- Import and Use Hybrid Controller
from entro_core.hybrid_controller import HybridController
# Create controller with threshold
controller = HybridController(threshold=1.7)
# Simulate a near-critical state
result = controller.step(psi=1.8)
print(f"u(t) = {result.u:.3f}")
print(f"Mode: {result.mode}") # 'PID' or 'ENTRO-CORE'
print(f"Active: {result.is_active}")
u(t) = 0.423
Mode: ENTRO-CORE
Active: True
- Run Validation Experiment
python simulation/validation_experiment.py
- Generate Comparison Trajectories
python simulation/generate_figures_fixed.py
๐ Validation Results
Test Suite (21 tests)
Category Passed Normalization 4/4 โ Sigmoid 3/3 โ Tanh 3/3 โ Control Law 3/3 โ Actuation 4/4 โ Controller 4/4 โ Total 21/21
๐บ๏ธ EntropyLab Research Roadmap
E-LAB-01 โ
ENTROPIA โ Thermodynamic unification
E-LAB-02 โ
ENTRO-AI โ Entropy-resistant AI inference
E-LAB-03 โ
ENTRO-CORE โ Regime-dependent control (this repository)
E-LAB-04 ๐
ENTRO-ENGINE โ Generalized entropy control framework
E-LAB-05 ๐
ENTRO-FIN โ Financial entropic dynamics
E-LAB-06 ๐
ENTRO-SOCIAL โ Information cascades in networks
E-LAB-07 ๐
ENTRO-QUANTUM โ Quantum entropy extension
E-LAB-08 ๐
ENTRO-BIO โ Biological neural entropy systems
E-LAB-09 ๐
ENTRO-CLIMATE โ Climate entropy modeling
E-LAB-10 ๐
ENTRO-META โ Unified entropy control theory
โ Complete | ๐ In Progress | ๐ Planned
๐ Documentation
Resource Link Full Documentation entropia-lab.netlify.app/entro-core/docs Research Paper (PDF) entropia-lab.netlify.app/entro-core/paper API Reference entropia-lab.netlify.app/entro-core/api Parent Project (ENTRO-AI) entro-ai.netlify.app Foundation (ENTROPIA) doi.org/10.5281/zenodo.19416737
๐ค Contributing
git clone https://github.com/gitdeeper10/entro-core.git
cd entro-core
pip install -e ".[dev]"
pytest tests/
Priority contribution areas:
ยท Smooth switching (sigmoidal interpolation) ยท Additional system dynamics models ยท Real-world validation datasets
๐ Citation
@software{baladi2026entrocore,
author = {Samir Baladi},
title = {ENTRO-CORE: Regime-Dependent Entropy-Augmented Control},
year = {2026},
version = {0.1.0},
publisher = {Zenodo},
doi = {10.5281/zenodo.19431029},
url = {https://doi.org/10.5281/zenodo.19431029},
note = {E-LAB-03. Builds on E-LAB-01 and E-LAB-02}
}
Parent frameworks:
@article{baladi2026entropia,
title = {ENTROPIA: Statistical Dynamics of Information Dissipation},
author = {Samir Baladi},
year = {2026},
doi = {10.5281/zenodo.19416737},
note = {E-LAB-01}
}
@software{baladi2026entroai,
author = {Samir Baladi},
title = {ENTRO-AI: Entropy-Resistant Inference Architecture},
year = {2026},
version = {2.0.0},
doi = {10.5281/zenodo.19284086},
note = {E-LAB-02}
}
๐ค Author
Samir Baladi
ยท Role: Principal Investigator, Interdisciplinary AI Researcher ยท Affiliation: Ronin Institute / Rite of Renaissance ยท Email: gitdeeper@gmail.com ยท ORCID: 0009-0003-8903-0029 ยท GitHub: github.com/gitdeeper10 ยท GitLab: gitlab.com/gitdeeper10
๐ License
MIT License โ see LICENSE for details.
ENTRO-CORE โ Entropy Research Lab โ E-LAB-03
Regime-Dependent Entropy-Augmented Control
https://img.shields.io/badge/PyPI-pip_install_entro--core-red.svg https://img.shields.io/badge/DOI-10.5281/zenodo.19431029-blue.svg
entropia-lab.netlify.app ยท pip install entro-core
Builds on ENTROPIA (E-LAB-01) and ENTRO-AI (E-LAB-02)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file entro_core-0.1.0.tar.gz.
File metadata
- Download URL: entro_core-0.1.0.tar.gz
- Upload date:
- Size: 16.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: ENTRO-CORE-Uploader/0.1.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
59212c76a18876e1b2c8484f0e83bb982510d30245eb3a2f8bac5692b686e79a
|
|
| MD5 |
2dd698c7a3930ee10988cff07e3f0aae
|
|
| BLAKE2b-256 |
6dd63916fc4b4b327647e252e80c393ffd6b63d25e671a80b5ea2a2fcb497abf
|
File details
Details for the file entro_core-0.1.0-py3-none-any.whl.
File metadata
- Download URL: entro_core-0.1.0-py3-none-any.whl
- Upload date:
- Size: 16.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: ENTRO-CORE-Uploader/0.1.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
202fb1bf43148eb7b5f62afbd32315b643b25cb83965b4c9a52706ed8397eb9c
|
|
| MD5 |
67fa00f33c2ada4679ea4d9ec2a0ccd7
|
|
| BLAKE2b-256 |
75920df2f13b9082e76450521291e621e367f2577569a200060b6878b496e9c0
|