Where Does a User Live in a Stacked Denoising Autoencoder? Exact Forgetting for Assistive Biosignal Decoders

People with paralysis, ALS, or dysarthria increasingly control computers through muscle, brain, or voice signals decoded by learned models. Those models only work well after training on many recordings of many people, and the recordings carry the person along with the command: the shape of their motor-unit spikes, their scalp impedance, their particular distortion of vowels. When a trial participant withdraws consent, or a patient is discharged from a clinic's shared system, privacy law such as the GDPR's right to be forgotten requires that their data leave not only the database but the model weights too. This proposal asks a concrete question about one widely used feature learner for such signals, the stacked denoising autoencoder. That is a network built one layer at a time, where each layer learns to rebuild clean inputs from deliberately corrupted ones and then feeds its compressed output to the next layer. The question is at which layer a given person's identity becomes baked in, and whether we can design the stack so that forgetting a person only requires retraining the top few layers exactly, rather than approximately erasing them from all of them.

The core idea fits in two sentences. Train the lower layers of the stack only on a permanently consented donor pool, and give them a corruption process that imitates the differences between people (electrode shift, gain changes, vocal-tract warping), so that they learn person-invariant features. Then train the upper layers on the revocable clinical cohort, so that deleting a user means retraining only the layers above a chosen split depth. That deletion is exact by construction, cheap, and easy to audit. The claim to test is that identity-imitating corruption moves the accuracy-versus-deletion-cost curve. It should let the split sit higher in the stack than ordinary Gaussian or masking corruption allows, while keeping the accuracy that fully shared training gives on held-out, including impaired, users.

Core Claim and What Is New

The motivating evidence comes from three sides. Luo et al. trained a stacked denoising autoencoder with input dropout on multi-subject EEG and peripheral signals from DEAP and beat hand-engineered wavelet features, deep belief networks, and CNNs (0.652 valence accuracy). They did not ask what the stack retains about each subject. Assistive-interface work shows that decoders for disordered signals are strongly person-specific. Sharma et al. found that dysarthric errors are consistent within a talker but vary sharply across talkers, and cross-subject drops are reported for both sEMG (TEMGNet) and motor-imagery EEG (FBCSP). The unlearning literature warns that approximate methods often hide rather than erase. Erase or Hide? and Unlearning or Concealment? show that information suppressed at the output can persist in intermediate layers and be recovered.

The closest method work is a family of approximate unlearning techniques that edit a trained network in place. Projected-Gradient Unlearning finds the weight directions needed to keep performance on retained data and pushes forgetting updates orthogonal to them. On CIFAR-10 it reports an 11.6x speedup over retraining and a membership-inference AUC of 0.5340. SSPU uses a sparse autoencoder as an external probe to pick the subspaces to edit inside a language model. MemFlex updates only the parameters whose forgetting gradients diverge from their retention gradients. All three assume end-to-end trained image or text networks with a semantically separable forget set. None treats the greedy layer-wise training of a stacked autoencoder as a structural asset, and none measures where a person's identity sits in the stack.

This proposal differs in kind. It uses no approximate editing. The layer-wise training order defines a family of exact-unlearning architectures indexed by split depth. Denoising corruption, usually a generic regularizer, becomes a tool for keeping identity out of the layers that will never be retrained. At one extreme, with the split at the output, the design reduces to the reviewer's favourite: delete a per-user head. At the other, with the split at the input, it reduces to full retraining. The contribution is to measure the curve between these extremes and to shift it.

Research Program

The first component is a measurement study that makes the concealment critique quantitative for biosignals. We train a conventional stacked denoising autoencoder on all subjects. At every layer we fit two probes. The first is a linear classifier that tries to identify which subject produced a window. The second is a membership test that uses each layer's reconstruction error to tell a subject's training windows from their held-out windows. Autoencoders make reconstruction error a natural membership signal. Together the probes trace an identity curve across depth. The Baldi view of stacked autoencoders as successive clustering stages predicts that identity may peak in the middle layers, not the input. If so, deleting only a top head, as in adapter schemes, leaves most of the person in place.

The second component is the split-stack design. Layers 1 through $k$ are trained greedily on a donor pool whose consent is permanent or whose data is public, and they are then frozen. Their codes for the clinical cohort are cached. Layers $k+1$ through $L$ and the control decoder are trained on the cohort. When a user withdraws, we drop their cached codes and raw data and retrain the layers above $k$ from their original random initialization. The resulting weights are then distributed exactly as if the user had never enrolled. We state the one legal assumption plainly: donor-pool members may not later revoke consent without triggering a full retrain. That event should be rare.

The third component is identity-imitating corruption for the lower layers. For wristband or forearm sEMG, the corruption applies random circular channel shifts to mimic electrode re-seating, per-channel gain scaling, and changes in amplitude envelope. For EEG, it applies per-channel gain and small random spatial mixing. For speech, it applies vocal-tract-length warping and tempo perturbation. The corruption strength is matched in energy to the Gaussian and masking baselines, so that any gain comes from its structure and not its magnitude. This targets a limitation the literature already identifies, that denoising only generalizes when the corruption matches real variation. Here the target variation is between people rather than sensor noise.

Baselines

