Few-Cycle Degradation Models for Battery Dispatch on New Chemistries

Controllers that schedule batteries in buildings, microgrids and grid-regulation markets now routinely charge a price for wear. They add a penalty for deep or frequent cycling to the energy bill they minimize. That penalty is almost always a fixed, hand-written curve, calibrated once for one lithium-ion chemistry. When a site installs a different chemistry, such as iron-phosphate, sodium-ion or zinc-ion cells, or a different pack, the curve is wrong. The site cannot fix it from its own data, because capacity fades by fractions of a percent per year and a few months of logs barely register it. This note proposes the following. Pretrain a battery-life predictor on a large multi-chemistry dataset. Adapt it to a new site from a handful of cells and early cycles, using an extremely small, full-rank weight update borrowed from quantum-inspired fine-tuning. Then use the adapted predictor only to recalibrate the convex wear penalty inside a standard predictive dispatcher. The adapted model therefore affects decisions without ever running in the control loop.

What would be new is the claim itself, and the claim is falsifiable: when data per site is tiny, a log-size, full-rank update transfers wear knowledge better than low-rank or head-only updates. That better transfer then shows up as more revenue net of true wear, not just as lower prediction error. The quantum direction plays the role of the adaptation method here. It is simulated classically and needs no quantum hardware. Degradation modeling is the object being adapted, and predictive energy management is where the value is scored.

Core Claim

Our claim concerns a degradation-aware dispatcher operating on a chemistry or protocol that its wear model was not calibrated for. We expect the dispatcher to recover most of the utility gap to an oracle-calibrated dispatcher when three things hold. First, its wear penalty is refit from a pretrained life predictor. Second, that predictor was adapted with unitary low-parameter updates. Third, the adaptation sees only a few cells and early cycles. We also expect it to recover more of this gap than LoRA, head-only fine-tuning, or directly fitting the penalty to local capacity measurements, all at matched adaptation-parameter budgets.

The file supplies the building blocks. A Convex Cycle-based Degradation Model for Battery Energy Storage Planning and Operation proves that the Rainflow cycle-counting wear cost is convex and solves dispatch on PJM regulation traces. It reports a 27.6% gain in utility (revenue minus degradation) and battery life extended from 6 to 11.1 months over a linear model. That result motivates the proposal: the shape of the wear cost is worth a lot. It also supplies the dispatcher we keep. Its cost curve, however, has fixed constants.

BatteryLife releases 990 cells across 59 chemical systems, including the first public sodium-ion and zinc-ion sets. It introduces CyclePatch, which turns each charge cycle into one token for a Transformer, and reaches a mean absolute percentage error (MAPE) of 0.179 on lithium-ion. The same paper reports that models fail to transfer across chemistries and charging protocols. That is the gap motivating this work, and BatteryLife also supplies the pretraining corpus.

Quantum-PEFT supplies the adaptation method. It writes a weight update as a product of simulated quantum-circuit unitaries, which are rotation and entangling layers acting on $q=\log_2 d$ virtual qubits. The number of trainable angles therefore grows with $\log d$ rather than $d$, yet the update remains full-rank. On GLUE it matched LoRA (86.42 vs 86.12) with 25× fewer parameters. It has never been tried on battery sequences or in low-data transfer, and our work tests exactly that.

The file also contains a result that constrains the design. Quantum-Train LSTM for flood prediction generated all the weights of an LSTM from a quantum circuit, and continuous forecasting error exploded: MSE went from 38.02 to 475.91. We take this as evidence against generating whole regression models with Quantum-Train. We therefore keep the pretrained predictor classical and full-size, and restrict the quantum-inspired part to the adaptation update. The same reasoning excludes the headline Quantum-Train and QTRL results from being the vehicle (QTRL, Dist-QTRL). They reduce trainable parameters but deploy a full-size classical network, and they were shown only on CartPole and MiniGrid. Using them to "compress" an already tiny dispatch policy would buy nothing on the edge.

Research Program

The pipeline has three stages.

Stage one: pretraining. We pretrain a CyclePatch Transformer on BatteryLife. It predicts the capacity-fade increment for a planned or observed window of cycles, conditioned on each cycle's depth of discharge, C-rate, mean state of charge, rest time and temperature. Conditioning on these features lets the model express calendar and rate aging that pure Rainflow ignores.

Stage two: per-site adaptation. For each new site or chemistry, we freeze the backbone and learn a Quantum-PEFT update on the attention and feed-forward projections. The update uses only $k$ cells observed for their first $N$ cycles. Our main grid is $k\in\{1,2,4\}$ and $N\in\{50,100,200\}$.

Stage three: recalibrating the wear penalty. We query the adapted predictor on a designed set of synthetic cycling patterns. We then fit a per-site convex wear cost of the form

$$ J_s(p)=\sum_t \lambda_t p_t \;+\; \sum_{i} \Phi_s(d_i) \;+\; \sum_t \kappa_s(\sigma_t)\,\Delta t . $$

Here $p_t$ is battery power at step $t$, $\lambda_t$ is the price or regulation payment, and $d_i$ are the Rainflow cycle depths of the planned state-of-charge trajectory. $\Phi_s$ is a monotone convex depth-cost for site $s$, written as a polynomial with nonnegative coefficients. $\kappa_s(\sigma)$ is a convex calendar-aging rate as a function of state of charge $\sigma$. The fitted $J_s$ drops into the convex dispatcher of Shi et al. unchanged, so convexity and the solver are preserved.

