A fleet operator, a battery recycler, or a buyer of second-life packs often wants a battery's state of health, meaning its remaining capacity relative to new, estimated by a model it does not own and on data it will not reveal. Fully homomorphic encryption (FHE) is a family of lattice-based ciphers that let a server do arithmetic directly on encrypted numbers. In principle it settles this standoff: the client encrypts its telemetry, the server runs its proprietary model blind, and only the client can decrypt the answer. In practice FHE has been demonstrated almost entirely on image benchmarks. There it costs orders of magnitude in latency and bandwidth: CryptoNets reported 250 seconds per single MNIST prediction and roughly 92 KB of ciphertext per image. The best battery models are recurrent networks with attention (CNN-BiLSTM-AM), Gaussian processes with exponential kernels (GRA-GPR), or physics-constrained encoder-decoders (Che et al.). Each is close to the worst case for encrypted evaluation.
This proposal starts from the fact that battery health estimation already contains a strong compression step. Indirect health indicators are a handful of scalars computed from voltage, current, and temperature curves, for example the time a cell takes to discharge through a fixed voltage window. They stand in for internal states that sealed cells cannot expose. Our claim is that this compression, applied in plaintext on the client before encryption, changes the encrypted problem from deep-network inference into evaluating a shallow polynomial over a few numbers. If the indicators and the regressor are chosen jointly against a fixed multiplicative-depth budget, encrypted SOH estimation can be made bootstrap-free. Bootstrapping is the expensive noise-refresh operation that dominates FHE cost. Packing many cells into one ciphertext then gives fleet-scale throughput, and the accuracy loss relative to the best plaintext models can be measured and bounded. The new piece is a feature-selection and model-design procedure in which multiplicative depth is a first-class cost. We also map where this approach fails: on noisy, dynamic driving data, where simple indicators are known to degrade.
Core Claim and Threat Model
The setting has three parties. The client holds raw telemetry. The server holds a regressor trained on pooled multi-fleet aging data, and that regressor is the asset it will not ship to edge devices. Any third party sees only ciphertexts. The client computes indicators locally from its own data, so feature extraction reveals nothing beyond what the client already has. Indicator definitions such as TIEDVD (time interval of equal discharging voltage difference), constant-current charge rise time, or incremental-capacity peak positions are published in the literature and carry little intellectual property. The server's learned mapping is what needs protecting. We use the CKKS scheme, an FHE variant for approximate real-number arithmetic. With it, the server evaluates a polynomial $f$ of total multiplicative depth at most $L$ on an encrypted indicator vector $x \in \mathbb{R}^d$, packing one cell per group of $d$ slots so that thousands of cells share a ciphertext. This is the batching trick CryptoNets introduced.
The concrete design objective selects an indicator subset $S$ and a polynomial regressor $f$:
$$\min_{S, f} \; \mathbb{E}\big[(f(x_S) - \mathrm{SOH})^2\big] \quad \text{s.t.} \quad \mathrm{depth}(f) + \mathrm{depth}(\text{normalization}) \le L,$$
where $\mathrm{depth}(\cdot)$ counts sequential ciphertext multiplications and $L$ is the largest depth a CKKS parameter set supports without bootstrapping. NASS showed that FHE latency jumps in discrete cliffs when parameters cross a threshold, which suggests the right operating point sits just below a cliff. We therefore sweep $L$ over the small values where ring dimension does not double. We do not treat depth as a smooth penalty.
Research Program
The work has three parts. First, we build a depth-annotated indicator library. Each candidate indicator from the battery literature is computed client-side. These include TIEDVD from Tian et al., discharge voltage drop plus temperature rise from Yang et al., constant-current rise and constant-voltage fall times from Zhang et al., and differential-capacity peak features like those that dominated in the federated sorting work. Each indicator is tagged with the encrypted cost of everything downstream that touches it, including any normalization the server must apply. Jia et al. used grey relation analysis, which ranks features by correlation with capacity alone. We extend that ranking with a greedy selection that scores each added indicator by its marginal accuracy gain per unit of depth and slot cost.
Second, we design regressors whose depth is fixed by construction. We compare three families of increasing expressiveness. The first is linear regression, at depth 1. The second is polynomial-kernel ridge regression with explicit low-degree feature maps; this is a CKKS-compatible stand-in for the exponential-kernel GPR that the battery literature favors, since that kernel and the matrix inverse cannot be evaluated cheaply on ciphertexts. The third is stacked bilinear layers of the form $W_o((W_a x)\odot(W_b x))$, borrowed from PolyNeXt. That work showed activation-free Hadamard-product networks can reach strong accuracy, and that $k$ stacked bilinear layers express degree-$2^k$ polynomials at depth roughly $2k$. PolyNeXt supplies the method here, but it was only validated on ImageNet. Whether bilinear stacking helps on low-dimensional physical regression is an open question this work answers.
Third, we probe the limits of the indicator route on harder data. On the dynamic driving cohort of the 422-cell benchmark, short and messy operating snippets are the norm. Che et al. needed a learned encoder there, and the Battery Fault benchmark reports a 20% drop for traditional methods moving from charging to discharging data. We test two options. In the first, the client runs a published, public encoder in plaintext and encrypts its four mechanistic latents (anode and cathode capacity, and their initial lithiation states). In the second, the server runs a shallow bilinear encoder over raw snippets under encryption. The second option is expensive, and its purpose is to measure the price of keeping the feature extractor itself secret.
Baselines
The plaintext ceiling is the strongest existing plaintext method on each benchmark, retrained on our exact splits. On NASA cells this is CNN-BiLSTM-AM. For it, Tian et al. report an SOH RMSE of 0.00487, MAE of 0.00307, and MAPE of 0.420% on cell B0005 at a 90% prediction start point, and RMSE below 0.01 on all cells. On the dynamic driving cohort the reference is the Che et al. encoder-decoder, which reports an SOH MAE of 0.86% and relative error below 7%. GRA-GPR from Jia et al. serves as the onboard plaintext reference. It reports roughly 40 ms online inference and at least a 52.56% accuracy gain over plain GPR; no absolute RMSE is given in our file. We do not expect to beat these ceilings. Success means an encrypted model within a pre-registered margin of the ceiling: RMSE within 1.5x of CNN-BiLSTM-AM on NASA and MAE within 0.5 points of 0.86% on dynamic driving, with zero bootstraps.
The naive encrypted reference is a CryptoNets-style port: a small network with square activations applied directly to resampled raw voltage curves and evaluated under the same CKKS library. It represents what "just encrypt the model" looks like. The simplest reference is encrypted linear regression on the full indicator set at depth 1. The strongest encrypted competitor is a NASS-style joint search over regressor topology and CKKS parameters, run on raw curves with the same search budget we spend on indicator selection; no reported result was found on Lacuna for NASS on battery or any time-series regression. All encrypted methods share one CKKS implementation, one CPU, 128-bit security parameters, and identical hyperparameter tuning budgets.
The key ablation isolates depth-aware selection. We pick indicators by grey relation analysis alone, then fit the same regressor family under the same depth budget. If depth-aware selection does not beat correlation-only selection at matched $L$, the selection contribution is not real. A second ablation moves normalization to the server, under encryption, to measure how much of the gain comes simply from doing preprocessing in plaintext.
Why not just…?
Why not just deploy the model on the device? If the server's regressor is a tiny polynomial over public indicators, an attacker who extracts it from firmware gains little. This is a serious threat to the motivation in the easy regime, and we say so. The argument for encryption rests on two cases. In the first, the client is a third party who should not hold the model, such as a recycler or a second-life buyer, and the model encodes pooled fleet aging behavior. In the second, the client must not reveal per-cell health to anyone, which on-device deployment satisfies only if the device is the client's. We will report model size and the extraction risk from the learned coefficients alongside the encryption results, so the reader can judge which case applies.
Why not just encrypt a linear regression on the indicators and stop? This is our depth-1 baseline, and on smooth NASA charging data it may come close to the ceiling. If it does, that finding is itself useful: encrypted SOH on lab data costs almost nothing. The open question is the dynamic-driving regime. There, simple indicators lose accuracy, as the 20% cross-scenario drop in Battery Fault and the overpotential shifts documented by Che et al. both suggest. The accuracy-versus-depth curve on that cohort shows directly whether depth beyond 1 buys anything.
Why not just use federated learning, as in the retired-battery sorting work? Li et al. keep raw cycling data local during training and achieve 1–3% cathode-sorting error. However, federated learning protects training, not queries. Once the model exists, someone must run it on a new client's data, and that query exposes either the data or the model. Li et al. also explicitly leave SOH estimation to future work. Our method fits naturally after their training step, so the two are complementary rather than competing.
Why not just port the physics-informed encoder with high-degree polynomial approximations? SecureNets and the depth analysis behind NASS show that high-degree approximations of non-linearities consume depth and force bootstrapping. Circuit Bootstrapping identifies bootstrapping as FHE's main cost. Our third research part measures this route on dynamic data rather than assuming it fails.
Proposed Experiments and Decisive Checks
We use the NASA PCoE cells B0005, B0006, B0007, and B0018 with the prediction start points of Tian et al. We treat B0007 as the anomalous trajectory flagged by Jia et al. We also use all three cohorts of the 422-cell onboard benchmark: Tesla-cell constant-current protocols, dynamic driving, and the rate sweep. Two secondary checks extend the scope. The first is cathode classification on the 130-cell sorting set, which tests whether depth-budgeted indicators can match the federated model's 1% homogeneous error under encryption. The second is severity grading on CH-BatteryGen, where the reference is an F1 of 0.8813.
Metrics cover four aspects. Accuracy is RMSE, MAE, and MAPE on SOH. Encrypted numerical error is the gap between the decrypted output and the same model run in plaintext. Cost is single-query latency, amortized per-cell latency at full slot packing, ciphertext and evaluation-key size, and bootstrap count. Comparing against CryptoNets' 250 s latency and 58,982 predictions per hour on MNIST frames the scale only, not a like-for-like comparison.
Three results would settle the claim. The first is the accuracy-versus-depth curve on dynamic driving data. The claim survives if a bootstrap-free model at small $L$ comes within the stated margin of the 0.86% MAE reference, and it fails if accuracy only recovers once bootstrapping is needed. The second is the matched-depth ablation of depth-aware versus correlation-only selection. The third is the latency of the encrypted indicator pipeline against the naive raw-curve port at equal accuracy. We expect a gap of at least an order of magnitude; finding none would mean the plaintext compression step is not where the savings come from.
References
- CryptoNets: Applying Neural Networks to Encrypted Data with High Throughput and Accuracy
- State-of-Health Prediction of Lithium-Ion Batteries Based on CNN-BiLSTM-AM
- SOH and RUL Prediction of Lithium-Ion Batteries Based on Gaussian Process Regression with Indirect Health Indicators
- Diagnostic-free onboard battery health assessment
- NASS: Optimizing Secure Inference via Neural Architecture Search
- State of Health Prediction of Lithium-Ion Batteries Based on the Discharge Voltage and Temperature
- A New Health Analysis Method for Lithium-Ion Batteries Based on the Evidential Reasoning Rule Considering Perturbation
- Collaborative and privacy-preserving retired battery sorting for profitable direct recycling via federated machine learning
- Activation-Free Backbones for Image Recognition: Polynomial Alternatives within MetaFormer-Style Vision Models
- Battery Fault: A Comprehensive Dataset and Benchmark for Battery Fault Diagnosis
- SecureNets: Secure Inference of Deep Neural Networks on an Untrusted Cloud
- Circuit Bootstrapping: Faster and Smaller