Next Article in Journal
Coupling the Diffusive Transport and Langmuir–Hinshelwood Reaction Kinetics for Kinetic Model Discrimination: A New Insight from an Old Concept
Next Article in Special Issue
Semantic Algorithmic Information Theory: From Kolmogorov Complexity to Semantic Equivalence
Previous Article in Journal
Strategic Data Re-Uploads: A Pathway to Improved Quantum Classification Data Re-Uploading Strategies for Improved Quantum Classifier Performance
Previous Article in Special Issue
The Largest Number Representable in 64 Bits
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

The Physics, Information, and Computation of Perennial Learning: Kolmogorov Complexity, Information Distance, and Port-Hamiltonian Thermodynamics

Department of Computer Science and Oden Institute for Computational Engineering & Sciences, The University of Texas at Austin, Austin, TX 78712, USA
Entropy 2026, 28(5), 551; https://doi.org/10.3390/e28050551
Submission received: 21 March 2026 / Revised: 3 May 2026 / Accepted: 9 May 2026 / Published: 13 May 2026

Abstract

Real-world autonomous agents learn under nonstationarity, safety constraints, and finite energetic budgets. We develop a framework for perennial learning—agents that continuously refine their models while provably controlling the cost of forgetting—by unifying three classical pillars: Kolmogorov complexity, which equates scientific discovery with algorithmic compression; Landauer’s principle, which assigns a minimal thermodynamic cost of k B T ln 2 per erased bit to every irreversible model update; and port-Hamiltonian (PH) dynamics, whose ( J R ) H decomposition separates zero-cost reversible inference from costly irreversible forgetting by construction. The Maxwell demon analogy is formalized: each learning episode is a Szilard cycle in which information acquisition, belief transport, and memory erasure must balance thermodynamically. The information-distance framework, comprising the normalized information distance (NID) and normalized compression distance (NCD), provides a computable geometry for measuring learning progress and guiding curriculum design. We separate theideal uncomputable regularizer based on prefix complexity from the practical compressor/MDL (minimum description length) surrogate that appears in optimization and prove a calibration lemma linking the two under a mild uniform-accuracy assumption. Under explicit regularity, compact-sublevel, and non-energy-extracting assumptions, we prove a passivity speed limit for curriculum-induced contractions of the effective feasible set. Under local asymptotic normality, we reprove that Fisher information is a local posterior codelength proxy rather than an exact theorem about algorithmic entropy. A conditional sequential information-budget proposition shows that the per-stage sample requirement scales as O ˜ ( Δ k t / λ ) , where Δ k t is the number of materially changed model coordinates (not the total model complexity k t ); the k 3 Δ k improvement is conditional on a warm-start assumption and a chosen cold-start baseline. A double-integrator running example with a moving obstacle illustrates the architecture.

1. Introduction

1.1. Dedication

This article is dedicated to Professor Paul M.B. Vitányi on the occasion of his 80th birthday. It is offered in recognition of his foundational contributions to the theory of computation, Kolmogorov complexity, normalized information distance, compression-based similarity and clustering, model selection and structure functions, reversible computation, and the broad application of algorithmic information-theoretic ideas across computer science, mathematics, cognition, and the sciences [1,2,3,4,5].
This paper follows and attempts to build upon the algorithmic information-theoretic program associated with Li and Vitányi by treating learning as compression, transfer as information distance, and practical adaptation as a computable description-length surrogate for ideal Kolmogorov complexity.

1.2. The Need for Perennial Learning

Autonomous agents deployed in the physical world confront an unavoidable reality: the data distribution shifts continuously. Autonomous vehicles must accommodate evolving traffic patterns, weather, and infrastructure modifications [6,7]. In healthcare, wearable devices and adaptive prosthetics must recalibrate to a patient’s changing biomechanics. Industrial predictive-maintenance systems trained on data from new machinery become unreliable as components age. Smart-city infrastructure evolves over decades, with traffic, energy-consumption, and population profiles drifting continuously [8]. Even natural language processing requires models that track cultural and linguistic evolution without forgetting foundational structure.
Perennial learners deployed in consumer and cyber-physical settings also accumulate long-lived sensing histories, so physical safety must be considered together with information security and privacy. Our framework does not solve secure storage, encryption, or access control; rather, the compression/erasure accounting identifies which state summaries must persist, which can be reversibly transported, and which should be deleted.
Perennial learning—synonymous with lifelong or continual learning—refers to agentic systems that learn, search, and discover from a stream of data, adapting to new patterns while mitigating catastrophic forgetting [6,7]. Classical continual-learning methods such as elastic weight consolidation, synaptic intelligence, gradient episodic memory, and Progress and Compress focus on retaining useful parameters across task shifts [9,10,11,12]. They are algorithmically successful but mostly agnostic about the thermodynamic cost of a model update, how safe sets evolve during learning, and how the update rule should respect the underlying system structure.

1.3. Computational Hardness: Why Perennial Refinement Is Necessary

Most motion-planning problems are PSPACE-hard [1,13,14]. No polynomial-time algorithm can solve the general planning problem exactly. Approximate solutions must therefore be iteratively refined as new observations arrive. The quality of the approximation at any time step depends on the information accumulated thus far—precisely what Kolmogorov complexity measures—while the cost of updating the approximation as the environment changes is precisely what Landauer’s principle quantifies. Navigation under uncertainty exemplifies this: evaluating risk requires simultaneously sensing, identifying, and assessing hazardous objects at multiple spatial scales, from local obstacle avoidance (1:1) to global route planning (1:80,000), each with its own identifiability challenges and constraint geometry [8].

1.4. Learning Has Its Own Hamiltonian

The concept of learning Hamiltonians to solve tasks efficiently has deep classical roots in variational calculus [15,16]. The brachistochrone problem—finding the curve z ( x ) that minimizes descent time—illustrates that nature “learns” optimal trajectories by extremizing an action functional. Our framework makes this literal: a port-Hamiltonian inference engine minimizes a variational free energy (the “action” of inference) subject to dissipative constraints (the “friction” of forgetting). Information thermodynamics interprets prediction and adaptation as irreversibility-budgeted information processing [17,18,19]; PH modeling provides a native decomposition into lossless interconnection, explicit dissipation, and power ports [20]; linearly solvable control, path-integral control, and maximum-entropy RL show that information and control costs share a common variational language [21,22,23].

1.5. Contributions

This paper develops a perennial-learning viewpoint in which ideal algorithmic descriptions, practical code proxies, and port-Hamiltonian learning dynamics are kept conceptually distinct. The manuscript now makes that separation explicit.
  • Status map
Formal results: Theorems 1–3 and Propositions 1–5 under the stated assumptions. Design principles: PH channel separation, NCD-gated curriculum scheduling, the practical algorithmic-entropy diagnostic, and the warm-start sequential update rule. Analogies: the Maxwell/Szilard interpretation and Landauer accounting for abstract model updates unless a physical implementation model is specified.
The main technical contributions are as follows:
(i)
A clean separation between the ideal Kolmogorov-complexity description of model revision and the practical compressor/MDL surrogate used in optimization, together with a locally scoped calibration statement on the finite serialized model family actually visited by the curriculum.
(ii)
A PH “perennial inference engine” architecture that interprets reversible transport, dissipative forgetting, safety barriers, and Casimir locks as separate channels rather than as a single monolithic update.
(iii)
A standard passivity/dissipation estimate specialized to curriculum-induced feasible-set contraction, whose novelty lies in its interpretation as a rate limiter for safe curriculum scheduling.
(iv)
A local Fisher/Laplace/MDL proxy for posterior codelength contraction and a sequential information-budget proposition that clarifies when warm starts can reduce the effective per-stage sample requirement.
(v)
A concrete moving-obstacle double-integrator toy case study with NCD-gated curriculum scheduling, actual simulated trajectories, practical entropy/Fisher/overwrite diagnostics, a passivity-violation stress test, and a compact baseline table.

1.6. Roadmap

Section 2 presents the notations, scope, and standing assumptions, restoring the full Kolmogorov-complexity background and stating explicitly where the manuscript uses ideal K notions and where it uses the practical proxy L Z . Section 3 turns algorithmic update costs into a computable optimal-control surrogate, formalizes the Maxwell/Szilard interpretation as a modeling lens, and develops the information-distance geometry of discovery. Section 4 presents the PH architecture, the toy example, the safety hierarchy, and the passivity speed limit interpreted as a curriculum-admissibility test. Section 5 develops the local Fisher/Laplace codelength proxy, NCD/NID-guided curriculum scheduling, and the sequential information budget. Section 6 specifies a structure-preserving discretization, algorithmic template, and a concrete numerical case study. Section 7 assembles the full engine and states the quantitative headline result together with the broader empirical validation agenda. Section 8 closes with limitations, lifted/reduced PH learning, and open problems.
  • Related works
The present paper is closest in spirit to MDL/Bayesian coding views of learning; information-bottleneck and rate-distortion perspectives on representation change; continual-learning methods such as EWC [9], SI [10], GEM [11], and Progress and Compress [12]; and safe-control/safe-RL methods built around confidence sets, reachability, or barrier certificates. Our point is not to replace these lines of work but to organize them through a PH separation of reversible transport, irreversible overwrite, and safety channels. In control, path-integral control [22] and linearly solvable Markov decision processes [21,23] link information and control costs but do not address lifelong overwrite budgets. Safe RL via Gaussian-process confidence sets [24] and Hamilton–Jacobi reachability [25] handle safety but not the code-length cost of updating safety knowledge. Structure-preserving ML [26,27,28] exploits PH structure for prediction but not for budgeted perennial learning. Geometric optimization and completeness/solvability questions relevant to structured constraints are discussed in [29,30,31].

2. Background, Scope, and Standing Assumptions

2.1. Description Complexity, Proxies, and Landauer Cost

Definition 1
(Prefix Kolmogorov complexity ([32], Ch. 2)). Let U be a universal prefix-free Turing machine. The prefix Kolmogorov complexity of a binary string x is
K ( x ) : = min ( p ) : U ( p ) = x ,
where ( p ) denotes the length of program p.
Definition 2
(Conditional complexity [33]).  K ( x y ) = min { ( p ) : U ( p , y ) = x } .
Definition 3
(Algorithmic mutual information).  I ( x : y ) = K ( x ) K ( x y ) = K ( y ) K ( y x ) + O ( log ) .
Throughout, O ( log ) absorbs terms of order O ( log ( K ( x ) + K ( y ) ) ) .
For optimization, we use a computable codelength L Z ( x ) , obtained from a fixed lossless compressor or MDL code [4,34]. Unless otherwise stated, the primary compressor is LZMA/XZ with preset 6 applied to a canonical UTF-8 byte string. Each environment is serialized as sorted-key JSON metadata, followed by ordered, quantized obstacle boundary samples and, for grid tasks, row-major signed-distance samples. The notation L Z is reserved for this practical proxy throughout this paper, and Appendix A provides the serialization, quantization, and sensitivity checks against gzip/zlib level 6 and a parameter-vector encoding. Exact K is uncomputable [32]; therefore, any formal theorem about an implemented algorithm must use L Z or another explicit surrogate.
The Shannon entropy of a computable distribution P over a countable set X is H ( P ) = x P ( x ) log ( 1 / P ( x ) ) .
Theorem 1
(Entropy–complexity bridge ([32], Thm. 8.1.1)). For every recursive distribution P,
0 x P ( x ) K ( x ) H ( P ) c P ,
where c P depends only on the length of the shortest program computing P.
Remark 1
(Implication for perennial learning). A learning agent maintains a model parameterized by θ, inducing a distribution P θ over observations. The agent’s “understanding” of the data is the extent to which P θ compresses observations, i.e., the extent to which P θ ( x ) K ( x ) approaches H ( P θ ) . Discovery corresponds to finding shorter descriptions: when the agent discovers structure, K ( model ) may increase modestly but H ( data model ) decreases dramatically, and the net algorithmic entropy decreases.
Theorem 2
(Landauer’s principle [35]). Any logically irreversible device that erases b bits must dissipate at least Q erase b k B T ln 2 of heat into a bath at temperature T. Reversible reorganization avoids this lower bound in principle [2,36,37].
Remark 2
(What the Landauer lower bound actually applies to). Theorem 2 lower-bounds the heat cost of the irreversible part of an update in a concrete physical device. When the manuscript applies Landauer accounting to abstract model updates, it does so as a formal bookkeeping convention for irreversible overwrite unless a computation substrate is explicitly modeled. Thus, k B T ln 2 per erased bit is not asserted to be the literal energy paid by a software optimizer. The PH architecture below is designed to separate reversible transport from irreversible overwrite as clearly as possible [38].

