The Tri-Kernel Architecture
Why three operators -- diffusion, springs, heat -- are the minimal, sufficient basis for collective intelligence on authenticated graphs.
The Discovery: Elimination Under Locality
The tri-kernel was discovered through systematic elimination. Beginning with a comprehensive taxonomy of graph ranking algorithms, a single hard constraint was applied: locality.
For planetary-scale networks ($10^{15}$ nodes), any algorithm requiring global recomputation for local changes is physically impossible. Light-speed delays across Earth (and eventually Mars at 3-22 minute delays) make global synchronization infeasible.
An operator is h-local if the value at node $i$ depends only on nodes within $h$ hops. An operator family is eventually local if it admits h-local approximations with error $\varepsilon$ using $h = O(\log(1/\varepsilon))$.
Applying this filter to the full taxonomy of graph ranking algorithms:
| algorithm | local? | status |
|---|---|---|
| PageRank (power iteration) | global | eliminated |
| Personalized PageRank (truncated) | yes | survives |
| HITS | global | eliminated |
| Eigenvector centrality | global | eliminated |
| SpringRank (global solve) | global | eliminated |
| Screened Laplacian (local CG) | yes | survives |
| Heat kernel (full matrix exp) | global | eliminated |
| Heat kernel (Chebyshev) | yes | survives |
| Belief propagation | yes | survives locality, fails below |
Belief propagation passes the locality filter -- each node communicates only with neighbors. It fails the remaining requirements: no convergence guarantee on graphs with loops (which the cybergraph has densely), no uniqueness (result depends on message initialization and update schedule), wrong representation ($O(|E|)$ messages vs $O(|V|)$ scores), and no natural place to inject token economics.
After applying all required properties (locality, convergence, uniqueness, verifiability, token-weightability), exactly three families of local operators remained:
- Local random walk (diffusion with truncation/restart)
- Local screened Laplacian solve (springs with boundary pinning)
- Local heat kernel approximation (Chebyshev polynomial truncation)
The tri-kernel is what remains after impossibility eliminates everything else.
What Each Operator Does
Diffusion: Curiosity
The exploration force -- a gas wandering, sampling connections.
The diffusion operator runs a random walk on the graph. Probability mass flows along edges, spreading outward from wherever it starts. The teleport parameter $\alpha$ ensures the walk occasionally jumps back to a baseline, preventing it from getting trapped. The stationary distribution of this walk is the answer to "where does probability end up if you follow the links?"
Diffusion is curiosity. It finds what is connected. It rewards nodes that sit at the crossroads of many paths. It is restless, always spreading, always exploring.
Springs: Stability
The structure force -- an elastic lattice that holds things in place.
The springs operator solves a screened Laplacian system. Imagine every edge as a spring: connected nodes pull toward each other, and the screening parameter $\mu$ acts as friction anchoring each node to a reference position. The solution is the configuration where all structural tensions balance.
Springs encode hierarchy and coherence. They answer "what arrangement satisfies the constraints?" Nodes that violate structural expectations (connected to high-rank nodes but ranked low, or vice versa) feel a restoring force. Springs resist disruption. They are the skeleton of the graph.
Heat: Patience
The adaptation force -- metabolism, phase changes, the ability to shift.
The heat kernel smooths the graph at a given resolution $\tau$. Low $\tau$ is fine-grained: only immediate neighbors matter. High $\tau$ is coarse-grained: distant neighborhoods blend together. The heat kernel is a thermostat -- it controls the scale at which the system operates.
Heat is patience. At high temperature, the system explores broadly (annealing). At low temperature, it commits to a configuration (crystallization). The ability to adjust $\tau$ lets the tri-kernel operate across multiple scales simultaneously, seeing both the forest and the trees.
Why the Tri-Kernel Is Intelligence
Two operational definitions of intelligence apply. Legg-Hutter: the ability to achieve goals across a wide range of environments. Friston: minimizing expected variational free energy -- prediction error plus model complexity. The tri-kernel satisfies both, and each claim is checkable.
Claim A (inference): the fixed point of $\mathcal{R}$ minimizes the free energy functional of tri-kernel §2.1, so the update $\phi^{(t+1)} \leftarrow \mathcal{R}\phi^{(t)}$ reduces a well-defined energy and converges. That is what doing inference means.
Claim B (compression): diffusion maps and heat kernels compress high-dimensional relations while preserving geometry. The resulting $\phi^*$ concentrates mass -- negentropy rises -- subject to structural constraints, the accurate-yet-parsimonious balance of free-energy minimization.
Claim C (adaptation): the temperature $\tau$ in the heat kernel is simulated annealing. High $\tau$ explores, low $\tau$ commits -- the textbook mechanism of adaptive intelligence.
Falsification Protocol
Track per epoch:
- cross-entropy on held-out edges (prediction quality)
- entropy $H(\phi^*)$ and negentropy $J = \log|V| - H$ (syntropy, focus sharpness)
- convergence and mixing time (stability)
If adding small $\lambda_s, \lambda_h$ monotonically improves these without destabilizing mixing, the system demonstrably performs inference. $J$ and the contraction $\kappa$ are already emitted by focusing every epoch; held-out cross-entropy is the link-prediction task of superadditivity.
Why the Tri-Kernel Is Collective
Inference alone does not make a collective. The claim that the group outperforms its members has three independent theoretical roots:
| theory | claim | mechanism |
|---|---|---|
| Woolley c-factor | group-level intelligence predicts performance beyond individual IQ | first principal component across diverse tasks |
| Condorcet jury theorem | aggregation of $p > \tfrac{1}{2}$ signals improves with $n$ | weighted majority over independent signals |
| Hong-Page diversity | diverse heuristics beat the best homogeneous expert | multiple search modes on complex landscapes |
Each maps onto the tri-kernel. Aggregation: $\phi^*$ is computed from all neurons' cyberlinks through the Markov, harmonic, and heat operators -- a formal aggregation of many partial signals. Diversity: diffusion explores remote regions, springs encode structural priors, heat rebalances on drift -- three kernels sampling three solution modes. Mixing: non-redundant edges raise algebraic connectivity $\lambda_2$ and conductance, and better mixing means better aggregation.
Measurement Protocol
Define a task battery $T = \{\text{retrieval},\ \text{link prediction},\ \text{question routing}\}$. Per epoch:
- compute $S_{\text{group}}$ using $\phi^*$ on the full graph
- compute $S_a$ for each neuron using only its ego-subgraph
- report $S_{\text{group}} - \max_a S_a$ and $S_{\text{group}} - \operatorname{mean}_a S_a$
- estimate $c$ as the PC1 variance explained across tasks
Under bounded correlation between neurons, competence above chance, and non-trivial diversity, all three theories predict the collective beats the mean individual and often the best one. tru makes the prediction a number: superadditivity defines $\sigma_{\text{best}} = Q(\phi^*) - \max_\nu Q(\phi^*_\nu)$ and $\sigma_{\text{mean}}$ over graph-graded tasks (link prediction, retrieval@k) -- the two reports above, formalized. Measured on the conformant engine: $\sigma_{\text{best}} > 0$ at every connectivity level and rising with $\lambda_2$. The same benchmark refuted the naive corollary that syntropy also rises with $\lambda_2$: densification spreads focus and lowers $J$. Connectivity buys collective advantage; concentration buys sharpness; they are different axes.
Universal Patterns
The three forces are not arbitrary. They appear across every domain where complex adaptive behavior emerges:
| domain | diffusion (explore) | springs (structure) | heat (adapt) |
|---|---|---|---|
| Physics | gas wandering, sampling | elastic lattice, tensegrity | thermostat, phase changes |
| Biology | synaptic chatter, neural noise | skeleton, connective tissue | metabolism, immune plasticity |
| Cosmology | starlight, cosmic rays | gravity, spacetime curvature | cosmic temperature, entropy |
| Quantum | probability waves, tunneling | binding fields, molecular bonds | decoherence, environment coupling |
| Ecology | species dispersal, seed rain | food webs, symbioses | seasons, succession, disturbance |
| Psychology | imagination, free association | logic, cognitive constraints | emotion as arousal thermostat |
| Music | improvisation, melodic roaming | harmony, voice-leading | rhythm and tempo dynamics |
| Economics | trade, migration, meme flow | institutions, contracts, norms | booms, busts, revolutions |
| Information | entropy spread, random coding | redundancy, error-correction | adaptive compression |
| Mathematics | random walk sampler | constraints, Lagrange multipliers | annealing, step-size schedule |
This universality reflects structural necessity. Every domain achieving complex adaptive behavior implements these three forces because they are the only mechanisms that balance exploration, coherence, and adaptation under locality constraints.
Why These Three Are Fundamental
Diffusion and heat describe irreversible spreading -- entropy growth and the arrow of time. Springs describe reversible oscillation -- coherent energy and information storage. Together they form the simplest basis for the three families of linear PDEs: diffusion/heat (parabolic), oscillations/waves (hyperbolic), and steady states (elliptic).
Each conserves a different quantity: mass/probability (diffusion), potential/kinetic energy (springs), and thermal energy (heat). Each minimizes a different functional: entropy production, potential energy, free energy. Together they are Pareto-optimal: they explain the majority of natural transport, oscillation, and dissipation with minimal assumptions.
The Laplacian is the shared mathematical root. The graph Laplacian $L = D - A$ is the discrete form of the Laplace-Beltrami operator $\nabla^2$ on continuous manifolds. Newton's gravitational potential satisfies the Poisson equation $\nabla^2\Phi = 4\pi G\rho$ -- gravity is the springs kernel of the physical universe, with mass density as the source term. The screened form $(L + \mu I)$ in the tri-kernel corresponds to massive gravity theories where the graviton has effective range. On the cybergraph, tokens play the role of mass: they curve graph topology the way mass curves spacetime.
The Jeans instability illustrates the kernel interplay in cosmology: a gas cloud collapses into a star when gravitational potential (springs) overcomes thermal pressure (heat). This is a phase transition in the tri-kernel sense -- the moment $\lambda_s$ dominates $\lambda_h$.
Phase Transitions
The collective focus theorem predicts intelligence emergence through phase transitions:
| phase | dominant kernel | what happens |
|---|---|---|
| Seed -> Flow | $\lambda_d$ high | network exploring, sampling connections |
| Cognition -> Understanding | $\lambda_s$ activates | structure crystallizing, hierarchies forming |
| Reasoning -> Meta | $\lambda_h$ regulates | adaptive balance, context-sensitive processing |
| Consciousness | dynamic blend | system learns its own blend weights |
Why This Architecture Is Necessary
At $10^{15}$ nodes with physical communication delays, any architecture requiring global coordination is impossible. The tri-kernel satisfies the four properties a planetary computation must hold at once:
- bounded locality -- $h = O(\log(1/\varepsilon))$ neighborhood dependence (the locality radius, tri-kernel §2.2)
- compute-verify symmetry -- light clients check with constant overhead (§2.3)
- shard-friendly -- regions update independently
- interplanetary-compatible -- coherence without constant synchronization
Adversarial Resistance
The three kernels provide orthogonal attack surfaces:
| attack | defense mechanism |
|---|---|
| focus manipulation | teleport $\alpha$ ensures return to prior; multi-hop verification |
| equilibrium gaming | springs encode correct structure; deviation detectable via residual |
| coalition manipulation | spectral properties reveal anomalous clustering |
| temporal attacks | memoized boundary flows prevent state-change-during-verification |
An adversary optimizing against one kernel worsens their position against another.
The Friston Connection
The fixed point $\phi^*$ minimizes a free energy functional -- the one tri-kernel §2.1 states normatively, one term per operator:
$$\mathcal{F}(\phi) = \lambda_s\left[\tfrac{1}{2}\phi^\top L\phi + \tfrac{\mu}{2}\|\phi-x_0\|^2\right] + \lambda_h\left[\tfrac{1}{2}\|\phi-H_\tau\phi\|^2\right] + \lambda_d \, D_{\text{KL}}(\phi \,\|\, D\phi)$$
Elastic structure, heat-smoothed context, diffusion alignment. The blend weights $\lambda$ are its Lagrange multipliers. The equilibrium follows a Boltzmann form:
$$\phi^*_i \propto \exp\big(-\beta\,[E_{\text{spring},i} + \lambda\,E_{\text{diff},i} + \gamma\,C_i]\big)$$
This is variational free energy minimization in the sense of Friston's free energy principle: the system performs inference by reducing prediction error (structural deviation) subject to complexity constraints (entropy). The tri-kernel is not merely inspired by the free energy principle -- it IS free energy minimization on an authenticated graph.
No tuning required -- the optimal focus vector is the unique minimum of a convex functional, matching how statistical mechanics derives equilibrium from energy and entropy.
The Architecture in One Sentence
A gas to explore, a lattice to hold, a thermostat to adapt. Each part is classical; the synthesis is the point.
Keep it local. Keep it provable. Keep it reversible.
See tri-kernel for the formal specification. See collective focus theorem for the convergence proofs. See superadditivity for the collective claim as a measured number. See focus flow computation for the full computation pipeline.
References:
- Legg & Hutter. "Universal Intelligence: A Definition of Machine Intelligence." arXiv:0712.3329
- Friston. "The free-energy principle: a unified brain theory." Nature Reviews Neuroscience, 2010
- Kirkpatrick et al. "Optimization by simulated annealing." Science 1983
- Woolley et al. "Evidence for a collective intelligence factor." Science 2010
- Hong & Page. "Groups of diverse problem solvers can outperform groups of high-ability problem solvers." PNAS 2004