NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Shallow Encrypted V2G Dispatch: Letting the Control Loop Refresh Ciphertext Noise

Electric vehicles parked at homes, depots and bus hubs can act as a distributed battery: they charge when power is cheap or solar is plentiful, and they discharge back to the grid ("vehicle-to-grid", or V2G) when the local feeder is stressed. Coordinating them requires a central party to see each vehicle's arrival time, departure time, energy need and battery state, and those quantities reveal when people come home, how far they drive, and how much a delivery fleet ships. Homomorphic encryption is a type of encryption that lets a server compute on data it cannot read. It could hide all of this, but the encryption schemes that support multiplication carry a small random "noise" term inside every ciphertext. That noise grows with each multiplication, and once it passes a ceiling, decryption returns garbage. Iterative optimizers multiply over and over, so encrypted solvers either run out of budget or must pay for "bootstrapping", an expensive homomorphic re-encryption that resets the noise.

Our claim is that V2G dispatch does not need deep encrypted optimization at all. Dispatch is receding-horizon: every few minutes a setpoint must physically reach each charger. Delivering that setpoint already requires a decryption, after which the vehicle re-encrypts a fresh state. The control loop therefore resets noise once per interval at no extra cost. Successive dispatch problems also differ only slightly, so a warm-started solver running a fixed, small number of iterations per interval can track the optimum instead of re-solving it. Within one interval, the remaining problem is to fit those few iterations, including polynomial stand-ins for the battery and inverter limits, into a leveled noise budget with no bootstrapping. That budget must be sized for the heavy-tailed, dependent noise these loops create, not for the textbook Gaussian estimate.

Core Claim

Let $x_t^\star$ be the optimal fleet schedule at dispatch interval $t$. Let $\rho<1$ be the contraction rate of one encrypted projected-gradient step, and let $\delta$ bound the drift $\|x_t^\star - x_{t-1}^\star\|$ between consecutive intervals, which comes from new arrivals, price updates and forecast revisions. If we run $K$ warm-started iterations per interval, the tracking error $e_t=\|x_t - x_t^\star\|$ obeys

$$ e_t \le \rho^K\,(e_{t-1} + \delta) \quad\Rightarrow\quad \limsup_t e_t \le \frac{\rho^K \delta}{1-\rho^K}, $$

which follows from applying the contraction $K$ times to an initial error of at most $e_{t-1}+\delta$. The multiplicative depth needed per interval is $L = K(d_g + d_c)$. Here $d_g$ is the depth of one gradient evaluation, including a quadratic battery-degradation term and a feeder-voltage term, and $d_c$ is the depth of the polynomial that approximately clips power and state of charge to their limits; $d_c$ grows roughly as the logarithm of that polynomial's degree. The design question becomes a joint choice of $(K, \text{clip degree})$ under a fixed $L$, set so that $L$ fits a modest leveled parameter set. The claim is falsifiable. If drift between intervals is not small relative to $\rho^K$ at affordable $K$, warm starting will not rescue a shallow budget, and we will see it in tracking cost.

Relation to Prior Work

Plaintext V2G and smart-charging control supplies the application and the reference quality. The Adaptive Charging Network work Lee et al. runs model-predictive charging control, i.e. re-solving a short-horizon optimization each interval, on real Caltech sessions. REVS Meyur et al. coordinates residential charging with ADMM, a method that splits one optimization into local subproblems plus a coordinator, over a linearized feeder model. REVS sends plaintext power trajectories and leaves bidirectional discharge to future work. Qi et al. and Lin et al. show that discharge arbitrage is valuable for bus and delivery fleets. None of these hide individual data.

