Skip to main content
A new concurrency primitive. Not a simulation of a neural network — it IS a neural network.
Proposed crate: ntl-signal Licence: Apache 2.0

Abstract

The signal primitive is a new concurrency paradigm for neural-style computing. Unlike channels (CSP, 1978), actors (Hewitt, 1973), or streams (reactive programming), the signal primitive provides unaddressed emission, topological routing, transformation at junctions, activation thresholds, and connection learning — all executable by hardware neural engines on modern devices. The signal primitive is not code that simulates neural behaviour. It IS a neural network, representable as a model that hardware NPUs can execute natively.

1. Why a New Primitive

Existing Primitives

No existing primitive supports unaddressed emission, weighted propagation, junction transformation, activation thresholds, connection learning, or hardware neural engine acceleration.

2. Core Types

Node

Signal

Synapse

Learning Rules


3. Core Operations

Emission (no destination)

Activation (threshold-triggered, not pulled)


4. The Neural Network IS the Routing Engine

Not Simulation — The Real Thing

The routing model inside each node is an actual neural network model:

What the Routing Model Considers

The routing model’s input is not just the signal weight. It considers multiple features simultaneously:
A weighted synapse can only consider signal_weight * synapse_weight. The neural routing model considers all these factors simultaneously and makes richer routing decisions.

Hardware Acceleration

On devices with NPUs: TOPS = Trillion Operations Per Second. NTL’s routing model is tiny (hundreds of parameters, not billions). A single routing inference on any of these NPUs takes nanoseconds and consumes negligible battery. This means NTL routing is faster AND uses less power than traditional API-based routing on every modern phone. The NPU that currently sits idle between camera shots becomes the engine that routes your data.

5. Transport Layer Hierarchy

Layer selection is automatic based on node location.

6. The Twelve Neural Principles

NTL draws from twelve principles, not just PyTorch’s five.

The Original Five (PyTorch implements these)

  1. Weighted graph — Nodes connected by weighted edges
  2. Forward propagation — Signals flow through the network
  3. Junction transformation — Data changes at each connection
  4. Learning — Weights adjust based on outcomes
  5. Improvement over time — Network gets smarter with experience

The Additional Seven (NTL implements these too)

  1. Inhibition — Signals suppress other signals. High-priority traffic dampens low-priority.
  2. Recurrence — Feedback loops. Context circulates through the network, staying alive.
  3. Neuromodulation — Meta-signals change network-wide behaviour. “High load” reduces sensitivity globally.
  4. Rich plasticity — Spike-timing-dependent learning. New connections form where traffic patterns suggest them. Dormant connections die.
  5. Hierarchical processing — Multiple abstraction levels simultaneously. Raw data, patterns, recommendations processed in parallel.
  6. Sparse activation — Most nodes dormant. Minimal power when idle. Only active paths consume resources.
  7. Multi-scale temporality — Millisecond propagation, second adaptation, hour learning, week topology evolution.
Not all twelve are needed in v1. The architecture must be capable of expressing all of them.

7. Integration with Storage Layers

NTL specifies storage as an interface, not a database (spec/storage-interface). Two integration patterns follow from that, and both are backend-agnostic.

Current: Adapter at the Boundary

A storage layer emits signals through a local NTL node via an adapter. NTL routes, transforms, and delivers; the storage layer’s own acknowledgement path supplies the delivery outcomes NTL learns from (§Training Loop in research/02). Anything with a change feed and an acknowledgement can play this role — Postgres logical replication, a CDC stream, a graph database’s sync protocol.

Future: Storage Internals as Signal Nodes

A storage engine’s internal components become signal nodes. Mutations propagate as continuous signals from the engine through the change log and out through NTL, with no paradigm boundary between database processing and network communication. This requires a storage layer built to participate, so it applies only to backends that choose to. Graph-native stores — SiafuDB among them — are the natural candidates, since their internal topology is already a graph like NTL’s. It is an opportunity for such backends, not an assumption NTL makes about any of them.

8. Implementation Roadmap


Signal Primitive Design — April 2026 — The Bundu Foundation “Not a simulation of a neural network. It IS a neural network.”
Last modified on September 11, 2026