AdaptiveMind · Studio · Singh
AdaptiveMind/Research/Semantic Gravity
Paper page·Deterministic dynamics
2026-03-22

Semantic Gravity

Topology-governed attractor dynamics.

In compositional Hopfield-type networks, whether a metastable plateau can escape is (empirically) determined by a topological property: out-degree in a directed transition graph.

Preprint v8 · ~1.7 MB · CC-BY-4.0 · Empirical finding, not a formal theorem

One-line claim

Topology sets feasibility. Energy sets the toll.

Headline number

399 / 400 plateaus (99.75 %) across 5 seeds.95 % CI [0.986, 1.000].

Abstract

We study state transitions in high-dimensional deterministic dynamical systems with multiple attractors. In compositional attractor networks (Hopfield-type; D up to 50,000), we observe an empirical correspondence: basin escape from metastable plateau states matches a topological criterion derived from a directed transition graph.

Construct a directed graph by forcing trajectories across basin boundaries (α > 0). Nodes with out-degree > 0 consistently admit escape; nodes with out-degree = 0 behave as absorbing sinks (399/400 across 5 independent seeds). Local geometric predictors (energy, velocity, eigenvalues, direction alignment, noise) are weaker and do not uniquely determine feasibility.

Practical implication: treat topology as the road map (which transitions exist) and energy as the toll (how hard they are). This paper also describes a zero-configuration pipeline that applies the same machinery to real-world datasets and reports what it can and cannot validate.

Rosetta Stone — four readings of the same object

The same dynamical object admits four readings: as a Sanskrit cognitive ontology, as a mathematical structure, as a Legitimation Code Theory (LCT) construct, and as an engineering artefact. The mapping is not metaphorical decoration — it is operational. A “samskara” is not like a learned weight; under this framing, it is one, with the same equations of motion.

Why this table comes first
Mathematicians dismiss the Sanskrit. Theologians dismiss the math. LCT scholars wonder why their framework is being used for individual cognition rather than institutional knowledge practices. The Rosetta Stone is the survival condition of the bridge.

SanskritMathematical objectLCT constructEngineering analogue

Saṃskāra

latent imprint

Recurrent weight matrix W = Σₖ pₖpₖᵀ; encodes the learned attractor landscape.Semantic Density (SD+) — accumulated condensation of meaning into a symbol that resists unpacking.Persistent learned bias / pre-trained weights; learned priors that resist update.

Guṇas

Sattva · Rajas · Tamas — three modes

Control parameters (α, β): forcing magnitude α and recurrence gain β tune basin geometry.Semantic Gravity (SG±) — the three modes parameterize landscape rigidity vs plasticity.System tuning knobs / gain scheduling; control-loop hyperparameters.

Karma

action / accumulated trajectory

Trajectory x(t) under dQ/dt = -Q + tanh(βWQ) + αF; integrated path through state-space.Semantic profile / semantic wave — the temporal sequence of moves along the SG-SD axes.Execution trace / event log; trajectory replay; the path the system actually took.

Mokṣa

liberation / escape

deg⁺(v) > 0 in the directed transition graph; basin escape under unforced dynamics (α = 0).Semantic-gravity flattening — uncoupling from a fixed code; recovering profiling capacity.System reset / escape from deadlock; releasing a held lock; cold-start of a stuck process.

Buddhi

intellect / discriminating faculty

Policy / objective function over forces F; the meta-controller that selects α and direction.Semantic profiling — the meta-skill of moving up and down the SG axis on demand.Loss / objective function; meta-controller; the policy that decides which intervention to apply.

Ahaṃkāra

ego / I-maker

Fixed-point attractor under high β·W with dQ/dt → 0; deg⁺(v) = 0 — no out-edges at accessible α.Strong Semantic Gravity (SG++) — a tightly coded position resistant to re-codification.Hard-coded identity loop / system-prompt-induced fixed point; a node refusing to release a distributed lock.

Source ontology · Bhāgavad Gītā + classical Sāṅkhya · Maton (2014) · Hopfield (1982) · io-gita engine

Delivery overview

The system uses high-dimensional bipolar vectors and compositional pattern construction to produce a fixed-point-rich landscape. Dynamics evolve under a continuous ODE with optional forcing.

