Closed Causal Information (CCI) is a diagnostic metric for internal temporal dependence in sequential systems.
It measures how much future internal state depends on current internal state after conditioning on external input.
CCI measures dependence, not causation or consciousness.
We consider a system with internal state H_t, external input E_t, and
stochastic noise epsilon_t:
The core objective is to isolate the contribution of internal dynamics from input-driven effects.
Conceptual interpretation only. Metric claims are defined in CLAIMS.md.
The concise vision synthesis from the external blueprint is documented in
theory/master_blueprint.md and explicitly tagged as Interpretive Layer (Vision).
Panel breakdown:
Visuals are explanatory overlays for communication and do not replace metric
evidence in results/ and claim boundaries in CLAIMS.md.
The repository includes an experimental CCI calculator workflow (Gaussian CMI):
- Input tensors:
H_t,H_t1,E_t - Covariance estimation with numerical stabilization
- Cholesky-based log-det computation
- Adaptive jitter policy for near-singular covariance
- Outputs: CCI (bits), rolling CCI trend, optional delta-CCI, used jitter diagnostics
H_t:[N, d_h]H_t1:[N, d_h]E_t:[N, d_e]
The implementation uses covariance factorization with Cholesky stabilization.
- Primary benchmark comparison uses
bias_correctedCCI. rawCCI is retained for diagnostics but can be inflated in high-dimensional finite-sample settings.- Transformer non-zero CCI is conditional dependence evidence only and not proof of autonomy.
- Methods note:
docs/methods.md. - Claims contract:
docs/claims_contract.md.
- Hidden-state diagnostics beyond outputs.
- Regime-shift monitoring (rolling CCI / delta-CCI).
- Architecture-level comparison (bias-corrected CCI).
- Safety-relevant exploratory signal (latent loop persistence).
- Primary metric:
bias_corrected = max(raw_cmi - permutation_null_mean, 0). - Raw retained for diagnostics.
- Seeds + per-run in
results/cci_values.json. - Cholesky + adaptive jitter (
1e-7..1e-4). pytestsanity + shape checks.- Interpretation boundaries and non-claims are governed by
CLAIMS.md.
- Internal temporal dependence
- Hidden-state persistence
- Regime shifts in latent dynamics (via CCI trend / delta-CCI)
- Non-Gaussian CMI estimators.
- Cross-model benchmark suite.
- Online regime monitoring.
- External validation datasets.
Open an issue with a reproducible benchmark proposal.
See docs/applications.md for evidence-tiered application scope.
Documentation updates should preserve boundaries defined in CLAIMS.md.
- Use issue templates in
.github/ISSUE_TEMPLATE/:benchmark_proposal.ymlrepro_mismatch.ymlbug_report.yml
- Use
.github/pull_request_template.mdfor PR checklist and reproducibility notes. - Compare against
results/reference_v0_1_1.jsonwhen reporting mismatches.
- No causal proof.
- No consciousness detection claim.
1.0 bitis operational in this setup only, not universal.- See
docs/claims_contract.mdandCLAIMS.mdfor required qualifiers.
- AI model diagnostics: reactive vs recurrent separation
- Training regime shift monitoring
- Hidden-state persistence tracking
- Architecture comparison (FF/RNN/Transformer)
- Anomaly/regime change signal in agent loops (exploratory)
- Medical, legal, and policy contexts are future validation hypotheses and not current evidence-backed claims in this repository.
- Consciousness-related interpretation remains speculative and cannot be inferred from CCI alone.
- See
docs/applications.mdfor full evidence tiers andCLAIMS.mdfor scope.
- Feedforward vs recurrent comparison
- Training dynamics tracking
- Input invariance test (noise vs structured)
- Transformer baseline evaluation
Comparative benchmark reporting uses bias-corrected CCI as primary value.
This repository now includes an EEG-oriented experimental pipeline as an extension layer on top of the current CCI benchmark core.
app.pycore/models.pycore/engine.pydata/sample_eeg.pyresearch/cci_validation.py
pip install -r requirements.txt
streamlit run app.pypython research/cci_validation.pyThis writes an exploratory JSON summary to results/eeg_validation.json.
streamlit run app.py
python research/cci_validation.pyOutput:
results/eeg_validation.json
This EEG extension is exploratory and provides a diagnostic dependence signal. It does not constitute proof of consciousness or causal agency.
1.0 bit is an operational threshold in this setup. It is not a universal
constant and must be interpreted with assumptions from CLAIMS.md.
- A concise application-oriented technical note is available at
paper/Paper.pdf. - It presents CCI application domains in a diagnostic, input-conditioned, non-causal framing.
- It is intended as a citation/readability anchor for reviewers.
pip install -r requirements.txt
python run_all.py



