{"about":{"site":"https://codewithpapers.app","non_affiliation":"Code with Papers and Syntology are not affiliated with, endorsed by, or sponsored by Papers with Code, Meta, or the pwc-archive mirror.","licence":"CC BY-SA 4.0","licence_url":"https://creativecommons.org/licenses/by-sa/4.0/legalcode","attribution":"https://codewithpapers.app/attribution","modified":"archive material modified by Syntology; see the attribution page"},"url":"/paper/arxiv-2512-20251","title":"Degradation-Aware Metric Prompting for Hyperspectral Image Restoration","arxiv_id":"2512.20251","date":"2025-12-23","proceeding":"ICML","authors":["Binfeng Wang","Di Wang","Haonan Guo","Ying Fu","Jing Zhang"],"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 \\href{DAMP}{https://github.com/MiliLab/DAMP}.","url_abs":"https://arxiv.org/abs/2512.20251","url_pdf":"https://arxiv.org/pdf/2512.20251","source":{"archive":null,"snapshot":"2025-07-28","note":"not in the Papers with Code archive (frozen at the snapshot)","row_kind":"graph","title_abstract_authors_date":"arXiv metadata, CC0 1.0 (https://info.arxiv.org/help/license)"},"code_links":[],"tasks":[],"methods":[],"datasets_introduced":[],"methods_introduced":[],"results":[],"syntology":{"syntology_url":"https://syntology.ai/paper/2512.20251","atlas_url":"https://app.syntology.ai/?focus=2512.20251","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2512.20251"}},"developers":"https://syntology.ai/developers","read_at":"2026-09-25T09:33:49+00:00","read_at_is":"when the build read Syntology's graph, not when any sample ran","claim":"Per-sample execution status on synthesized fixtures; not a correctness claim about the paper. Samples come from repositories linked to the paper, official or community; repo_kind says which.","repos":[{"mentioned_in_github":null,"is_official":null,"provenance":"deterministic:regex_extraction","mentioned_in_paper":null,"url":"https://github.com/MiliLab/DAMP","reach":null}],"summary":{"ran":14,"unverified":11},"by_repo_kind":{"found_in_text":{"samples":25,"ran":14,"repositories":1}},"repo_kind_vocabulary":{"official":"The archive marks this repository official for the paper","named_in_paper":"The archive records that the paper mentions this repository; it is not marked official","listed":"In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper","found_in_text":"Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted","community":"Not in the archive's code links for this paper; a community repository Syntology harvested"},"n_pointer_only_for_licence":25,"samples":[{"code_sha256_prefix":"4440ebd3ec778aa5","entry":"BandCorrelationAnalyzer","repo":"MiliLab/DAMP","repo_kind":"found_in_text","path":"DAMP.py","file_url":"https://github.com/MiliLab/DAMP/blob/HEAD/DAMP.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"4440ebd3ec778aa5"}},{"code_sha256_prefix":"ca181152f5414571","entry":"ConcatFusion","repo":"MiliLab/DAMP","repo_kind":"found_in_text","path":"DAMP.py","file_url":"https://github.com/MiliLab/DAMP/blob/HEAD/DAMP.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":"deterministic","behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"ca181152f5414571"}},{"code_sha256_prefix":"db6757715062a45e","entry":"DegradationTypeClassifier","repo":"MiliLab/DAMP","repo_kind":"found_in_text","path":"DAMP.py","file_url":"https://github.com/MiliLab/DAMP/blob/HEAD/DAMP.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":"deterministic","behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"db6757715062a45e"}},{"code_sha256_prefix":"5493d7fe0bcbf021","entry":"FeatureEncoder","repo":"MiliLab/DAMP","repo_kind":"found_in_text","path":"DAMP.py","file_url":"https://github.com/MiliLab/DAMP/blob/HEAD/DAMP.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":"deterministic","behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"5493d7fe0bcbf021"}},{"code_sha256_prefix":"7095ba7eeb2d5415","entry":"FrequencyAwareBranch","repo":"MiliLab/DAMP","repo_kind":"found_in_text","path":"DAMP.py","file_url":"https://github.com/MiliLab/DAMP/blob/HEAD/DAMP.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":"deterministic","behaviour_fingerprint":true,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"7095ba7eeb2d5415"}},{"code_sha256_prefix":"31987977ef7d34e9","entry":"GradientStatisticsBranch","repo":"MiliLab/DAMP","repo_kind":"found_in_text","path":"DAMP.py","file_url":"https://github.com/MiliLab/DAMP/blob/HEAD/DAMP.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":"deterministic","behaviour_fingerprint":true,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"31987977ef7d34e9"}},{"code_sha256_prefix":"234e8e8e07c669c1","entry":"LayerNorm","repo":"MiliLab/DAMP","repo_kind":"found_in_text","path":"DAMP.py","file_url":"https://github.com/MiliLab/DAMP/blob/HEAD/DAMP.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":"deterministic","behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"234e8e8e07c669c1"}},{"code_sha256_prefix":"6aba4598e0003aae","entry":"RMSNorm","repo":"MiliLab/DAMP","repo_kind":"found_in_text","path":"DAMP.py","file_url":"https://github.com/MiliLab/DAMP/blob/HEAD/DAMP.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":"deterministic","behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"6aba4598e0003aae"}},{"code_sha256_prefix":"da14f1469522c9df","entry":"RoutingFunction","repo":"MiliLab/DAMP","repo_kind":"found_in_text","path":"DAMP.py","file_url":"https://github.com/MiliLab/DAMP/blob/HEAD/DAMP.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":"deterministic","behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"da14f1469522c9df"}},{"code_sha256_prefix":"98604df095d0d6af","entry":"SparseDispatcher","repo":"MiliLab/DAMP","repo_kind":"found_in_text","path":"DAMP.py","file_url":"https://github.com/MiliLab/DAMP/blob/HEAD/DAMP.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"98604df095d0d6af"}},{"code_sha256_prefix":"41c52f3717af4329","entry":"SpectralAttention","repo":"MiliLab/DAMP","repo_kind":"found_in_text","path":"DAMP.py","file_url":"https://github.com/MiliLab/DAMP/blob/HEAD/DAMP.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":"deterministic","behaviour_fingerprint":true,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"41c52f3717af4329"}},{"code_sha256_prefix":"b785b7d2d7c38aaa","entry":"SpectralSmoothnessAnalyzer","repo":"MiliLab/DAMP","repo_kind":"found_in_text","path":"DAMP.py","file_url":"https://github.com/MiliLab/DAMP/blob/HEAD/DAMP.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"b785b7d2d7c38aaa"}},{"code_sha256_prefix":"7b75a9374bba06c6","entry":"Upsample","repo":"MiliLab/DAMP","repo_kind":"found_in_text","path":"DAMP.py","file_url":"https://github.com/MiliLab/DAMP/blob/HEAD/DAMP.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":"deterministic","behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"7b75a9374bba06c6"}},{"code_sha256_prefix":"704e27aa3bad9619","entry":"VisualDifferentialAttention","repo":"MiliLab/DAMP","repo_kind":"found_in_text","path":"DAMP.py","file_url":"https://github.com/MiliLab/DAMP/blob/HEAD/DAMP.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":"deterministic","behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"704e27aa3bad9619"}},{"code_sha256_prefix":"7b60426aab960975","entry":"AdapterLayerSpaSpe","repo":"MiliLab/DAMP","repo_kind":"found_in_text","path":"DAMP.py","file_url":"https://github.com/MiliLab/DAMP/blob/HEAD/DAMP.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"7b60426aab960975"}},{"code_sha256_prefix":"5717a45a13d3a41e","entry":"DAMP","repo":"MiliLab/DAMP","repo_kind":"found_in_text","path":"DAMP.py","file_url":"https://github.com/MiliLab/DAMP/blob/HEAD/DAMP.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"5717a45a13d3a41e"}},{"code_sha256_prefix":"12645f51d2024558","entry":"DAMoE","repo":"MiliLab/DAMP","repo_kind":"found_in_text","path":"DAMP.py","file_url":"https://github.com/MiliLab/DAMP/blob/HEAD/DAMP.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"12645f51d2024558"}},{"code_sha256_prefix":"575b7704ab99ca62","entry":"DPHNet","repo":"MiliLab/DAMP","repo_kind":"found_in_text","path":"DAMP.py","file_url":"https://github.com/MiliLab/DAMP/blob/HEAD/DAMP.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"575b7704ab99ca62"}},{"code_sha256_prefix":"59170c1adadb5d28","entry":"DecoderBlock","repo":"MiliLab/DAMP","repo_kind":"found_in_text","path":"DAMP.py","file_url":"https://github.com/MiliLab/DAMP/blob/HEAD/DAMP.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"59170c1adadb5d28"}},{"code_sha256_prefix":"ce1436db79d3a627","entry":"DecoderResidualGroup","repo":"MiliLab/DAMP","repo_kind":"found_in_text","path":"DAMP.py","file_url":"https://github.com/MiliLab/DAMP/blob/HEAD/DAMP.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"ce1436db79d3a627"}},{"code_sha256_prefix":"283eeaddfa304bba","entry":"EncoderBlock","repo":"MiliLab/DAMP","repo_kind":"found_in_text","path":"DAMP.py","file_url":"https://github.com/MiliLab/DAMP/blob/HEAD/DAMP.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"283eeaddfa304bba"}},{"code_sha256_prefix":"4a622a4ee7c37481","entry":"EncoderResidualGroup","repo":"MiliLab/DAMP","repo_kind":"found_in_text","path":"DAMP.py","file_url":"https://github.com/MiliLab/DAMP/blob/HEAD/DAMP.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"4a622a4ee7c37481"}},{"code_sha256_prefix":"b62221fecee50804","entry":"MySequential","repo":"MiliLab/DAMP","repo_kind":"found_in_text","path":"DAMP.py","file_url":"https://github.com/MiliLab/DAMP/blob/HEAD/DAMP.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"b62221fecee50804"}},{"code_sha256_prefix":"8389ac272735077a","entry":"SSAM","repo":"MiliLab/DAMP","repo_kind":"found_in_text","path":"DAMP.py","file_url":"https://github.com/MiliLab/DAMP/blob/HEAD/DAMP.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"8389ac272735077a"}},{"code_sha256_prefix":"c79331904038268f","entry":"SwinTransformerBlock","repo":"MiliLab/DAMP","repo_kind":"found_in_text","path":"DAMP.py","file_url":"https://github.com/MiliLab/DAMP/blob/HEAD/DAMP.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"c79331904038268f"}}]},"arxiv_metadata":{"licence":"arXiv metadata, CC0 1.0 (https://info.arxiv.org/help/license)","fields":["title","abstract","authors","date"],"primary_category":"cs.CV","source":"arxiv_api"},"syntology_extracted_results":null}