Skip to main content

The MEP Architecture Suite (V5.0)Mandelbrot-Euler-Planck: Bridging Thermodynamic Physics and Deep LearningThe MEP Suite is a collection of open-source PyTorch modules that replace standard digital heuristics with continuous-space, physics-based algorithms.Instead of treating a neural network as a rigid spreadsheet of discrete weights, the MEP Architecture treats it as a physical topology subject to heat, mass, Riemannian curvature, and elastic surface tension.Installationpip install mep-architecture-suite Module 1: The Riemannian Thermodynamic OptimizerStandard optimizers like Adam navigate high-dimensional spaces using mathematical gradients, often becoming trapped in local minima or saddle points. The MEP RiemannianOptimizer treats the loss landscape as a physical environment:Local Heat Capacity: Calculates spatial curvature (a diagonal Riemannian metric) to scale step size.Physical Mass: Applies underdamped physical momentum to roll through shallow traps.Langevin Thermal Noise: Injects scaled thermal shock to physically bounce the state out of deep saddle points.Empirical Benchmark: On a 100-D non-convex Rastrigin landscape (50 seeds), the MEP Thermodynamic Engine successfully out-navigated the PyTorch AdamW baseline to find a lower global minimum.Usage:import torch import torch.nn as nn from mep_suite import RiemannianOptimizer

model = nn.Sequential(nn.Linear(10, 64), nn.ReLU(), nn.Linear(64, 1))

Drop-in replacement for torch.optim.Adam

optimizer = RiemannianOptimizer( model.parameters(), lr=0.05, base_temp=0.1, # Langevin thermal noise intensity annealing_rate=0.99, # Simulated annealing cooldown mass=0.90 # Underdamped physical momentum )

Standard training loop...

Module 2: Topological Jacobian Memory (The $\mathcal{P}$ Operator)Catastrophic Forgetting is the primary bottleneck in continual learning. Standard regularization attempts to "freeze" internal weights, which shatters the network's manifold.The MEP V5.0 Architecture introduces the Jacobian Topological Tether. It abandons the internal coordinates entirely and instead protects the functional surface geometry of the network. Using Hutchinson's Jacobian-Vector Product (JVP) trace estimator, it tells the network: "Learn Task B however you want, but if your internal changes cause the topological surface of Task A to deform, you will be penalized."Empirical Benchmark: On the Split-MNIST continual learning benchmark, the industry-standard Elastic Weight Consolidation (EWC) retained 4.65% of prior knowledge. The MEP Jacobian Tether achieved 91.49% retention, successfully proving the existence of the "lossy geometric scar."Usage:from mep_suite import MEPTopologicalNetwork, compute_topological_tether

1. Anchor your previously trained network

model_old = MEPTopologicalNetwork() model_old.load_state_dict(torch.load('task_a_weights.pth'))

2. Train the current model on new data

model_current = MEPTopologicalNetwork() model_current.load_state_dict(model_old.state_dict())

During your training loop for Task B:

for data_B, target_B in task_B_loader: optimizer.zero_grad()

# Standard Loss for new task
loss_B = criterion(model_current(data_B), target_B)

# MEP Topological Tether (Requires sample inputs from Task A)
tether_penalty = compute_topological_tether(model_current, model_old, x_anchors_A)

# Backpropagate through the Jacobian vector product!
total_loss = loss_B + (LAMBDA * tether_penalty)
total_loss.backward()
optimizer.step()

DocumentationFor the full theoretical background, mathematical proofs, and formal preregistration crucible results, please see the HTML documentation in the repository or read the formal Unified Whitepaper.Author: 3MOORE. BBBLicense: MIT

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

mep_architecture_suite-5.0.0.tar.gz (6.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

mep_architecture_suite-5.0.0-py3-none-any.whl (6.9 kB view details)

Uploaded Python 3

File details

Details for the file mep_architecture_suite-5.0.0.tar.gz.

File metadata

  • Download URL: mep_architecture_suite-5.0.0.tar.gz
  • Upload date:
  • Size: 6.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.12.13

File hashes

Hashes for mep_architecture_suite-5.0.0.tar.gz
Algorithm Hash digest
SHA256 6efa58a3f1db085672b013c309b431b7d4ed7892e39411035bd3f5a4633717f0
MD5 7199a4b7fc0cc10240378179b55cd8e2
BLAKE2b-256 23f7809c905ff5e17eee7530caeaeb2c3a41deb4a95c448e111bc6493263e273

See more details on using hashes here.

File details

Details for the file mep_architecture_suite-5.0.0-py3-none-any.whl.

File metadata

File hashes

Hashes for mep_architecture_suite-5.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 6e2f1517ff550a45aee3561767900567e26c0de4fde0a67afd85c1538892adfa
MD5 24885c0673e2bb1afcff7ebb5dadedd9
BLAKE2b-256 001763da3ee519725d24ba0d7b4fec084be54bc6764a028327998f629eefff95

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

5.0.0 This release

2 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page