Conditioning Source and Speed: Feature Inversion for Humans and MachinesConditioning Source and Velocity: Feature Inversion for Humans and Machines
The authors propose the black-box feature inversion method FUN+FIT, which achieves the lowest LPIPS on five networks on ImageNet, and evaluate defenses and compressed features.
black-box feature inversion: the fixed network h can only be queried to obtain image–feature pairs, and queries are made only once before training; the inversion model does not know h's architecture, parameters, gradients, or the layer that produces the features. The victim system is split inference, where the device sends features and the server runs the subsequent network.
- Split inference sends only visual features to the server and is often considered able to protect the original image. The authors study how to recover, from these underdetermined features, images that are both viewable by humans and analyzable by off-the-shelf vision models, and examine recoverability after defenses and compression.
- FUN predicts from features a Gaussian source with a sparse structured covariance; FIT uses a flow matching velocity network conditioned on both the features and the uncertainty map to transport source samples to the image latent space; training does not use a perceptual loss.
- On five ImageNet networks, Ours outperforms the baselines on LPIPS, DISTS, and FID, but is not best on PSNR and MUSIQ. On ConvNeXt, DISCO and JPEG features can still be inverted; reflow improves few-step sampling but increases training time.
- The method requires features and images to share a spatial layout, and sampling requires multiple function evaluations. Experiments cover only ImageNet 512², five vision networks, and two feature modifications, DISCO/JPEG; higher resolution, specialized-domain data, and further reducing NFE are left for future work.
- Evaluated models
- ConvNeXt-BSwin-BDINOv3 ViT-B/16SigLIP 2 L/16PE-Spatial B/16
- Benchmarks
- ImageNet
- Metrics
- PSNRLPIPSDISTSFIDMUSIQf distanceCLIP agreementSegmentation mAPLVLM-CNFE
The researchers propose a flow-matching-based feature inversion method and show that features uploaded by devices in split inference can be reconstructed into images that are viewable by humans and analyzable by off-the-shelf vision models. The method includes a feature uncertainty network (FUN) that predicts a Gaussian source with structured covariance as the generation starting point, and feature-guided transport (FIT) that transports samples into images using a feature-conditioned velocity, with no perceptual loss used during training. On five networks including ConvNeXt and DINOv3, the method outperforms all baselines on LPIPS, DISTS, and FID, and maintains the best average performance on downstream task utility; for defended and compressed features, this advantage holds and is larger in most cases. The authors state that these results challenge conventional understanding of feature utility and its role in privacy protection.
Related events and news
1 events · 0 news mentions
- This event's paper
研究提出特征反演方法从分割推理特征重建图像
Paper analysis
What problem does this paper attempt to solve?
Studies how, under black-box conditions, to recover images usable by humans and vision models from split inference features.
The core problem is how to generate images from underdetermined visual features that both have perceptual detail and preserve downstream task utility. The authors treat feature inversion as both a privacy attack and a capability in split inference that can be exploited by a human or a server.
- Application background: Split inference runs the front part of the network on the device and sends only features to the server, suitable for IoT cameras, phones, and drones with limited compute. The authors note that images not leaving the device are often regarded as protected, but prior work has already been able to recover considerable image content from features.
- Shortcomings of existing methods: White-box methods require the network architecture and weights, and often optimize per image. Recent black-box generative methods either start from noise unrelated to the features, or start from a single point predicted from the features and then no longer use the features to guide generation; the authors argue these starting points do not express the uncertainty left by the features.
- Core observation: The same set of features can correspond to multiple images; missing details must be generated, and uncertainty varies with image and spatial location, with neighboring locations also varying together. Therefore the authors learn both the conditional mean and a covariance with correlation structure, rather than predicting only a single reconstruction point.
- Proposed method: The method consists of a feature uncertainty network (FUN) and feature informed transport (FIT): the former predicts a Gaussian source, and the latter conditions a flow matching velocity network on the features and the uncertainty map. Training does not use a perceptual loss, and evaluates human perception, image distribution, and downstream vision model utility.
- Threat model:
- Goal: Recover an image estimate from the features f of images outside the training set, for human viewing or analysis by off-the-shelf vision models; the authors also explicitly acknowledge it can be used as an attack.
- Knowledge: A black-box setting is adopted; the inversion model does not know h's architecture, parameters, gradients, or the layer that produces the features.
- Capability: Before training, the fixed network h can be queried, using N selected images to obtain image–feature pairs; after training, h is no longer queried.
- Victim system and assumptions: Split inference in which the device sends features and the server runs the subsequent network; the study is limited to networks where features and images share a spatial layout.
What related research exists?
Related work is divided into feature inversion, conditional source distribution, and flow matching; this paper conditions both the source and the velocity.
Feature inversion and split inference privacy
- Early inversion work: Mahendran & Vedaldi (2015) used inversion to understand image representations; Dosovitskiy & Brox (2016) and He et al. (2019) trained inversion models with image–feature pairs and pixel squared error. The paper notes that such regression approximations return the mean of images with the same feature and blur where images differ.
- Generative inversion: Nash et al. (2019), Rombach et al. (2020), Shocher et al. (2020) can return multiple samples for the same feature. DIA (Chen et al., 2024a) trains a feature-conditioned diffusion model, and FeatInv (Neukirch et al., 2025) adds ControlNet to a pretrained diffusion model; both start from standard Gaussian noise.
- Methods that predict the initial latent variable: DMB (Zhang et al., 2025b, black-box variant) and FIA-Flow (Ren et al., 2026) predict the initial latent variable of a pretrained model from features, but no longer condition the model on features. The paper states that FIA-Flow is closest to this work; it uses noise-free one-step flow matching to return a single image, whereas this work also predicts the source distribution and conditions the velocity.
Condition-dependent generative sources
- Image restoration and editing: Meng et al. (2022), Liu et al. (2023a), Yue et al. (2023) use condition-dependent sources. PMRF (Ohayon et al., 2025) regresses the mean of clean images, then starts rectified flow from the mean plus fixed noise; UPSR (Zhang et al., 2025a) weights noise per pixel according to estimated uncertainty.
- Covariance learning: The paper states that when source variance and the velocity network are learned jointly, they tend to collapse, so CAR-Flow (Chen et al., 2025) learns only the source offset, and CrossFlow (Liu et al., 2025) and CSFM (Kim et al., 2026) regularize the variance to 1. Issachar et al. (2025) take Gaussian means and covariances by class, and under text conditioning regress the mean and fix the covariance.
- Structured uncertainty: This work follows the idea of Dorta et al. (2018) of fixing the mean and fitting the covariance by maximum likelihood, but predicts the covariance from features; Dorta et al. factorize the Cholesky factor of the precision matrix, whereas this work factorizes the covariance so that sampling can be done directly by multiplying with the factor.
Generative models and condition injection
- Flow matching: Lipman et al. (2023), Liu et al. (2023b), Albergo & Vanden-Eijnden (2023) train a velocity field that transports samples of the source distribution to the target distribution; this work uses the linear interpolation path of rectified flow.
- Spatial conditioning layers: StableSR (Wang et al., 2024) and SUPIR (Yu et al., 2024) use spatial modulation similar to SFT (Wang et al., 2018) in restoration tasks; the zero initialization of ControlNet (Zhang et al., 2023) is used to avoid new layers perturbing the pretrained model early in training.
Experimental baselines and data: The baselines are DO, DB (Zhang et al., 2025b), FeatInv, FIA-Align and FIA-Flow; all are reimplemented and trained on ImageNet image–feature pairs under a shared training setup. The authors position this work as letting features determine both the generation starting point and guide the transport process, rather than using only one of these conditions.
How does the paper address this problem?
FUN learns a structured Gaussian source, and FIT conditions the velocity field on the features and uncertainty map and samples images.
The overall idea is to let the features answer both "where to generate from" and "how to generate": FUN predicts the conditional center and uncertainty of the image latent variable, FIT transports samples of this Gaussian source to the image latent variable using feature-conditioned flow matching, and a fixed decoder then restores the image.
Problem setting and generation goal
- Black-box paired data: A fixed network h maps an image x to spatial features f=h(x). Before training, N images are each queried once to form a paired set S; afterward an inversion model g is trained to output x̂=g(f) for new features, without further access to h.
- Spatial layout assumption: The image, features, and autoencoder latent variables are all spatial maps; although resolutions differ, local information at the same relative position is preserved within the positional neighborhood. This assumption is also the boundary of the method's applicability.
- Latent-space generation: The encoder E of a fixed autoencoder produces the target latent variable z1=E(x), and the decoder D restores the generated latent variable to an image. The goal is not exact per-pixel recovery, but generating details that the features do not determine yet are useful to humans and vision models.
FUN: conditional mean and structured covariance
- Mean network: µϕ predicts z1 from f and is trained with mean squared error, whose optimal solution is the conditional mean μ∗(f)=𝔼[z1∣ f]. It represents the average image latent variable for images with features f.
- Covariance network: With ϕ fixed, Σψ is trained with Gaussian negative log-likelihood; the residual is r=z1−µϕ(f). The authors do not assume the true distribution of images with the same features is Gaussian; the Gaussian is used only to summarize its center and uncertainty via mean and covariance.
- Sparse Cholesky factor: Let Σ=AAᵀ, where A is a lower triangular matrix with positive diagonal, avoiding directly constructing and inverting the full covariance. Each latent variable position connects only to neighbors within a w×w window that precede it in raster order, with out-of-bounds positions omitted, so the number of free parameters grows linearly with the latent variable dimension.
- Uncertainty map: The marginal standard deviation of the k-th latent variable value is the norm of the k-th row of A; all standard deviations are arranged according to the latent variable layout to form σ. FUN ultimately outputs the Gaussian N(µϕ(f),Σψ(f)) and σ; experiments use w=5.
FIT: feature-conditioned transport
- Conditional source: Sample z0=µϕ(f)+Aε, where ε comes from the standard normal distribution. During training, z1 is the image latent variable, and z0 is drawn independently from the FUN Gaussian corresponding to the same image's features.
- Velocity conditioning: The velocity network is written as vθ(zt,t;f,σ), so that the optimal average path direction of flow matching is defined separately for each f. σ also informs the network of the starting noise scale at each position; FUN remains fixed when training FIT.
- Core training objective: LFIT(θ)=𝔼(x,f),ϵ,t‖ vθ(zt,t;f,σ)−(z1−z0)‖2, where zt is interpolated along the straight path between z0 and z1, and t is uniformly drawn from [0,1].
- Spatial conditioning injection: SFT-like layers are inserted at multiple resolutions of the pretrained velocity network; a small network predicts γ and β at the same resolution as the activations from f, and computes u′=u+γ⊙u+β. The layers outputting γ and β and the new layer taking σ as input are all zero-initialized, so that at the start of training the velocity network is equivalent to the pretrained model.
Sampling, few-step variant, and evaluation
- Sampling procedure: Algorithm 1 computes µ, A, σ in turn, draws ε to obtain z0, numerically solves the velocity ODE conditioned on f and σ, and finally returns D(ẑ1). Different ε can produce different images for the same f.
- Implementation parameters: FIT's velocity network is initialized from Stable Diffusion 2.1 base, and the ODE is solved by default with the Heun method; main experiments use NFE=20. Both FUN and FIT are trained in latent space and do not require decoding or a perceptual loss.
- Reflow variant: Ours+2-RF forms new pairs from FUN's z0 and the ẑ1 obtained by Algorithm 1, then trains a second velocity network, also initialized from SD2.1, with the same FIT loss; the few-step experiments in Table 3 uniformly use the Euler method.
- Evaluation dimensions: PSNR measures pixel fidelity; LPIPS, DISTS, FID, and MUSIQ measure perceptual or image quality; f distance measures the cosine distance between the reconstructed image passed through h and f; and models that have not seen h or its features are used to evaluate CLIP agreement, segmentation mAP, and LVLM-C.
What experiments did the paper conduct?
Compare inversion quality on five ImageNet feature networks, and conduct ablations, few-step sampling, and defense compression experiments.
Experimental setup
- Feature networks under test: ConvNeXt-B, Swin-B, DINOv3 ViT-B/16, SigLIP 2 L/16, PE-Spatial B/16, covering image classification, self-supervised learning, and image–text pretraining, respectively.
- Data and scale: ImageNet, images at 512²; N=68,410 training pairs, 4,474 test images. Each h is used to generate pairs only once before training.
- Baselines and unified training: DO, DB, FeatInv, FIA-Align, FIA-Flow are all reimplemented by the authors and trained under a shared setup. FIA-Flow's SD2.1 is also fine-tuned in the FIT manner rather than the original LoRA setting; the authors state that this change improves FIA-Flow on all five networks.
- Sampling and repeats: Stochastic methods such as FeatInv, Ours, and their ablations take 5 samples for each f, and report the mean of each metric over the 5 samples. Default NFE: FIA-Flow is 1, FeatInv and Ours are 20; Table 1 additionally lists FIA-Flow at NFE 5 and 20.
- Metrics: Higher PSNR is better; lower LPIPS, DISTS, FID, and f distance are better; higher MUSIQ, CLIP agreement, segmentation mAP, and LVLM-C are better. f distance is the cosine distance between h(x̂) and f.
- Downstream utility evaluation: CLIP agreement, segmentation mAP, and LVLM-C use vision models that have never seen h or its features; the paper does not specify the exact versions of these models, the scoring prompt or threshold for LVLM-C, and does not report human evaluation.
Main results
The table below is based on Table 1 and lists Ours (NFE 20) and the best values among the baselines in the same table; the three NFE settings of FIA-Flow jointly participate in selecting the best, FeatInv is NFE 20, and DO, DB, FIA-Align are NFE 1.
Swipe horizontally to read the table
Feature network Ours LPIPS↓ / best baseline Ours DISTS↓ / best baseline Ours FID↓ / best baseline Ours mAP(%)↑ / best baseline Ours CLIP(%)↑ / best baseline ConvNeXt 0.171 / 0.186 0.098 / 0.115 4.19 / 4.90 65.9 / 62.7 80.6 / 79.1 Swin 0.159 / 0.168 0.092 / 0.106 3.88 / 4.25 69.1 / 66.8 81.4 / 80.4 DINOv3 0.193 / 0.207 0.115 / 0.128 4.49 / 5.40 64.5 / 62.1 79.7 / 77.4 SigLIP 2 0.197 / 0.199 0.112 / 0.121 4.98 / 5.26 67.2 / 66.1 79.3 / 78.2 PE-Spatial 0.154 / 0.163 0.094 / 0.108 3.86 / 4.40 67.1 / 66.2 81.2 / 80.7 - The authors' overall interpretation: Ours is best on LPIPS, DISTS, FID, and the other perceptual and utility metrics in the table across the five networks; the authors particularly note that FIA-Flow uses a LPIPS-like loss, whereas Ours achieves lower LPIPS without a perceptual loss.
- PSNR exception: The highest PSNR for each network belongs to FIA-Flow or FIA-Align at NFE 1, not to Ours. For example, on ConvNeXt, FIA-Flow is 21.86 and Ours is 20.78; the authors explain this result with the perception-distortion tradeoff.
- MUSIQ and feature consistency exceptions: FeatInv has the highest MUSIQ on all five networks, 71.94 on ConvNeXt versus 68.27 for Ours; but its ConvNeXt LPIPS is 0.346 and DISTS is 0.202. For f distance, Ours is 0.591 on Swin, higher than FIA-Flow NFE 1's 0.567; on SigLIP 2, both Ours and FIA-Flow NFE 5 are 0.282.
Defenses and compressed features
- Setup: DISCO (prune ratio λ=0.4, top-1 −2.0%) and JPEG (Q=3, top-1 −0.8%) are tested only on ConvNeXt; the original top-1 is 86.4%. All methods are retrained and tested on the correspondingly modified features.
- DISCO results: According to Table 4, Ours has LPIPS 0.227, FID 5.61, mAP 60.2%, and the corresponding best baselines are FIA-Flow NFE 5's 0.254, NFE 5's 7.25, and NFE 1's 55.0%. Ours has PSNR 18.68, lower than FIA-Flow NFE 1's 19.51.
- JPEG results: Ours has LPIPS 0.353, FID 10.28, mAP 37.7%, and the corresponding best baselines are FIA-Flow NFE 1's 0.364, NFE 5's 19.62, and NFE 1's 34.2%. The authors report that the FID lead over the best baseline increases from 0.71 on original features to 1.64 on DISCO and 9.28 on JPEG, and attribute this to stronger feature conditioning.
Few-step sampling and training cost
- NFE trend: Figure 5 shows LPIPS versus NFE for FeatInv, FIA-Flow, and Ours on ConvNeXt; the authors state that Ours decreases as NFE increases, with NFE 10 and 20 differing by only 0.001, and that FIA-Flow is lowest at a few steps and then rises. The converted text does not retain the full values of each curve, so they are not supplemented.
- NFE 1 failure and reflow: According to Table 3, Ours at NFE 1 has LPIPS 0.421, FID 50.75, mAP 38.2%, weaker than FIA-Flow's 0.201, 6.44, 62.7%; Ours+2-RF reaches 0.184, 5.15, 61.6%. The authors explain that a single Euler step returns the conditional mean under the optimal velocity.
- Training time: In Table 3, FIA-Flow, Ours, and Ours+2-RF are 103, 56, and 111 A100 hours, respectively. Figure 4 is a plot of training time versus LPIPS on DINOv3; the authors state that Ours trains faster and has lower LPIPS at the same time, and attribute this to avoiding decoding and perceptual loss computation; the main cost of reflow is increased training time.
Other ablations and analyses
- Source ablation (Table 2, ConvNeXt, all with FIT): N(0,I) has LPIPS/FID/mAP of 0.197/5.14/61.4%; mean only µϕ(f) is 0.262/11.74/44.4%, but its PSNR 21.24 is the highest in the whole table.
- Fixed noise and diagonal covariance: N(µϕ(f),s²I) is 0.175/4.46/63.2%, Diagonal A is 0.176/4.50/63.4%; full Ours is 0.171/4.19/65.9%. s is taken as the RMS of the training-set residual r.
- Velocity conditioning ablation (all with FUN): Unconditional LPIPS/FID/mAP is 0.212/5.89/56.7%, ControlNet is 0.179/4.55/63.9%, Ours is 0.171/4.19/65.9%.
- The authors' explanation of the ablations: Diagonal A and a single noise level perform similarly, and sparse A is better on metrics other than PSNR; the authors suggest this indicates that the benefit of predicting covariance comes from correlations among latent variable values.
What are some points that can be further explored?
The authors list limitations on layout assumptions, sampling steps, and data scope, and will subsequently focus on few-step generation and more data.
Limitations and future directions noted by the authors
- Spatial layout assumption: The method assumes features share the layout of the image, which does not hold for arbitrary features; the authors state this applies to the tested convolutional networks and vision Transformers, and is also a common situation for split inference vision models (Conclusion—Limitations, corresponding to Sec. 3.1).
- Sampling still requires multiple evaluations: Sampling requires several function evaluations, although NFE can be chosen at inference time; the authors present reflow as one way to reduce evaluations, and believe future advances in flow matching may further reduce NFE (Conclusion—Limitations).
- Other few-step methods left for study: The authors expect that few-step flow matching methods such as Lee et al. (2024) and Geng et al. (2025; 2026) can also be applied, and explicitly leave this as future work (Sec. 5.2).
- Resolution and data domain: Experiments were run only on ImageNet 512², and the authors leave higher resolutions and specialized-domain datasets as future work (Conclusion—Limitations).
- Directions for improving defenses: Given the results on defended features, the authors encourage using this work to improve split inference practice and to develop defenses against advanced inversion methods; this is a research direction in the ethics statement, not a completed defense evaluation (Ethics).
Scope of experiments
- 5 feature networks tested in total: ConvNeXt-B, Swin-B, DINOv3 ViT-B/16, SigLIP 2 L/16, PE-Spatial B/16; defense and compression experiments were conducted only on ConvNeXt (Sec. 5, Table 4).
- Data and splits: ImageNet 512², training N=68,410, test 4,474; the random inversion method takes 5 samples per f and averages the metrics; the paper does not report independent training repetitions or confidence intervals (Sec. 5).
- Evaluation of feature modifications: Includes DISCO λ=0.4 and JPEG Q=3; all methods are trained and tested on the corresponding features; no adaptive defense experiments targeting the method in this paper were set up (Sec. 5.3, Table 4).
- Downstream utility: Uses CLIP agreement, segmentation mAP, LVLM-C; the models have not seen h or its features; the paper does not report the specific reviewer model versions, scoring thresholds, or human agreement (Sec. 5).
- Training and inference budget: Main results default to Ours NFE=20; few-step experiments cover NFE 1 and 5, and Figure 5 examines more NFEs; Table 3 reports A100 training hours; the paper does not report sampling latency or the total computational cost of querying h.
Summarize the main content of the paper
Recovers images with a structured Gaussian source and feature-conditioned flow, balancing perceptual quality and downstream vision task utility.
This is a black-box feature inversion study for split inference: the authors view it both as an attack that may break the assumption that "transmitting only features protects the image" and as a capability that lets people view images and lets the server invoke other vision models.
- Problem and setting: The fixed network on the device provides image–feature pairs only through pre-training queries; the inverter does not know its architecture, weights, or feature layer. Because features are underdetermined, the method needs to generate plausible details rather than pursue a unique exact reconstruction.
- Method highlights: FUN separately learns the conditional mean and a covariance represented by a sparse Cholesky factor, outputting a Gaussian source and an uncertainty map; FIT initializes the velocity network from SD2.1, injects features through spatial modulation layers, and simultaneously conditions flow matching on the uncertainty map. Training does not use a perceptual loss.
- Results on five networks: On ImageNet 512² and five networks including ConvNeXt-B, Ours outperforms the baselines in the table on LPIPS, DISTS, and FID. On ConvNeXt, Ours achieves LPIPS 0.171, FID 4.19, and segmentation mAP 65.9% (Table 1, NFE 20).
- Result boundaries: The highest PSNR belongs to FIA-Flow NFE 1 or FIA-Align, and the highest MUSIQ all belong to FeatInv; Ours is also not the best on Swin's f distance. Therefore the authors' claims focus on perceptual metrics and downstream utility, not on all metrics.
- Defense and few-step results: On ConvNeXt, with DISCO λ=0.4, Ours' LPIPS/FID is 0.227/5.61, and with JPEG Q=3 it is 0.353/10.28 (Table 4). At NFE 1 the original method performs weakly; reflow improves LPIPS from 0.421 to 0.184, but training time increases from 56 to 111 A100 hours (Table 3).
- Authors' conclusion: The authors believe that even when the server receives only features, it can recover images that off-the-shelf models can use to perform classification, segmentation, and vision-language tasks, without modifying the device network; results on defended and compressed features should prompt split inference to adopt better privacy practices. The method remains limited by the spatial layout assumption, multiple function evaluations, and the ImageNet 512² experimental scope.
Research lineage
Connected via shared benchmarks in libraryRelated papers
- TranScopeAttacksarXiv