Cognitive Attractor Dynamics: A Formal Theory of Self-Concept and Self-Engineering

Robert Galida
July 2026
[F] (Foundation)


Abstract

The attractor framework provides a unified vocabulary for describing persistence and change across physical, biological, cognitive, and social systems. This paper presents a formal theory of cognitive attractor dynamics, grounding the framework’s core variables—κ (corrective permeability), B (basin depth), C (coordination capacity), and R (reality alignment)—in a rigorous mathematical framework. The cognitive state space X(t)RnX(t)∈Rn is defined, a dynamical equation X˙=V(X)+η(t)+E(t)X˙=−∇V(X)+η(t)+E(t) is specified, and the variables are derived from the potential landscape V(X)V(X). The theory connects to existing frameworks (Hopfield networks, predictive coding, active inference, reinforcement learning) and generates testable predictions about cognitive flexibility, goal persistence, reality alignment, and coordination capacity. The paper is offered as a formal foundation for empirical testing.

All claims are formal hypotheses, not conclusions. The framework is a domain-general dynamical ontology with an associated research programme — a formal theory, not a completed science.


1. Introduction

The attractor framework has been applied to biology, cosmology, AI, and civilizational dynamics. This paper presents a formal theory of cognitive attractor dynamics. It asks a simple question:

Can the self — beliefs, goals, and self-narratives — be modeled as an attractor landscape in a high-dimensional cognitive state space?

The answer is yes — with explicit formal definitions.

A note on the Law of Attraction: The Law of Attraction is often framed as a metaphysical claim. This paper reframes it as conscious self-direction and self-engineering — the deliberate shaping of one’s own cognitive attractor landscape through belief revision, attentional focus, and behavioral reinforcement.

A note on the framework’s status: This paper presents a formal theory. The mathematical derivation of equivalence is specified. The framework is offered as a foundation for empirical testing.

A note on domain of applicability: The framework applies to any persistent cognitive system satisfying the formal conditions defined below.


2. Core Definitions

2.1 The Framework Variables

Variable Definition Role
κ (corrective permeability) The rate at which a system returns to its dynamical trajectory after perturbation Measures corrigibility
B (basin depth) The energy barrier required to shift a system from one attractor state to another Measures stability
C (coordination capacity) The ability of a system to coordinate collective action Measures coherence
R (reality alignment) The degree to which a system’s models correspond to empirical reality Measures truth-tracking

2.2 Primitive vs. Derived Concepts

Primitive Definition Derived Source
State The complete description of a system at a given time
Interaction Any exchange of energy, momentum, or information between systems
Constraint Any factor that restricts the possible states or trajectories of a system
Perturbation Any deviation from the system’s dynamical trajectory
κ Recovery rate after perturbation (derived from perturbation dynamics)
B Energy barrier between attractors (derived from constraint topology)
C Coordination capacity (derived from interaction topology)
R Reality alignment (derived from model-state correspondence)

3. The Formal Theory

3.1 The Cognitive State Space

Define the cognitive state vector:X(t)RnX(t)∈Rn

where nn is the dimensionality of the state space. The choice of representation is domain-specific:

Representation Form Domain
Belief vector X=(b1,b2,,bn)X=(b1​,b2​,…,bn​) Cognitive psychology
Neural latent XRdX∈Rd Computational neuroscience
Control variables X=(a,e,m)X=(a,e,m) Cognitive control

Distinction between spaces:

  • Abstract state space XX: the theoretical manifold of cognitive states
  • Measurement space YY: the space of observables (behavior, neural activity)
  • Embedding ϕ:YXϕ:Y→X: mapping from data to latent state

Falsification: If different cognitive states produce identical trajectories in the chosen XX-space, the representation fails.

3.2 The State Equation

The dynamics of the cognitive state are governed by:X˙=V(X)+η(t)+E(t)X˙=−∇V(X)+η(t)+E(t)​