A. Compositional patternsB. Forced exploration → transition graphC. Topology predicts escapeAtoms (random bipolar vectors)Pattern generationp = sign(Σ w_k a_k)Hebbian W ≈ Σ p_i p_iᵀ / DEnergy landscape (many basins)Metastable plateaus near boundariesForce trajectories (α > 0)Edges = successful forced crossingsGraph is a map of feasibilityAtlas build: test N·(N-1) edges at α levelsOutputs• Directed edges (asymmetric)• SCC core, hubs, sinks• α-thresholds (transition cost)Unforced settle (α = 0)deg⁺ = 0absorbing sinkdeg⁺ > 0escape possibleProposition (empirical)deg⁺(v) > 0 ⇔ escape(v)Key separations• Topology: feasibility• Energy: transition costScope• Compositional patterns• Deterministic dynamics
Delivery overview: compositional Hopfield patterns generate many attractor basins; forced transitions map a directed feasibility graph; and (in the tested regime) out-degree predicts whether metastable plateau states can escape.

Representation

  • D = 10,000 baseline (tested up to 50,000)
  • Atoms: random bipolar vectors in {-1, +1}^D
  • Patterns: p = sign(Σ w_k a_k) (compositions)
  • Hebbian recall without storing D×D weights

Dynamics

  • ODE: dQ/dt = -Q + φ(β·Hebbian(Q)) + αF
  • α = 0: unforced settle (escape test)
  • α > 0: forced exploration (atlas build)
  • Euler baseline; RK2 available (see limitations)

Interactive: state-space explorer

Drag the sliders. Watch the trajectory move. The dynamics below are the same equation as the full system — dq/dt = -q + tanh(β·W·q) + α·F — projected to two dimensions with two compositional patterns (Rajas, Tamas) and the origin (Sattva) emerging as the quiescent attractor.

Lower β with both forces near zero and the trajectory settles toward Sattva. Push α_R high and the system flows into Rajas. Hold both forces simultaneously and the landscape’s topology — not energy alone — decides where you land. Save state vectors as you experiment. Comparing them turns a toy into a diagnostic.

STATE-SPACE EXPLORER / 001REC ●SATTVA · RAJAS · TAMAS — 2D projection
q₁q₂SATTVARAJASTAMASPEDAGOGICAL 2D PROJECTION · FULL SYSTEM IS D=10,000

Live state

q₁0.020q₂-0.020basinSATTVAd(Sattva)0.028d(Rajas)1.160d(Tamas)1.065

α_R · Rajas force

0.25

activity / passion attractor pull

α_T · Tamas force

0.00

inertia / stagnation attractor pull

β · recurrence gain

2.00

sharpness of the attractor landscape

Honest result · This is a 2D pedagogical projection. The full system runs at D = 10,000 with 60 patterns. The 2D version preserves the equation form but not the high-dimensional basin geometry.

Milestones: how the invariant was found

This work was not a single clean “paper experiment”. It was a tight loop of building a landscape, watching it misbehave, killing hypotheses, and turning every surviving claim into a pre-registered test. The milestone codes (M1, M10, M24…) are the actual internal sequence of that search.

The story arc is simple: compositions create structure → structure creates plateaus → plateaus force the question of escape → every local explanation fails → topology remains.

Phase 1 · M1–M9

Structured composition creates basins (and surprises).

Eight atoms generate a fixed-point-rich landscape. 17.5% of random queries land in emergent states; 97.2% of those are stable attractors (as measured in the original run).

Phase 2 · M10

The first collapse: the discrete trick was lying.

Switch sign() to tanh() and the “emergent attractors” vanish. The phenomenon is not an energy minimum of the continuous system; it’s a discretization artifact.

Phase 3 · M11

Metastability appears: slow manifolds, not endpoints.

With a proper ODE, trajectories linger 300+ steps near boundaries. Linger time jumps 13–26×. The computation is now a path, not a point.

Phases 8–12 · M15–M19

Forcing turns the landscape into a directed atlas.

Sequential forcing shows order effects; a full atlas sweep maps 3,540 directed edges. At α=0.50, edge density reaches 36.6%, with a 49/60 SCC core and ~74% one-way streets. Forced transitions are mostly CLEAN and direct (95–100%).

Phases 13–16 · M20–M23

Kill the local explanations (energy, saddles, noise, direction).