2.2. Port-Hamiltonian Systems

Definition 4
(Port-Hamiltonian systems [20]). Let X R d x and let H : X R be C 1 . A port-Hamiltonian system (PH) has the form
x ˙ = J ( x ) R ( x ) H ( x ) + G ( x ) u ( t ) ,
where J ( x ) = J ( x ) is the interconnection structure, R ( x ) = R ( x ) 0 is the dissipation matrix, and  G ( x ) is the input-port map. The power-conjugate output is y ( x ) = G ( x ) H ( x ) .
Proposition 1
(Passivity identity [20]). Along any sufficiently smooth trajectory of (3),
d d t H ( x ( t ) ) = H ( x ( t ) ) R ( x ( t ) ) H ( x ( t ) ) + y ( t ) u ( t ) .
In particular, when u 0 , the Hamiltonian is nonincreasing.
Definition 5
(Casimir lock [20]). A smooth function C : X R is a Casimir invariant if J ( x ) C ( x ) = 0 for all x X . Casimir invariants are preserved along every PH trajectory regardless of the choice of H. We use the phrase Casimir lock for an engineered invariant that the learner is not allowed to overwrite.
No theorem in this paper proves that PH is uniquely optimal among all learning architectures. The PH decomposition is used because it is structurally interpretable: reversible interconnection and irreversible dissipation are explicit, and hard invariants can be encoded at the Poisson and dissipative bracket levels [39,40].

2.3. Standing Assumptions

Assumption 1
(PH regularity and compact sublevels). The maps H , J , R , G are locally Lipschitz on X , H is C 2 , and all trajectories of interest remain in a compact sublevel set X E 0 : = { x X : H ( x ) E 0 } . On each such set,
D max ( E 0 ) : = sup x X E 0 H ( x ) R ( x ) H ( x ) < .
Assumption 2
(Observation model and local asymptotic normality). Observations satisfy
y i = h ξ ( x i ) + ε i , ε i N ( 0 , Γ y ) ,
where Γ y 0 and h ξ ( x ) is C 2 in ( x , ξ ) . For the local Fisher proxy, we assume that the posterior around the current iterate is well approximated by a Gaussian with a precision matrix equal to the accumulated Fisher information.
Assumption 3
(Local/probabilistic proxy calibration). Whenever a theorem transfers an ideal K-based statement to the implemented code, the comparison is restricted to the finite serialized model family actually visited by the curriculum, denoted by Ξ T . With probability at least 1 δ over the sampling/serialization process,
| L Z ( ξ ) K ( ξ ) | c Z ( δ ) , ξ Ξ T .
Outside Ξ T , the manuscript makes no global calibration claim.
Assumption 4
(Sequential drift and warm start). Between curriculum stages t 1 and t, only an active block S t { 1 , , d ξ } of size Δ k t : = | S t | changes materially, and the restricted Fisher information on that block satisfies I t | S t λ I for some λ > 0 . The estimator is initialized from the previous stage rather than from scratch.
Remark 3
(Scope). Assumption 3 is deliberately local: it is a statement about the finite family of serialized models actually visited by the curriculum rather than a universal theorem about arbitrary compressors or arbitrary task classes. The main optimization problem and all numerical examples can be read entirely in terms of L Z without appealing to K at all.

3. Thermodynamic Formulation of Perennial Learning

In this section, we first explain how the lifelong regularizer uses a computable code length. Next, we describe how the optimal-control objective is a surrogate for algorithmic rate distortion while introducing an entropy-style discovery diagnostic. Finally, we formalize the Maxwell demon analogy and develop information distance as the geometry of discovery.

3.1. Ideal and Practical Lifelong Regularizers

Let ξ t denote the model or solver description at curriculum step t.
Definition 6
(Ideal and practical overwrite cost). The ideal bit-overwrite count at step t is Δ K t : = [ K ( ξ t ) K ( ξ t 1 ) ] + . The practical overwrite count is Δ K ^ t : = [ L Z ( ξ t ) L Z ( ξ t 1 ) ] + . The corresponding lifelong penalties are
Ω life : = t = 1 T Δ K t , Ω life Z : = t = 1 T Δ K ^ t .
Proposition 2
(Calibration transfer). Under Assumption 3, | Δ K t Δ K ^ t | 2 c Z for each t, and therefore | Ω life Ω life Z | 2 T c Z .
Proof. 
The map a [ a ] + is 1-Lipschitz, so
| Δ K t Δ K ^ t |     | ( K ( ξ t ) K ( ξ t 1 ) ) ( L Z ( ξ t ) L Z ( ξ t 1 ) ) |   2 c Z .
Summing over t proves the second bound.    □

3.2. From Algorithmic Rate Distortion to a Computable Optimal Control Problem (OCP)

A critical constraint on any learning process is the principle of nonincreasing mutual information.
Theorem 3
(Nonincreasing mutual information ([32], Thm. 8.1.4)). For deterministic processing z = f ( x ) ,
I ( z ; y ) I ( x ; y ) + K ( f ) + O ( 1 ) .
Data processing cannot create information; any apparent information gain from computation is bounded by the complexity of the computation itself.
The algorithmic rate-distortion function sharpens the compression–fidelity tradeoff.
Definition 7
(Algorithmic rate distortion ([32,41], Def. 8.1.5)). For an individual object x and distortion measure d,
r x ( δ ) = min y K ( y ) : d ( x , y ) δ .
This provides a per-object compression–fidelity tradeoff rather than a statistical one. The PH solver’s variational free energy (Section 4) instantiates exactly this tradeoff: the agent seeks the shortest model ( min K ( θ ) ) whose predictions match the data within tolerance.
Definition 8
(Thermodynamic work of model update ([32], Thm. 8.2.4)). The minimal thermodynamic work required to transform model state x to model state y is
W ( y x ) = K ( x ) K ( y ) .
If the new model is simpler ( K ( y ) < K ( x ) ), the system extracts work—it has discovered structure. If the new model is more complex ( K ( y ) > K ( x ) ), the system pays work—it is storing more information.
Remark 4
(Speed–dissipation tradeoff). The time-bounded complexity satisfies K t ( x ) > K ( x ) in general. A demon (learning agent) with limited computation time pays K t ( x ) K ( x ) in excess dissipation. This gap constrains the regret of Differential Policy Optimization (DPO) [42] (Section 5.4) and is consistent with the reversible/adiabatic-computation viewpoint that time and space resources can be traded against energy expenditure [2].
In optimization, K is replaced with its computable surrogate. We therefore define the running cost using observable distortion and practical codelength increments [43].
Definition 9
(Computable perennial OCP). At stage t, with state x, control u, observation y t , model ξ t , and meta-parameters η (the top-level policy/design variables; see Section 4.1), define
t ( x , u ; E t ) = λ err 1 2 y t h ξ t ( x ) Γ y 1 2 predictive distortion + λ code Δ K ^ t irreversible update proxy + λ safe ψ F t ( x ) safety barrier / margin + λ u u 2 .
The stage objective is
J t ( η ) : = E 0 T t t ( x ( s ) , u ( s ) ; E t ) d s + ϕ t ( x ( T t ) ) .

3.3. Algorithmic Entropy as a Discovery Diagnostic

We now define the algorithmic entropy of physical systems following Li and Vitányi [32], §8.5–8.6 and introduce a computable surrogate for monitoring discovery [44].
Definition 10
(Algorithmic entropy ([32], Def. 8.6.2)). The algorithmic entropy of a macrostate x is
S A ( x ) = ( k B ln 2 ) K ( x ) + H x ,
where K ( x ) is the prefix complexity of the macroscopic description and H x = S B ( x ) / ( k B ln 2 ) is the log-volume of the macrostate.
The decomposition splits total physical entropy into the complexity of what we know (the regularity) and our ignorance about the microstate given the macroscopic description.
Remark 5
(Diagnosis: d S A / d t sign criterion). For a regular (compressible) microstate, increasing measurements cause H x to decrease rapidly while K ( x ) increases slowly, so the net S A decreases—discovery is occurring. For a random (incompressible) microstate, H x decreases but K ( x ) increases at the same rate, so S A remains flat—the agent is memorizing noise. The sign of d S A / d t is the algorithmic thermodynamic diagnosis of identifiability: regions where d S A / d t < 0 are identifiable; regions where d S A / d t 0 are not.
Definition 11
(Coarse-grained algorithmic entropy ([32], Def. 8.6.6)).
H μ n ( ω ) = inf i n H μ ( Γ ω 1 : i ) ,
which satisfies the second law (strong entropy growth) and converges: H ( ω ) = lim n H n ( ω ) = inf x { 0 , 1 } * { H ( Γ x ) : ω Γ x } .
The optimal measurement precision n 0 is the level at which additional complexity K ( ω 1 : n ) no longer yields a sufficient decrease in log μ ( Γ ω 1 : n ) . This defines a natural stopping criterion for measurement refinement in the curriculum (Section 5.2).
For monitoring purposes, we use a computable surrogate.
Definition 12
(Practical algorithmic-entropy surrogate). Let m t denote the current compressed model description, and let H t denote a coarse uncertainty volume (e.g., log-volume of a posterior credible ellipsoid). Define
S A ^ ( t ) : = ( k B T ln 2 ) L Z ( m t ) + H t .
Remark 6
(Status of the entropy diagnostic). Figure 1 should be read as a design diagnostic rather than as a theorem in which S A ^ ( t ) is monotone in every learning problem. The operational point is as follows: monitor whether uncertainty is being converted into compression or merely into parameter count.

3.4. Maxwell’s Demon: The Learning Agent as a Thermodynamic Engine

The Maxwell/Szilard discussion below is used as the motivation and as a bookkeeping analogy. The formal claims of this paper are the explicit propositions and assumptions rather than the analogy itself.
The Szilard engine [45] provides the following canonical thought experiment: a demon with memory observes a single-molecule gas, records the molecule’s position, and extracts k B T ln 2 of work per observation cycle. The apparent violation of the second law is resolved by Bennett [36]: the demon must erase its memory to complete the cycle, incurring a Landauer cost k B T ln 2  [46].
Claim 1
(Thermodynamic balance sheet ([32], §8.6.1, Claim 8.6.1)). For a combined system (engine + demon) with algorithmic entropy S A = ( k B ln 2 ) ( K ( x ) + H y ) , where K ( x ) is the complexity of the demon’s memory and H y is the Boltzmann part of the engine, the net heat gained over one cycle satisfies
Δ Q = S A f S A i T = Δ Q + + Δ Q 0 ,
where Δ Q + = ( S B f S B i ) T is the heat from the engine’s entropy change and Δ Q = ( K ( f ) K ( i ) ) · k B T ln 2 is the heat lost to the demon’s memory update.
One possible mapping to perennial learning is shown in Table 1.
From the demon analysis, the physically correct form of the lifelong regularizer is
Ω life ( η ) tasks K ( ξ new ) K ( ξ old ) + ,
penalizing cumulative positive complexity increase across task transitions.
Remark 7
(Intelligent vs. unintelligent erasure). An unintelligent demon erasing a random-looking string x pays n bits (the full length). An intelligent demon that recognizes that x encodes a compressible object compresses to K ( x ) n before erasing, paying much less. With limited time, the demon pays K t ( x ) > K ( x ) . This speed–dissipation tradeoff (Remark 4) constrains the DPO regret bound and aligns with the reversible-computation perspective that extra time/space can be exchanged for reduced energetic cost [2].