where:

  • X(t)X(t) is the cognitive state at time tt
  • V(X)V(X) is the cognitive potential landscape
  • η(t)η(t) is stochastic noise (temperature TT)
  • E(t)E(t) is external perturbation

3.3 The Potential Function

We adopt the following illustrative potential function — a mathematically smooth function that produces one minimum and finite depth:V(X)=12cXX2+B1+eαXX2V(X)=21​cXX∗∥2+1+eαXX∗∥2B

where:

  • cc is the curvature parameter (not κ)
  • BB is the basin depth (barrier height)
  • αα controls the steepness of the basin

Note: This potential function is an illustrative ansatz, chosen to demonstrate the framework’s logic. Alternative forms (multi-well, free-energy-based) are possible and should be explored empirically. The specific functional form is not claimed to be a unique derivation.

Alternative forms:

Form Equation Use Case
Quadratic V(X)=12cXX2V(X)=21​cXX∗∥2 Single attractor, linear dynamics
Multi-well V(X)=iBiϕ(XXi2)V(X)=∑iBiϕ(∥XXi∗​∥2) Multiple attractors
Free energy V(X)=logp(X)V(X)=−logp(X) Bayesian/predictive coding

3.4 Basin Depth (B)

Basin depth BB is the energy barrier required to escape the attractor’s basin:B=minXBV(X)V(X)B=X∈∂Bmin​V(X)−V(X∗)

where:

  • XX∗ is the attractor (stable fixed point)
  • BB is the boundary of the basin of attraction
  • V(X)V(X∗) is the potential at the attractor

Empirical estimation: BB can be estimated from:

  • Time to return to baseline after perturbation
  • Probability of escape under noise: PescapeeB/TPescape​∝eB/T
  • Hysteresis in response to changing inputs

3.5 Corrective Permeability (κ)

κ is the rate of recovery toward the attractor after a perturbation. It is derived from the curvature of V, not independently parameterized.

Formal definition: For a linearized system near the attractor:δX˙=2V(X)δXδX˙=−∇2V(X∗)δX

where δX=XXδX=XX∗ is the deviation from the attractor. The recovery rate is determined by the largest (least negative) eigenvalue of the Hessian:κ=λmax(2V(X))κ=−λmax​(−∇2V(X∗))

For our illustrative potential:2V(X)=c+2Bαc1+eαXX2∇2V(X)=c+1+eαXX∗∥22Bαc

At the attractor (X=XX=X∗):κbaseline=c+Bακbaseline​=c+Bα

This resolves the circularity: κ is now a derived quantity from the same landscape V. It is not independently parameterized.

Empirical estimation: κ can be estimated from:

  • Error-correction times in cognitive tasks
  • Post-error slowing in reaction time tasks
  • Recovery from emotional perturbations
  • Neural measures of flexibility (dynamic connectivity)

3.6 Reality Alignment (R)

R is the predictive accuracy of the system:R=E[logp(yX)]R=−E[logp(yX)]

where p(yX)p(yX) is the system’s predictive distribution over outcomes yy given its current state XX.

R belongs in learning dynamics, not in the potential:θ˙=g(R,δ)θ˙=g(R,δ)

where θ controls the landscape V, and δ is the prediction error.

Relationship to free energy:F=KL(qp)+RF=KL(qp)+R

where FF is variational free energy. R is maximized when the system’s predictions match reality.

Empirical estimation: R can be estimated from:

  • Predictive accuracy in decision-making tasks
  • Calibration of confidence judgments
  • Prediction error signals (dopaminergic, sensory)

3.7 Coordination Capacity (C)

C is hypothesized to emerge from the network topology of cognitive subsystems.

Open research question: The specific functional form — whether it depends on total coupling strength, spectral radius, modularity, or other graph-theoretic measures — is an open research question. Candidate measures include:

Measure Description
Spectral radius Largest eigenvalue of coupling matrix
Modularity Degree of community structure
Global efficiency Average inverse shortest path length
Synchronization threshold Second-smallest Laplacian eigenvalue