This two-step design is deliberate. Decisions stay tractable and auditable, and the Transformer runs only offline, when a site's data is refreshed. It never runs inside a 10-second regulation loop.

The analysis asks where the improvement comes from. One possibility is the rank of the update, which we test with full-rank unitary updates against low-rank updates at matched parameter counts. Another is the parameter budget, which we test by sweeping the number of circuit layers. A third is the calendar term $\kappa_s$ that Rainflow lacks, which we test by fitting $J_s$ with and without it.

Baselines

Naive reference. The dispatcher of Shi et al. runs with its original lithium-ion Rainflow constants on every site. We also report the degradation-blind linear model from that paper, which serves as the floor. Beating the naive reference means higher true utility on held-out chemistries.

Strongest classical transfer competitor. The same CyclePatch backbone is adapted with LoRA at two settings: matched parameter count (about rank 1) and the rank-4 default. We also run head-only fine-tuning and full fine-tuning. All variants use the same $k$ cells, the same $N$ cycles, the same early-stopping split drawn from those cells only, the same number of hyperparameter trials (20 per method), and the same GPU budget. On the prediction side, the reference number is CyclePatch's in-distribution lithium-ion MAPE of 0.179 (BatteryLife). No reported result was found on Lacuna for few-cell cross-chemistry adaptation on BatteryLife, so we will establish that number ourselves. Beating LoRA means lower MAPE on held-out chemistries at every $k\le 2$, with the difference persisting across five seeds. On the control side, it means higher downstream utility.

Strongest non-learned competitor. We fit $\Phi_s$ and $\kappa_s$ directly to the $k$ cells' measured capacity curves by constrained least squares, with no predictor at all. This baseline has only a few parameters and is the most serious threat to the proposal.

Existing learned controllers. These serve as reference points for the dispatch results. On PJM RegD, the switching-point reinforcement-learning controller of Degradation-Aware Frequency Regulation of a Heterogeneous Battery Fleet via Reinforcement Learning reduced degradation from about 0.0076 (proportional policy) to about 0.0034. On CityLearn, ZO-iRL scored 0.944 overall, but it is degradation-blind. We add $J_s$ to its embedded convex program and check that the grid score stays near 0.944 while true wear drops.

Ablations. Two ablations isolate the key ingredient. The first replaces the learned unitary with a fixed random orthogonal matrix plus a trained scale, which tests whether training the rotations matters. The second removes the entangling gates, which makes the update effectively diagonal and low-rank and tests whether full rank matters.

Why not just…?

Why not just fit the wear curve to the site's own capacity measurements? Over a few months, fade is on the order of the 0.3–0.8% per year seen in the energy-hub study. That is comparable to measurement noise, so a direct fit with $k\le 2$ cells should be badly identified, especially for the calendar term. This is still a real threat, particularly when cells come from accelerated-aging tests with large fade. We therefore run it at every $(k,N)$ and report the crossover point where it catches up. If it matches the adapted predictor everywhere, the pretrained-model route is unjustified and we will say so.

Why not just use LoRA or head-only fine-tuning? The only evidence that unitary updates beat LoRA comes from language and vision tasks with ample data (Quantum-PEFT). Our hypothesis is that full rank plus few parameters matters most when data is scarce. The matched-parameter comparison and the no-entanglement ablation test this directly. A tie would mean the quantum-inspired component contributes nothing here.

Why not just learn an end-to-end reinforcement-learning dispatcher per site? The switching-point controller shows that reinforcement learning can learn shallow cycling on PJM. However, it relies on a fixed wear proxy and on millions of simulated interactions, and a new chemistry offers neither. Our approach reuses its proxy structure but supplies site-specific constants. We include the controller with both original and recalibrated rewards to show whether recalibration, rather than the controller class, drives the gain.

Proposed Experiments

Prediction experiments use BatteryLife with leave-one-chemistry-out splits (sodium-ion, zinc-ion, and lithium-ion subfamilies) and leave-one-protocol-out splits. We report MAPE of remaining-life and fade-increment predictions as a function of $k$ and $N$.

Control experiments cannot run on real sites, so each held-out chemistry gets an oracle wear model. The oracle is an ensemble trained on all of that chemistry's cells and is used as the "true" battery in simulation. Adapted models see only $k$ cells. This setup shares a backbone family with the method under test, which is a known limitation. We therefore also use a second oracle, a direct fit to all cells, and report agreement between the two. Dispatch runs on the PJM RegD traces with Shi's dispatcher and on CityLearn with degradation-augmented ZO-iRL. Metrics are true utility (revenue minus oracle wear), expected lifetime, deep-cycle fraction, and the CityLearn grid score.

The decisive check is the fraction of the utility gap closed between the naive-constants dispatcher and the oracle-calibrated dispatcher. The proposal succeeds only if unitary adaptation closes a larger fraction than LoRA at matched parameters, and than direct fitting, for $k\le 2$ on at least two held-out chemistries.

A secondary check guards against the MSE collapse seen in the flood-prediction study. We verify that lower MAPE translates into better dispatch, because a model can improve error on average while misranking cycling patterns. We measure the rank correlation between predicted and oracle wear across the synthetic query set, since that ranking is what the convex fit actually consumes.