3.5. Information Distance and the Geometry of Discovery

We develop the information distance as the metric for measuring learning progress and guiding the curriculum, following Li and Vitányi [32], §8.3–8.4. On the computational side, the normalized-compression viewpoint of Li et al. [3] and the clustering-by-compression program of Cilibrasi and Vitányi [5] are central rather than peripheral: they supply the operational surrogate used later for curriculum gating.
Definition 13
(Information distance ([32], §8.3)). The max distance between strings x and y is
E 1 ( x , y ) = max K ( x y ) , K ( y x ) .
The sum distance is
E 3 ( x , y ) = K ( x y ) + K ( y x ) ± O ( log ) .
The sum distance E 3 measures the total irreversible bit flow during a reversible computation from x to y and is the correct cost metric for the PH solver, which consumes observations (bits in) and discards old beliefs (bits out).
Theorem 4
(Universality ([32], Thm. 8.3.2)).  E 1 is minimal among all admissible distances: every computable distance between x and y is at least E 1 ( x , y ) up to an additive constant.
Definition 14
(Normalized information distance (NID) ([32], Def. 8.4.1)).
e ( x , y ) = max { K ( x y ) , K ( y x ) } max { K ( x ) , K ( y ) } .
This takes values in [ 0 , 1 ] and satisfies metric properties ([32], Thm. 8.4.1).
The practical approximation replaces K with the output length of a compressor Z, yielding the normalized compression distance (NCD) [3,5]:
NCD Z ( x , y ) = Z ( x y ) min { Z ( x ) , Z ( y ) } max { Z ( x ) , Z ( y ) } .
We address how information and compression distances connect to perennial learning:
(a)
Task relatedness for curriculum design: e ( E t , E t + 1 ) measures how much the task structure changes between curriculum steps.
(b)
Model-change tracking: e ( ξ t , ξ t + 1 ) measures how much the PH solver parameters have changed; a large NID implies a higher Landauer cost.
(c)
Discovery progress: e ( model t , ground truth ) monotonically decreases, signaling convergence toward the ground truth.
(d)
Safe feasibility-set change: e ( F ( κ t ) , F ( κ t + 1 ) ) δ safe ( τ ) bounds the safe curriculum step size, where κ parameterizes the constraint geometry (defined in Example 1) and δ safe is the NCD-derived threshold (defined in Section 5.2).

4. The Perennial Inference Engine

This section turns the abstract ingredients into a dynamical architecture. The key claim is architectural rather than variational: if observation, reversible transport, dissipation, and hard invariants are kept as separate channels, then update cost and safety become inspectable instead of being hidden inside a generic optimizer.

4.1. Architecture

The meta-policy π η maps an environment E to PH solver parameters ξ = π η ( E ) . The  ( q , p ) -form PH solver is
q ˙ p ˙ = p H ξ q H ξ + 0 R ξ p H ξ + 0 G ξ u ξ .
The stochastic extension is
d x = ( J ( x ) R ( x ) ) H ( x ) + G ( x ) u ( t ) d t + Σ ( x ) d W t ,
where W t is a Wiener process and ∘ denotes the Stratonovich integral [47]. Figure 2 shows the architecture of a perennial inference engine.
Table 2 summarizes the thermodynamic interpretation. The passivity inequality (Proposition 1) ensures that, in the absence of external input, the energy (and hence the “distance to danger”) can only decrease—this is the energy certificate for safety. In the stochastic extension, the passivity inequality would be replaced with weak passivity [48].
The three knowledge regimes introduced by PHAST [49] connect to Kolmogorov cost:
  • Known: V ( q ) , M ( q ) , D ( q ) are given; low K ( ξ ) ; Casimir-protectable.
  • Partial: some structure is given, some is learned; moderate K ( ξ ) .
  • Unknown: everything is learned from data; high K ( ξ ) ; full Landauer cost.
The meta-optimization over environments reads
min η E E P J ( η ; E ) + β Ω struct ( η ) + γ Ω life ( η ) ,
where the OCP functional is
J ( η ; E ) = E x 0 μ E 0 T x E π η ( E ) ( t ) , E d t + ϕ x E π η ( E ) ( T ) , E .

4.2. Running Toy Example: A Planar Double Integrator with a Moving Obstacle

The running example is a planar double integrator with state x = ( q , p ) , position q R 2 , momentum p R 2 , and goal q g R 2 . At curriculum stage τ , a circular obstacle has center c ( τ ) and radius r ( τ ) .
Example 1
(Moving-obstacle PH controller). Let
H ( q , p ; κ ) = 1 2 p M 1 p + ω g 2 q q g 2 α log g ε ( q ; κ ) ,
with
g ε ( q ; κ ) : = q c ( τ ) 2 r ( τ ) 2 + ε , κ ( τ ) : = ( c ( τ ) , r ( τ ) ) .
The barrier is smoothed by ε > 0 to avoid singular stiffness. The plant uses the canonical PH structure
J plant = 0 I I 0 , R plant ( q ) = diag ( 0 , 0 , β , β ( q ) ) ,
where β ( q ) increases near the obstacle in the normal direction. Because the canonical double integrator has no nontrivial Casimirs, the Casimir lock is implemented on the controller side by augmenting the interconnection with a memory coordinate z whose bracket is chosen so that a momentum-budget quantity remains invariant. Hard invariants need not belong to the physical plant alone; they may live in the learning/control interconnection.
The example is reused in Section 5 and Section 6. The obstacle moves slowly, the barrier reshapes accordingly, and the learner warm starts from the previous stage rather than relearning from scratch.

4.3. Safety Hierarchy: Casimir, Barrier, Dissipation

Safety in the perennial-learning context requires three nested guarantees:
(1)
Instantaneous safety: x ( t ) F ( κ ( t ) ) at every t.
(2)
Transitional safety: when F contracts, the system reaches the new set without leaving the old one during transition.
(3)
Informational safety: the agent’s model of the boundary F has low enough K to reliably distinguish safe from unsafe.
As shown in Figure 3, there are three safety mechanisms that operate at different time scales and with different update costs:
  • Casimir lock: a permanent structural invariant that should never be overwritten during normal operation.
  • Barrier shaping: a tunable potential that changes when the geometry of the safe set changes.
  • Dissipation shaping: a graded slowdown that governs how aggressively the state may approach the boundary.
We list out tradeoffs among three safety mechanisms in Table 3. For the toy example, the stage-wise effective feasible set is
F eff ( τ ) : = x X : H ( x ; κ ( τ ) ) E max ( τ ) , C j ( x ) = c j for all locked invariants .
  • Mechanism 1: Dynamic potential shaping
Decompose the potential as
V ξ ( q ; E ) = V task ( q ; E ) + V barrier ( q ; κ ) ,
where the log-barrier enforces constraint feasibility:
V barrier ( q ; κ ) = α i log g i ( q ; κ ) .
As q F , V barrier . Passivity ( d H / d t 0 ) prevents the trajectory from gaining energy to climb the barrier.
  • Mechanism 2: Anisotropic dissipation shaping
R ξ ( q , p ; E ) = R 0 ( E ) + R margin ( q ; κ ) ,
where the margin dissipation increases near the boundary:
R margin ( q ; κ ) = β i 1 g i ( q ; κ ) 2 g i g i .
This is anisotropic: strong damping normal to the constraint surface and weak damping tangentially. The trajectory can explore along the boundary (learning its geometry for identifiability) while being strongly damped against crossing it.
  • Mechanism 3: Casimir invariants as hard safety constraints
Casimir functions C ( x ) satisfying { C , H ξ } = 0 (Definition 5) are preserved for all Hamiltonians, surviving potential reshaping, dissipation adjustment, and curriculum changes. From a Kolmogorov perspective, Casimirs incur zero marginal Landauer cost: once encoded in the Poisson-bracket structure, they require no ongoing memory, measurement, or erasure.
Remark 8
(Informational cost of safety). Updating the agent’s model of what is safe carries an overwrite cost. In a physical implementation, the irreversible component is lower-bounded by Δ Q safety k B T ln 2 · K ( F ( κ t + 1 ) F ( κ t ) ) for the erased portion of the description. For abstract software updates, this expression should be read as a formal overwrite budget rather than as a literal device-level energy audit.

4.4. Passivity Speed Limit for Constraint Tightening

The next proposition is a standard passivity/dissipation estimate tailored to curriculum-induced feasible-set contraction. Its novelty here does not lie in the inequality itself but in the interpretation of D max as a rate limiter for safe curriculum scheduling.
Proposition 3
(Passivity speed limit). Under Assumption 1, consider the trajectory in (3) satisfying the non-energy-extracting condition
y ( t ) u ( t ) 0 for almost every t [ 0 , T ] .
Suppose x ( 0 ) X E 0 with H ( x ( 0 ) ) = E 0 , and any transition into the updated feasible set requires the energy to reach some level at most E 1 < E 0 while the trajectory remains inside X E 0 . Then, every such transition satisfies
T E 0 E 1 D max ( E 0 ) .
The curriculum cannot tighten constraints faster than the system can dissipate energy.
Proof. 
By Proposition 1,
H ˙ ( x ( t ) ) = H R H + y u D max ( E 0 ) ,
where the inequality uses (34) and D max ( E 0 ) . Integrating from 0 to T, E 1 E 0 D max ( E 0 ) T , which rearranges to (35).    □
Remark 9
(Interpretation and limits). Proposition 3 is a worst-case lower bound. If an external controller is allowed to extract energy ( y u < 0 ), if  X E 0 is not compact, if  D max ( E 0 ) is not finite, or if stochastic excitation/exploration policies inject net power, the proposition no longer applies in the stated form. Section 6.4 gives a numerical stress test: the direct A C obstacle jump has NCD Z = 0.265 > δ safe = 0.245 and, when forced with a lagged barrier, produces negative clearance, whereas the admitted NCD-gated chain maintains positive clearance.

4.5. Coverage, Identifiability, and Entropy Reduction Rate

The occupation measure ρ η , E = 1 T 0 T δ z ( t ) d t determines which microstates have their K ( x ) reduced by observation. The coverage discrepancy is
Cov ( η ; E ) = D ρ η , E , ν E ,
where the target measure ν E weights regions of high S A (i.e., regions with much to discover), where d S A / d t is achievable (i.e., where the microstate is compressible rather than random).
The Fisher/observability proxy for algorithmic-entropy reduction is (using the same symbol conventions as Section 5.1)
I T ( ξ ) : = 0 T ξ h ξ ( x ( t ) ) Γ y 1 ξ h ξ ( x ( t ) ) d t .
Claim 2
(Fisher proxy for local posterior contraction). Let λ min ( I T ( ξ ) ) denote the smallest eigenvalue of the accumulated Fisher information matrix defined in (37). Large λ min ( I T ( ξ ) ) suggests that observations are informative in the weakest identified direction and therefore that the local posterior codelength can contract efficiently along the trajectory.
Note that Claim 2 is a local design claim, not a theorem about exact algorithmic entropy S A . Proposition 4 (Section 5.1) gives the qualified Laplace/MDL version under Assumption 2.
Remark 10
(Safety–identifiability alignment). Near constraint boundaries, dynamics are typically more structured (the boundary imposes regularity), so d S A / d t is higher near boundaries than in the interior. The most informative regions for identifiability are thus exactly where the agent most needs to learn constraint geometry. The spatio-temporal dissipation shaping (33) ensures a slow, safe approach. This alignment is task-dependent rather than universal (see Remark 12).