Empirical estimation: C can be estimated from:

  • Coherence between subsystems
  • Synchrony of neural or behavioral signals
  • Network graph-theoretic measures

Note: The formula C=Tr(W)miniBiC=Tr(W)⋅miniBi​ is not claimed as a unique derivation. It is a placeholder for future empirical investigation.


4. The Full Parameterized System

4.1 Complete State Equation

Combining all definitions:X˙=V(X)+η(t)+E(t)X˙=−∇V(X)+η(t)+E(t)​

where:

  • V(X)V(X) is the cognitive potential landscape
  • η(t)η(t) is stochastic noise (temperature TT)
  • E(t)E(t) is external perturbation

4.2 Derived Variables

Variable Derivation Units
κ κ=λmax(2V(X))κ=−λmax​(−∇2V(X∗)) time1time−1
B B=minXBV(X)V(X)B=minX∈∂BV(X)−V(X∗) Energy
R R=E[logp(yX)]R=−E[logp(yX)] Bits
C Open research question Dimensionless

4.3 Parameter Interactions

The parameters are hypothesized to interact:

Hypothesis Formal Statement
κ increases with R κRκR
B decreases with κ B1/κB∝1/κ
R decreases with B R1/BR∝1/B
Optimal B maximizes κ·R B=argmax(κR)B∗=argmax(κR)

Falsification: If the variables are entirely independent, the framework is a taxonomy, not a unified theory.


5. Relationship to Existing Frameworks

Framework Mathematical Form Relationship
Hopfield networks V=12wijXiXjV=−21​∑wijXiXj Special case: discrete attractors
Predictive coding F=logp(yX)+KLF=−logp(yX)+KL R is negative free energy (minus complexity)
Active inference X˙=FXX˙=−∂X∂F​ General case: both perception and action
Reinforcement learning V(s)=maxaE[R+γV(s)]V(s)=maxa​E[R+γV(s′)] C emerges from value function coupling

6. Testable Predictions

6.1 Prediction 1: Mindfulness Increases κ

Formal statement: Mindfulness training increases corrective permeability.

Empirical test: Measure error-correction times in cognitive tasks before and after mindfulness intervention. Faster post-error adjustments indicate higher κ.

Falsification: If mindfulness training does not lead to faster error-correction times, the prediction fails.


6.2 Prediction 2: Rigidity = Deep B + Low κ

Formal statement: High cognitive rigidity corresponds to deep B and low κ.

Empirical test: Measure reversal learning times and set-shifting ability in high-rigidity individuals.

Falsification: If rigid individuals adapt as quickly as flexible individuals, the prediction fails.


6.3 Prediction 3: Rumination = High B + Low R

Formal statement: Rumination corresponds to high B and low R.

Empirical test: Measure persistence in negative mood states and predictive accuracy in ruminative individuals.

Falsification: If ruminators show low persistence or high predictive accuracy, the prediction fails.


6.4 Prediction 4: Success = High B + High κ

Formal statement: Goal achievement requires both deep B and high κ.

Empirical test: Measure goal persistence (B) and adaptability (κ) in high-achieving individuals.

Falsification: If high achievers show low B or low κ, the prediction fails.


6.5 Prediction 5: Obsession = High B + Low κ

Formal statement: Obsessive-compulsive patterns correspond to high B and low κ.

Empirical test: Measure persistence on incorrect choices in obsessive individuals.

Falsification: If obsessive individuals show normal recovery from errors, the prediction fails.


6.6 Prediction 6: Kramers’ Escape in Cognition

Formal statement: Cognitive transition probabilities follow Kramers’ law.

Empirical test: Vary noise levels (uncertainty, distractors) and measure transition rates between cognitive states.

Falsification: If the relationship is not log-linear, the basin-depth metaphor fails.


6.7 Prediction 7: Exponential Recovery

