Status: experimental algorithm proposal
Date: 2026-09-22
Scope: adaptive routing inside a future admitted multi-node/federated compute fabric.
IDKMesh already has:
What it does not yet have is an adaptive multi-path routing layer for a future compute mesh where:
The slime mold Physarum polycephalum is relevant because its transport network adapts tube conductance according to flow. Tero et al. showed a mathematical abstraction balancing transport efficiency, cost, and fault tolerance in adaptive networks (Science 327, 2010, DOI: 10.1126/science.1177894).
The engineering hypothesis is:
A conductance-based adaptive routing rule can retain useful alternative compute paths and recover from changing node/link quality faster than static single-path selection, without bypassing IDKMesh admission or trust policy.
Physarum routing is after admission, never before it.
Resource evidence
-> local authorization
-> concrete compute offers
-> Resource -> Compute Admission
-> hard WorkUnit feasibility/security/cost filter
-> admitted zero-project-cost graph
-> Physarum-inspired adaptive route recommendation
-> bounded execution
-> ResultManifest
-> independent VerificationResult
-> human/governance integration
The adaptive algorithm MUST NOT:
If no eligible admitted path exists, the result remains no_eligible_offer / no dispatch.
In the classical flow-conductivity abstraction:
Q_ij = (D_ij / L_ij) * (p_i - p_j)
where:
Q_ij = flow;D_ij = tube conductivity;L_ij = path/edge length or cost;p_i - p_j = pressure difference.Conductivity changes with observed flow and decays without reinforcement.
For the first IDKMesh experiment, use a simpler path-level equivalent-resistance approximation:
R(path) = sum_e L_e / D_e
Conductance(path) = 1 / R(path)
Then combine that with observed reliability:
RouteValue(path) =
Conductance(path)
* EstimatedReliability(path)
* Efficiency(path)
with:
Efficiency(path) = 1 / PathLength(path)
Selection remains stochastic with a small exploration floor.
For edge e after one routed WorkUnit:
D_e(t+1) =
clip(
(1-rho) * D_e(t)
+ alpha * VerifiedRouteReward * I[e used]
- penalty * I[e observed failed],
D_min,
D_max
)
where:
rho = evaporation / forgetting;alpha = reinforcement gain;D_min > 0 prevents total extinction of alternative paths.This is deliberately similar in spirit to biological tube adaptation but is not a claim that compute networks are literal slime molds.
Each admitted edge keeps a simple Beta posterior:
reliability_e ~ Beta(a_e, b_e)
Observed success:
a_e += 1
Observed failure:
b_e += 1
Path reliability is initially approximated as the product of posterior means across its edges.
This is a research simplification. Real deployment would need to distinguish:
Only failures actually attributable to a path/link should update transport reliability.
ACO/stigmergy currently addresses which task/worker path deserves attention based on verified useful outcomes.
Physarum routing addresses a different layer:
ACO / AVE:
Which worker/task/verifier strategy should receive work?
Physarum compute routing:
Through which already-admitted compute/federation path should the bounded work travel?
The state variable is edge/path conductance, not task pheromone.
The mechanism should not create a second task scheduler.
The first simulator compares:
The Physarum mechanism only earns further development if it competes with the stronger adaptive baselines, not merely the static shortest path.
The first fixture intentionally changes during the run.
Before the shift:
After the shift:
This tests whether the router can:
Report a Pareto vector:
A higher success rate that doubles donor/network burden is not automatically better.
If the synthetic mechanism survives baselines and later real-node evidence, integrate as a dry-run planner beside the existing compute router.
Possible future interface:
admitted_graph = compute_admission(...)
plan = adaptive_path_router(
work_unit,
admitted_graph,
observed_path_state,
)
explain(plan)
The initial integration should only explain:
It should not execute automatically.
Do not claim an advantage from simulation alone.
A real experiment should use 3-10 controlled nodes or containers and inject:
Compare against:
Retain exact route decisions and failure attribution.
Reject or simplify the mechanism if:
D_min exploration produces excessive donor/network cost;10.1126/science.1177894.10.1146/annurev-conmatphys-040821-115312.10.1016/j.plrev.2018.05.002.The papers motivate the adaptive-network mechanism. They do not establish that the mechanism is better for IDKMesh; that remains an experimental question.