5. Identifiability, Curriculum, and Sequential Complexity

This section focuses on the Fisher-information claim and the measurement-complexity claim.

5.1. Fisher Information as a Local Codelength Proxy

For a trajectory x ( · ) and using the observation model from Assumption 2, the accumulated Fisher information is
I T ( ξ ) : = 0 T ξ h ξ ( x ( t ) ) Γ y 1 ξ h ξ ( x ( t ) ) d t .
To avoid singularities, we work with the ridge-stabilized matrix I T ρ : = I T + ρ I for any ρ > 0 .
Proposition 4
(Local Fisher proxy for posterior codelength contraction). Under Assumption 2, let the local negative log posterior around the current iterate be approximated by
log p ( ξ data 1 : T ) = const + 1 2 ( ξ ξ ^ T ) I T ρ ( ξ ξ ^ T ) + o ( ξ ξ ^ T 2 ) .
Define the local uncertainty-codelength score U T ρ : = 1 2 log det ( I T ρ ) . Then,
d ξ 2 log λ min ( I T ) + ρ U T ρ d ξ 2 log λ max ( I T ) + ρ .
Therefore, maximizing λ min ( I T ) increases a worst-direction lower bound on local posterior codelength contraction.
Proof. 
Let λ 1 , , λ d ξ be the eigenvalues of I T . Then, U T ρ = 1 2 i log ( λ i + ρ ) . Since λ min λ i λ max ,
d ξ 2 log ( λ min + ρ ) U T ρ d ξ 2 log ( λ max + ρ ) .
   □
Remark 11
(Status of the Fisher proxy). Proposition 4 is not a theorem about exact algorithmic entropy S A or exact Kolmogorov complexity. Under a Laplace approximation, the posterior codelength contains a curvature term 1 2 log det ( I T ρ ) plus lower-order constants, so Fisher information is used only as a local statistical codelength proxy. It can fail for multimodal posteriors, sensor aliasing, unobserved boundary parameters, severe model misspecification, or directions in which curvature is large but operationally irrelevant. In the scheduler, it is therefore paired with residual checks and NCD change rather than used as a standalone certificate.
Assumption 5
(Boundary-informative sensing). There exists a neighborhood N r ( F ) of the constraint boundary and a constant σ b > 0 such that the singular values of the Jacobian directions associated with the boundary parameters satisfy
σ min ξ h ξ ( x ) σ b f o r a l l x N r ( F ) .
Remark 12
(When safety and identifiability align). Under Assumption 5, dwelling near the boundary can improve λ min ( I T ) precisely in the directions that define the safe-set geometry. Without this assumption, the alignment can fail; there are perfectly safe problems whose boundaries are flat, hidden, or sensor-poor. Safety identifiability alignment is task-dependent rather than universal.

5.2. Curriculum Scheduling via NCD and NID

  • Notations used in this section
  • F eff ( τ ) : the effective feasible set at curriculum time τ , defined in (29). Always written with the time argument; bare F ( κ ) refers to the abstract set parameterized by κ , and F t (without subscript eff) is not used.
  • δ safe ( τ ) [ 0 , 1 ] : the admissible NCD threshold at step τ , derived from the Landauer budget B τ and defined in (42).
  • L Z ( y x ) : = L Z ( x y ) L Z ( x ) : practical conditional code length (not the algorithmic conditional K ( y x ) ); defined precisely in (40).
  • Δ t : total information change in bits at stage t (Proposition 5).
  • Δ k t : number of materially changed model coordinates at stage t (Assumption 4). These two quantities are distinct: Δ t = O ( Δ k t log d ξ / λ ) under the warm-start assumptions.
  • Implementation and sensitivity.
We compute L Z with a fixed, lossless compressor Z. Unless otherwise stated, Z is LZMA/XZ with preset 6 applied to a canonical byte string. Each environment is serialized as sorted-key JSON metadata, followed by ordered, quantized obstacle-boundary samples and, for grid tasks, row-major signed-distance samples. All strings are encoded as UTF-8, and all floating-point parameters are quantized before serialization. The practical rule uses
NCD Z ( x , y ) = Z ( x y ) min { Z ( x ) , Z ( y ) } max { Z ( x ) , Z ( y ) } ,
and Appendix A reports sensitivity to gzip/zlib level 6 and to a parameter-vector encoding.
  • The core problem
A perennial learner does not encounter all scenarios at once; it moves through them in sequence. The order and pace of that sequence is the curriculum. A poorly ordered curriculum is susceptible to failure in two distinct ways. First, if consecutive tasks are too similar, the agent wastes update budget re-encoding information it already holds. Second, if they are too different, the agent cannot absorb the changes within one dissipation interval—the feasible set F eff would need to jump discontinuously, which the passivity speed limit (Proposition 3) forbids. Good curriculum design lives in the space between these two failure modes.
  • Compression distance as a curriculum metric
The key insight is that two tasks are informationally close if knowing one makes the other easy to describe. This is precisely what the normalized compression distance NCD Z (Definition 14, (22)) captures, in the spirit of the similarity-metric and clustering-by-compression program of Li et al. [3], Cilibrasi and Vitányi [5]: if the concatenation Z ( E t E t + 1 ) is barely larger than Z ( E t ) alone, then E t + 1 is almost entirely predictable from E t —the transition carries little new information and is safe to absorb. Conversely, a large NCD Z signals that the new task contains a structure the model has never seen, and the agent must allocate additional update budget before accepting the step.
This compression-based view has the following suggestive thermodynamic reading. Define the practical conditional code length
L Z ( y x ) : = L Z ( x y ) L Z ( x ) ,
the extra bits needed to describe y given x as a side-channel. On the visited serialized family from Assumption 3, L Z ( E t + 1 E t ) locally approximates K ( E t + 1 E t ) , so it serves as a practical overwrite proxy for the curriculum step. This does not make NCD Z a universal learning-theoretic metric: it remains compressor- and representation-dependent and must be validated empirically against the transfer cost or safety violations in the task family.
  • The budget constraint
Let δ safe ( τ ) denote the fraction of the current code budget available in one curriculum interval, derived from the dissipation capacity D max ( E 0 ) and the Landauer rate via Proposition 3. A curriculum step is admissible only if its information content fits within that budget. The ideal (uncomputable) condition uses the NID:
e F ( κ τ ) , F ( κ τ + 1 ) δ safe ( τ ) ,
and the practical condition replaces the NID with its computable NCD Z surrogate (justified by Assumption 3):
NCD Z ( E t , E t + 1 ) δ safe ( t ) .
Concretely, if the dissipation integral over one step can absorb at most B t bits of erasure work, then δ safe ( t ) = B t / Z ( E t ) , so the threshold shrinks as tasks grow more complex and grows as the agent builds dissipative capacity. A step that fails the screen is not forbidden; the scheduler instead inserts intermediate environments until the chain of steps is individually admissible.
Example 2
(NCD screening on the moving-obstacle curriculum). Encode each environment as a structured description (dynamics, goal, sensor model, obstacle parameters). The compressed length Z ( E ) is a proxy for the model’s minimum description length under that scenario. For a nearby transition E A E B , where the obstacle moves by two grid cells,
Z ( E A ) = 222 , Z ( E B ) = 222 , Z ( E A E B ) = 232 ,
so NCD Z ( E A , E B ) = ( 232 222 ) / 222 0.045 . The small numerator ( 10 bytes) reflects the fact that once E A is known, E B requires almost no additional information to specify—only the new obstacle center.
A more disruptive change E A E C (obstacle doubles in size and relocates) yields Z ( E C ) = 221 , Z ( E A E C ) = 247 , so NCD Z ( E A , E C ) 0.117 . Here, the numerator ( 25 bytes) reflects that E C contains substantial new geometry the compressor cannot predict from E A .
If the per-step Landauer budget corresponds to 18 new compressed bytes, then δ safe = 18 / 222 0.081 . The first transition ( 0.045 < 0.081 ) is admitted; the second ( 0.117 > 0.081 ) is not, and the scheduler must find an intermediate scene E A with NCD Z ( E A , E A ) 0.081 and NCD Z ( E A , E C ) 0.081 before the full jump is attempted.
  • Curriculum Lifecycle
The four phases shown in Figure 4 describe not just geometric states but distinct information-theoretic regimes, each with its own dominant cost and its own trigger for the transition to the next phase.
  • Early phase (Phase 1 in Figure 4). The agent has limited knowledge of obstacle geometry, so it maintains a large, conservative F eff that includes a generous safety margin. The feasibility set is over-sized: the agent trades performance for safety by staying well away from the true boundary. Algorithmically, entropy S ^ A is high (many microstates consistent with the agent’s current model), and  NCD Z between consecutive observations is small because nothing surprising is happening. Transition trigger: once the Fisher information λ min ( I T ρ ) rises above λ (Assumption 4), the boundary geometry is sufficiently identified and Phase 2 begins.
  • Learning phase (Phase 2). With reliable boundary estimates, the agent begins tightening F eff —increasing barrier steepness (the scale α in the log-barrier potential (31)) and raising boundary dissipation—so that F eff contracts toward the true obstacle contour. Each contraction step satisfies (42): the model description shortens as uncertainty collapses, so S ^ A falls. The Landauer cost per step is low because the agent is mostly deleting uncertainty (erasing microstates it has ruled out) rather than encoding a genuinely new structure. Transition trigger: S ^ A stops decreasing, signaling that further tightening requires new observations rather than inference.
  • Constraint shift (Phase 3). An external event changes the true constraint—in the double-integrator example, the obstacle moves (red arrow in Figure 4). This injects new information: the old model of obstacle geometry is partially wrong, so NCD Z ( E t , E t + 1 ) spikes. The scheduler checks (42): if the spike exceeds δ safe , the transition is broken into smaller steps. Even so, the agent must pay the Landauer cost Δ K ^ t L Z ( F eff ( t + 1 ) F eff ( t ) ) (using the conditional code notation (40)) for each bit of old geometry it overwrites, and the rate of deformation of F eff is bounded by Proposition 3. This is the phase in which the thermodynamic cost is highest, and the safety of curriculum ordering matters most.
  • Steady state (Phase 4). The agent has re-adapted to the shifted obstacle and now tracks slow constraint drift with the amortized cost n seq = O ˜ ( Δ k t / λ ) measurements per update (Corollary 1), conditional on the warm-start assumptions of Proposition 5, where Δ k t is the number of parameters that have changed. The Casimir lock ensures that the invariants established in Phase 2 (momentum-budget conservation, obstacle-clearance structure) are not inadvertently erased during re-adaptation. F eff oscillates gently around the moving boundary rather than making discrete jumps. Return trigger: if NCD Z spikes again above δ safe , the lifecycle re-enters Phase 3.
Remark 13
(Why order matters even when all tasks are eventually visited). A common objection is that if the agent will eventually see all environments anyway, curriculum ordering is merely a performance optimization. This misses the thermodynamic point: a badly ordered curriculum forces the agent into Phase 3 prematurely and repeatedly, incurring Landauer costs proportional to the total variation in the constraint trajectory rather than its net displacement. A well-ordered curriculum—one in which NCD Z between consecutive steps stays below δ safe —keeps the agent near Phase 2 or Phase 4, where the erasure cost is amortized over many steps rather than concentrated in sudden rewrites [50].