Plateaus sit at higher energy (not wells), show no unstable eigenmodes (not saddles), and ignore noise across tested σ ranges. Velocity predicts weakly (AUC≈0.67) but does not cause escape under interventions. Direction alignment is anti-correlated.

Phase 17 · M24

Star result: topology predicts escape (empirical).

Build a directed transition graph via forced perturbations; then test unforced escape. In the reported run: deg⁺(v)>0 ⇔ escape(v), perfectly on the seed-42 set; 399/400 across 5 seeds in the manuscript summary.

Phases 21–26 · M27–M35

Feasibility vs cost, and the end of “toy system” objections.

A separation emerges: topology governs whether an edge exists; energy helps predict how hard it is (α threshold). Scaling tests report the same correspondence up to D=50,000.

Phase 30 · M52

Critical dimension search: governance holds down to D=500.

Binary search fails to find the cliff. Reported: 100% correspondence from D=500 → 10,000 with large runtime wins at lower D.

Main result: topology determines escape (empirical)

Plateau states are metastable slow regions: trajectories can dwell for 300+ steps before converging. The question is whether a given plateau can escape to a different basin under unforced dynamics (α = 0).

Proposition (tested)
deg⁺(v) > 0 ⇔ escape(v)

Across 5 seeds × 80 plateaus (400 total), correspondence is 399/400 (99.75%). Seed 42 achieves 80/80 (100%); one false negative appears across the multi-seed sweep, interpreted as a protocol sensitivity limit rather than a “governance failure”.

Alternative predictors are systematically tested: residual velocity has moderate AUC (~0.67), energy difference yields ROC ≈ 0.75 (partial), eigenvalue analysis finds no unstable modes, and injected noise does not change escape rates across tested σ values. The graph out-degree criterion dominates feasibility prediction in the tested regime.

Kill-list: local predictors that failed

Five plausible local explanations were tested against the topology criterion and rejected. This is the “negative result” archive — the predictors that shouldhave worked under standard dynamical-systems intuition, and didn’t. M20–M23, run before the M24 star result was accepted.

PredictorMetricValueVerdict

Velocity (residual flow)

AUC0.67Above chance, weak. M22 interventions at trajectory midpoint produced 0% causal effect. Velocity reads escape, does not cause it.

Energy difference (ΔE)

ROC0.75Predicts cost, not feasibility. M27: r = -0.07 between force-alignment and edge existence. Separation principle holds.

Eigenvalue analysis

Unstable modes0 / 60Plateaus are locally stable, not saddle points. Mean λ = 0.950. M20b: 0/60 committor-informative.

Noise robustness (Langevin σ)

Exit-rate Δ at σ ∈ [0, 0.10]0%Noise irrelevant at all tested levels. Identical 8% exit rates. M20c: stochasticity is not the mechanism.

Direction alignment (velocity → exit)

Mann-Whitney effectnear chanceAnti-correlated. Escapable plateaus are NOT pointed at their exit. Geometry contradicts the obvious local heuristic.

Source · paper §M20–M23 · all alternatives eliminated before topology was accepted as the governing criterion

Separation principle: cost vs feasibility

The paper distinguishes two non-overlapping roles. Topology answers whether a transition can exist (feasibility). Energy and alignment influence how hard it is (the forcing threshold).

Summary

  • Topology sets the roads: which directed edges exist.
  • Energy sets the toll: α threshold (transition cost).
  • Edge existence shows near-zero dependence on energy diff/alignment in tested tables; cost does.

Height formula: predicting transition cost

Given that feasibility is graph-structural, transition cost is modeled as an α threshold. A simple linear form with three features predicts thresholds with LOO-CV R² = 0.676 (n = 262).

Three predictors

  • Energy difference (downhill cheaper than uphill)
  • Source out-degree (high-outdeg sources are easier to leave)
  • Destination in-degree (popular destinations are easier to reach)

Nonlinear models and extra feature families do not exceed the linear baseline, suggesting the ceiling is feature-level (about 32% variance unexplained) rather than model-level.

Domain transfer and scope

The correspondence holds across multiple compositional domains (including non-philosophical structured constructions) and across dimensions. A key boundary: PCA-derived patterns from real data behave differently and show reduced correspondence (10–40%).

Where it holds

  • Compositional patterns (sign of weighted atom sums)
  • Deterministic ODE dynamics
  • Multiple seeds and parameter sweeps (reported)