Privacy-preserving grid optimization so far has avoided ciphertext multiplication. Wu et al. run ADMM optimal power flow with additive-only Paillier encryption, made possible by an $\ell_1$ penalty and an exact relaxation valid on radial networks. Ruan et al. show that plaintext iterates leak private inputs through inference, which motivates encryption. They also report Paillier at 1.5 s per iteration, restricted to affine functions. Jin and Liu use Paillier only to aggregate forecasting-model updates. These works motivate the gap; none handles stateful battery dynamics, nonlinear degradation, or the encrypted clipping our formulation needs.

Encrypted iterative optimization supplies the methods and the main contrast. Encrypted Distributed Lasso runs CKKS-encrypted ADMM with Chebyshev approximations of a non-smooth operator and multi-server bootstrapping between iterations. It reports 20 iterations in 38.44 s on a 4-room building model with a 436-bit modulus, solving to convergence each time. We instead never bootstrap, and we rely on the physical loop to refresh noise. Schlor et al. enforce constraints using only additions and multiplications through polynomial penalties of growing degree, with a fixed precomputed iteration count. We reuse the idea but cap the degree and trade it against iteration count, because warm starting removes the need to converge from scratch. Esperança et al. show that plain gradient descent has dimension-independent depth while Nesterov acceleration costs an extra level per step. That result constrains our solver choice toward plain or series-accelerated gradient steps.

Gao and Zheng constrain the noise model. They show that under dependent operations, such as squaring and repeated use of the same evaluation keys, the noise becomes heavy-tailed and exceeds Gaussian estimates even at ring dimension $2^{15}$–$2^{16}$, which led OpenFHE to change its expansion factors. Repeatedly applying the same clipping polynomial to the same state is exactly this dependent regime, so we treat their finding as a design requirement. Finally, threshold decryption delivers each setpoint only to its owner. Ajax removes the need to drown partial decryptions in extra noise, decrypting in 0.9–4.4 ms for 3–21 parties with a 53-bit modulus. We use it as an enabling component, not a contribution.

Research Program

We build an encrypted dispatcher in OpenFHE using the CKKS scheme. CKKS encrypts approximate real numbers and can pack a whole vector into one ciphertext, which lets us pack the fleet's per-interval variables together. Keys are threshold-shared among the distribution operator, the aggregator and an independent third party. Each interval, each vehicle uploads one ciphertext holding its encrypted state of charge, deadline-weighted energy need and limits. The coordinator runs $K$ warm-started projected-gradient steps on a cost made of energy price, a quadratic degradation proxy, and a penalty on linearized feeder voltages computed with the operator's sensitivity matrix. Clipping to $[-P^{\max}_{\text{dis}}, P^{\max}_{\text{ch}}]$ and state-of-charge bounds uses a fixed-degree minimax polynomial. Partial decryptions of each vehicle's slot go only to that vehicle, which applies its setpoint and re-encrypts its new state.

The program has three parts. The first is the depth allocation study: for $L\in\{8,\dots,24\}$ we sweep the split between iteration count and clip degree, and we measure tracking cost and constraint violation against plaintext warm-started control. The second is a noise study specific to this circuit. We record the empirical noise of every ciphertext across $10^5$ simulated intervals and compare its tail with the scheme's estimate under both Gaussian-heuristic and current OpenFHE expansion factors. From the measured tail we fit a dependency-aware safety margin and report the smallest parameter set with no observed failure, and how much latency each margin costs. The third is a privacy accounting that states what the coordinator sees in our design compared with the additive-only alternatives. In our design that is only ciphertexts plus the decrypted feeder-head total, if that total is published.

Baselines

The naive reference point is uncontrolled bidirectional-capable charging, where vehicles charge at full rate on arrival. It anchors cost and violation numbers, and Lee et al. report smart control earning 3.4 times its profit in the charging-only setting.

The quality ceiling is plaintext centralized warm-started model-predictive dispatch with the same cost, constraints and horizon, solved to convergence. The closest published reference is the Adaptive Scheduling Algorithm, reported within 3.6% of offline-optimal profit in idealized settings and 90% under non-ideal hardware Lee et al.. We reimplement it with discharge enabled on the same ACN-Sim traces. Beating it is impossible by construction. Success means our encrypted dispatcher stays within one percentage point of its cost at the chosen depth, with feeder-voltage violation rates no higher.

