Cooperative Hardware-Prompt Learning for Snapshot Compressive Imaging
Jiamian Wang, Zongliang Wu, Yulun Zhang, Xin Yuan, Tao Lin, Zhiqiang Tao
TL;DR
This work addresses the challenge of cross-hardware learning in snapshot compressive imaging under strict privacy constraints. It introduces FedHP, a hardware-conditioned prompt learning framework that aligns input data distributions across heterogeneous clients while keeping reconstruction backbones frozen, enabling privacy-preserving multi-hardware collaboration. The authors also construct the Snapshot Spectral Heterogeneous Dataset (SSHD) from multiple practical SCI systems to evaluate cross-hardware generalization. Empirically, FedHP outperforms standard FL baselines and centralized approaches, achieving notable gains in PSNR/SSIM and robust spectral fidelity under diverse hardware configurations, with practical efficiency due to reduced backbone optimization and communication. This framework paves the way for scalable, privacy-conscious hardware-software co-optimization in computational imaging.
Abstract
Existing reconstruction models in snapshot compressive imaging systems (SCI) are trained with a single well-calibrated hardware instance, making their performance vulnerable to hardware shifts and limited in adapting to multiple hardware configurations. To facilitate cross-hardware learning, previous efforts attempt to directly collect multi-hardware data and perform centralized training, which is impractical due to severe user data privacy concerns and hardware heterogeneity across different platforms/institutions. In this study, we explicitly consider data privacy and heterogeneity in cooperatively optimizing SCI systems by proposing a Federated Hardware-Prompt learning (FedHP) framework. Rather than mitigating the client drift by rectifying the gradients, which only takes effect on the learning manifold but fails to solve the heterogeneity rooted in the input data space, FedHP learns a hardware-conditioned prompter to align inconsistent data distribution across clients, serving as an indicator of the data inconsistency among different hardware (e.g., coded apertures). Extensive experimental results demonstrate that the proposed FedHP coordinates the pre-trained model to multiple hardware configurations, outperforming prevalent FL frameworks for 0.35dB under challenging heterogeneous settings. Moreover, a Snapshot Spectral Heterogeneous Dataset has been built upon multiple practical SCI systems. Data and code are aveilable at https://github.com/Jiamian-Wang/FedHP-Snapshot-Compressive-Imaging
