TL;DR
When edge devices like drones or smart cameras run the first half of a neural network and beam intermediate "features" to a server, we usually assume the raw image is gone—and treat attempts to reconstruct it as a privacy attack. This paper flips that script, treating feature inversion as a practical capability: turning abstract features back into crisp images that humans can inspect and other, completely unrelated AI models can analyze. By teaching a generative flow model both where to start and how to steer using those features, the authors achieve remarkably sharp reconstructions—even when the features are compressed or actively defended against snooping.
What Problem Does This Paper Address?
In split inference, a low-power device computes early network layers and sends the resulting spatial feature maps to a server to finish the job. What if a human needs to verify a security alert from those features, or you want to run a brand-new segmentation model on the server without updating the camera’s software?
You need black-box feature inversion: recovering an image using only paired examples of images and features, without knowing the device's model weights. Because neural networks throw away information, exact pixel recovery is impossible; missing details must be plausibly generated. Existing generative methods either start from pure random noise (ignoring what the features already tell us) or start from a blurry average guess and generate details blindly without checking back with the features. Neither captures the exact "shape" of what the features leave uncertain.
Methods
Working inside the latent space of a frozen autoencoder (from Stable Diffusion 2.1), the authors use rectified flow matching—a technique that learns a velocity field to transport samples along straight paths from a starting distribution to real images. Their novelty lies in letting the features govern both the starting line and the steering, split into two stages:
- Feature Uncertainty Network (FUN) — Where to start: Instead of starting from standard noise, FUN predicts a custom Gaussian distribution for each feature map. First, a network predicts the mean latent (the blurry "average" image matching those features). Next, a second network predicts the uncertainty around that mean. Because ambiguous details (like the exact curve of an edge) cause neighboring pixels to vary together, independent pixel noise isn't enough. FUN predicts a sparse Cholesky factor over a local $5 \times 5$ window, capturing local spatial correlations while keeping the math fast and linear.
- Feature Informed Transport (FIT) — What steers it: Starting from a sample drawn from FUN, FIT adapts a pretrained Stable Diffusion velocity network to push the sample toward a crisp image. Unlike prior flow inverters that steer blindly, FIT conditions the velocity network directly on the spatial features (via lightweight spatial modulation layers) and on an uncertainty map derived from FUN. Crucially, the entire pipeline trains purely in latent space—no image decoding or expensive perceptual losses required.
Datasets
The authors train and evaluate on $512 \times 512$ images from ImageNet (68,410 training pairs; 4,474 test images). No new datasets are introduced, though the authors extract features across five diverse vision backbones: ConvNeXt-B, Swin-B, DINOv3, SigLIP 2, and PE-Spatial.
Key Insights and Ideas
- Correlations matter more than raw noise levels: In ablations, predicting pixel-wise independent uncertainty performed no better than adding a single fixed noise level. Modeling how neighboring latent values covary is what actually unlocks sharper generation.
- Better perceptual quality without perceptual losses: Even though top baselines explicitly train with perceptual losses (like LPIPS) and pixel decoding, this latent-only method beats them on LPIPS—while cutting training time nearly in half (e.g., saving ~48 A100 GPU hours on DINOv3).
- Features are a universal adapter—and leaky: Off-the-shelf models (like CLIP or segmentation networks) that have never seen the original device's network can analyze the reconstructed images almost as if viewing the originals. Conversely, privacy defenses like feature pruning (DISCO) are far less protective than conventionally assumed.
Key Results
Across all five backbones (using 20 function evaluations), the method outperforms all baselines (DO, DB, FeatInv, FIA-Align, FIA-Flow) on human perception and downstream machine utility:
- Perceptual Quality: Achieves the lowest (best) FID across the board (ranging from 3.86 to 4.98, beating FIA-Flow's 4.25–5.40) and best LPIPS (0.154 to 0.197). (Expectedly, 1-step deterministic baselines score slightly higher on raw PSNR due to the classic perception-distortion tradeoff—blurrier averages minimize pixel error).
- Machine Utility: On ConvNeXt features, off-the-shelf models achieve 80.6% CLIP classification agreement, 65.9% segmentation mAP, and 74.5% vision-language accuracy on recovered images, leading all baselines.
- Defended & Compressed Features: Under heavy JPEG compression ($Q=3$) and DISCO privacy pruning on ConvNeXt, the method's lead widens dramatically—dropping FID from 19.56 (best baseline) down to 10.28 on JPEG.
Limitations and Future Work
- Spatial layout assumption: The method requires feature maps that preserve the 2D grid layout of the image (standard for CNNs and ViTs, but incompatible with flat global embeddings).
- Inference steps: Generating an image takes 10–20 network evaluations, versus 1 step for deterministic baselines. The authors show a "reflow" distillation step makes 1- and 5-step generation highly competitive, though it roughly doubles training time; adopting newer few-step flow matching techniques is left for future work, alongside testing higher resolutions and specialized domains (like medical or satellite imagery).
Summary updated