5.3. Sequential Information Budget

Proposition 5
(Sequential information budget). Let Δ t denote the conditional description change that must be learned at stage t, measured in bits by a practical code such as L Z ( ξ t ξ t 1 ) . Suppose each newly acquired measurement contributes at most b eff bits of conditional mutual information about the changed component I ( ξ t ; Y i ξ t 1 , H t 1 ) b eff for each i. Then any sequential learner that resolves the changed description must use at least
n t Δ t b eff .
If, in addition, Assumption 4 holds and the estimator is restricted to the active block S t , then a warm-start local estimator can achieve
n t = O Δ k t log d ξ + log ( 1 / δ ) λ
for confidence level 1 δ .
Proof. 
The lower bound follows from the following chain rule: I ( ξ t ; Y 1 : n t ξ t 1 , H t 1 ) n t b eff . To resolve Δ t bits of changed description, the left-hand side must be at least Δ t , yielding (43).
Relationship between Δ t and Δ k t . Δ t is the total information content in bits that must be acquired; Δ k t is the number of model coordinates that have changed. Under the warm-start sparsity structure of Assumption 4, each of the Δ k t changed coordinates contributes at most O ( log d ξ / λ ) bits of local identification cost, so Δ t = O ( Δ k t log d ξ / λ ) , and the lower bound (43) is matched (up to constants) by the upper bound (44). The upper bound is the standard local-identification scaling on the active block under the Fisher lower bound λ ; only Δ k t coordinates need to be relearned.    □
Corollary 1
(Comparison with a cubic cold-start baseline). Suppose a chosen cold-start identification pipeline obeys N static ( k , d ξ ) = Θ ( k 3 log d ξ ) . Under the assumptions of Proposition 5, the warm-start sequential stage complexity obeys N seq ( t ) = O ( Δ k t log d ξ / λ ) . Hence, the “ k 3 Δ k ” improvement is valid only relative to that cold-start baseline and only when Δ k t k t 3 .
Example 3
(Numerical instance of the conditional improvement). Take d ξ = 256 , cold-start active complexity k t = 8 , changed block size Δ k t = 2 , and Fisher lower bound λ = 0.9 . A cold-start method has N static = 0.5 k t 3 log d ξ 1419 . A warm-start local estimator with N seq 4 Δ k t log d ξ / λ requires only about 49 measurements. If the drift rises to Δ k t = 6 , the same formula yields about 148 measurements: the budget grows with drift rather than with total task size.

5.4. Where Differential Policy Optimization (DPO) Fits

Differential Policy Optimization (DPO) is an external transport-based optimal control solver whose convergence and regret analysis are obtained from [42,51]. Its attraction here is conceptual: pointwise transport updates align naturally with the reversible branch of the PH decomposition and with Pontryagin-style trajectory optimization [52]. This manuscript does not prove that DPO is the unique optimal steering law for the PH learner, nor does it rederive the external O ( K 5 / 6 ) regret bound.
Theorem 5
(DPO pointwise convergence [42]). Let G θ k ( j ) denote the learned transport operator at stage j and step k, and let G * ( j ) denote the optimal operator. Then,
E G θ k ( j ) ( X ) G * ( j ) ( X ) < j L j ϵ L 1 ,
where L is the Lipschitz constant and ϵ is the per-stage error.
  • Thermodynamic interpretation of the regret bound
The regret decomposes into:
  • Inference regret: excess cost from suboptimal transport, i.e.,  K t ( x ) K ( x ) from the speed–dissipation tradeoff (Remark 4).
  • Safety regret: excess cost from unnecessary conservatism (staying too far from boundaries before learning constraint geometry).
As K , both components decrease. Total excess Landauer dissipation per episode: O ( K 5 / 6 ) .
  • Stochastic extension
The rough-path extension of DPO [51] handles the noise port Σ d W t in the stochastic PH system (24).
  • State-constrained DPO for safety
Standard DPO applies Pontryagin without state constraints [53]. For safe perennial learning, the constraint x ( t ) F eff ( τ ) is incorporated via the PH barrier potential V barrier  (31) and boundary dissipation R margin (33), converting the constrained problem into an unconstrained one with modified Hamiltonians. The co-state (adjoint) variable becomes the shadow price of constraint proximity.
  • Bilevel optimization
The coupled bilevel optimization governing the curriculum reads
min η E τ J ( η ; E ( τ ) ) s . t . κ ( τ ) = C ψ ( H τ ) , x ( t ) F eff ( τ ) t , max ψ E τ λ min I T ( ξ ; E ( τ ) ) α Cov ( η ; E ( τ ) ) s . t . κ ˙ ( τ ) κ max ( τ ) ,
where κ ˙ ( τ ) κ max ( τ ) is the passivity-derived speed limit (Proposition 3). Here, ψ denotes the curriculum-design parameters (the outer optimization variable governing how the curriculum sequence is shaped). This is distinct from ψ F t ( x ) , which is the scalar safety-barrier/margin term appearing in the running cost (12); the two ψ -objects share a letter but play different roles and are always distinguished by their arguments.
Remark 14.
[Algorithmic temperature and curriculum difficulty] Following Baez and Stay [54], the “algorithmic temperature” is the cost of doubling the number of programs. In the curriculum context, this maps to scenario difficulty: “hotter” scenarios (more stochastic, wider constraint sets) require more erasure work to compress. The curriculum implicitly schedules the temperature of the environments the demon faces [41].

6. Numerical Realization

The theoretical statements above are continuous-time. An implementation needs a discretization that does not destroy the passivity structure the theory relies on.

6.1. Discretization, Passivity Margin, and Stiffness Handling

We recommend a splitting integrator with three substeps:
  • Conservative step. Integrate x ˙ = J ( x ) H ( x ) using a symplectic method such as Störmer–Verlet or symplectic Euler [55].
  • Dissipative/barrier step. Integrate x ˙ = R ( x ) H ( x ) + G ( x ) u with a discrete-gradient or average-vector-field method [56], so that a discrete passivity inequality is preserved at the substep level.
  • Stochastic step. Integrate the Stratonovich noise using a midpoint/Heun-type method compatible with the chain rule [47].
For the dissipative substep, a discrete-gradient update yields
H ( x n + 1 ) H ( x n ) h y n u n h ¯ H R ( x ¯ n ) ¯ H ,
where ¯ H is a discrete gradient and h is the time step. A Strang split preserves this inequality up to O ( h 3 ) local and O ( h 2 ) global error when the subflows are solved to matching order [49].
Remark 15
(Barrier stiffness). The ideal log-barrier α log g ( q ; κ ) becomes stiff as g 0 . In numerics, we use the smoothed barrier α log ( g + ε ) from Example 1, together with adaptive stepping or an implicit dissipative substep. The theory remains stated for the ideal barrier; the implementation uses its regularized counterpart.
Remark 16
(Why Stratonovich rather than Itô?). The Stratonovich formulation is adopted because it obeys the ordinary chain rule and respects coordinate changes on geometric state spaces, which is natural for PH systems. If one rewrites in Itô form, an additional drift correction 1 2 j ( x Σ · j ) Σ · j appears [57]. Stratonovich models the continuous-time limit of rapidly varying physical perturbations more faithfully when PH geometry matters.

6.2. Algorithmic Template

We provide Algorithm 1 as a general perennial PH learning algorithm under budgeted curriculum updates. The policy update is realized by a time integration step rather than a transition function and NCD is used to compute the budget and guide the learned model sequence do adapt or maintain its current state.
Algorithm 1 Perennial PH learning with code-budgeted curriculum updates
  • Input: prior model ξ 0 , initial environment encoding E 0 , code proxy L Z , dissipation budget schedule
  • for  t = 1 , 2 , , T do
  •     encode proposed next environment E t and compute NCD Z ( E t 1 , E t )
  •     if  NCD Z ( E t 1 , E t ) > δ safe ( t )  then
  •         replace E t by an intermediate environment satisfying the budget
  •     end if
  •     warm-start the solver/policy from ξ t 1 (DPO or another local transport solver)
  •     update barrier and dissipation parameters for F eff ( t )
  •     integrate the PH dynamics by conservative/dissipative/stochastic splitting
  •     collect new measurements and update ξ t
  •     record overwrite proxy Δ K ^ t = [ L Z ( ξ t ) L Z ( ξ t 1 ) ] +
  •     monitor S A ^ ( t ) , λ min ( I t ) , and constraint-margin statistics
  • end for
  • Output: updated model sequence { ξ t } t = 0 T , safety and code-budget logs

6.3. Validation Protocol

  • Constrained autonomy
The moving-obstacle double-integrator example tests whether the PH controller can reshape barriers, preserve controller-side invariants, and reuse previous information safely. Relevant metrics: violation rate, minimum distance to the obstacle boundary, energy ratio H / E max , and drift of locked invariants.
  • Sequential data assimilation
The same framework applies when the “safe set” is a confidence region induced by sensors and physics constraints. Sensor dropout, new sensors, or changing observation operators generate the sequential-drift setting from Assumption 4; while ensemble Kalman and probabilistic transport formulations provide the practical baselines [58,59].

6.4. Numerical Case Study: NCD-Gated Moving-Obstacle Curriculum

We instantiate the running example as a planar double integrator with q , p R 2 , q ˙ = p , and  p ˙ = q V ( q ; κ ) D ( q ; κ ) p . The task is to move from q 0 = ( 1.15 , 0.75 ) to q g = ( 1.15 , 0.75 ) while avoiding a circular obstacle whose center and radius drift over curriculum time. The PH energy used by the controller is
H ( q , p ; κ ) = 1 2 p 2 + ω g 2 q q g 2 α log ( q c 2 r 2 + ε ) ,
with anisotropic damping
D ( q ; κ ) = β I + β b ( g ( q ; κ ) + ε ) 2 n ( q ) n ( q ) , g ( q ; κ ) = q c 2 r 2 , n ( q ) = q c q c .
The toy simulator in curriculum_learning_simulation.py uses α = 0.08 , k goal = 0.8 , β = 0.8 , β b = 0.05 , ε = 0.02 , d t = 10 2 , horizon 10, and acceleration clip 5.0 . Figure 5 shows the NCD-gated curriculum from stages { A , B , A , C , D } , along with obstacle-avoidance stage trajectory and the stage obstacles.
  • Environment encoding and NCD gate
Each environment E t is serialized as a canonical byte string consisting of sorted-key JSON metadata, the dynamics label, goal, sensor model, obstacle center and radius, and ordered quantized samples of the obstacle boundary. The primary compressor is LZMA/XZ preset 6. In the toy run, the admissibility threshold is δ safe = 0.245 . The direct shift A C has NCD Z = 0.265 and is rejected; the inserted chain A B A C D has admitted pairwise values of 0.236 , 0.242 , 0.237 , and  0.210 .
  • Diagnostics
We monitor four quantities: a practical algorithmic-entropy surrogate S ^ A ( t ) , a boundary-informative Fisher proxy, the NCD shock size between successive environments, and an overwrite proxy proportional to the conditional compressed length. Decreasing S ^ A ( t ) together with an increasing Fisher score indicates that measurements are reducing uncertainty faster than the model description grows. Figure 6 plots the perennial-learning diagnostics during the curriculum for stages { A , B , A , C , D } via four metrics for the toy obstacle-avoidance simulated example shown in Figure 5.
  • Passivity stress test
