SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2512.20251 · ICML · 2025

Degradation-Aware Metric Prompting for Hyperspectral Image Restoration

Di Wang, Ying Fu, Jing Zhang, Binfeng Wang, Haonan Guo

arXiv · PDF · Open in the Atlas

Code that ran

We lifted 25 functions out of this paper's own repositories and ran 14 of them in a sandbox. "Ran" means the function executed on a synthesized input and returned a value. It is not a reproduction of the paper's results.

RepositoryRoleRan
MiliLab/DAMP — 14 of 25
FunctionStatusWhere it lives
BandCorrelationAnalyzer Ran MiliLab/DAMP/DAMP.py
pointer only (licence: NONE) · get_code("4440ebd3ec778aa5")
ConcatFusion Ran MiliLab/DAMP/DAMP.py
pointer only (licence: NONE) · get_code("ca181152f5414571")
DegradationTypeClassifier Ran MiliLab/DAMP/DAMP.py
pointer only (licence: NONE) · get_code("db6757715062a45e")
FeatureEncoder Ran MiliLab/DAMP/DAMP.py
pointer only (licence: NONE) · get_code("5493d7fe0bcbf021")
FrequencyAwareBranch Ran MiliLab/DAMP/DAMP.py
pointer only (licence: NONE) · get_code("7095ba7eeb2d5415")
GradientStatisticsBranch Ran MiliLab/DAMP/DAMP.py
pointer only (licence: NONE) · get_code("31987977ef7d34e9")
LayerNorm Ran MiliLab/DAMP/DAMP.py
pointer only (licence: NONE) · get_code("234e8e8e07c669c1")
RMSNorm Ran MiliLab/DAMP/DAMP.py
pointer only (licence: NONE) · get_code("6aba4598e0003aae")
RoutingFunction Ran MiliLab/DAMP/DAMP.py
pointer only (licence: NONE) · get_code("da14f1469522c9df")
SparseDispatcher Ran MiliLab/DAMP/DAMP.py
pointer only (licence: NONE) · get_code("98604df095d0d6af")
SpectralAttention Ran MiliLab/DAMP/DAMP.py
pointer only (licence: NONE) · get_code("41c52f3717af4329")
SpectralSmoothnessAnalyzer Ran MiliLab/DAMP/DAMP.py
pointer only (licence: NONE) · get_code("b785b7d2d7c38aaa")
Upsample Ran MiliLab/DAMP/DAMP.py
pointer only (licence: NONE) · get_code("7b75a9374bba06c6")
VisualDifferentialAttention Ran MiliLab/DAMP/DAMP.py
pointer only (licence: NONE) · get_code("704e27aa3bad9619")
AdapterLayerSpaSpe Not yet run MiliLab/DAMP/DAMP.py
pointer only (licence: NONE) · get_code("7b60426aab960975")
DAMP Not yet run MiliLab/DAMP/DAMP.py
pointer only (licence: NONE) · get_code("5717a45a13d3a41e")
DAMoE Not yet run MiliLab/DAMP/DAMP.py
pointer only (licence: NONE) · get_code("12645f51d2024558")
DPHNet Not yet run MiliLab/DAMP/DAMP.py
pointer only (licence: NONE) · get_code("575b7704ab99ca62")
DecoderBlock Not yet run MiliLab/DAMP/DAMP.py
pointer only (licence: NONE) · get_code("59170c1adadb5d28")
DecoderResidualGroup Not yet run MiliLab/DAMP/DAMP.py
pointer only (licence: NONE) · get_code("ce1436db79d3a627")
EncoderBlock Not yet run MiliLab/DAMP/DAMP.py
pointer only (licence: NONE) · get_code("283eeaddfa304bba")
EncoderResidualGroup Not yet run MiliLab/DAMP/DAMP.py
pointer only (licence: NONE) · get_code("4a622a4ee7c37481")
MySequential Not yet run MiliLab/DAMP/DAMP.py
pointer only (licence: NONE) · get_code("b62221fecee50804")
SSAM Not yet run MiliLab/DAMP/DAMP.py
pointer only (licence: NONE) · get_code("8389ac272735077a")
SwinTransformerBlock Not yet run MiliLab/DAMP/DAMP.py
pointer only (licence: NONE) · get_code("c79331904038268f")

Repositories linked to this paper

Some links come from the archived Papers with Code dataset (CC BY-SA 4.0): attribution and licence.

Abstract

Unified hyperspectral image (HSI) restoration aims to recover diverse degradations within a single model. However, current methods often rely on impractical explicit priors or opaque black-box representations that overfit to training distributions, hampering generalization to unseen scenarios. To bridge this gap, we propose Degradation-Aware Metric Prompting (DAMP), a novel framework that characterizes multi-dimensional degradations through interpretable spatial-spectral metrics. These metrics serve as Degradation Prompts (DP), enabling the model to capture shared characteristics across tasks and adapt to unknown corruptions. Central to our framework is the Degradation-Adaptive Mixture-of-Experts (DAMoE), where Spatial-Spectral Adaptive Modules (SSAMs) serve as experts that utilize learnable fusion coefficients to specialize in distinct degradation degrees. By using DP as a gating router, DAMoE dynamically activates specialized experts tailored to the specific degradation profile. Extensive experiments on natural and remote sensing HSI datasets demonstrate that DAMP achieves state-of-the-art performance and exhibits exceptional zero-shot generalization on unseen restoration tasks. Code is publicly available at https://github.com/MiliLab/DAMP.

For agents

The same record, over MCP at https://syntology.ai/mcp:

get_harvested_code_for_paper("2512.20251")
get_code_for_paper("2512.20251")
have("2512.20251")

Connect an agent — have() is free.