← Lab /AI/ML

Token shuffling offers little privacy; SARA reconstructs images despite it

Token shuffling provides only apparent privacy and the proposed SARA attack can largely recover the original image from split ViT embeddings

AI/ML arXiv 1 Sep 2026 Attack Prototype evidence Threat model

Published as “Position Matters: Feature Inversion Attacks in ViT Split Inference with Token Reduction and Shuffling”

Why it matters

Token shuffling alone is insufficient for privacy in split-inference ViTs; defenses that attenuate positional cues are needed to meaningfully reduce inversion risk while preserving accuracy.

Summary

SARA can reconstruct images even after token shuffling, achieving SSIM comparable to the baseline, showing that shuffling offers little privacy; token reduction degrades reconstruction only at later split points for ViT-B/16 and still leaves SSIM above 0.5 for MAE-B/16, so leakage remains; a lightweight edge-side defense that removes positional embeddings and uses progressive knowledge distillation reduces SSIM below 0.4 while keeping classification accuracy, indicating a practical mitigation.

What they found 2

  1. SARA fully reconstructs inputs after token shuffling, matching baseline quality.

    “SARA can fully reconstruct the input image when token shuffling is applied to both ViT and MAE models, achieving reconstruction quality comparable to that of the baseline across multiple split points.”

  2. The proposed defense lowers reconstruction SSIM below 0.4 for ViT-B/16 across all split points.

    “The proposed defense consistently reduces the attacker’s reconstruction quality across all split points, with the SSIM remaining below 0.4.”

Caveats 2

  • Even with token reduction, SARA still achieves moderate SSIM (e.g., >0.5 for MAE-B/16) indicating significant leakage persists.
  • Token reduction only substantially degrades reconstructions at later split points of ViT-B/16, leaving earlier layers vulnerable.

What’s new here 3

  • Introduces a position-aware reconstruction pipeline (SARA) that predicts token locations, restores spatial layout, and fills missing tokens with a feature-space masked autoencoder.
  • Demonstrates that token shuffling does not prevent inversion because positional information can be recovered from embeddings.
  • Proposes a simple edge-side defense that removes positional embeddings and adapts transformer blocks via knowledge distillation without changing the cloud model.

Threat model stated by the source

Adversaryhonest-but-curious cloud
Capabilityobserves intermediate token embeddings, trains reconstruction models on auxiliary data, but cannot alter the inference protocol or view the original image
Assumescloud executes inference correctly; edge does not reveal original image or token order