Privacy leakage in federated learning: gradient-based client identity inference and defense in inertial sensing over vehicular edge networksPrivacy Leakage in Federated Learning: Gradient-Based Client Identity Inference and Defenses for Inertial Sensing in Vehicular Edge Networks
The authors study server-side inference of client identity from uploaded weight deltas in vehicular federated learning, and state that attack accuracy is ≈1.000 without defense and can be reduced to near random by clipping plus noise.
The server is honest-but-curious: it aggregates FL updates correctly but attempts to attribute each uploaded weight increment ∆̂ to the client that produced it. The attacker can only see the increments actually transmitted after defense, and cannot access raw data, local gradients or per-batch updates.
- In Internet-of-Vehicles FL, the weight increments uploaded by clients may leak the sender's identity, threatening the anonymity assumed by V2X applications; the authors state that prior evaluations often defend per-batch gradients rather than the increments actually transmitted, overestimating privacy.
- Server-side client identity inference on UCI HAR (as a proxy for in-vehicle IMU): 5 attack classifiers, 5 non-IID partitions, SHA-256 ensuring training/evaluation increments are disjoint; the defense is clipping the transmitted increments then adding Gaussian noise, with (ϵ, δ) reported via Rényi accounting, plus a 1/K anonymity-set upper bound for Ensemble FL.
- The authors report: without defense, the logistic regression, random forest and MLP attack accuracies are all ≈1.000; clipping alone reduces this to 0.127±0.020; at σ∈[0.1,0.2] the attack is near random and FL accuracy is above 0.89; Ensemble K=2/3/5 measures 0.50/0.33/0.20, consistent with 1/K.
- The authors note: UCI HAR is only a proxy and lacks real driving dynamics; experiments use only N=10 clients, T=20 rounds, 3 seeds; the threat model excludes colluding clients, adaptive attackers and malicious aggregators; Proposition 1 relies on an intra-group indistinguishability assumption, which strong intra-group non-IID may break.
- Evaluated models
- MLP [561 → 256 → 128 → 6]
- Benchmarks
- UCI HAR
- Metrics
- attack accuracyFL accuracyPrivacy Score (PS)Normalized Attacker Advantage (NAA)(ϵ, δ)-DP
In vehicular edge networks, an honest-but-curious server can infer client identity from weight updates uploaded by federated learning clients almost perfectly, with attack accuracy of about 1.000 across five attack classifiers and five non-IID partitions on the UCI HAR benchmark. The study evaluates a lightweight "clip-then-add-noise" defense that scans Gaussian noise under fixed clipping C=1.0; sigma in the [0.1, 0.2] range can push attack accuracy to near random, while FL accuracy relative loss is below 5%, and an (epsilon, delta)-DP budget is given via Renyi accounting. Ensemble FL provides structural privacy with a 1/K anonymity-set upper bound and no noise cost; HAR is explicitly positioned as a proxy benchmark for vehicular IMU data.
Paper analysis
What problem does this paper attempt to solve?
Studies the problem of an honest-but-curious server in vehicular-network FL inferring client identity from uploaded weight updates, and a lightweight defense.
Core problem: in federated learning, the model updates uploaded by clients leak "who sent it," threatening the anonymity assumed by V2X applications.
- Scenario and importance: as the Internet of Vehicles moves toward 5G/6G edge intelligence, FL is widely used as a privacy-preserving training method; the authors argue that on top of trust issues such as adversarial ML, model poisoning and backdoors, identity leakage requires dedicated scrutiny.
- Shortcomings of existing work: the authors state that prior gradient privacy research focused on input reconstruction and membership inference, with less attention to client identity inference; and that some defense evaluations protect per-batch gradients rather than the increments clients actually transmit, overestimating actual privacy.
- Core observation: in-vehicle IMU-style data leaves distinguishable traces in local gradients, recoverable even under non-IID partitions; the authors use UCI HAR as a proxy for in-vehicle IMU streams and explicitly state that it is only a proxy.
- What the paper proposes: a corrected server-side threat model (defenses act on the transmitted weight increments), a five-classifier benchmark, SHA-256-verified disjoint training/evaluation increments, a Gaussian noise sweep with Rényi (ϵ, δ) accounting, the NAA metric, and a 1/K anonymity-set upper bound for Ensemble FL.
- Threat model:
- Goal: the server attributes each transmitted weight increment ∆̂ to the client that produced it.
- Knowledge: an honest-but-curious server that executes aggregation correctly.
- Capability: can only observe the increments actually transmitted after defense; cannot access raw data, local gradients or per-batch updates.
- Victim system: cross-device FL with N=10 clients and FedAvg aggregation, for in-vehicle edge networks.
What related research exists?
Related work is divided into four groups: FL fundamentals and surveys, gradient reconstruction and membership inference, client identity inference, and DP and structural defenses.
FL fundamentals and surveys
- McMahan et al. [2]—propose FedAvg, defining the standard FL setting of client local SGD and uploaded updates.
- Mothukuri et al. [7], Lyu et al. [8]—survey FL protocols, threats and inference attacks in IoT and in-vehicle environments.
- Hsieh et al. [9]—point out that non-IID data distributions exacerbate inference vulnerabilities; the authors use this as motivation for modeling fleet heterogeneity.
Gradient reconstruction and membership inference
- Zhu et al. [4]—reconstruct inputs from gradients (Deep Leakage from Gradients).
- Geiping et al. [3]—extend inversion attacks to larger batches using cosine similarity.
- Shokri et al. [5], Nasr et al. [10], Ismail et al. [11]—membership inference, determining whether a record participated in training; the paper notes that such work does not attribute updates to specific clients.
Client identity inference (closest)
- Wang et al. [12]—show that non-IID FL gradients can be distinguished by lightweight classifiers (user-level leakage). The paper notes three differences from it: (1) the attacker observes post-defense transmitted increments rather than per-batch gradients; (2) training/test sets are cryptographically disjoint and evaluated across five classifiers; (3) it analyzes defense operating points rather than a single accuracy (Table I).
Defenses and structural privacy
- Dwork and Roth [13], Abadi et al. [14], Mironov [15]—DP fundamentals, DP-SGD gradient clipping, Rényi accounting; this paper uses them to derive (ϵ, δ).
- Geyer et al. [16]—client-level DP hides participation itself; the paper notes that its goal is to prevent attribution after participation is known.
- Bonawitz et al. [17] secure aggregation, Sattler et al. [18] sparse ternary updates, blockchain FL [19][20]—the paper states that secure aggregation introduces coordination overhead unaffordable for edge devices, while the latter two change gradient signatures or provide trust management and are complementary to this paper's update-level defenses.
Baselines and benchmarks: the attack baselines are a random baseline (lower bound 1/N) and a majority baseline; the dataset is UCI HAR [22]. The authors position this paper as extending the identity inference of Wang et al. [12] to "a corrected evaluation unit + calibrated privacy–utility analysis."
How does the paper address this problem?
A five-classifier identity inference attack on transmitted weight increments, and an evaluation of clip-then-noise defenses and Ensemble FL structural privacy.
Overall approach: under a corrected threat model, an honest-but-curious server uses five classifiers to infer client identity from the weight increments actually transmitted, then quantifies the privacy–utility trade-off of clip-then-noise defenses and Ensemble FL.
Problem setting and formalization
- Standard cross-device FL: N=10 clients and one central server, with the objective of minimizing F(w) = ∑i=1N Di/D Fi(w), i.e., the empirical loss weighted by local sample counts.
- Each round, clients run E local SGD epochs, compute the weight increment ∆ = w(t+1) − w(t), apply the defense and upload; the server aggregates with FedAvg weighting.
- The main experiments use Dirichlet(α=0.3) label skew; four other partitions are also evaluated: IID, pathological (Kcls classes per client), quantity skew (Dirichlet(β) sample counts), and feature skew (Gaussian feature noise per client).
Task model and attack protocol
- The task model is an MLP [561 → 256 → 128 → 6] with LayerNorm + ReLU + dropout 0.3; the authors state that LayerNorm is used because BatchNorm statistics are incorrectly averaged by FedAvg across non-IID clients.
- The attack has three stages: (1) collection (rounds 1–8): the server records the post-defense increments and registers them with SHA-256 hashes; (2) training (round 9): five classifiers are trained on (∆̂, client id) pairs, with preprocessing of L2 normalization, Z-score standardization and PCA 50 dimensions; (3) evaluation (rounds 9–20): predictions on newly uploaded increments, with SHA-256 ensuring evaluation increments did not appear in training.
- The five classifiers are ordered by expressiveness: random baseline (lower bound 1/N), majority baseline, ℓ2-regularized logistic regression (C=1.0), 100-tree random forest, MLP attacker [d → 256 → 128 → N] (strongest).
Defense mechanisms
- Gradient clipping: limit the ℓ2 norm to C, Δ̃ = Δ · min(1, C/|Δ|2).
- Gaussian noise addition: add N(0, σ²C²I) to the clipped increments, with effective noise scale σC following the Gaussian mechanism; in E2, C=1.0 is fixed, and σ=0.00 denotes clipping only rather than the no-defense baseline (E1).
Formal DP and Ensemble FL
- Rényi accounting: a single step satisfies (α, α/(2σ²))-RDP, and after T rounds this is converted to (ϵ, δ) at δ=1e-5; Table II gives ϵ for each σ at T=20, C=1.0.
- Ensemble FL: clients are divided into K disjoint groups of equal size, each served by its own submodel; Proposition 1 gives an attack accuracy upper bound of 1/K, provided that update statistics are indistinguishable within a group. The authors note this is the defender's best case, and strong intra-group skew can break the bound.
- Metrics: Privacy Score PS = 1 − best attack accuracy; NAA = (attack accuracy − 1/N)/(1 − 1/N), where 0 means no better than random and 1 means a perfect attack, used to compare experiments across different N.
What experiments did the paper conduct?
On UCI HAR with N=10, T=20, and 3 seeds across 7 conditions, the undefended attack is ≈1.000, and at σ∈[0.1,0.2] the attack is near random while FL accuracy is >0.89.
Experimental setup
- Dataset: UCI HAR, 10,299 observations, 30 subjects, 6 activity classes, 561-dimensional features (50 Hz triaxial accelerometer and gyroscope); the authors explicitly use it as a proxy for in-vehicle IMU.
- FL configuration: N=10 clients, T=20 rounds, local E=5 epochs, batch 32, SGD (lr 0.01, momentum 0.9), FedAvg; the main partition is Dirichlet(α=0.3) (Table III).
- Attack configuration: K=8 collection rounds, evaluation from round 9 onward; PCA 50 dimensions + Z-score; five attack classifiers (see question 3).
- Seven conditions: E1 no defense; E2 noise sweep σ∈{0.00, 0.05, 0.10, 0.20, 0.50, 1.00} (C=1.0); E3 clipping ablation C∈{0.1, 0.5, 1.0, 2.0, 5.0} (σ=0); E4 combined defense; E5 Ensemble FL (K∈{2,3,5}); E6–E7 non-IID heterogeneity.
- Metrics: attack accuracy, FL accuracy, PS, NAA, (ϵ, δ)-DP; all results are mean±standard deviation over 3 seeds (42, 43, 44).
- Evaluation method: no LLM or human review; an attack succeeds when the classifier predicts the correct client id.
Main results
According to Table IV (E2, C=1.0) and Table V (N=10, UCI HAR, 3 seeds):
Swipe horizontally to read the table
Condition FL Acc. Atk. Acc. PS NAA E1 no defense ∼0.944 ∼1.000 ∼0.000 ∼1.000 E2 σ=0.00 (clipping only) 0.944 ± 0.004 0.127 ± 0.020 0.873 ∼0.030 E2 σ=0.10 0.930 ± 0.016 0.148 ± 0.028 0.852 ∼0.053 E2 σ=0.50 0.665 ± 0.014 0.158 ± 0.017 0.842 ∼0.064 E4 combined defense ∼0.940 ∼0.120 ∼0.880 ∼0.022 E5 Ensemble K=3 ∼0.920 ∼0.330 ∼0.670 ∼0.256 E7 Pathological ∼0.880 ∼1.000 ∼0.000 ∼1.000 - The authors state that under E1, the logistic regression, random forest and MLP attackers all reach ≈1.000 on held-out uploads from rounds 9–20, while the random and majority baselines are 0.100, indicating that client gradients occupy different regions of parameter space.
- The authors state that clipping alone reduces attack accuracy from ≈1.000 to 0.127±0.020; magnitude normalization weakens gradient separability, but direction information still leaks identity.
- The authors consider σ∈[0.1, 0.2] the best trade-off region: the attack is near random and FL accuracy stays above 0.89; at σ=1.0, FL accuracy drops to 0.382 ± 0.005 (Table IV).
Formal DP budget (Table II)
- At T=20, C=1.0, δ=1e-5: at σ=0.05, ϵ>1000; at σ=0.10, ϵ≈296; at σ=0.20, ϵ≈74; at σ=0.50, ϵ≈12.1; at σ=1.00, ϵ≈31.4.
- The authors state that σ=0.1 already yields a very large ϵ, indicating that low noise gives only empirical privacy rather than formal DP, and that a meaningful budget requires σ≥0.5 or longer training; the ϵ at σ=1.00 being lower than at σ=0.50 is the value reported in Table II, and the paper does not explain the reason.
Ensemble FL and non-IID (E5–E7)
- E5: at K=2, 3, 5 the measured attack accuracies are 0.50, 0.33, 0.20, which the authors state match the 1/K upper bound, with FL accuracy staying near 0.92; the authors consider K=3 the best balance between anonymity and accuracy.
- E7 pathological (2 classes per client) produces near-orthogonal updates, with attack accuracy ∼1.000; under E6 IID the attack still beats random in early rounds, which the authors attribute to minibatch randomness and initialization effects.
- The authors report that the strongest combined defense (σ=0.01, C=1.0) has the highest PS (0.880) and FL accuracy near 0.940; note that the main text here writes σ=0.01, whereas the σ value set for E4 is written as {0.01, 0.1, 0.2}; both statements are listed here as given, with the main text taken as authoritative.
Other ablations and analyses
- E3 clipping ablation (C∈{0.1, 0.5, 1.0, 2.0, 5.0}, σ=0): the paper states that clipping removes the gradient-norm difference, the main magnitude channel, but gives no specific numbers for each C.
- In the full E2 sweep, at σ=0.05, FL 0.942 ± 0.004 and attack 0.164 ± 0.034; at σ=0.20, FL 0.896 ± 0.034 and attack 0.164 ± 0.027 (Table IV).
- In the noise sweep, attack accuracy does not decrease monotonically with σ (0.127→0.164→0.148→0.164→0.158→0.148); the paper does not explain this non-monotonicity.
What are some points that can be further explored?
The authors list four types of limitations—proxy data, scale, threat model and intra-group assumptions—and give future directions such as real in-vehicle telemetry and adaptive attacks.
Limitations and future directions noted by the authors
- UCI HAR shares the IMU modality with in-vehicle systems but lacks real driving dynamics (speed changes, road excitation, GPS-related structure), and the separability of real in-vehicle data may be higher or lower (Section V-F).
- The experiments used only N=10 clients, T=20 rounds, and 3 seeds; the authors state that a larger-scale study could improve estimate reliability and DP accounting (Section V-F).
- The threat model assumes a single honest-but-curious server and excludes colluding clients, adaptive attackers, and malicious aggregators, the latter of which could achieve stronger inference (Section V-F).
- Proposition 1 assumes within-group updates are indistinguishable, and strong within-group non-IID skew may violate this assumption; the authors recommend monitoring within-group separability at deployment rather than relying directly on this bound (Section III-E Remark).
- Future directions: validation on real in-vehicle telemetry, evaluation against adaptive or colluding adversaries, PRV accounting analysis of longer training (T≥100), 1D-CNN for raw time series, and multi-access edge computing under real 5G/6G constraints (Section VI).
Scope of experiments
- The task model under test is an MLP [561 → 256 → 128 → 6], the dataset is only UCI HAR, the number of clients is N=10, training is T=20 rounds, and there are 3 seeds per condition (Section IV, Table III).
- There are 5 attack classifiers: random, majority, logistic regression, random forest, and MLP attacker; defense evaluation covers 6 levels of Gaussian noise, 5 levels of clipping, combined defenses, Ensemble FL (K∈{2,3,5}), and 5 data splits (Section IV).
- The formal DP budget is reported only at T=20, C=1.0, δ=1e-5 (Table II).
- The paper does not report per-classifier attack accuracy for each classifier under E2–E7 (Tables IV and V give only aggregate values), nor does it report the specific numbers for each clipping threshold in E3.
- The paper does not report quantitative data on defense costs such as runtime or communication overhead.
Summarize the main content of the paper
The authors state that in Internet-of-Vehicles FL, transmitted increments can be used by the server to de-anonymize clients, and that clip-then-noise and Ensemble FL can provide empirical and structural privacy, respectively.
A paper on attacks and defenses for client identity inference in federated learning, aimed at 5G/6G vehicular edge networks, using UCI HAR as a proxy for in-vehicle IMU data.
- Problem: An honest-but-curious server aggregates correctly but tries to attribute uploaded weight deltas to specific vehicles; the authors state that prior work evaluated defenses on per-batch gradients rather than the deltas actually transmitted, overestimating privacy.
- Method: N=10, FedAvg, T=20 rounds; the server uses 5 classifiers (random, majority, logistic regression, random forest, MLP) to perform identity inference on the defended transmitted deltas, with SHA-256 ensuring training/evaluation deltas do not overlap; the defense is clipping (C=1.0) plus Gaussian noise, Rényi accounting reports (ϵ, δ), and there is also a 1/K anonymity-set upper bound for Ensemble FL.
- Result 1: Without defense (Dirichlet α=0.3), the attack accuracy of all three classifiers is ≈1.000, PS≈0, NAA≈1 (Table V).
- Result 2: Clipping alone reduces attack accuracy to 0.127±0.020; at σ∈[0.1,0.2] the attack is near random and FL accuracy is above 0.89, and at σ=1.0 FL accuracy drops to 0.382 (Table IV).
- Result 3: The formal budget is very loose—at σ=0.10, T=20, ϵ≈296; the authors state that low noise provides only empirical privacy, and a meaningful (ϵ, δ) requires σ≥0.5 or longer training (Table II).
- Result 4: Ensemble FL at K=2/3/5 gives measured attack accuracy of 0.50/0.33/0.20, matching 1/K, with FL accuracy of about 0.92 and no noise overhead.
- Authors' conclusion: FL by itself does not anonymize participants; a practical recipe is to clip first, then add noise calibrated to clipping sensitivity, and layer on protections such as secure aggregation as needed; validation on real in-vehicle telemetry and against adaptive, colluding adversaries is the next step.