To illustrate Proposition 3, we compare the NCD-gated update against a forced update in which the physical obstacle jumps from A to C while the controller barrier is still centered at A. Figure 7 plots the passivity speed-limit test of the toy example given above comparing four different modes. In the admitted curriculum the minimum clearance remains positive ( 0.043 in normalized units). In the forced jump the minimum clearance is 0.234 , i.e., the true obstacle is penetrated before the lagged barrier can dissipate and redirect the trajectory. This should be read as a numerical illustration of the dissipation-bound interpretation, not as a universal benchmark.
  • Compact baseline summary
The toy simulator compares four modes: PH + NCD, forced jump with lagged barrier, no-barrier PH goal seeking, and a cold-start PH identification baseline. PH + NCD has zero violations in this run and uses the warm-start active-block sample budget. The forced jump violates the constraint in 6.2 % of time steps; the no-barrier baseline violates in 3.4 % ; the cold-start baseline avoids collision but uses a much larger measurement budget under the chosen cubic cold-start pipeline. Figure 8 plots a toy benchmark summary for comparing the four modes. These values are reported as a reproducible toy case study, not as a claim of broad empirical superiority over continual-learning or safe-RL baselines.
Figure 8. Toy benchmark summary. Sample budgets are scaled to the tallest bar; the exact numerical values are listed in Table 4.
Figure 8. Toy benchmark summary. Sample budgets are scaled to the tallest bar; the exact numerical values are listed in Table 4.
Entropy 28 00551 g008
Table 4. Quantitative metrics of a simulated moving-obstacle benchmark. We report the validation rate, minimum clearance of the path, mean path length (MPL), and number of measurements the program required for the computations.
Table 4. Quantitative metrics of a simulated moving-obstacle benchmark. We report the validation rate, minimum clearance of the path, mean path length (MPL), and number of measurements the program required for the computations.
MethodViolation %Min. ClearanceMPLMeasurementsComment
PH + NCD0.000.0433.77149Admitted chain A B A C D
Forced jump6.20−0.2343.921148Direct A C exceeds δ safe with lagged barrier
No barrier3.40−0.0884.10290Goal controller without log-barrier
Cold start0.000.0634.0731419Cubic cold-start identification baseline

7. Integration and Validation

7.1. The Perennial Inference Engine: Full Assembly

We now assemble all components into a single operational cycle.
  • One inference step
  • Observation (port G ξ u ξ ): new data arrives; the demon observes molecules.
  • Transport (DPO update via J H ): the policy pushes the current posterior toward the updated posterior via the learned transport map. This is reversible (zero Landauer cost).
  • Dissipation (Landauer cost via R ξ ): outdated beliefs are overwritten; energy k B T ln 2 per erased bit flows through the dissipation port. This is irreversible.
  • Conservation (Casimir C): structural invariants—symmetries, sparsity patterns, discovered physical laws—are preserved automatically (no memory, no measurement, no Landauer cost).
  • Safety check (energy certificate): H ξ ( x ( t ) ) E max ( τ ) is verified via passivity. If approaching the boundary, R margin increases, slowing the trajectory.
  • Headline quantitative result
Under the assumptions of Proposition 5 and Corollary 1, and relative to a cold-start baseline requiring n k 3 polylog d measurements, the perennial PH + DPO engine achieves n seq = O ( Δ k t log d ξ / λ ) (equivalently, O ˜ ( Δ k t / λ ) ) per step, conditional on the warm-start assumptions of Proposition 5, through the following mechanism:
Casimir   lock reduces phase - space volume lower   proposal   variance DPO transport proposal posterior .
Table 5 provides the key differences between a static learner and a perennial PH + DPO engine. This improvement is conditional on the warm-start assumptions and the chosen cold-start baseline.

7.2. Numerical Validation Protocol and Broader Benchmark Agenda

  • Validation Class 1: Constrained autonomy and navigation
The toy moving-obstacle case study in Section 6.4 is the first validation class: it directly measures violation rate, minimum clearance, path length, overwrite proxy, Fisher score, and curriculum admissibility under actual simulated trajectories. A broader benchmark suite should extend this to multi-agent and multi-joint systems with progressively tightening safety/feasibility constraints [8]. The perennial agent must then handle multiple spatial scales simultaneously: local obstacle avoidance (1:1), neighborhood-level planning (1:20), district-level routing (1:400), and city-level strategy (1:80,000). Each scale has its own feasibility set F ( κ ) , constraint complexity K ( F ) , and identifiability challenges. The PH framework handles this via hierarchical energy shaping: Casimir invariants at the highest scale (road network topology, traffic laws), barrier potentials at intermediate scales (lane boundaries, intersection geometry), and dissipation shaping at the local scale (collision-avoidance margins).
  • Validation Class 2: Sequential inference and data assimilation
Changing observation operators (sensor failures, new sensors coming online) and tightening noise budgets [60,61] define the second validation class. The feasibility set then corresponds to posterior states consistent with the observation model; sensor failure expands the feasible posterior in an unexplored direction. In that regime, the relevant empirical baselines include replay-style continual-learning policies, EWC/GEM-style parameter protection, ensemble Kalman methods, and safe control and barrier-function baselines. We do not claim superiority over those families here; rather, the present paper supplies the PH bookkeeping and the toy case study that such a large benchmark should evaluate.
  • Safety-specific evaluation metrics
(i)
Constraint-violation frequency.
(ii)
Minimum distance to constraint boundary over trajectory.
(iii)
Energy-budget utilization H ( t ) / E max .
(iv)
Casimir-invariant drift | C ( x ( t ) ) C ( x ( 0 ) ) | .
(v)
Hausdorff distance between F eff and F ( κ ) .

8. Discussion, Limitations, and Conclusions

We have developed a unified framework for perennial machine learning grounded in three classical pillars: Kolmogorov complexity (learning as compression), Landauer accounting (irreversible overwrite has a physical lower bound in concrete devices and a formal bookkeeping role in the abstract model), and port-Hamiltonian dynamics (the learning engine has structure). The Maxwell/Szilard analogy motivates the separation between reversible transport and irreversible overwrite, but the formal content of this paper consists of the explicit set of propositions and assumptions. The information-distance framework provides a computable geometry for measuring learning progress and designing safe curricula. Differential Policy Optimization supplies one transport law, imported from [42], with a regret bound interpretable as excess overwrite cost. The resulting perennial inference engine separates zero-cost reversible inference from costly irreversible forgetting by construction, enforces safety through energy certificates and Casimir invariants, and achieves amortized measurement complexity n seq = O ˜ ( Δ k log d ξ / λ ) relative to a chosen cold-start baseline, conditional on warm-start initialization (Proposition 5 and Corollary 1).

8.1. Thermodynamic Learning by Lifting, Reduction, and PH Model Enrichment

A complementary thermodynamic interpretation of learning is complexity reduction through the recognition of a pattern in the PH phase portrait. In this view, the data are not only observations to be compressed but also a family of trajectories generated by a PH vector field. Learning occurs when this family is recognized as the projection of a lower-dimensional or more structured PH dynamics. This is common in nonequilibrium and rate thermodynamics: one often lifts the original variables to tangent, cotangent, or contact-type spaces, studies the lifted dynamics, and then identifies a reduced dynamics whose phase portrait captures the emergent pattern. The classical Lagrange multiplier construction can be read in this way: the constrained problem is lifted to an augmented space in which constraints become geometric variables, after which the reduced extremal dynamics reveals the effective law.
This perspective is consistent with the perennial-learning framework. The PH learner can either compress a phase portrait by reducing variables when a coherent pattern is discovered or enrich the model when the current coarse variables no longer close the dynamics. The latter is essential in thermodynamic modeling: a simple-fluid model may ignore microscopic configuration variables, whereas a complex-fluid model must promote molecular orientation, conformation, or internal stress into the state. In our notation, this enrichment may increase K ( ξ ) or L Z ( ξ ) initially but can reduce the residual uncertainty enough to lower the total description length. Thus, reduction and enrichment are two sides of the same compression principle: reduce when the lifted phase portrait reveals a lower-order invariant and extend when omitted microscopic variables become macroscopically active. From the viewpoint of algorithmic statistics, this is also a model-selection question about which structured description best balances fit and complexity, in the spirit of Kolmogorov structure functions [4]. A full theory of automated PH lifting/reduction remains open.

8.2. Limitations

  • Proxy calibration is local and task-family dependent. Exact K is never optimized directly. Every implementable program statement uses L Z or another explicit code proxy, and Assumption 3 is deliberately restricted to the finite serialized model family actually visited by the curriculum.
  • The Fisher codelength proxy is local. Proposition 4 is a Laplace/MDL-style curvature diagnostic; it can fail for multimodal, aliased, or strongly misspecified posteriors.
  • The k 3 Δ k comparison is conditional. Corollary 1 is relative to a chosen cold-start baseline and depends on warm start, active-block drift, and informative local curvature. It is not a universal law of perennial learning.
  • NCD admissibility is a screen, not a guarantee. Curriculum gating is compressor- and representation-dependent. It becomes a validated metric only after correlation with transfer cost, overwrite cost, or safety violations is measured in the task family.
  • Numerical stiffness and solver dependence remain practical constraints. Barriers near the boundary require regularization and careful time stepping, and DPO is one plausible transport solver rather than a theorem of necessity.
More broadly, the present framework also incorporates the algorithmic information-theoretic view of inductive learning and cognition: if learning is compression under structural constraints, then perennial adaptation can be considered a controlled form of inductive inference with memory and overwrite budgets [41,50].

8.3. Open Problems

  • Adaptive Casimir selection. Can the system learn which invariants to protect? If a constraint has not changed in N curriculum steps, K ( κ t + N κ t ) 0 , does this suggest promotion to Casimir status?
  • Computable K proxies. Can we replace Kolmogorov complexity with practical compression-based surrogates (NCD, minimum description length) for the Landauer cost, Ω life , and NID-based curriculum [3,4,5]?
  • The safety–identifiability frontier. Does the optimal boundary dissipation β minimize the total Landauer cost, balancing extra-measurement cost (poor identifiability at high β ) against constraint-violation recovery cost (at low β )?
  • Algorithmic emergence detection. Can the agent detect phase transitions in its own learning dynamics—moments where S A drops discontinuously, signaling qualitative discovery [44,62]?
  • Tighter regret under PH structure. Does the O ( K 5 / 6 ) bound tighten when DPO is applied to a system with known PH structure?
  • Quantum extension. How can we extend the framework to quantum inference, where K of pure quantum states replaces classical K ([32], §8.7)?

Funding