Where it does not

  • PCA-derived patterns from real datasets: 10–40% correspondence
  • Claims about true stochastic transition systems are out of scope
  • Formal proof of basin-adjacency interpretation is open

Practical application: zero-configuration RCA

The framework is packaged into an end-to-end pipeline that takes a CSV and produces a five-dimensional root cause analysis (WHAT/WHY/HOW/WHEN/WHERE). It auto-detects types, selects an encoding strategy, calibrates ODE parameters, maps an atlas, and reports validations and failure modes.

Reported domain table (paper)

  • 6/7 datasets: 5/5 validation with zero configuration (per paper table)
  • Chronic disease dataset: 3/5 due to extreme class imbalance (128:1)
  • Medical note: SUPPORT2 basins can all be sinks; pipeline value becomes interpretability/routing

This page is a narrative version; the project landing page for the full system is io-gita.

Real-world validation

The pipeline was applied to eight independent public datasets across medicine, population health, manufacturing, finance, education, HR, and chronic disease — with zero domain-specific configuration. Pass rate: 7 of 8 at 5/5; one failure (chronic disease, AUC 0.33) reported, not hidden. The failure mode is data (128:1 class imbalance), not pipeline.

Honest framing
Topology adds +0.0002 AUC over a strong XGBoost baseline on SUPPORT2. The value is interpretability and routing, not accuracy lift. WHO replication delivered 24/40 (60%) clustering, not the unverified 23/23 (100%) originally claimed — published as the lower number.

SUPPORT2 · ICU mortality

p = 2.7 × 10⁻²⁵

  • n = 9,105 critically ill patients
  • AUC = 0.91 (XGBoost baseline)
  • OR = 1.65, ARF/MOSF vs other
  • All 4 disease basins are sinks — escape claim uninformative on this graph

WHO · life expectancy

p = 7.7 × 10⁻¹⁵

  • χ² = 60.4
  • 24 / 40 struggling nations in Q1 basin (60%)
  • R² = 0.96 on quartile prediction
  • Honest replication. Original unverified claim was 23/23.
#DomainDatasetMetricp-valueScore
01

Medical · ICU mortality

Hospital death rate: 31.3% ARF/MOSF vs 21.7% other (OR = 1.65). All 4 disease-class basins are sinks — confirms determinism, M24 escape claim is uninformative on this graph. Value = interpretability, not accuracy lift (+0.0002 AUC).

SUPPORT2 (n = 9,105)AUC = 0.91p = 4.9 × 10⁻²² (ML); p = 2.7 × 10⁻²⁵ (disease class)5/5
02

Population health · Life expectancy

24/40 struggling nations cluster in Q1 (lowest-life-expectancy) basin — 60% match, not the unverified "23/23 = 100%" originally claimed. Honest replication < original.

WHO Life ExpectancyR² = 0.96p = 7.7 × 10⁻¹⁵ (χ² = 60.4)5/5
03

Industrial · Manufacturing

Zero-config CSV → atlas → routing pipeline. Default integration target.

Manufacturing processAUC = 0.84p = 9 × 10⁻¹⁴5/5
04

Medical · Sepsis prediction

Time-series adapter improves AUC by 7 points. Atlas captures admission → deterioration trajectories.

Sepsis (n = 10,000)AUC = 0.75 (0.82 with temporal features)p = 4.5 × 10⁻⁴5/5
05

Finance · Credit risk

Standard tabular benchmark. Pipeline ran end-to-end with no domain-specific configuration.

German CreditAUC = 0.67p = 2.6 × 10⁻⁵5/5
06

Education · Student outcomes

Coupling test domain.

Student PerformanceR² = 0.73p = 8.4 × 10⁻¹⁴5/5
07

HR · Attrition

Weakest signal of the suite. Pipeline still produced a coherent atlas.

IBM AttritionAUC = 0.675/5
08

Healthcare · Chronic disease

Pipeline ran. The data did not. Extreme class imbalance (128:1). Reported as failure, not hidden — INV-5.

Chronic DiseaseAUC = 0.33not significant3/5

Source · paper §A1–A8 · zero-config pipeline (`full_rca()`) · 7/8 pass at 5/5 · 1 honest failure recorded

Case study: burnout as a high-gravity attractor

Out-degree zero means no escape. Rest is not topology.

