Back to Blog
EngineeringAug 08, 20265 min read

The cost of thinking. Why low-level control must be dumb

#Robotics#Control Theory#Mathematics#Engineering#Runtime

As robotics foundation models scale from millions to billions of parameters, they demonstrate unprecedented semantic reasoning. A Vision-Language-Action (VLA) model can interpret messy natural language instructions, evaluate complex camera feeds, and infer intricate spatial trajectories. But this intelligence comes with a steep physical tax: latency.

In modern transformer architectures, autoregressive token generation or multi-step diffusion sampling typically requires anywhere from 50 to 200 milliseconds per inference cycle. In the digital world, a 100-millisecond delay while rendering text or generating an image is completely imperceptible. But in physical mechanics, 100 milliseconds is an eternity.

Consider a 50kg industrial manipulator moving at a moderate velocity of 1.5 meters per second. If the control system pauses for 100 milliseconds to wait for the next neural network forward pass, the robot travels 15 centimeters in a completely ungoverned state. During that latency window, physical momentum, unexpected friction, or sudden human movement can turn a safe trajectory into a high-energy collision. When intelligence is slow, controlling motor torques directly with a neural network is an invitation to failure.


The Physics of Delay Differential Equations and Phase Margin Decay

To understand why end-to-end neural control fails at scale, we must look to classical frequency-domain analysis and the dynamics of continuous feedback control.

Let a physical robot be governed by the continuous non-linear state space equation:

x˙(t)=f(x(t))+g(x(t))u(t)\dot{x}(t) = f(x(t)) + g(x(t))u(t)

where x(t)Rnx(t) \in \mathbb{R}^n represents the state vector (joint angles, angular velocities, and torques) and u(t)Rmu(t) \in \mathbb{R}^m is the control input. When the control decision u(t)u(t) is generated by a deep neural network subject to computational latency τthink\tau_{\text{think}}, the system transforms from an ordinary differential equation into a Delay Differential Equation (DDE):

x˙(t)=f(x(t))+g(x(t))u(tτthink)\dot{x}(t) = f(x(t)) + g(x(t))u(t - \tau_{\text{think}})

In the frequency domain, a pure time delay τthink\tau_{\text{think}} acts as an exponential operator esτthinke^{-s \tau_{\text{think}}} in the open-loop transfer function G(s)H(s)G(s)H(s). When evaluated at operational frequency ω\omega, this delay introduces an uncompensated phase drop:

Δϕ(ω)=ωτthink\Delta \phi(\omega) = -\omega \cdot \tau_{\text{think}}

This phase lag directly erodes the system's Phase Margin (PM\text{PM}):

PM=180+G(jωc)ωcτthink\text{PM} = 180^\circ + \angle G(j\omega_c) - \omega_c \tau_{\text{think}}

As model size increases and τthink\tau_{\text{think}} grows, the phase margin rapidly drops toward zero. The consequence is not merely sluggish tracking, but destructive limit cycles, resonant chatter, and violent closed-loop instability. Furthermore, according to the Nyquist-Shannon sampling theorem, to stabilize physical dynamics with structural resonance at frequency ωres\omega_{\text{res}}, the closed-loop control frequency must satisfy fcontrol2fresf_{\text{control}} \ge 2 f_{\text{res}}. For industrial joint drives, structural resonance demands control frequencies of at least 1000 Hz1000\text{ Hz} (1 ms1\text{ ms} execution budgets). An AI inference loop running at 10 Hz10\text{ Hz} or 20 Hz20\text{ Hz} violates this mathematical bound by two orders of magnitude.


A Biological Analogy: Reflex Arcs vs. Cortical Planning

Nature solved this exact computational trade-off millions of years ago.

The mammalian central nervous system does not run muscle actuators directly from the cerebral cortex. The cortex is a slow, highly deliberative probabilistic engine. Processing visual inputs, evaluating environment semantics, and deciding on a motor plan requires between 100 and 300 milliseconds of neural processing time.

If biological motor control relied exclusively on the cortex, touching a scalding hot surface would result in severe tissue destruction before the brain could transmit a single corrective command. To survive, biological evolution developed frequency separation.

The monosynaptic stretch reflex arc in the spinal cord operates locally at microsecond timescales. The spinal cord is fundamentally "dumb"—it has zero semantic understanding of what an object is. However, it possesses instant access to proprioceptive muscle spindle feedback, executing deterministic reflex actions (1000 Hz1000\text{ Hz}) that maintain postural stability and enforce immediate safety boundaries. The cortex sets high-level target intent, while the spinal cord governs continuous physical momentum.


The Architecture of Multi-Rate Bounded Execution

Translating this biological principle into physical AI requires an architectural separation of concerns: decoupling slow probabilistic reasoning from fast deterministic enforcement.

Rather than attempting to force deep foundation models to run at 1000 Hz1000\text{ Hz}, physical AI platforms must adopt a multi-rate control hierarchy:

  • The Slow Deliberative Loop ($5\text{--}20\text{ Hz}$). The foundation model evaluates visual tokens, context, and semantic intent. Instead of predicting raw motor torques, it outputs a continuous parametric trajectory manifold $P_k(t) \in \mathcal{P}$ or set of kinematic waypoints over a finite horizon.
  • The Fast Enforcement Loop ($1000\text{ Hz}$). A lightweight, deterministic execution engine intercepts the manifold $P_k(t)$. Operating on a strict microsecond budget, this layer evaluates instantaneous kinematic reachability, solves joint-space dynamic equations, and projects commands onto safe invariant sets using Control Barrier Functions (CBFs).

Mathematically, for any timestamp t[tk,tk+1]t \in [t_k, t_{k+1}] between model inference steps, the 1000 Hz1000\text{ Hz} runtime solves the instantaneous optimization:

u(t)=argminuU12uuref(t;Pk)subject toLfhi(x(t))+Lghi(x(t))uγhi(x(t))u(t) = \arg\min_{u \in \mathcal{U}} \frac{1}{2} \left\| u - u_{\text{ref}}(t; P_k) \right\| \quad \text{subject to} \quad L_f h_i(x(t)) + L_g h_i(x(t))u \ge -\gamma h_i(x(t))

If the foundation model stalls, drops a frame, or encounters an inference lag, the fast deterministic layer does not crash or pause in an ungoverned state. It seamlessly smoothly decelerates the physical system along the verified manifold Pk(t)P_k(t) to a zero-velocity equilibrium state. The robot remains safe regardless of the model's computational delays.


Conclusion

High-level intelligence should be deep, deliberative, and semantic. But low-level control must remain ultra-fast, deterministic, and fundamentally dumb. Attempting to blur this boundary by asking foundation models to directly control microsecond joint torques misunderstands the physics of feedback control.

At Xolver, our Edge Runtime is built on this immutable law of physical systems. By isolating heavy model reasoning from microsecond deterministic loops, we ensure that as AI models grow larger and smarter, hardware execution remains unconditionally fast, stable, and safe.

Share:

Related Posts