The strongest privacy-preserving competitor is ADMM in which each vehicle solves its own subproblem in plaintext and only coordinator-side sums are encrypted additively with Paillier, in the style of Wu et al.. We give it the same interval length and the same wall-clock budget, and let it use as many rounds as fit. We count communication rounds per interval, measure solution quality when vehicles drop out mid-negotiation, and log what per-node aggregates the coordinator learns. Our design beats it if it reaches equal cost with one upload per interval and no per-node aggregate exposure, and does so at round budgets and dropout rates where ADMM has not converged. Wu et al. report 35 iterations to a 0.8754% optimality gap on an 85-bus feeder, which serves as its expected convergence scale.

The encrypted competitor is the converge-every-interval design of Encrypted Distributed Lasso: cold start, many iterations, bootstrapping between them, all on the same hardware. We beat it if we match its tracking cost at a fraction of its per-interval latency and with a smaller modulus.

Two ablations isolate the key ingredients. A cold-start ablation runs the same $K$ and $L$ without warm starting, isolating the temporal-tracking argument. A noise-margin ablation sizes parameters with the Gaussian heuristic instead of our measured margin, isolating the Gao and Zheng effect. For encrypted bidirectional V2G on ACN data there is no reported result found on Lacuna, so all encrypted V2G numbers will be new.

Why not just…?

Why not just use Paillier with local plaintext subproblems, since V2G dynamics are linear? This is the real threat, and we treat it as the main baseline rather than dismissing it. With linear state-of-charge dynamics and a linearized feeder, the coordinator's update can be made additive, so no ciphertext multiplication is needed. Its costs are structural. It needs a round trip with every vehicle on every iteration, tens of rounds per interval if Wu et al.'s 35 iterations transfer. It exposes per-node aggregates that equal one household's load on sparse feeders. It cannot evaluate a nonlinear degradation term on encrypted joint states. If it matches our cost under realistic dropout and round limits while leaking little, our contribution narrows to the degradation-aware case, and the dropout experiment will show which outcome holds.

Why not just add differential privacy noise to reported schedules? Within the file's evidence, Wu et al. found that differentially private ADMM needed 79 to 576 iterations against 35 for encryption, with larger optimality gaps. Jin and Liu report 28.8% higher forecasting error at $\epsilon=1$. Injected noise also perturbs the setpoints themselves, which matters for voltage limits. We include a differentially private dispatcher at matched $\epsilon$ and report its voltage-violation rate.

Why not just pick large parameters, or bootstrap every iteration, and run to convergence? That is the Lasso-style baseline above, and it works. The question is latency against a minutes-long dispatch interval and cost per interval across a fleet. The warm-start ablation tells us whether shallow tracking actually preserves quality. If it does not, this alternative wins, and we will say so.

Decisive Checks

We use Caltech ACN-Sim sessions with discharge enabled as the fleet data, the MATPOWER 85-bus radial feeder and the IEEE 37-bus system for voltage constraints, and Guelph bus schedules with MISO prices as a second, more predictable fleet. Three results decide the proposal. First, at some $L\le 16$ with no bootstrapping, warm-started encrypted dispatch must stay within one percentage point of plaintext cost while cold start at the same depth does not; otherwise the core claim fails. Second, Gaussian-heuristic parameters must show measurable precision failures or tail excursions in this circuit that the dependency-aware margin removes; if no excursions appear, we report that the Gao–Zheng effect is benign here, which is itself useful for sizing parameters. Third, per-interval end-to-end latency, including threshold decryption, must fit inside a 5-minute interval for fleets of several hundred vehicles, while the Paillier-ADMM baseline under the same interval and dropout settings either fails to converge or exposes per-node aggregates.