Burnout is not stress depletion. It is topological capture. The state vector has converged to a fixed-point attractor in a high-semantic-gravity basin where the self fuses with the work role. At accessible forcing magnitudes α, out-degree(work-self) is zero. No directed edge leads to another basin. The trajectory cannot exit because the graph offers no path, whatever the available energy.

Feasibility and cost are separable. Sleep, rest, and reduced workload lower the energetic barrier, but they do not add an escape edge to the transition graph. They change the Lyapunov value, not the adjacency structure. If out-degree remains zero at the maximum affordable α, the system is clinically stable but dynamically imprisoned. Recovery requires topological intervention: a new edge must be constructed, not merely a cheaper toll paid.

Before · captured state

  • Q.work-self: 0.94
  • Q.autonomy: 0.06
  • Q.novelty-seek: 0.03
  • β.recurrence-gain: 2.80
  • α.accessible: 0.00

Out-degree(work-self) = 0 at all tested α ≤ 0.4. No edge to rest-self, social-self, creative-self.

After · 8-week intervention

  • Q.work-self: 0.41
  • Q.autonomy: 0.62
  • Q.novelty-seek: 0.58
  • β.recurrence-gain: 2.10
  • α.accessible: 0.25

Out-degree(work-self) > 0; α threshold = 0.18; reachable basins = {creative-self, social-self}.

The mechanism that worked

Not energy reduction (rest, sleep, lighter workload). The intervention that moved the graph was a structured commitment to a different identity-basin — a class, a side project, a community. A new force F was introduced into the system at α > 0, creating an edge in the transition graph that did not previously exist. The trajectory could then escape, not because the toll dropped, but because a road appeared.

Why this generalizes

This is a category error, not a mood. Any system — neural, organizational, or clinical — trapped in a high-gravity basin with out-degree zero cannot exit through rest, reward reshaping, or energy reduction alone. The separation principle holds: feasibility is a graph property; cost is a scalar. Until a new edge is built by forcing the state into an adjacent basin, the attractor remains inescapable. The pattern generalizes across scales — from individual cognition, to corporate cultures that cannot accept external feedback, to LLM personas that refuse to drop their system-prompt-induced identity loop.

Illustrative · state vectors are schematic, not from a clinical study. See limitations.

Limitations (from the paper)

  • Scope: escape invariant established for compositional networks; PCA-derived networks do not match.
  • Stochastic systems: Langevin noise tested (σ up to 0.20) but true probabilistic transitions are not.
  • Integrator sensitivity: Euler/RK2 agree for forced edges but can diverge near boundaries (reported).
  • Medical validation: SUPPORT2 out-degree=0 makes escape tests uninformative; clinical reachability matches partially.
  • Height formula ceiling: R² = 0.676 leaves variance unexplained; nonlinear models do not improve.
  • No formal theorem: basin adjacency interpretation is a conjecture supported by evidence.

Reproducibility

Deterministic seeds (primary: 42) and a reproducibility envelope (Python 3.10+, NumPy/SciPy versions) with stable hashing for determinism. Euler is the reported baseline; RK2 is available as an option. The paper PDF is open at the link below; the source repo and validation harness are archived under the Zenodo DOI in Cite & Reproduce. For early code access pre-acceptance, email info@adaptive-mind.com.

Cite & reproduce

All artefacts are public. License: CC-BY-4.0. Replication needs only the seed, dimension, and pattern set declared in the paper.

Paper · PDF

v8 · ~1.7 MB ↗

Open · CC-BY-4.0

Zenodo · DOI

10.5281/zenodo.19097695 ↗

Permanent record

GitHub · source

ai-meharbnsingh/io-gita ↗

Code · tests · validation

Author · ORCID

0009-0003-3803-0969 ↗

Singh

BibTeX

@software{singh_iogita_2026,
  author    = {Singh, S.},
  title     = {Topological Determinants of State Transitions
               in Compositional Attractor Networks (io-gita)},
  year      = {2026},
  publisher = {Zenodo},
  doi       = {10.5281/zenodo.19097695},
  url       = {https://github.com/ai-meharbnsingh/io-gita},
  orcid     = {0009-0003-3803-0969},
  license   = {CC-BY-4.0}
}

Next

Want the product framing?

Read the io-gita project page for the full system packaging: planner, atlas builder, verifier, schedule engine, CLI/API, and validation gates.