Geometric Flow Networks: A Physics-Informed Paradigm for Sequential Intelligence
Project description
GFN: Geometric Flow Networks
A Physics-Informed Paradigm for Sequential Intelligence
"Intelligence is not statistical correlation; it is the continuous evolution of a persistent world-state governed by physical invariants."
Geometric Flow Networks (GFN) represents a fundamental shift in neural architecture. Instead of treating computation as token-to-token correlation (Attention), GFN treats it as a trajectory within a high-integrity dynamical system where inputs act as external perturbations that drive state evolution according to structural invariants.
The GFN Paradigm
The GFN paradigm (Stürtz, 2026) formalizes reasoning as structural flow. In this framework, inputs act as external perturbations $\mathbf{f}_{ext}$ that drive a persistent state toward a configuration satisfying global conservation laws.
The Five Pillars of GFN
For an architecture to be considered a valid GFN realization, it must satisfy all five pillars:
Pillar 1: Persistent Internal World
The system must maintain a simulator, not a memory buffer. The state evolves through the space, not merely accumulates inputs.
INVALID (Transformer with KV-cache): Token → Correlation → Token (with memory buffer)
GFN (Valid): Token → Perturbation → World State Evolution
The KV-cache is a "memory crutch" - if you cut the cache, the Transformer forgets everything.
The GFN world-state is the geometry itself. Memory is intrinsic to the curvature, not an external buffer.
Pillar 2: At Least One Invariant
The system must encode at least one physical/mathematical invariant that acts as the "gravity" of the model. This prevents the internal world from becoming a latent hallucination.
Examples of valid invariants:
- Casimir Operators: Commute with all generators of a Lie algebra
- Hamiltonian Conservation: Total energy preserved through symplectic integration
- Norm Preservation: State norm remains bounded
- Group Symmetries: Topological constraints that make invalid states geometrically impossible
- Phase Space Volume: Liouville's theorem preservation
WITHOUT INVARIANTS: "A map without a compass. Without invariants, the world-state is a latent hallucination."
WITH INVARIANTS: "The laws of gravity in your model. They prevent the internal world from disintegrating."
Pillar 3: Structural Integrity
The state cannot collapse to zero or explode to infinity. The invariant guarantees that informational "volume" remains constant.
This resolves the gradient problem intrinsically:
- No gradient vanishing (singular values = 1)
- No gradient explosion (volume preserved)
- The system is stable by geometry, not by patching
Pillar 4: Temporal Locality (For True O(1))
Requirement: The computational cost of updating the state must be independent of how many tokens came before.
VALID: state_update = f(current_state, present_input) # O(1) per step
INVALID: state_update = f(current_state, all_previous_tokens) # O(N) - breaks O(1) promise
"The flow is calculated over the current state and present input, nothing more."
If an architecture's forward pass loops over history, it breaks the O(1) promise.
Pillar 5: Geometric Differentiability (For Metric Coherence)
Requirement: All states must exist in a manifold where "distance" is physically coherent. This defines how "forces" and "flows" operate.
For there to be "forces" and "flows", you need to know how far one concept is from another in that curved space.
Rule: "Every state must exist in a variety where the notion of 'distance' is physically coherent."
The GFN Definition
A Geometric Flow Network (GFN) is a neural architecture satisfying all five pillars above:
- Persistent Internal World (Simulator, not buffer)
- At Least One Physical/Mathematical Invariant
- Structural Integrity (gradient stability by geometry)
- Temporal Locality (O(1) state update)
- Geometric Differentiability (metric coherence)
Formal Definition
$$ \mathbf{W}_{t+1} = \mathcal{T}(\mathbf{W}t, \mathbf{f}{ext}; \theta) $$
Where:
- $\mathbf{W}_t$ is the internal world state at time $t$
- $\mathbf{f}_{ext}$ is the external input (perturbation)
- $\mathcal{T}$ is a transfer operator that:
- Preserves at least one invariant
- Operates on $\mathbf{W}t$ and $\mathbf{f}{ext}$ ONLY (no history)
- Is differentiable with respect to a coherent metric
Why Geometric Flow Networks?
Comparison to Related Approaches
| Architecture | Persistent World | Invariant | Integrity | O(1) Update | Metric |
|---|---|---|---|---|---|
| Transformer + KV-cache | ❌ (buffer) | ❌ | ❌ | ❌ | ❌ |
| Mamba/SSM | ✅ | ❌ | ❌ | ✅ | ❌ |
| World-State Networks | ✅ | ❌ | ❌ | ✅ | ❌ |
| GFN | ✅ | ✅ | ✅ | ✅ | ✅ |
Key Distinctions
GFN vs Transformer:
- Transformer: "Guesses" by statistics
- GFN: "Orbits" solutions because geometric structure doesn't allow stepping outside physics
GFN vs SSM:
- SSM: "Radio signal" - state can collapse or explode
- GFN: "River flow" - state orbits around physically coherent solutions
GFN vs World-State Networks:
- World-state without invariants: "Photo on a post-it" - blurry, degrades over time
- GFN: "Full simulator" - the world exists as geometry, not memory
Latent Planning Capability
A critical consequence of the five pillars:
GFN can "predict" the future without generating token by token, simply by moving the state vector through the geometric flow.
The internal world enables latent planning:
- Future states can be computed by flowing through the manifold
- No need to autoregressively generate each token to "see" what comes next
- The geometry of the world encodes causal structure
Complexity Characteristics
GFN is a paradigm with five mandatory requirements. Complexity characteristics depend on implementation:
| Requirement | Complexity Impact |
|---|---|
| Temporal Locality (Pillar 4) | Enables O(1) inference memory |
| Structural Integrity (Pillar 3) | Intrinsic gradient stability |
| All Pillars Combined | No KV-cache, no O(N²) attention |
Paradigm Documentation
For detailed theoretical foundations and mathematical formalism, see:
- THEORY.md - Complete mathematical foundations
- ARCHITECTURES.md - Available realizations
- CONTRIBUTING.md - Adding new realizations
- GEOMETRY_IS_ALL_YOU_NEED.tex - Primary research paper
Citation
@article{sturtz2026geometry,
title={Geometric Flow Networks: A Physics-Informed Paradigm for Sequential Intelligence},
author={Stürtz, Joaquín},
journal={Zenodo Preprints},
year={2026},
doi={10.5281/zenodo.19141133},
url={https://doi.org/10.5281/zenodo.19141133}
}
License
This project is proprietary to DepthMuun Research. See the LICENSE file for details.
Author: Joaquín Stürtz, DepthMuun Research
Version: 2.7.0
Date: March 2026
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file gfn-2.7.0.tar.gz.
File metadata
- Download URL: gfn-2.7.0.tar.gz
- Upload date:
- Size: 138.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
67ec685e4329e08e2a4506beb84311e4ba5ca6a2757ed0753d51f4dd1c46035a
|
|
| MD5 |
112aaed041718443673548f58952d8a3
|
|
| BLAKE2b-256 |
15a0217a8defc958bd6e08e667be4d7f429093893e7a1cb7cf25041c3e628c80
|
File details
Details for the file gfn-2.7.0-py3-none-any.whl.
File metadata
- Download URL: gfn-2.7.0-py3-none-any.whl
- Upload date:
- Size: 197.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0a95236e488ba9954f28ff960a25b0c8a182a71d9e3f559edb5ba8e0714dd12c
|
|
| MD5 |
1eb4193175ca2d290bfd59eacc9431a2
|
|
| BLAKE2b-256 |
1a556f0e9df8c01be7befd1df4b32460900454cd8fb593147214d07931a3edf6
|