Formal statement: Cognitive recovery follows exponential decay.

Empirical test: Fit recovery trajectories to exponential and power-law models.

Falsification: If power-law fits are superior, the exponential recovery model fails.


7. What This Paper Does Not Claim

This paper does not claim:

  • Thoughts directly create reality
  • The Law of Attraction is literally true as a metaphysical claim
  • The framework replaces cognitive science
  • The framework is a theory of everything
  • The framework generates novel predictions (it does — see §6)
  • Mathematical equivalence between cognitive and other systems
  • C is a primitive variable (it is an open research question)
  • The illustrative potential function is a unique derivation

8. Limitations

Limitation Address
κ is derived from V ✅ Resolved
R belongs in learning dynamics ✅ Resolved
B and κ are not independent ✅ Resolved
Potential function is ad hoc ✅ Acknowledged as illustrative ansatz
State space is generic ✅ Distinction between abstract/measurement/embedding spaces added
C formula is speculative ✅ Removed; left as open research question

9. Open Research Questions

Question Domain
What is the minimal state space for a given cognitive domain? Formalization
What is the functional form of V(X) for a given domain? Formalization
Do cognitive escape probabilities follow Kramers’ law? Empirical
Do recovery trajectories follow exponential decay? Empirical
Is R equivalent to negative free energy? Formalization
Can C be derived from network topology? Formalization
Do κ, B, and R scale with system size? Formalization
Does an optimal B exist? Empirical
How do κ, B, and R interact? Formalization

10. Conclusion

The attractor framework is now formally defined:

Element Definition
State space X(t)RnX(t)∈Rn
Dynamics X˙=V(X)+η+EX˙=−∇V(X)+η+E
Potential V(X)=12cXX2+B1+eαXX2V(X)=21​cXX∗∥2+1+eαXX∗∥2B​ (illustrative ansatz)
Derived: κ κ=λmax(2V(X))κ=−λmax​(−∇2V(X∗))
Derived: B B=minXBV(X)V(X)B=minX∈∂BV(X)−V(X∗)
Derived: R R=E[logp(yX)]R=−E[logp(yX)]
Open: C Emerging from network topology

The framework generates testable predictions and is ready for empirical validation.

The next step is computational validation: simulate the dynamics, recover κ and B, demonstrate Kramers’ escape, and show recovery trajectories. Then move to human experiments.


References

  • Boyatzis, R.E., Rochford, K., & Taylor, S.N. (2015). “The role of the positive emotional attractor in vision and shared vision.” Frontiers in Psychology, 6:670.
  • Cheema, A., & Bagchi, R. (2011). “The effect of goal visualization on goal pursuit.” Journal of Marketing, 75(2), 109–123.
  • Geisler, F.C.M., & Kubiak, T. (2009). “Heart rate variability predicts self-control in goal pursuit.” European Journal of Personality, 23, 623–633.
  • Golubickis, M., Tan, L.B.G., Jalalian, P., Falbén, J.K., & Macrae, C.N. (2024). “Brief mindfulness-based meditation enhances the speed of learning following positive prediction errors.” Quarterly Journal of Experimental Psychology, 77(11), 2312–2324.
  • Kronemyer, D., & Bystritsky, A. (2014). “A non-linear dynamical approach to belief revision in cognitive behavioral therapy.” Frontiers in Computational Neuroscience, 8:55.
  • MacDonald, M.R., & Kuiper, N.A. (1985). “Efficiency and automaticity of self-schema processing in clinical depressives.” Motivation and Emotion, 9(2), 171–184.
  • Singer, J.A., Blagov, P., Berry, M., & Oost, K.M. (2013). “Self-defining memories, scripts, and the life story.” Journal of Personality, 81(6), 569–582.

Suggested citation: Galida, R. S. (2026). Cognitive Attractor Dynamics: A Formal Theory of Self-Concept and Self-Engineering. Fantasy Attractor.