SGDiff
Diffusion model for pansharpening whose channel experts are switched on by scene and region text descriptions.
Diffusion and generative · 1,742 operations Checked
Click or tap a spot to read it up close. Scroll or drag inside the diagram to move through it. Zoom with + and − or Ctrl and scroll. Press 0 for the whole graph. Swipe inside the diagram to move through it. Use + and − to zoom.
At a glance
- Parameters
- 444.4M
- Operations
- 1,742
- Framework
- PyTorch
- Recurrent
- No
- Published
- CVPR 2025
- Cited by
- 4 (as of 27 October 2026)
- Authors
- Yinghui Xing, Litao Qu, Shizhou Zhang and others
- Source
- GitHub: codgodtao/SGDiff
- Checked
- Passed: the trace was replayed operation by operation and matched the model's own output for this input.
Files
The file opened in a new tab. Use your browser's Save command there to keep it.
The diagram is a drawing of a TorchLens trace of the source code. It contains no code or weights.
Details
- Stable ID
- m20032
- Graph hash
- 22845b4125d22c1e17b33e2f77be8216e50fdab222166cbd6d10eb0398512483
- Skeleton hash
- 9d33b58e5a59e3dc9ebb421785b3e4e1f0392bd815e8fa79641bf99ee5422979
- Architecture hash
- 039daacdb0a4a75aab41bc1b7e8d2377d15df24bfb8e3e1b73683c2c799ab785
- Diagram SHA-256
- 69732eb5743a2ef65f181f21f9f580e950ef9ececc4c6a955f1da158273cd84f
- TorchLens version
- 2.36.0
- Renderer
- graphviz 2.43.0+pyvips 3.2.0+libvips 8.18.7+render-opts@06c1f0d3
- Check
- Forward pass replayed in PyTorch
What it is
SGDiff is a diffusion model for pansharpening, the task of combining a panchromatic satellite image with a multispectral one. The paper starts from the observation that deep pansharpening models depend on the sensor and scene they were trained on: a model trained mostly on urban scenes may do worse on a river scene. Its answer is one denoising network trained jointly on several satellite datasets and steered by text.
The text comes from GeoChat, a vision-language model for geoscience, which is prompted for a scene category and for a grounded description of the image. Both responses pass through the CLIP text encoder, an MLP layer and a softmax to give mixture weights over a set of latent experts. In the SG-MoE block each feature channel serves as an expert, and sparse gating scores decide which experts a layer uses. Each transformer block of the denoiser pairs an SG-MoE block with 3D multi-head transposed attention.
The diffusion runs on the residual map between the high-resolution multispectral target and the upsampled low-resolution input. In the paper's setup, 10% of the channels are permanently activated as shared experts. With experiments on WorldView-3, QuickBird and GaoFen-2 data, the paper reports that the method outperforms the comparison approaches in adapting to new satellite sensors and scenes.
Key idea. SGDiff guides a pansharpening diffusion model with scene-level and region-level text semantics that dynamically activate specialized experts, so one model adapts to different satellite sensors and scenes.
- SGDiff
- Semantic-Guided Sparse Routing Diffusion Model
- SG-MoE
- pansharpening
- general pansharpening
- remote sensing image fusion
- mixture of experts
- diffusion model
- multispectral
- panchromatic
AI-written summary, based on the paper and checked automatically against it; not reviewed by a person. Corrections welcome.
Cite the paper
@inproceedings{Xing_2025, title={Dual-Granularity Semantic Guided Sparse Routing Diffusion Model for General Pansharpening}, url={http://dx.doi.org/10.1109/CVPR52734.2025.01181}, DOI={10.1109/cvpr52734.2025.01181}, booktitle={2025 IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR)}, publisher={IEEE}, author={Xing, Yinghui and Qu, Litao and Zhang, Shizhou and Xu, Di and Yang, Yingkun and Zhang, Yanning}, year={2025}, month=June, pages={12658–12668} }