Finite-Time Nonequilibrium Thermodynamics of Generalization and Memorization

Stochastic learning dissipates entropy, yet total entropy production conflates productive generalization with sample-specific memorization. For the hierarchical Markov chain Θ → S → Wt under continuous-time overdamped Langevin dynamics, we specialize the midpoint mutual-information framework to separate marginalized transport, generalization, and memorization dissipation, and prove a posterior strong data-processing efficiency ceiling on data-dependent dissipation allocation. Under symmetric positive-definite (SPD) diffusion with finite energy, this ceiling holds globally for isotropic, scalar, or simultaneously congruently diagonalizable diffusion tensors and for all binary tasks (|Θ| = 2) even under arbitrary noncommuting SPD diffusion; by contrast, for multiclass tasks (|Θ| ≥ 3) with noncommuting data-dependent diffusion, we construct explicit static and finite-time 2D dynamical stochastic differential equation examples (cond ≈ 38.04) that breach the scalar ceiling both instantaneously and cumulatively. Under isotropic gradient-driven dynamics, we derive an exact generalization-gap thermodynamic accounting identity separating memorization dissipation, memorization mutual information, and bias-flow work (along with its Riemannian Einstein-relation extension), analyze a four-level random-design versus label-channel Marchenko–Pastur regression model (separating finite-temperature null-space flooding, ridgeless minimum-norm scaling, and Hessian-aligned diffusion), and benchmark all relations on conservative 2D Fokker–Planck partial differential equations, a compact 2-layer SiLU network (d = 7) with conditional Bayesian-bootstrap diagnostics, and a medium-dimensional (d = 4–32) dimension and sample-size benchmark against exact analytical total dissipation. Contents: Complete 18-page manuscript (Manuscript_v3_Complete_EN.pdf), standalone 8-page main text (Manuscript_v3_Main_EN.pdf), standalone 10-page Supplemental Material (Manuscript_v3_SM_EN.pdf), and full self-contained reproducibility archive (v3_reproducibility_code_bundle.zip; also mirrored on GitHub at liuweid95-hash/thermodynamics-generalization-memorization). AI-assistance disclosure: The author conceived the research questions, physical framework, and study design and takes full responsibility for all scientific claims, mathematical derivations, numerical implementations, and conclusions reported in this work. Large language model assistants—specifically Google Antigravity (Gemini 4.0 Neon) and OpenAI GPT 6.2 Sol—were used as computational and editorial tools to assist with symbolic derivation checks, numerical scripting, independent code auditing, adversarial review of proofs, and English manuscript editing; every theoretical statement, counterexample, and numerical result was independently verified and reproduced via the archived verification suite.

Authors

Publication Details

Journal
Zenodo (CERN European Organization for Nuclear Research)
Published
2026-12-01
DOI
https://doi.org/10.5281/zenodo.24710464
Primary Topic
Advanced Thermodynamics and Statistical Mechanics
Type
preprint
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
NOV
preprint

Finite-Time Nonequilibrium Thermodynamics of Generalization and Memorization

Weida Liu
Zenodo (CERN European Organization for Nuclear Research)
Advanced Thermodynamics and Statistical Mechanics
preprint

Finite-Time Nonequilibrium Thermodynamics of Generalization and Memorization

Weida Liu
preprint en

Abstract

Stochastic learning dissipates entropy, yet total entropy production conflates productive generalization with sample-specific memorization. For the hierarchical Markov chain Θ → S → Wt under continuous-time overdamped Langevin dynamics, we specialize the midpoint mutual-information framework to separate marginalized transport, generalization, and memorization dissipation, and prove a posterior strong data-processing efficiency ceiling on data-dependent dissipation allocation. Under symmetric positive-definite (SPD) diffusion with finite energy, this ceiling holds globally for isotropic, scalar, or simultaneously congruently diagonalizable diffusion tensors and for all binary tasks (|Θ| = 2) even under arbitrary noncommuting SPD diffusion; by contrast, for multiclass tasks (|Θ| ≥ 3) with noncommuting data-dependent diffusion, we construct explicit static and finite-time 2D dynamical stochastic differential equation examples (cond ≈ 38.04) that breach the scalar ceiling both instantaneously and cumulatively. Under isotropic gradient-driven dynamics, we derive an exact generalization-gap thermodynamic accounting identity separating memorization dissipation, memorization mutual information, and bias-flow work (along with its Riemannian Einstein-relation extension), analyze a four-level random-design versus label-channel Marchenko–Pastur regression model (separating finite-temperature null-space flooding, ridgeless minimum-norm scaling, and Hessian-aligned diffusion), and benchmark all relations on conservative 2D Fokker–Planck partial differential equations, a compact 2-layer SiLU network (d = 7) with conditional Bayesian-bootstrap diagnostics, and a medium-dimensional (d = 4–32) dimension and sample-size benchmark against exact analytical total dissipation. Contents: Complete 18-page manuscript (Manuscript_v3_Complete_EN.pdf), standalone 8-page main text (Manuscript_v3_Main_EN.pdf), standalone 10-page Supplemental Material (Manuscript_v3_SM_EN.pdf), and full self-contained reproducibility archive (v3_reproducibility_code_bundle.zip; also mirrored on GitHub at liuweid95-hash/thermodynamics-generalization-memorization). AI-assistance disclosure: The author conceived the research questions, physical framework, and study design and takes full responsibility for all scientific claims, mathematical derivations, numerical implementations, and conclusions reported in this work. Large language model assistants—specifically Google Antigravity (Gemini 4.0 Neon) and OpenAI GPT 6.2 Sol—were used as computational and editorial tools to assist with symbolic derivation checks, numerical scripting, independent code auditing, adversarial review of proofs, and English manuscript editing; every theoretical statement, counterexample, and numerical result was independently verified and reproduced via the archived verification suite.

Zenodo (CERN European Organization for Nuclear Research)
Advanced Thermodynamics and Statistical Mechanics
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Laika access coming soon