The naive reference point is to delete the user's raw recordings and leave the model unchanged. It fixes the floor on forgetting. We expect its identity probes and reconstruction-error membership test to recover the deleted user well above chance. For the reason just stated, it also shows how much identity a trained stack actually retains.

The exact gold standard is full retraining of the entire stack on everything except the deleted user, run with the same architecture, the same corruption, and the same hyperparameters. It defines the target values for every forgetting metric and serves as the compute reference against which deletion cost is reported. The split design should match it on the forgetting probes by construction. The design beats it on cost if retraining above depth $k$ takes a small fraction of its wall-clock time and FLOPs while losing no more than one accuracy point on remaining users.

The strongest approximate competitor is projected-gradient unlearning applied layer by layer to the fully shared stack. For its image setting the paper reports a CIFAR-10 membership-inference AUC of 0.5340 and retained error within 0.01% of retraining. No reported unlearning result was found on Lacuna for any sEMG, EEG, or dysarthric-speech benchmark. We give it the same tuning budget as our design, a grid over its subspace threshold and step count, selected on a validation user who is never deleted. The split design beats it if it matches its cost while showing no residual identity in intermediate layers where projected-gradient unlearning does. Residual identity means probe accuracy or reconstruction-error membership significantly above the retrained reference.

The strongest architectural competitor is a frozen donor-trained backbone with a per-user linear or low-rank head that is simply deleted. This is the $k = L$ endpoint, in the spirit of the adapter-based deletion used by Wang et al. and the key-value bottlenecks of Shah. Our design beats it only if some intermediate split achieves significantly higher accuracy on held-out cohort users at a deletion cost still far below full retraining.

For task accuracy, the reference numbers are those reported in the file. TEMGNet reports 82.93% (300 ms windows) and 82.05% (200 ms) gesture accuracy on NinaPro DB2. FBCSP reports mean kappa 0.569 on BCI Competition IV 2a and 0.600 on 2b. On UA-Speech, Sharma et al. report 40% word accuracy for a 6%-intelligibility talker using speaker-dependent models. Our fully shared stack must land near these figures for the forgetting comparisons to mean anything.

The key ablation swaps identity-imitating corruption for Gaussian or masking corruption of equal energy and keeps everything else fixed. It isolates whether corruption design, rather than the split alone, moves the curve.

Why not just…?

Why not just retrain from scratch, since these datasets are small? For a single cohort on a server this is a real threat, and full retraining is already our gold-standard baseline. The split design earns its place only when the lower layers are trained on a pool much larger than the cohort, which is the reason for pretraining at all, and when retraining runs somewhere constrained, as with the wearable setting of the sEMG wristband study or on-device unlearning. We will report deletion cost as a function of pool-to-cohort size ratio. If the savings are negligible at realistic ratios, we will say so, and the paper's contribution narrows to the layer-wise identity audit.

Why not just delete a per-user adapter on a frozen backbone? This is the $k = L$ point of our own curve, so the experiment settles it directly. Sharma et al.'s finding that dysarthric distortions are person-specific suggests that a donor-only backbone will underfit impaired users. But that is a hypothesis, not evidence. If adapters match the best intermediate split on UA-Speech and NinaPro held-out users, we will recommend adapters and report the result as negative for the middle ground.

Why not just train with differential privacy? Differentially private training bounds any single person's influence but does not remove it, and it costs accuracy in a setting where accuracy is the product. The iBCI deployment study found that users valued correctness over speed. We will include a differentially private shared stack at two privacy budgets and plot it on the same accuracy-versus-forgetting axes, so the comparison is empirical rather than rhetorical.

Why not just apply projected-gradient unlearning or SSPU to the stack? That is the approximate baseline above. The concealment literature predicts that output-level forgetting will leave identity in the middle layers. Our per-layer probes and a relearning test on the edited model are designed to show whether it does.

Why use a deep stack at all rather than classical CSP or MVDR pipelines? Classical pipelines such as FBCSP are included as accuracy references. If they match the stack on held-out users, the deep model and its privacy burden are unnecessary. That would be a useful finding, though Luo et al.'s gains over hand-engineered features suggest otherwise.

Proposed Experiments

The testbeds are NinaPro DB2 (40 subjects, 17 gestures), BCI Competition IV 2a and 2b, and UA-Speech. On UA-Speech the signal is actually disordered and transfer should be hardest. In each dataset, subjects are split into a donor pool, a revocable cohort, and a validation user. Every result is repeated over five random splits, with one to three cohort members deleted per split.

The first decisive check is the identity-versus-depth curve. The design premise fails if identity is concentrated only at the top of the stack, because then adapters suffice.

The second decisive check is the accuracy-versus-split-depth curve under each corruption type, measured on remaining cohort users and on fresh held-out users. The central claim holds only if identity-imitating corruption allows a higher split at equal accuracy, with the improvement exceeding split-to-split variance.

The third check is a forgetting audit of every method against the fully retrained reference. It uses per-layer identity probes, reconstruction-error membership, and a relearning attack in the style of Erase or Hide?: fine-tune on a few minutes of the deleted user's held-out data and count the steps needed to regain their accuracy. The split design should sit at the reference value. Projected-gradient unlearning, if the concealment critique carries over, should not.

Throughout, the cost of each deletion is reported in wall-clock time and FLOPs next to accuracy. A reader can then choose a split depth for their own compute and consent constraints.