This work was additionally supported by gifts from the Peter O’Donnell Foundation (account #30212223) and the Jim Holland Foundation (account #30212279).

Data Availability Statement

No new data were created or analyzed in this study. Data sharing is not applicable to this article.

Acknowledgments

Many thanks to Shubham Bhardwaj, Ryan Farell, Harsh Tirhekar, Luke McLellan, Minh Nguyen, Aditya Sai, and Yi Wang for staying the course with me as we continue to advance together using Port-Hamiltonian dynamics.

Conflicts of Interest

The author declare no conflicts of interest.

Appendix A. Reproducibility Details for the NCD-Gated Toy Case Study

  • Primary compressor
This manuscript uses LZMA/XZ preset 6 as the primary compressor for L Z and NCD Z in the toy study. Sensitivity checks use gzip/zlib level 6 and parameter-vector encoding.
  • Canonical serialization
Each environment encoding begins with sorted-key JSON metadata containing the dynamics label, mass, goal, sensor model, barrier type, damping type, grid size, obstacle center, obstacle radius, and stage label. This header is followed by repeated ordered text records for the obstacle geometry and ordered boundary samples. Strings are UTF-8 encoded, and floating-point values are quantized before serialization.
  • Toy simulation hyperparameters
The numerical study in Section 6.4 uses horizon 10.0 , step size d t = 0.01 , barrier weight α = 0.08 , goal-spring coefficient k goal = 0.8 , isotropic damping β = 0.8 , margin damping β b = 0.05 , smoothing ε = 0.02 , and acceleration clip 5.0 . The curriculum scenes are
A = ( 0.10 , 0.18 , 0.25 ) , B = ( 0.02 , 0.16 , 0.25 ) , A = ( 0.25 , 0.08 , 0.30 ) , C = ( 0.48 , 0.00 , 0.35 ) , D = ( 0.55 , 0.02 , 0.35 ) ,
where each tuple has an obstacle center ( c 1 , c 2 ) and radius r.
  • Curriculum thresholds and outcomes
The toy run uses δ safe = 0.245 . The admitted pairwise NCD values are 0.236 , 0.242 , 0.237 , and  0.210 , while the direct A C jump has NCD Z = 0.265 and is rejected by the screen. The accompanying JSON file toy_benchmark_results.json records the exact table values used in Section 6.4.

References

  1. Li, M.; Vitányi, P.M. A new approach to formal language theory by Kolmogorov complexity. SIAM J. Comput. 1995, 24, 398–410. [Google Scholar] [CrossRef]
  2. Li, M.; Vitányi, P.M. Reversibility and adiabatic computation: Trading time and space for energy. Proc. R. Soc. Lond. Ser. A Math. Phys. Eng. Sci. 1996, 452, 769–789. [Google Scholar]
  3. Li, M.; Chen, X.; Li, X.; Ma, B.; Vitányi, P.M.B. The Similarity Metric. IEEE Trans. Inf. Theory 2004, 50, 3250–3264. [Google Scholar] [CrossRef]
  4. Vereshchagin, N.K.; Vitányi, P.M. Kolmogorov’s structure functions and model selection. IEEE Trans. Inf. Theory 2004, 50, 3265–3290. [Google Scholar] [CrossRef]
  5. Cilibrasi, R.; Vitányi, P.M.B. Clustering by Compression. IEEE Trans. Inf. Theory 2005, 51, 1523–1545. [Google Scholar] [CrossRef]
  6. Parisi, G.I.; Kemker, R.; Part, J.L.; Kanan, C.; Wermter, S. Continual Lifelong Learning with Neural Networks: A Review. Neural Netw. 2019, 113, 54–71. [Google Scholar] [CrossRef]
  7. Thrun, S.; Mitchell, T.M. Lifelong Robot Learning. Robot. Auton. Syst. 1995, 15, 25–46. [Google Scholar] [CrossRef]
  8. Ellendula, A.S.; Wang, Y.; Nguyen, M.P.; Bajaj, C.L. GRL-SNAM: Geometric Reinforcement Learning with Differential Hamiltonians for Navigation and Mapping in Unknown Environments. In Proceedings of the Fourteenth International Conference on Learning Representations, Rio de Janeiro, Brazil, 23–26 April 2026. [Google Scholar]
  9. Kirkpatrick, J.; Pascanu, R.; Rabinowitz, N.; Veness, J.; Desjardins, G.; Rusu, A.A.; Milan, K.; Quan, J.; Ramalho, T.; Grabska-Barwinska, A.; et al. Overcoming Catastrophic Forgetting in Neural Networks. Proc. Natl. Acad. Sci. USA 2017, 114, 3521–3526. [Google Scholar] [CrossRef] [PubMed]
  10. Zenke, F.; Poole, B.; Ganguli, S. Continual Learning Through Synaptic Intelligence. In Proceedings of the 34th International Conference on Machine Learning, Sydney, Australia, 6–11 August 2017; pp. 3987–3995. [Google Scholar]
  11. Lopez-Paz, D.; Ranzato, M. Gradient Episodic Memory for Continual Learning. In Proceedings of the Advances in Neural Information Processing Systems 30, Long Beach, CA, USA, 4–9 December 2017; pp. 6467–6476. [Google Scholar]
  12. Schwarz, J.; Luketina, J.; Czarnecki, W.M.; Grabska-Barwinska, A.; Teh, Y.W.; Pascanu, R.; Gretton, A. Progress & Compress: A Scalable Framework for Continual Learning. In Proceedings of the 35th International Conference on Machine Learning, Stockholm, Sweden, 10–15 July 2018; pp. 4528–4537. [Google Scholar]
  13. Reif, J.H. Complexity of the Mover’s Problem and Generalizations. In Proceedings of the 20th Annual Symposium on Foundations of Computer Science, San Juan, Puerto Rico, 29–31 October 1979; pp. 421–427. [Google Scholar] [CrossRef]
  14. Canny, J.F. The Complexity of Robot Motion Planning; MIT Press: Cambridge, MA, USA, 1988. [Google Scholar]
  15. Goldstein, H.; Poole, C.; Safko, J. Classical Mechanics, 3rd ed.; Addison-Wesley: San Francisco, CA, USA, 2001. [Google Scholar]
  16. Arnold, V.I. Mathematical Methods of Classical Mechanics, 2nd ed.; Springer: New York, NY, USA, 1989. [Google Scholar] [CrossRef]
  17. Still, S.; Sivak, D.A.; Bell, A.J.; Crooks, G.E. Thermodynamics of Prediction. Phys. Rev. Lett. 2012, 109, 120604. [Google Scholar] [CrossRef]
  18. Wolpert, D.H. Information Theory—The Bridge Connecting Bounded Rational Game Theory and Statistical Physics. In Complex Engineered Systems; Understanding Complex Systems; Springer: Berlin/Heidelberg, Germany, 2006; pp. 262–290. [Google Scholar] [CrossRef]
  19. Parrondo, J.M.R.; Horowitz, J.M.; Sagawa, T. Thermodynamics of Information. Nat. Phys. 2015, 11, 131–139. [Google Scholar] [CrossRef]
  20. van der Schaft, A.; Jeltsema, D. Port-Hamiltonian Systems Theory: An Introductory Overview. Found. Trends Syst. Control 2014, 1, 173–378. [Google Scholar] [CrossRef]
  21. Todorov, E. Efficient Computation of Optimal Actions. Proc. Natl. Acad. Sci. USA 2009, 106, 11478–11483. [Google Scholar] [CrossRef]
  22. Kappen, H.J. Path Integrals and Symmetry Breaking for Optimal Control Theory. J. Stat. Mech. Theory Exp. 2005, 2005, P11011. [Google Scholar] [CrossRef]
  23. Eysenbach, B.; Levine, S. Maximum Entropy RL (Provably) Solves Some Robust RL Problems. In Proceedings of the International Conference on Learning Representations, Virtual, 25 April 2022. [Google Scholar]
  24. Berkenkamp, F.; Turchetta, M.; Schoellig, A.P.; Krause, A. Safe Model-Based Reinforcement Learning with Stability Guarantees. In Proceedings of the Advances in Neural Information Processing Systems 30, Long Beach, CA, USA, 4–9 December 2017; pp. 908–918. [Google Scholar]
  25. Fisac, J.F.; Akametalu, A.K.; Zeilinger, M.N.; Kaynama, S.; Gillula, J.; Tomlin, C.J. A General Safety Framework for Learning-Based Control in Uncertain Robotic Systems. IEEE Trans. Autom. Control 2019, 64, 2737–2752. [Google Scholar] [CrossRef]
  26. Desai, S.A.; Mattheakis, M.; Sondak, D.; Protopapas, P.; Roberts, S.J. Port-Hamiltonian Neural Networks for Learning Explicit Time-Dependent Dynamical Systems. Phys. Rev. E 2021, 104, 034312. [Google Scholar] [CrossRef]
  27. Sosanya, A.; Greydanus, S. Dissipative Hamiltonian Neural Networks: Learning Dissipative and Conservative Dynamics Separately. arXiv 2022, arXiv:2201.10085. [Google Scholar] [CrossRef]
  28. Zhong, Y.D.; Dey, B.; Chakraborty, A. Dissipative SymODEN: Encoding Hamiltonian Dynamics with Dissipation and Control into Deep Learning. arXiv 2020, arXiv:2002.08860. [Google Scholar] [CrossRef]
  29. Bajaj, C. Proving geometric algorithm non-solvability: An application of factoring polynomials. J. Symb. Comput. 1986, 2, 99–102. [Google Scholar] [CrossRef]
  30. Bajaj, C. Geometric optimization and the polynomial hierarchy. Theor. Comput. Sci. 1987, 54, 87–102. [Google Scholar] [CrossRef]
  31. Bajaj, C.; Li, M. Geometric optimization and DP-completeness. Discret. Comput. Geom. 1989, 4, 3–13. [Google Scholar] [CrossRef]
  32. Li, M.; Vitányi, P.M.B. An Introduction to Kolmogorov Complexity and Its Applications, 4th ed.; Springer: Cham, Switzerland, 2019. [Google Scholar] [CrossRef]
  33. Vitányi, P.M. Conditional Kolmogorov complexity and universal probability. Theor. Comput. Sci. 2013, 505, 93–100. [Google Scholar] [CrossRef]
  34. Grünwald, P.D. The Minimum Description Length Principle; MIT Press: Cambridge, MA, USA, 2007. [Google Scholar]
  35. Landauer, R. Irreversibility and Heat Generation in the Computing Process. IBM J. Res. Dev. 1961, 5, 183–191. [Google Scholar] [CrossRef]
  36. Bennett, C.H. The Thermodynamics of Computation—A Review. Int. J. Theor. Phys. 1982, 21, 905–940. [Google Scholar] [CrossRef]
  37. Fredkin, E.; Toffoli, T. Conservative Logic. Int. J. Theor. Phys. 1982, 21, 219–253. [Google Scholar] [CrossRef]
  38. Boyd, A.B.; Mandal, D.; Riechers, P.M.; Crutchfield, J.P. Transient Dissipation and Structural Costs of Physical Information Transduction. Phys. Rev. Lett. 2017, 118, 220602. [Google Scholar] [CrossRef]
  39. Morrison, P.J. A paradigm for joined Hamiltonian and dissipative systems. Phys. D Nonlinear Phenom. 1986, 18, 410–419. [Google Scholar] [CrossRef]
  40. Bajaj, C. Computer Algebra Meets Hamiltonian Geometry. Maple Trans. 2026, 6, 24248. [Google Scholar] [CrossRef]
  41. Li, M.; Vitányi, P.M.B. Inductive reasoning and Kolmogorov complexity. J. Comput. Syst. Sci. 1992, 44, 343–384. [Google Scholar] [CrossRef]
  42. Nguyen, M.P.; Bajaj, C.L. A Differential and Pointwise Control Approach to Reinforcement Learning. In Proceedings of the Thirty-Ninth Annual Conference on Neural Information Processing Systems, San Diego, CA, USA, 2–7 December 2025. [Google Scholar]
  43. Boyd, A.B.; Mandal, D.; Crutchfield, J.P. Thermodynamics of Modularity: Structural Costs Beyond the Landauer Bound. Phys. Rev. X 2018, 8, 031036. [Google Scholar] [CrossRef]
  44. Crutchfield, J.P. The calculi of emergence: Computation, dynamics and induction. Phys. D Nonlinear Phenom. 1994, 75, 11–54. [Google Scholar] [CrossRef]
  45. Szilard, L. Über die Entropieverminderung in einem thermodynamischen System bei Eingriffen intelligenter Wesen. Z. Phys. 1929, 53, 840–856. [Google Scholar] [CrossRef]
  46. Boyd, A.B.; Mandal, D.; Crutchfield, J.P. Correlation-Powered Information Engines and the Thermodynamics of Self-Correction. Phys. Rev. E 2017, 95, 012152. [Google Scholar] [CrossRef]
  47. Lázaro-Camí, J.A.; Ortega, J.P. Stochastic Hamiltonian Dynamical Systems. Rep. Math. Phys. 2008, 61, 65–122. [Google Scholar] [CrossRef]
  48. Cordoni, F.; Di Persio, L.; Muradore, R. Stochastic port-Hamiltonian systems. J. Nonlinear Sci. 2022, 32, 91. [Google Scholar] [CrossRef]
  49. Bhardwaj, S.; Bajaj, C. PHAST: Port-Hamiltonian Architecture for Structured Temporal Dynamics Forecasting. arXiv 2026, arXiv:2602.17998. [Google Scholar] [CrossRef]
  50. Hsu, A.S.; Chater, N.; Vitányi, P. Language Learning From Positive Evidence, Reconsidered: A Simplicity-Based Approach. Top. Cogn. Sci. 2013, 5, 35–55. [Google Scholar] [CrossRef]
  51. Nguyen, M.P.; Bajaj, C.L. Stochastic Differential Policy Optimization: A Rough Path Approach to Reinforcement Learning. In Proceedings of the Workshop on the Theory of AI for Scientific Computing, Lyon, France, 30 June 2025. [Google Scholar]
  52. Pontryagin, L.S.; Boltyanskii, V.G.; Gamkrelidze, R.V.; Mishchenko, E.F. The Mathematical Theory of Optimal Processes; Interscience: New York, NY, USA, 1962. [Google Scholar]
  53. Bajaj, C.; Nguyen, M. Physics-informed neural networks via stochastic hamiltonian dynamics learning. In Proceedings of the Intelligent Systems Conference; Springer: Berlin/Heidelberg, Germany, 2024; pp. 182–197. [Google Scholar]
  54. Baez, J.C.; Stay, M. Algorithmic Thermodynamics. Math. Struct. Comput. Sci. 2012, 22, 771–787. [Google Scholar] [CrossRef]
  55. Hairer, E.; Lubich, C.; Wanner, G. Geometric Numerical Integration: Structure-Preserving Algorithms for Ordinary Differential Equations, 2nd ed.; Springer: Berlin/Heidelberg, Germany, 2006. [Google Scholar] [CrossRef]
  56. Quispel, G.R.W.; McLaren, D.I. A New Class of Energy-Preserving Numerical Integration Methods. J. Phys. A Math. Theor. 2008, 41, 045206. [Google Scholar] [CrossRef]
  57. McLennan, L.; Wang, Y.; Farell, R.; Nguyen, M.; Bajaj, C. Learning Generalized Hamiltonian Dynamics with Stability from Noisy Trajectory Data. arXiv 2025, arXiv:2509.07280. [Google Scholar] [CrossRef]
  58. Evensen, G. Data Assimilation: The Ensemble Kalman Filter, 2nd ed.; Springer: Berlin/Heidelberg, Germany, 2009. [Google Scholar] [CrossRef]
  59. Reich, S.; Cotter, C. Probabilistic Forecasting and Bayesian Data Assimilation; Cambridge University Press: Cambridge, UK, 2015. [Google Scholar] [CrossRef]
  60. Ellendula, A.S.; Wang, Y.; Bajaj, C.L. Learning Material-Aware Hamiltonian Risk Fields for Safe Navigation. arXiv 2026, arXiv:2605.07038. [Google Scholar] [CrossRef]
  61. Wang, Y.; Bajaj, C. When Descent Is Too Stable: Event-Triggered Hamiltonian Learning to Optimize. arXiv 2026, arXiv:2605.06868. [Google Scholar] [CrossRef]
  62. Bédard, C.; Bergeron, D. An Algorithmic Approach to Emergence. Entropy 2022, 24, 985. [Google Scholar] [CrossRef] [PubMed]
Figure 1. Schematic diagnostic; not empirical data. Algorithmic-entropy diagnostic (Section 3.3). Decreasing S ^ A ( t ) indicates that measurements are reducing uncertainty faster than model codelength grows (genuine discovery); a nearly flat curve indicates memorization of noise. The figure is purely schematic; it is intended to visualizes a diagnostic criterion rather than report empirical data.
Figure 1. Schematic diagnostic; not empirical data. Algorithmic-entropy diagnostic (Section 3.3). Decreasing S ^ A ( t ) indicates that measurements are reducing uncertainty faster than model codelength grows (genuine discovery); a nearly flat curve indicates memorization of noise. The figure is purely schematic; it is intended to visualizes a diagnostic criterion rather than report empirical data.
Entropy 28 00551 g001
Figure 2. Perennial inference engine architecture display. Three explicit components in differential form handle data input, reversible transport, and irreversible (dissipative) overwrite. Only the dissipative branch carries a Landauer lower bound; the Casimir lock (dashed arrow) enforces the “never overwrite” structural invariant without dissipating energy.
Figure 2. Perennial inference engine architecture display. Three explicit components in differential form handle data input, reversible transport, and irreversible (dissipative) overwrite. Only the dissipative branch carries a Landauer lower bound; the Casimir lock (dashed arrow) enforces the “never overwrite” structural invariant without dissipating energy.
Entropy 28 00551 g002
Figure 3. Schematic diagnostic, not empirical data. Safety hierarchy (Section 4.3). Permanent structure belongs in Casimirs, geometric changes belong in barriers, and approach-rate control belongs in dissipation. Combining all three into a single penalty obscures both safety and update cost.
Figure 3. Schematic diagnostic, not empirical data. Safety hierarchy (Section 4.3). Permanent structure belongs in Casimirs, geometric changes belong in barriers, and approach-rate control belongs in dissipation. Combining all three into a single penalty obscures both safety and update cost.
Entropy 28 00551 g003
Figure 4. Schematic diagnostic of curriculum lifecycle discussed in Section 5.2. Each panel shows F eff ( τ ) (solid blue ellipse) and the obstacle (gray disc). Transition arrows above the panels: green = step admitted ( NCD Z δ safe ); red × = screened, intermediate E A inserted. Inward arrows in Phase 2 show F eff contracting as the boundary geometry is learned. In Phase 3, the dashed ellipse is the ghost of the old F eff ; the dotted ellipse is E A ; and the red arrow is the obstacle shift. Cost annotations below each panel indicate the dominant information-theoretic regime. Key invariant: the solid blue ellipse deforms continuously—it never jumps.
Figure 4. Schematic diagnostic of curriculum lifecycle discussed in Section 5.2. Each panel shows F eff ( τ ) (solid blue ellipse) and the obstacle (gray disc). Transition arrows above the panels: green = step admitted ( NCD Z δ safe ); red × = screened, intermediate E A inserted. Inward arrows in Phase 2 show F eff contracting as the boundary geometry is learned. In Phase 3, the dashed ellipse is the ghost of the old F eff ; the dotted ellipse is E A ; and the red arrow is the obstacle shift. Cost annotations below each panel indicate the dominant information-theoretic regime. Key invariant: the solid blue ellipse deforms continuously—it never jumps.
Entropy 28 00551 g004
Figure 5. NCD-gated curriculum for the moving-obstacle double integrator. Each colored curve is a learned obstacle-avoidance stage trajectory from start to goal, and each dashed circle represents the corresponding obstacle at that stage.
Figure 5. NCD-gated curriculum for the moving-obstacle double integrator. Each colored curve is a learned obstacle-avoidance stage trajectory from start to goal, and each dashed circle represents the corresponding obstacle at that stage.
Entropy 28 00551 g005
Figure 6. Perennial-learning diagnostics during the curriculum. The plot reports a normalized S ^ A surrogate, a normalized Fisher proxy, a normalized NCD step size, and a normalized overwrite proxy over the five-stage curriculum.
Figure 6. Perennial-learning diagnostics during the curriculum. The plot reports a normalized S ^ A surrogate, a normalized Fisher proxy, a normalized NCD step size, and a normalized overwrite proxy over the five-stage curriculum.
Entropy 28 00551 g006
Figure 7. Passivity speed-limit stress test. The admitted transition maintains positive clearance, while the forced direct jump with a lagged barrier crosses the collision boundary.
Figure 7. Passivity speed-limit stress test. The admitted transition maintains positive clearance, while the forced direct jump with a lagged barrier crosses the collision boundary.
Entropy 28 00551 g007
Table 1. A nomenclature mapping between the Maxwell’s Demon and the Learning Agent.
Table 1. A nomenclature mapping between the Maxwell’s Demon and the Learning Agent.
Demon ComponentLearning-Agent Analog
Demon’s memoryMeta-parameters η (policy/design variables)
Measuring molecule speedObserving data
Sorting fast/slowUpdating posterior
Memory erasureOverwriting old beliefs ( Ω life )
Heat-bath temperature TEnvironment stochasticity
Szilard cycleOne episode of online learning
Table 2. Thermodynamic interpretation of PH terms.
Table 2. Thermodynamic interpretation of PH terms.
PH TermThermodynamic RoleKolmogorov Cost
J H (symplectic)Reversible inference; reorganizes beliefsZero Landauer cost
R p H (dissipation)Irreversible forgetting; erases outdated beliefs k B T ln 2 per erased bit
G ξ u ξ (control port)Observation intake; new data enters the systemInformation gain K ( u )
Σ d W t (noise port)Environmental stochasticityIrreducible uncertainty
Table 3. Safety-mechanism tradeoffs.
Table 3. Safety-mechanism tradeoffs.
TypeEnforcementLandauer CostUse for
Casimir ( { C , H } = 0 )Permanent, exactZeroConservation laws, hard actuator limits
Barrier ( V barrier )Soft, adjustable K ( Δ V ) per updateMoving obstacles, tightening clearances
Dissipation ( R margin )Graduated slowdownModerate (operating cost)Safety margins, approach speed limits
Table 5. Static learner vs. perennial PH + DPO engine.
Table 5. Static learner vs. perennial PH + DPO engine.
ComponentStatic LearnerPerennial PH + DPO
Proposal QFixed product distributionLearned transport μ K via DPO
Search spaceDiscrete subset Ω k Casimir-locked phase space
SafetyPost-hoc constraint checkEnergy certificate + barrier + dissipation
Scaling n = Θ ( k 3 polylog d ) (global) n = O ˜ ( Δ k / λ ) (warm-start, conditional)
Forgetting costUncontrolled (catastrophic)Budgeted by Ω life Δ K
StructureNoneCasimir invariants (zero Landauer cost)
CurriculumNoneNID/NCD-guided feasibility-set evolution
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Share and Cite

MDPI and ACS Style

Bajaj, C. The Physics, Information, and Computation of Perennial Learning: Kolmogorov Complexity, Information Distance, and Port-Hamiltonian Thermodynamics. Entropy 2026, 28, 551. https://doi.org/10.3390/e28050551

AMA Style

Bajaj C. The Physics, Information, and Computation of Perennial Learning: Kolmogorov Complexity, Information Distance, and Port-Hamiltonian Thermodynamics. Entropy. 2026; 28(5):551. https://doi.org/10.3390/e28050551

Chicago/Turabian Style

Bajaj, Chandrajit. 2026. "The Physics, Information, and Computation of Perennial Learning: Kolmogorov Complexity, Information Distance, and Port-Hamiltonian Thermodynamics" Entropy 28, no. 5: 551. https://doi.org/10.3390/e28050551

APA Style

Bajaj, C. (2026). The Physics, Information, and Computation of Perennial Learning: Kolmogorov Complexity, Information Distance, and Port-Hamiltonian Thermodynamics. Entropy, 28(5), 551. https://doi.org/10.3390/e28050551

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop