SparseBleed:利用稀疏优化绕过属性推断防御
SPARSEBLEED: Bypassing Attribute-Inference Defenses via Sparsity Optimizations
SparseBleed 是首个基于硬件与执行足迹的训练数据属性推断攻击,利用稀疏核跳过零激活的算术与访存操作,从响应时间和共享硬件争用中推断缺失字段取值。
arXiv:2610.38110v2 Announce Type: replace-cross Abstract: When a model trained on sensitive records is exposed through a prediction API, an attribute-inference attack (AIA) plugs each possible value of a missing field into a partially known record to infer which value belonged to the training record. Current defenses mask confidence scores and hide internal activations. We show that sparsity optimizations, software and hardware routines (sparse kernels) that skip arithmetic and memory fetches on zero activations or weights, reopen attribute inference through the execution footprint. We introduce SparseBleed, the first hardware and execution-based AIA on training data. Training makes neuron firing selective to sensitive attributes, so each candidate value activates a different set of neurons and sparse kernels skip the rest; the candidate value therefore sets how many multiply-accumulate operations execute and which weight columns are read, shifting response time and shared-hardware contention even when only a class label is returned. SparseBleed calibrates each candidate's footprint against reference measurements for that value. Across 11 CPU and GPU sparse libraries (e.g., Intel oneDNN-AMX, NVIDIA cuSPARSE), MLPs, and FT-Transformers up to 1.5B parameters, execution time on TACO varies by up to ~25,000 timer ticks across prediction-confidence levels. The strongest SparseBleed variant gains +16.4 points in mean accuracy over label-only LOMIA and +8.9 over confidence-based CSMIA, up to +32 points over random guessing in a single query on CPU and +15 on GPU, reaches 60.5% mean AUC with 50 calibration records, and widens its margin over output-only attacks from +6.0 to +12.9 points as FT-Transformers scale from 288M to 1.5B. Response-time padding leaves co-resident channels open; thus, privacy requires equalizing executed work and memory access (4.8-13.7% overhead in our patches).
来源:arXiv (Robotics + Hardware + Signal) · arxiv.org