Auditable Soft Projection for Encrypted Multi-Party Continual Learning

Several hospitals want to jointly train one model that keeps learning new tasks over time. No party will reveal its data, so the training runs on an untrusted server under homomorphic encryption, a way of encrypting numbers so that a server can add and multiply them without ever seeing them. The standard way to stop a continual learner from forgetting old tasks is to store a "projection memory": for each layer, a small set of directions that the old tasks' inputs occupy. New updates are then forbidden from moving the weights along those directions. Two problems follow. First, forbidding those directions entirely also blocks the model from reusing what it already knows. This is forward transfer deficiency: task ten is learned no faster than task one, and sometimes worse than learning it from scratch. Second, the projection memory is exactly the object a dishonest server would tamper with. By skipping it, the server erases one hospital's past knowledge. By inflating it, the server quietly freezes learning. Yet the memory is itself a summary of each hospital's data: its basis vectors are principal directions of that hospital's input activations. Proving that the memory was respected therefore seems to require revealing it, which is the "receipt paradox" familiar from verifiable voting.

We propose a protocol and training method with two ingredients. The first is soft projection: a closed-form, encryption-friendly partial projection that lets new tasks move the weights partway along old directions when those directions are shared. The second is an audit that decrypts one number: each party checks, on its own premises, how much the deployed update disturbed its own protected directions, and the parties jointly decrypt only that single scalar. The claim is that forward transfer can be recovered inside encrypted continual learning, and that each party can confirm its knowledge was protected, without the projection memory ever being revealed in the clear.

Core Claim

The closest existing system, IPoLoRA, trains polynomial networks under leveled fully homomorphic encryption. It prevents forgetting by initializing low-rank adapters orthogonal to past gradient subspaces, following Gradient Projection Memory (GPM). It assumes an honest server and strict orthogonality. In plaintext, ROGO showed that allowing updates at acute angles to the protected space raises forward transfer (Ω_new 63.81% vs. 61.63% for GPM on 20-split miniImageNet). It does so through an iterative eigenvector search that would be deep and expensive under encryption.

The verifiable federated learning systems take a different angle. EVFL uses signatures plus a trusted authority. Context-hiding homomorphic authenticators prove that an aggregate is a linear combination of authenticated inputs. Both verify static averaging with public coefficients. A projection is linear in the gradient, but its coefficients here are the private basis, so neither system applies.

We claim three things. First, a relaxed projection whose per-direction strength is a polynomial in encrypted overlap statistics recovers most of ROGO's forward-transfer gain at a cost of two to three extra multiplicative levels. Second, a per-party scalar audit detects the server attacks that matter (skipped, inflated, or substituted projection) at low false-alarm rates. Third, the audit leaks orders of magnitude less about a party's data than revealing its basis would.

Research Program

Setting. We follow the HETAL deployment. Each party passes raw inputs through a frozen pretrained extractor locally and sends CKKS-encrypted embeddings to the server. CKKS is an encryption scheme for approximate real-valued arithmetic. The server trains a shared low-rank adapter and per-task heads under encryption. As in multiparty homomorphic encryption, the decryption key is threshold-shared across parties, so no single party can decrypt anything alone. Tasks arrive in sequence, and different parties own different tasks. A later task from party B can therefore overwrite party A's earlier knowledge.

Projection memory. Because embeddings are plaintext at the party, each party computes its own GPM basis $M_p$ (columns are orthonormal directions of its activations) locally and cheaply. It sends $M_p$ to the server only in encrypted form. This sidesteps the problem that singular value decomposition is too deep to run under encryption.

Soft projection. For a new-task gradient $g$, the server applies

$$g' = g - M \,\mathrm{diag}(\lambda)\, M^\top g, \qquad \lambda_i = 1 - \alpha\, s_i ,$$

where $M$ stacks the protected directions. The overlap $s_i \in [0,1]$ is the fraction of the new task's activation energy lying along direction $i$. The hyperparameter $\alpha \in [0,1]$ sets how much shared directions are relaxed. Setting $\lambda = 1$ recovers hard GPM.

Every term is additions and multiplications of encrypted quantities, so no decryption is needed. The server computes $s_i$ homomorphically from encrypted embeddings; $\lambda$ is linear in $s$; and the projection is two matrix products. We will measure the added multiplicative depth and runtime against HETAL's matrix-multiplication kernels. We will also track how CKKS noise and the logit range evolve across a whole task sequence rather than one task, since HETAL's wide-range softmax was calibrated for a single task.

Audit. The model update $\Delta W$ is deployed as a ciphertext whose hash is posted to a public append-only log, the analogue of an election bulletin board. For each of its past tasks, party $p$ fetches that exact ciphertext and computes locally, with its own plaintext basis, $\mathrm{Enc}(c_p)$ with $c_p = \|M_p^\top \Delta W\|^2 / \|\Delta W\|^2$, the share of the update that landed in its protected space. The parties then jointly decrypt only $c_p$. Two properties follow. The server cannot falsify the audit, because it never computes it. Other parties see one scalar, never $M_p$.

A second scalar guards against over-projection that freezes learning: the encrypted loss change on a small encrypted audit set held by the party whose task is currently being trained. The expected value of $c_p$ under honest soft projection is known to the party from $\lambda$ and $\alpha$. A deviation beyond a calibrated tolerance flags tampering.

