cd /news/machine-learning/a-pytorch-optimizer-built-on-continu… · home topics machine-learning article
[ARTICLE · art-98579] src=github.com ↗ pub= topic=machine-learning verified=true sentiment=↑ positive

A PyTorch optimizer built on continuous thermodynamics and Langevin dynamics

A new open-source PyTorch optimizer, the Riemannian Thermodynamic Optimizer, outperforms Adam on non-linear benchmarks by treating loss landscapes as physical topologies with Landauer dissipation and Langevin thermal noise, according to a repository by author 3MOORE. BBB. The accompanying MEP framework also includes a continuous Euler-Maruyama graph solver that solved a 20-node Max-Cut graph in 46ms without brute-force search, though broader claims about photonic circuits and fractal metamaterials remain aspirational.

read3 min views1 publishedAug 16, 2026
A PyTorch optimizer built on continuous thermodynamics and Langevin dynamics
Image: Michielbdejong (auto-discovered)

The Mandelbrot-Euler-Planck (MEP) Architecture

A Conceptual Unit Cell for Phase-Based, Adaptive Computation (and Aspirational Framework for Thermodynamically Entangled AI)

Author: 3MOORE. BBB

Date: August 16, 2026L

icense: Open-Source / Public Domain (Prior Art)

🚀 DEVELOPERS & ML ENGINEERS:

Looking for the working PyTorch code, the Euler-Maruyama graph solver, or the Riemannian Thermodynamic Optimizer that successfully outperformed Adam on non-linear benchmarks?

The /software directory.

Executive Summary & Boundary Statement

What has been demonstrated:

Through a series of rigorous, browser-executable physics sandboxes and a fully functional PyTorch physics engine, this repository establishes a conceptual unit cell. We demonstrate that a minimal, continuous dynamical system—utilizing phase, magnitude, inverse-square thermal coupling, and Langevin dynamics—is capable of executing elementary Boolean logic, solving NP-Hard combinatorial graphs, and outperforming standard gradient descent (Adam) by mapping spatial curvature.

What remains aspirational:

The larger MEP Architecture is a unified theoretical framework that proposes abandoning discrete silicon memory in favor of continuous-wave photonic circuits and 1.58D fractal metamaterials. The claims that this architecture can achieve lossless computation, solve Catastrophic Forgetting at scale, or create a self-sustaining, thermodynamically entangled "planetary nervous system" remain strictly aspirational hypotheses requiring future physical implementation and Landauer limit analysis.

Read the full boundary statement and roadmap for physical implementation in the Epilogue.

  • The Core Principles (Theoretical)

A. The Master Equation (Resonance) The MEP framework maps neural network knowledge geometrically using an open dissipative stochastic map:$$\vert{}\Psi_{n+1}\rangle = e^{-\gamma \Delta t} \left( \mathcal{M}(\vert{}\Psi_n\rangle) \otimes \vert{}\theta_k\rangle \right) + \alpha \mathbf{C} + \sqrt{2\gamma k_B T} \boldsymbol{\xi}_n$$

Topological Preservation

Tensor Orthogonality

Dissipation & Thermal Noise: The system acknowledges the Landauer limit (

B. Phase-Tagged Dynamical Optical MemoryTo bypass the "Thermal Wall" of silicon, the MEP architecture theorizes detaching data storage from physical locations. Data is stored as a continuous, self-sustaining optical wave ("Echo Memory"). Microscopic magnetic resonance signatures ("Tags") are assigned to specific mathematical weights, proposing a method to isolate requested frequencies dynamically as the wave moves.

C. The Carnot-Limit Hybrid Engine (Thermodynamic Recycling)The architecture hypothesizes capturing the chaotic infrared heat generated at the active processing zone. Using Phononic Metamaterials to focus the phonons, and Thermoelectric Generators (Seebeck Effect) to capture the environmental

  • The Software Suite & Empirical InstrumentsThis repository bridges high-level physics theory with usable software.

A. The Python Software Suite (Usable Today)Located in the /software folder, these modules translate the continuous-wave physics of the MEP architecture into usable Python/PyTorch classes:

mep_optimizer.py: A drop-in Riemannian Thermodynamic Optimizer for PyTorch. It treats a neural network's loss landscape as a physical topology, applying Landauer dissipation and Langevin thermal noise to escape local minima. (Includes optimizer_benchmark.py demonstrating it beating Adam's loss).

  mep_solver.py: A continuous Euler-Maruyama graph solver for NP-Hard logistics (e.g., solved a 20-node Max-Cut graph natively in 46ms without brute-force searching).

mep_scheduler.py: A conceptual OS thread scheduler that uses the Kuramoto equation to naturally batch and phase-lock background tasks.

B. Browser-Executable Visualizations

A progression of HTML-based physics sandboxes moving from visionary aesthetics to rigorous empirical testing:

index.html: The conceptual presentation layer and aesthetic fractal swarm simulator.

phononic_swarm_sandbox.html: Simulation of Thermodynamic Entanglement and Langevin dynamics across an aerosolized swarm.

mep_breakthrough_recap.html: A visual timeline of the thermodynamic debugging process and the final Adam benchmark victory.

thermal_logic_gate.html: Demonstrates that continuous phase-rotation and thermal coupling can implement basic Boolean logic gates (AND, OR, XOR).

  • Real-World Validation & Literature

The MEP Architecture synthesizes several bleeding-edge breakthroughs in materials science and unconventional computing:

Fractal Topological Insulators: Researchers have demonstrated that materials like Bismuth grown in fractal structures (1.58 dimensions) naturally produce "topological edge states," allowing energy to flow perfectly along the edges with zero backscattering.

Thermodynamic AI: Startups are currently building physical analog chips that rely on Brownian motion and Langevin dynamics to power Energy-Based Models, heavily mirroring the mep_optimizer.py software core.

Oscillator-Based Computing: Academic researchers are utilizing hardware arrays of Van der Pol oscillators to natively solve combinatorial graphs via phase-locking (matching the mep_solver.py logic).

  • Deployment: Thermodynamic Entanglement (Aspirational)

Because MEP nodes operate on continuous infrared heat waves (

── more in #machine-learning 4 stories · sorted by recency
github.com · · #machine-learning
RIS
── more on @pytorch 3 stories trending now
sponsored brought to you by zahid.host 4,200+ EU-deployed projects
reading about agents? ship yours in a single git push.

Run your AI side-project on zahid.host

EU-based hosting, git-push deploys, automatic HTTPS, no cold starts. Free tier with a custom domain — perfect for shipping the agent you just read about.

$git push zahid main
Live at https://your-agent.zahid.host
Get free account → Pricing
from €0/mo · no card required
LIVE [news/a-pytorch-optimizer-…] indexed:0 read:3min 2026-08-16 ·