Neural network controllers trained with reinforcement learning (trial-and-error optimization of a reward) often emit actions that flicker from one control step to the next. On real robots and vehicles this jitter overheats motors, wears gears and makes steering wobble. Current fixes either smooth the output over time, with low-pass filters built into neurons or placed in front of the controller, or they penalize fast changes. Both give up responsiveness to buy smoothness: a filter that ignores fast noise also delays fast, legitimate commands. We propose a different output stage, taken from a normative model of cortical circuits in which excitation and inhibition cancel each other almost exactly. A small population of threshold units tracks the policy's desired action. A unit "spikes" and moves the executed action only when the gap between desired and executed action becomes large enough that the move is guaranteed to shrink it. Small, noisy wiggles in the desired action change nothing. Large changes propagate within the same control step.
Stated plainly: the policy says where it wants the actuator to be, and a balanced spiking tracker decides whether the difference is worth acting on. Because this rule is nonlinear and event-driven rather than a linear filter, it is not bound by the smoothness-versus-lag trade-off that constrains every filter-based method. The main empirical claim is that it lies strictly inside the Pareto frontier of jitter versus response latency traced out by those methods.
Core Claim
In the balanced predictive-coding network of Predictive Coding of Dynamical Variables in Balanced Spiking Networks, each neuron's membrane voltage is a projection of the error between a target signal and the network's own decoded estimate. A neuron fires only when its spike would reduce that error. Fast recurrent inhibition, which equals minus the product of the decoding weights, then tells the other neurons that the error has been corrected. "E/I balance" in this model means that the feedforward drive (the target) and the recurrent inhibition (the current estimate) cancel whenever tracking is good. What survives the cancellation is exactly the tracking error. We reuse this construction as an action-output stage, not as a model of biology. Let $a^*_t$ be the policy's desired action, $\hat a_t$ the action actually sent to the actuator, and $D=[d_1,\dots,d_N]$ the decoder, where each column $d_i$ is the step unit $i$ contributes when it fires. Then
$$V_t = D^\top(a^*_t - \hat a_t), \qquad \text{unit } i \text{ fires if } V_{t,i} > \tfrac12\|d_i\|^2,$$
$$\hat a_{t+1} = \hat a_t + \Delta t\, A\,\hat a_t + \textstyle\sum_{i\ \text{fired}} d_i ,$$
where $A$ is a learned linear model of how the executed action should drift between events and $\Delta t$ is the control step. The threshold $\tfrac12\|d_i\|^2$ is exactly the condition under which adding $d_i$ reduces the squared error, which is where the greedy, error-minimizing character of the network comes from. Firing is resolved greedily within a step, with each spike immediately inhibiting the others through $-D^\top D$. After the step settles, the error lies inside the polytope $\{e : d_i^\top e \le \tfrac12\|d_i\|^2\ \forall i\}$.
Three properties follow, and together they define what is new. First, target fluctuations that stay inside the polytope produce zero change in the executed action, so jitter caused by noise in the policy's input is removed rather than attenuated. Second, a large change in the desired action triggers several spikes in the same step, so the response is not delayed; a per-step spike cap turns this into an explicit slew-rate limit when hardware requires one. Third, because $D$ is learned, the dead zone is anisotropic: it is tight along action directions where precision matters and loose where it does not. Because $A$ is learned, the action between events follows a predicted trajectory instead of a fixed hold profile.
Keeping the tracker's inter-event dynamics linear, and leaving all nonlinearity to the upstream policy network, sidesteps the main open problem that paper identifies, namely extending balanced derivations to nonlinear dynamics.
Relation to Prior Work
The jitter literature supplies the problem and the baselines. ODE-based Smoothing Neural Network for Reinforcement Learning Tasks makes every neuron a first-order low-pass filter with state-dependent time constants (SmODE). LipsNet++: Unifying Filter and Controller into a Policy Network places a learned Fourier filter before a Jacobian-regularized controller. Both are linear-in-time smoothing, so they face the lag trade-off that SmODE's own authors highlight for static filters. Our stage is a threshold rule instead, and its prediction differs qualitatively: zero lag for large changes.
Implicit Action Chunking for Smooth Continuous Control is the closest competitor. Its Dual-Window Smoothing holds or decays actions over a fixed window ($h=3$) with a hand-chosen profile, and the file records its inability to adapt that window to sudden events. Our tracker also holds actions, but it decides when to update from the error itself and learns the inter-event profile through $A$.
Stabilizing the Q-Gradient Field for Policy Smoothness in Actor-Critic Methods traces jitter to the critic's geometry and regularizes the critic (PAVE). This is orthogonal to our output-side change, and we test the two together. Its guarantees assume interior actions, which is a real limitation, because Is Bang-Bang Control All You Need? Solving Continuous Control with Bernoulli Policies shows that Gaussian policies on these benchmarks collapse to boundary actions and that naive action penalties trap agents in timid local optima. That paper motivates our design choice to leave the reward untouched.
On the E/I side, the predictive-coding paper supplies the mechanism. Primate neocortex performs balanced sensory amplification motivates the question: cortex appears to switch rapidly between states instead of sweeping slowly, which suggests that fast response and noise rejection need not trade off. Minimax Dynamics of Optimally Balanced Spiking Networks of Excitatory and Inhibitory Neurons shows that the same tight balance can be obtained under Dale's law, meaning each unit is strictly excitatory or strictly inhibitory. We treat that as an optional constraint to test, not a requirement. Breaking Balance: Encoding local error signals in perturbations of excitation-inhibition balance treats deviations from balance as an error signal. We borrow only the diagnostic reading: the tracker's residual voltage $V_t$ is a directly observable, per-direction measure of how much of the policy's intent is being withheld. None of these E/I papers closes a reinforcement-learning loop or measures actuator jitter, which is the gap this work fills.
Research Program
We build the tracker as a drop-in module between a standard actor (TD3 or SAC) and the environment. The decoder uses paired opposite-sign units along each learned direction so that corrections can go either way. We use $N$ between 4 and 16 times the action dimension. The per-step cost is one matrix-vector product plus a short greedy loop, so we expect negligible training overhead. We will measure this against the 1.6× cost reported for LipsNet++, the 2–3× for SmODE and the 1.0–1.4× for PAVE.
The critic sees the executed action $\hat a_t$ and the tracker state, so the Markov property is preserved. Actor gradients pass through the tracker using a straight-through estimate for the spike decisions. $D$ and $A$ are learned by the same actor loss, with a mild penalty on decoder norm that the practitioner can set to choose the size of the dead zone.
One hazard is specific to this design: exploration noise added to $a^*$ that falls inside the dead zone never reaches the environment. We therefore compare three options. The first injects exploration noise after the tracker during training only. The second uses parameter-space noise, following Exploring parameter space in reinforcement learning. The third anneals the decoder scale from small to large over training.
A second hazard is that spikes produce a staircase output, which is its own small jerk. We report second-order action differences separately from first-order ones so this cost is visible rather than hidden.
Baselines
The naive reference is an unmodified TD3/SAC multilayer-perceptron policy. It anchors every relative number. On MuJoCo, Stabilizing the Q-Gradient Field for Policy Smoothness in Actor-Critic Methods reports that plain TD3 scores 1.590 on Pendulum and 2.715 on Hopper in its smoothness score (lower is smoother), with a Walker2d return of 4834.
The strongest existing method on MuJoCo is PAVE from the same paper: smoothness 0.351 on Pendulum and 0.950 on Hopper, and a Walker2d return of 5563. It is the strongest competitor there because it raises return while lowering jitter. We run it with the authors' TD3 base, identical environment steps, seeds and a matched hyperparameter search budget. Beating it means matching its Walker2d return within seed variance while achieving a lower smoothness score, or showing that PAVE combined with the tracker beats PAVE alone on both axes.
On the CARLA lane-change overtaking and emergency-braking tasks, the strongest reported method is Dual-Window Smoothing from Implicit Action Chunking for Smooth Continuous Control. It reaches a 100% success rate and cuts steering jitter by 88.7% relative to the strongest baselines, while LipsNet++ and SmODE fail by wobbling. Since DWS already saturates success, beating it means holding 100% success with lower steering jitter, and with shorter reaction latency on emergency braking, where a fixed hold window should hurt it. On DMControl, no reported numeric result for DWS was found on Lacuna. There we rerun DWS ourselves with its published window and profile settings.
LipsNet++ and SmODE serve as the representative learned filters, run with their released settings. For them the file gives a 35.5% Action Fluctuation Ratio reduction over prior methods on DMControl Walker (LipsNet++), and an 81.7% fluctuation reduction over a multilayer perceptron on noisy vehicle tracking with noise variance 0.2 (SmODE).
Two simpler baselines complete the set: an external Butterworth low-pass filter on actions, and an action-difference reward penalty. Each gets a three-value sweep of its strength so that each traces a frontier rather than a single point.
The key ablations isolate each ingredient. The first is a per-dimension deadband with zero-order hold, meaning a fixed axis-aligned threshold and no recurrence; it tests whether anything beyond "ignore small changes" matters. The second removes lateral inhibition, so every unit whose threshold is crossed fires at once. This isolates the E/I ingredient, and we predict overshoot and self-sustained ringing without it. The third sets $A=0$, which isolates predictive inter-event dynamics. The fourth fixes $D$ to be isotropic, which isolates the learned anisotropic dead zone. The fifth splits units into excitatory and inhibitory populations under Dale's law, which tests whether the constraint costs anything.
Why not just…?
Why not just put a deadband or hysteresis on each action dimension? This is the most serious threat, since it shares the core "ignore small changes, act instantly on large ones" property. Our tracker differs in three testable ways. Its dead zone is a learned polytope that can be tight along one coupled direction of joint torques and loose along others. It drifts along a learned trajectory between events rather than freezing. Its greedy inhibition prevents multiple channels from correcting the same error at once. If the per-dimension deadband ablation matches the full tracker on the jitter–latency frontier and on return, we will report that the biological derivation added nothing beyond a hand-built deadband. That would still be a useful negative result, because no paper in this file tests a deadband against SmODE, LipsNet++ or DWS.
Why not just low-pass filter the actions? Learning Smooth Humanoid Locomotion through Lipschitz-Constrained Policies reports that output filters need robot-specific tuning and dampen exploration when used in training. SmODE's authors identify phase delay as their core cost. Our step-response experiment measures that delay directly: any linear filter tuned to match our jitter should show a measurably longer latency to reach 90% of a step.
Why not just penalize action changes in the reward? Is Bang-Bang Control All You Need? Solving Continuous Control with Bernoulli Policies shows that such penalties trap agents in low-motion optima, and the PAVE analysis argues they treat the symptom while the critic's gradient field stays jagged. We include the penalty sweep anyway. If some penalty strength reaches our frontier point, the claim fails.
Why not just use PAVE, which already fixes the root cause in the critic? PAVE smooths what the actor learns, but it does not stop observation noise at deployment from reaching the actuator, and its theory excludes saturated actions. The tracker acts at execution time and is indifferent to saturation. The PAVE-plus-tracker condition tests whether the two are complementary or redundant.
Proposed Experiments
The decisive diagnostic is a controlled tracking task built from the vehicle trajectory-tracking setup, using sine-wave and double lane-change maneuvers with observation noise of variance 0.2, plus an added step-reference variant. For every method and strength setting we plot Action Fluctuation Rate against latency to reach 90% of a step. The prediction is that low-pass filters, SmODE, LipsNet++, DWS and reward penalties share roughly one frontier, and the tracker sits clearly below it. If it does not, the core claim is false.
We then run DMControl Cartpole, Reacher, Ball-in-Cup, Cheetah and Walker, reporting return and Action Fluctuation Ratio. We run MuJoCo Pendulum, Hopper and Walker2d, reporting return and the PAVE smoothness score, where the reference numbers above apply. We run CARLA lane-change overtaking and emergency braking, reporting success, steering jitter and braking reaction latency.
The bang-bang regime deserves its own check. On Cheetah and Walker, where Gaussian policies saturate, we report how often executed actions sit at the bounds and how many sign flips occur per second, with and without the tracker. We also run the inhibition ablation there, since uncoordinated firing should be most harmful when targets flip between extremes.
Finally, we log the residual voltage $V_t$ throughout. If it is a meaningful "withheld intent" signal, large sustained imbalance should precede task failures, particularly in emergency braking. That correlation is cheap to test and would give practitioners a runtime monitor that the filter-based methods lack.
All results use at least five seeds, the same environment-step budget across methods, and wall-clock time reported alongside return.
References
- Predictive Coding of Dynamical Variables in Balanced Spiking Networks
- ODE-based Smoothing Neural Network for Reinforcement Learning Tasks
- LipsNet++: Unifying Filter and Controller into a Policy Network
- Implicit Action Chunking for Smooth Continuous Control
- Stabilizing the Q-Gradient Field for Policy Smoothness in Actor-Critic Methods
- Is Bang-Bang Control All You Need? Solving Continuous Control with Bernoulli Policies
- Primate neocortex performs balanced sensory amplification
- Minimax Dynamics of Optimally Balanced Spiking Networks of Excitatory and Inhibitory Neurons
- Breaking Balance: Encoding local error signals in perturbations of excitation-inhibition balance
- Exploring parameter space in reinforcement learning
- Learning Smooth Humanoid Locomotion through Lipschitz-Constrained Policies