Decrypted CKKS outputs can leak key material, as shown for approximate homomorphic encryption. We therefore add the noise that paper prescribes to each decrypted scalar. We also rate-limit decryptions to a fixed number per party per task. Pang et al. note that even a perfectly hidden aggregate can reveal inputs. We take that seriously, and it is why the leakage of the scalars is measured rather than assumed to be zero.

Baselines

The naive reference point is encrypted sequential fine-tuning of the same adapter and heads with no projection. It bounds forward transfer from above and forgetting from below. Continual World reports that fine-tuning reaches forward transfer of 0.20 where regularized methods sit near zero, so this baseline is not a straw man for forward transfer.

The strongest existing method for encrypted continual learning is IPoLoRA-style hard GPM projection under encryption. The file gives only relative claims for it: at least 17% above standard baselines on CIFAR-100, and nearly 22% above classifier fine-tuning on ImageNet-R. No reported absolute accuracy for IPoLoRA was found on Lacuna. We therefore reimplement hard projection in our exact setting: same frozen extractor, same encrypted adapter, same CKKS parameters, and same tuning budget per method. This hard-projection run is the $\lambda = 1$ ablation of our method, so the comparison isolates the relaxation alone.

The plaintext upper reference is ROGO. Its reported numbers are 74.04% average accuracy vs. 72.48% for GPM on split CIFAR-100, and Ω_new 63.81% vs. 61.63% on miniImageNet ROGO. We rerun ROGO and GPM in plaintext on our backbone so the encrypted numbers can be read against a matched gap.

Beating the strongest baseline means two things together. Encrypted soft projection must exceed encrypted hard projection on forward transfer with a matched-seed confidence interval excluding zero. It must also keep backward transfer within one point of hard projection, and stay within HETAL's reported encryption penalty (0.51% maximum accuracy drop) of its own plaintext version.

A further ablation replaces the overlap-driven $\lambda$ with a uniform $\lambda$ of equal average strength. If uniform relaxation does as well, the overlap statistic is not doing the work.

For the audit, there are two baselines. The first is evaluation-only auditing: parties jointly decrypt accuracy on held-out audit sets. The second is basis disclosure, where parties reveal $M_p$ so anyone can check $\Delta W$ directly. The disclosure baseline gives the best possible detection at the worst possible leakage. Our audit wins if it matches disclosure's detection rate within a few points at a 1% false-alarm rate, while leaking far less on the attacks in the Proposed Experiments section.

Why not just…?

Why not just keep hard orthogonal projection, since the ROGO gain is only about two points? This is a real threat. A two-point gain may shrink further when the backbone is frozen and only an adapter is trained. The case for relaxation rests on two conditions: sequences with strongly shared structure, where CLiMB found upstream continual learning made a later task 5.09% worse than scratch; and long sequences, where hard projection saturates the adapter's capacity. We therefore report forward transfer as a function of task index and task similarity, not just averages. If soft projection gives no gain even at task 20 on similar tasks, we will report that. The audit contribution does not depend on it.

Why not just have parties decrypt the model and test it on held-out data? Evaluation catches gross forgetting, but it confounds sabotage with genuine task difficulty. A server that over-projects produces a model that simply looks as if the new task was hard. Evaluation also has little power against targeted partial skipping along a few directions. The attack experiments directly measure evaluation-only detection power against the scalar audit. If evaluation matches it, the audit is unnecessary and we will say so.

Why not just use differential privacy in plaintext, or isolated per-task adapters? Plaintext training with differential privacy changes the threat model. The server sees embeddings, which HETAL notes are open to feature inversion. The participation-privacy streaming work also shows the privacy cost resurfacing as update latency. Isolated adapters avoid forgetting but, per CLiMB and Continual World, forfeit cross-task transfer. They are included as a forward-transfer reference, not as a competitor on the joint question.

Why not just prove the whole training step in zero knowledge? Zero-knowledge proofs over millions of real-valued parameters hit the scalability wall noted in the verifiability literature. Our audit needs only plaintext-by-ciphertext products done at the party. We report its wall-clock cost next to the roughly 10 ms verification of context-hiding authenticators, which address a simpler, linear-only check.

Proposed Experiments

Benchmarks. Tasks are split CIFAR-100 (10 tasks), 20-split miniImageNet, ImageNet-R (10 tasks), and PACS, the benchmarks of GPM, ROGO and IPoLoRA. Features come from a frozen ViT as in HETAL. Tasks are assigned round-robin to five parties so that cross-party overwriting occurs. We add a DermaMNIST sequence from the HETAL suite as a medical multi-party case.

Metrics. For learning we report average accuracy, backward transfer, and Ω_new forward transfer. For cost we report encrypted runtime, multiplicative depth, and CKKS precision across the full sequence.

Decisive check 1: forward transfer. Encrypted soft projection must beat encrypted hard projection on forward transfer with no meaningful loss in backward transfer, and must track the plaintext ROGO-vs-GPM gap.

Decisive check 2: detection. Against four server attacks (skip projection, inflate the protected space to freeze learning, substitute an attacker-chosen basis, and skip projection on only the top few directions of one party), the scalar audit's detection rate at 1% false alarm must approach basis disclosure and clearly exceed evaluation-only auditing.

Decisive check 3: leakage. We give an adversary three kinds of released information: the full basis, the stream of noised audit scalars, and nothing. Using each, the adversary attempts embedding reconstruction and attribute inference against a party. The scalar stream should be statistically indistinguishable from the no-release condition, while the basis should enable measurable reconstruction. If it does not, the privacy motivation for hiding the basis is weaker than we argue, and we will report that too.