Split inference is a common way to run a large neural network from a phone or sensor. The device runs the first few layers, sends the intermediate features to a server, and the server finishes the job. Systems work on this setup chooses the cut point to balance on-device energy against wireless latency. Security work warns that the features themselves leak the input. A data-free inversion attack can rebuild recognizable ImageNet images from features taken after as many as 42 convolutional layers (Privacy Vulnerability of Split Computing to Data-Free Model Inversion Attacks). Today a privacy-conscious deployment therefore cuts deep for every input. That spends the battery on every image to defend against the worst image.
We propose to make the cut point an input-dependent decision governed by privacy. The device runs one block at a time. After each block, a tiny probe predicts how well a strong inversion attacker could reconstruct this particular input from the current features. The device offloads as soon as that predicted leakage falls below a threshold. The threshold is calibrated with a distribution-free statistical test, so that the fraction of offloaded inputs that an attacker can reconstruct well stays below a user-chosen level with high probability. All on-device costs enter the energy accounting: computation under the device's chosen clock frequency, radio transmission, and the cryptography that protects the link. The bet is that leakage varies a great deal from input to input. If it does, most inputs can leave the device early, and the battery pays for depth only when depth actually buys privacy.
Core Claim
Leakage of intermediate features depends on the input, not only on layer depth. This much is suggested by the observation that some deep layers retain much more structure than others (Privacy Vulnerability of Split Computing to Data-Free Model Inversion Attacks). If leakage is also predictable from cheap statistics of shallow features, then a calibrated per-input stopping rule can meet the same privacy guarantee as the best fixed deep split while using substantially less on-device energy.
The guarantee has a precise form. Let $\ell(x, k)$ be the reconstruction quality an attacker achieves on input $x$ when the device offloads after block $k$, measured as structural similarity (SSIM), an image-similarity score in which higher means more recognizable. Let $\tau$ be the quality above which we call a reconstruction a leak. Let $\lambda$ be the probe threshold and $k_\lambda(x)$ the block at which the rule stops. We require
$$ \Pr\Big[\ \mathbb{E}_x\big[\mathbf{1}\{\ell(x, k_\lambda(x)) > \tau\}\big] > \alpha\ \Big] \le \delta, $$
where $\alpha$ is the tolerated leak rate and $\delta$ is the failure probability of the calibration itself. Among the thresholds that pass this test, we choose the one that minimizes expected device energy.
This is the same calibration machinery that Think Short, Defer Smart uses to guarantee reward floors when edge LLM agents stop reasoning early (Think Short, Defer Smart, Act, and Repeat). That work halts on confidence about the answer; we halt on predicted privacy loss, which is a different quantity with a different adversary.
The guarantee is relative to an attacker, and we state that plainly. It holds for the strongest inversion attacker we can train, not for all attackers. The attacker is evaluated separately from the probe's training, as described below.
How This Differs From Existing Work
Three lines of work motivate the gap.
The SC2 benchmark trains compact bottlenecks for split computing and names the "bottleneck paradox." Early cuts are cheap on the device but produce large features; late cuts produce small features but cost battery (SC2 Benchmark). It assumes a benign channel and a benign server.
GCoDE searches jointly over graph network architecture and device–edge mapping. It reports up to a 98.2% reduction in on-device energy on a Raspberry Pi 4B paired with a GTX 1060 (GCoDE), but it sends features in the clear.
SIMBA benchmarks obfuscation defenses against five threat models. It confirms that running more layers locally lowers reconstruction fidelity at a direct on-device cost (SIMBA). It reports only wall-clock time, not energy, and every split it studies is static.
The DCI attack constrains the design (Privacy Vulnerability of Split Computing). Because depth alone does not reliably protect privacy, any rule that ties depth to privacy must measure leakage rather than assume it. DCI also supplies our attacker.
Salted Inference hides only the server's output by permuting labels with a secret salt (Salted Inference). It leaves the features exposed to inversion. Our method protects a different thing and can sit alongside it.
The energy model borrows from Lyapunov-style per-slot control of transmit power and computation (Wireless Edge Machine Learning) and from DVFS-aware task mapping (Mo et al.). DVFS, dynamic voltage and frequency scaling, means trading clock speed for power.
Both energy-model papers leave out cryptographic cost. We add it, and we make an observation that changes how the security budget should be spent. Two threats need to be separated. Against an eavesdropper on the radio link, authenticated symmetric encryption of a compact bottleneck should be cheap. The expensive part is establishing a session key, which is why certificate-free schemes such as Liu et al. exist. Against the server itself, no transport encryption helps, because the server must decrypt in order to compute. Fully homomorphic encryption, which lets the server compute on encrypted data, is too costly for real-time edge use, as noted in Salted Inference.
So the energy that matters for privacy is local compute, spent against a curious server. That is the cost our stopping rule spends selectively. We will measure, rather than assume, that the link cryptography is a small term.
Research Program
Exit backbones. We first build split-ready backbones with candidate exits after every residual block. The candidates are ResNet and RepVGG on ImageNet and CelebA, matching the DCI setting. Each exit has an SC2-style learned bottleneck, built from the sc2bench codebase, and one shared server-side tail per exit.
Attackers and leakage labels. For each exit we train a DCI inverter, and separately a decoder that has access to training data, which corresponds to a stronger SIMBA threat model. On held-out data, these attackers produce per-input leakage labels $\ell(x, k)$.
The leakage probe. The probe is a small network costing well under one percent of a block's computation. It reads pooled channel statistics from the current exit's bottleneck and regresses $\ell(x, k)$.
The probe is trained against one attacker family and calibrated against a different, held-out attacker. This guards against the probe merely learning one inverter's blind spots. We also train an adaptive attacker that knows the stopping rule.
The stopping decision is itself a side channel: the exit index tells the server something about the input. We will quantify this by measuring how well the exit index alone predicts the input's class or identity. If needed, we will add randomized padding of the exit decision.
Energy model. We measure energy on the device rather than modeling it.
On a Raspberry Pi 4B we sweep the available CPU frequencies and measure, for each exit, compute energy, bottleneck size, AES-GCM encryption energy, and radio energy across controlled channel rates. We also measure one-time session-key establishment, in a certificate-free variant and a TLS-style variant, amortized over realistic session lengths.
Given the probe's chosen exit and the current channel, a small per-input controller then picks the clock frequency and transmit power that meet the latency deadline at minimum energy. This is the drift-plus-penalty approach of Merluzzi et al., now with a privacy constraint.
Baselines
Naive reference points. The do-nothing reference offloads after the first block with no defense, with the bottleneck encrypted in transit. It has the lowest energy and is fully exposed to the server. It anchors the energy axis and shows how much leakage the server-side threat actually causes. The second reference runs the entire model on the device, which carries no server-side leakage and maximal energy. GCoDE's measurements suggest this is costly on a Raspberry Pi-class device (GCoDE).
Static calibrated depth. The strongest competitor is a fixed split chosen offline: the shallowest single exit at which the calibrated leak rate across all inputs stays below $\alpha$ with probability $1-\delta$. It uses the same attackers, the same calibration data, and the same Learn-Then-Test procedure.
This is exactly what a careful practitioner would deploy after reading DCI, and it shares our guarantee. The only difference is adaptivity. Both methods get the same bottlenecks, the same energy measurements, and the same tuning budget for $\tau$, $\alpha$, and $\delta$. We beat it if mean on-device energy, including probe and cryptographic costs, falls by at least 20% at matched leak rate and task accuracy, across three or more $\alpha$ levels.
No reported result was found on Lacuna for energy-versus-reconstruction trade-offs of fixed-depth splits. The closest numbers are DCI's qualitative finding that reconstruction succeeds after up to 42 layers and Salted Inference's 87.2% versus 88.3% CIFAR-10 accuracy. The latter bounds the accuracy cost of a lightweight output-privacy add-on.
Learned obfuscation at a fixed split. The second strong competitor applies the learned obfuscators from SIMBA (NoPeek, DeepObfuscator, Shredder) at a fixed shallow exit, with the same calibration. SIMBA reports that these dominate heuristic noise on the privacy–utility frontier, though no scalar result in this setting was found on Lacuna. We run them with the same training budget, and we also combine them with our stopping rule.
Ablation of the probe. The ablation that isolates the key ingredient replaces the learned probe with input-agnostic signals at the same compute cost: bottleneck entropy, and the classifier's confidence at the exit. If either signal matches the probe, the contribution is the calibrated stopping rule rather than a learned leakage predictor, and we will report it that way.
Why not just…?
Why not just pick one deep split offline? This is the most serious threat. If leakage is nearly uniform across inputs at each depth, adaptivity buys nothing and the static calibrated split wins on simplicity. The first experiment settles it directly. It measures the per-input spread of $\ell(x,k)$ at each exit, and the energy gap between the oracle adaptive rule and the static split. If the oracle gap is under 10%, we stop and report a negative result on input-dependent leakage, which is itself useful to practitioners.
Why not just add a learned obfuscator at a shallow split? That may well be cheaper than added depth, and SIMBA's evidence favors learned over heuristic defenses. But obfuscation and adaptive depth are not exclusive: the probe can run on obfuscated features. The experiments compare obfuscation alone, adaptive depth alone, and the two combined at matched leak rate. If obfuscation alone dominates, the proposal's contribution narrows to the calibrated guarantee, which SIMBA does not provide.
Why not just encrypt the features, or use TLS? Encryption stops eavesdroppers, but the server must decrypt in order to compute, so it does nothing against server-side inversion. Homomorphic encryption avoids decryption but is impractical at edge latencies (Salted Inference). We still measure link cryptography, so the claim that it is cheap rests on data. If session setup turns out to dominate for short sessions, that becomes a reported finding about where certificate-free key schemes matter.
Why not just run everything on the device? That removes the server threat, but it pays full compute energy on every input. GCoDE's co-inference results show large energy gaps on Raspberry Pi-class hardware (GCoDE). The all-local baseline appears on every plot, so the cost of perfect server-side privacy is explicit.
Proposed Experiments
Is leakage input-dependent? The first decisive check computes per-input leakage distributions on ImageNet with ResNet and RepVGG, and on CelebA, under DCI and under the data-access decoder. From these we derive the oracle adaptive energy saving over the static calibrated split. Everything else is contingent on this gap being large.
Does the probe predict leakage? The second check tests probe quality: rank correlation with true leakage at each exit, and transfer to the held-out attacker. Its failure mode is a probe that tracks one inverter and not another. That would show up as coverage violations, meaning a realized leak rate above $\alpha$, when calibrating on one attacker family and testing on the other.
Does it save energy on hardware? The main result is a set of energy–leak-rate–accuracy frontiers on the Raspberry Pi 4B paired with a GPU server, under three channel conditions. They are reported with and without the cryptographic terms, and with the adaptive attacker that knows the stopping rule. We also report how much the exit index reveals about the input.
Does it generalize beyond images? A final check on PAMAP2 wearable-sensor activity recognition tests transfer beyond images, since Salted Inference reports a 89.8% versus 92.1% baseline accuracy there. Inversion fidelity there would be measured by signal-reconstruction error rather than SSIM.
References
- Privacy Vulnerability of Split Computing to Data-Free Model Inversion Attacks
- Think Short, Defer Smart, Act, and Repeat: Calibrated Reasoning and Uncertainty-Aware Deferral for Edge LLM Agents
- SC2 Benchmark: Supervised Compression for Split Computing
- GCoDE: Efficient Device-Edge Co-Inference for GNNs via Architecture-Mapping Co-Search
- SIMBA: Split Inference - Mechanisms, Benchmarks and Attacks
- Salted Inference: Enhancing Privacy while Maintaining Efficiency of Split Inference in Mobile Computing
- Wireless Edge Machine Learning: Resource Allocation and Trade-Offs
- Energy-Efficient and Reliable Task Mapping and Offloading for Multicore Edge Devices with DVFS
- A Novel Secure Authentication Scheme for Heterogeneous Internet of Things