arXiv:2610.38110cs.CROct 2026

Manuscript Offprint

arXiv:2610.38110

SPARSEBLEED: Bypassing Attribute-Inference Defenses via Sparsity Optimizations

Darsh Asher, Farshad Dizani, Joshua Kalyanapu, Ro Cammarota, Aydin Aysu, Samira Mirbagher Ajorpaz

Darsh Asher 1∗^{1*}, Farshad Dizani 1∗^{1*}, Joshua Kalyanapau 1^{1}, Rosario Cammarota 2^{2}, Aydin Aysu 1^{1}, and Samira Mirbagher Ajorpaz 1^{1}

1^{1}Department of Electrical and Computer Engineering, North Carolina State University, Raleigh, NC, USA

2^{2}University of California, Irvine, Irvine, CA, USA

{dkasher, fdizani, jkalyan, aaysu, smirbag}@ncsu.edu, rcammaro@uci.edu

Abstract—Deep neural networks (DNNs) are widely deployed in safety- and privacy-critical domains such as healthcare and finance, where models are trained on confidential data. This paper presents the first hardware-level attribute-stealing attack that bypasses state-of-the-art privacy defenses, revealing that accelerator optimizations intended for performance can directly undermine data confidentiality.

SPARSEBLEED requires no access to gradients, logits, model weights, ground-truth labels, power traces, DVFS manipulation, shared caches, or other channels. Instead, we show that sparsity-driven execution paths encode stable timing signatures that act as a surrogate for model confidence, enabling high-fidelity attribute inference from a single query. SPARSEBLEED generalizes across heterogeneous backends and hardware engines, including Intel AVX2/AVX-512/AMX, NVIDIA Ampere Tensor Cores with 2:4 sparsity, and nine well-known sparse and dense libraries such as Intel oneDNN, oneMKL SparseBLAS, and NVIDIA cuSPARSE.

We evaluate SPARSEBLEED to infer sensitive input attributes and true output labels. On Texas-100X, SPARSEBLEED infers sensitive input attributes such as Sex with 66.39% accuracy and recovers the true output label, Surgical Procedure, with 99.8% accuracy.

Finally, we evaluate mitigations. Constant-time execution by disabling sparsity optimizations is expensive (e.g., up to 2×2\times higher latency on NVIDIA Sparse Tensor Cores and ≈25%\approx 25\% higher power in AMX microbenchmarks). By contrast, a padding defense that equalizes responses to the worst-case time masks timing leakage with only 7.24% average performance overhead across nine libraries on Texas-100X/Adult and near-zero extra energy.

I. INTRODUCTION

AI models are becoming increasingly sparse [6], [7], [11], [12], [19], [42] to improve performance and power consumption. The zero-skipping hardware optimization reduces power consumption [3], [17], [40], but the security implications of zero-skipping remain largely unexplored.

As DNNs scale, shared infrastructures and machine-learning-as-a-service (MLaaS) deployments have become ubiquitous, relying solely on current software-level mitigations for privacy protection [24], [32], [54], [57], [58]. For example, in realistic hospital settings, shared diagnostic models and patient databases are accessed by multiple users and third parties with different privileges, yet all can query the same AI system [39], [43]. These models are trained on proprietary datasets—patient records, financial transactions, or legal documents whose attributes (e.g., diagnoses, procedures, or history) are inherently private and must remain protected. To preserve privacy, access to inference results or model parameters should not permit reconstruction or identification of such attributes from timing or behavior.

Attribute inference attacks aim to infer sensitive attributes of an individual record that was used to train a model. In the original FJR model-inversion attack (FJRMIA) [13], a black-box adversary supplies the target's known non-sensitive attributes and systematically varies the candidate values of the sensitive attribute, querying the model for each variant. By combining the confusion matrix with known marginal priors over the sensitive attribute, the adversary infers the most likely true value. Subsequent work [34] introduced two variants: a confidence-score-based attack (CSMIA) and a label-only attack (LOMIA). CSMIA uses the model's confidence scores to infer the sensitive attribute, whereas LOMIA operates in label-only settings with no access to confidence values. LOMIA is similar to FJRMIA but assumes no knowledge of marginal priors over attributes. In the context of medical AI systems, sensitive attributes include medical diagnoses, surgical history, or genetic predispositions; therefore, attribute leakage violates privacy laws like HIPAA and GDPR.

A common software-level defense against confidence-score-based attribute inference is output discretization—rounding, quantizing, or binarizing the model's confidence scores to reduce the statistical fingerprint of the training data in the outputs [24], [44], [45].

This paper shows, for the first time, that inference time is distinct for different attribute values of user data. Figure 12 shows an attribute-dependent difference in induced sparsity within a neural network inference accelerated by Intel SIMD engines (AVX2, AVX-512, AMX). We note further that a higher sparsity results in a lower execution time. We exploit the correlation of sparsity with input attributes in SPARSEBLEED to leak sensitive attributes based on the execution time of neural network inference (Figure 1).

This paper evaluates SPARSEBLEED across nine hardware-software combinations, including Intel AMX, Intel AVX-512, and NVIDIA A100, and libraries such as Intel oneDNN, Intel oneMKL Sparse BLAS, and NVIDIA cuS

∗^{*}These authors contributed equally to this work.

Figure

Fig. 1: Sparsity differences for Heart vs. Kidney in the OrganAMNIST dataset.

PARSE. In all cases, SPARSEBLEED successfully leaked sensitive attributes proving the generality of the SPARSEBLEED side-channel.

Mitigating SPARSEBLEED is challenging because it exploits hardware design, not just software. Disabling zero-skipping results in a power consumption overhead of 25% and an expensive update that could take years to reach all affected hardware, since there exists no software control for zero-skipping. Output discretization defenses are ineffective since the root of the attack is the inference computation itself, not the model output.

Contributions. This paper makes the following contributions:

  • We introduce SPARSEBLEED, the first hardware-level attribute-inference attack that infers sensitive attributes solely from end-to-end inference time, bypassing probability/score masking and label-only defenses. Unlike timing channels rooted in adaptive early exits [2], SPARSEBLEED targets non-adaptive networks and does not rely on memory-access pattern monitoring [33].
  • We analyze and quantify how input-dependent activation sparsity, when combined with hardware zero-skipping and software operator/graph optimizations, induces measurable timing differences. We show how this mechanism specifically enables attribute inference in non-adaptive networks and quantify it across nine modern sparse-aware stacks.
  • We demonstrate that, in sparse-aware libraries/hardware, wall-clock inference time is a reliable proxy for model confidence even without adaptive early exits (contrast with [2]), and we leverage this signal to enable attribute inference under label-only access.
  • We analyze mitigation strategies and show that full constant-time masking imposes energy overhead (≈25%) and would double inference latency whereas padding defense equalizing timing leakage across private attributes gives an average performance overhead of 7.24% and virtually no energy overhead.

Responsible disclosure. We disclosed this vulnerability to Intel, Nvidia, and Arm, who confirmed our findings.

Paper Organization. Section II presents a background on attribute inference attacks. Section III describes the SPARSE-

BLEED threat model. Section IV describes the root cause investigation, confirming that the root cause of SPARSEBLEED is the sparsity acceleration. Section V describes the SPARSEBLEED attack. Section VI describes our security analysis of SPARSEBLEED on real hardware. Section VII describes effective mitigations for SPARSEBLEED and evaluates overhead. Section VIII concludes the paper.

References (57)