{"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/towards-compact-single-image-super-resolution","title":"Towards Compact Single Image Super-Resolution via Contrastive Self-distillation","arxiv_id":"2105.11683","date":"2021-05-25","proceeding":null,"authors":["Yanbo Wang","Shaohui Lin","Yanyun Qu","Haiyan Wu","Zhizhong Zhang","Yuan Xie","Angela Yao"],"abstract":"Convolutional neural networks (CNNs) are highly successful for super-resolution (SR) but often require sophisticated architectures with heavy memory cost and computational overhead, significantly restricts their practical deployments on resource-limited devices. In this paper, we proposed a novel contrastive self-distillation (CSD) framework to simultaneously compress and accelerate various off-the-shelf SR models. In particular, a channel-splitting super-resolution network can first be constructed from a target teacher network as a compact student network. Then, we propose a novel contrastive loss to improve the quality of SR images and PSNR/SSIM via explicit knowledge transfer. Extensive experiments demonstrate that the proposed CSD scheme effectively compresses and accelerates several standard SR models such as EDSR, RCAN and CARN. Code is available at https://github.com/Booooooooooo/CSD.","url_abs":"https://arxiv.org/abs/2105.11683v1","url_pdf":"https://arxiv.org/pdf/2105.11683v1.pdf","source":{"archive":"pwc-archive (Hugging Face), CC BY-SA 4.0","snapshot":"2025-07-28","licence_url":"https://creativecommons.org/licenses/by-sa/4.0/legalcode","row_kind":"abstracts"},"code_links":[{"paper_slug":"towards-compact-single-image-super-resolution","repo_url":"https://github.com/Booooooooooo/CSD","is_official":1,"mentioned_in_paper":1,"mentioned_in_github":1,"framework":"pytorch","reach":null},{"paper_slug":"towards-compact-single-image-super-resolution","repo_url":"https://github.com/kingcong/csd","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"mindspore","reach":null},{"paper_slug":"towards-compact-single-image-super-resolution","repo_url":"https://github.com/2024-MindSpore-1/Code7/tree/main/csd","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":0,"framework":"mindspore","reach":null},{"paper_slug":"towards-compact-single-image-super-resolution","repo_url":"https://github.com/MindCode-4/code-10/tree/main/CSD","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":0,"framework":"mindspore","reach":null},{"paper_slug":"towards-compact-single-image-super-resolution","repo_url":"https://github.com/MindSpore-paper-code-3/code6/tree/main/csd","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":0,"framework":"mindspore","reach":null},{"paper_slug":"towards-compact-single-image-super-resolution","repo_url":"https://github.com/dmcv-ecnu/MindSpore_ModelZoo/tree/main/CSD","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":0,"framework":"mindspore","reach":null},{"paper_slug":"towards-compact-single-image-super-resolution","repo_url":"https://github.com/mindspore-ai/contrib/tree/master/papers/CSD","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":0,"framework":"mindspore","reach":null},{"paper_slug":"towards-compact-single-image-super-resolution","repo_url":"https://github.com/mindspore-ai/models/tree/master/research/cv/csd","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":0,"framework":"mindspore","reach":null},{"paper_slug":"towards-compact-single-image-super-resolution","repo_url":"https://github.com/wwhio/megmodels","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":0,"framework":"pytorch","reach":{"status":"unanswered"}}],"tasks":[{"task_slug":"image-super-resolution","task_name":"Image Super-Resolution"},{"task_slug":"ssim","task_name":"SSIM"},{"task_slug":"super-resolution","task_name":"Super-Resolution"},{"task_slug":"transfer-learning","task_name":"Transfer Learning"}],"methods":[],"datasets_introduced":[],"methods_introduced":[],"results":[],"syntology":{"atlas_url":"https://app.syntology.ai/?focus=2105.11683","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2105.11683"}},"developers":"https://syntology.ai/developers","read_at":"2026-09-24T18:15:14+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":[{"provenance":"deterministic:regex_extraction","url":"https://github.com/Booooooooooo/CSD","reach":null}],"summary":{"unverified":2},"by_repo_kind":{"official":{"samples":2,"ran":0,"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":2,"samples":[{"code_sha256_prefix":"a05314e9a88a5f25","entry":"ContrastLoss","repo":"Booooooooooo/CSD","repo_kind":"official","path":"PyTorch version/loss/contrast_loss.py","file_url":"https://github.com/Booooooooooo/CSD/blob/HEAD/PyTorch%20version/loss/contrast_loss.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":"a05314e9a88a5f25"}},{"code_sha256_prefix":"2d7c127e18e32ece","entry":"Vgg19","repo":"Booooooooooo/CSD","repo_kind":"official","path":"PyTorch version/loss/contrast_loss.py","file_url":"https://github.com/Booooooooooo/CSD/blob/HEAD/PyTorch%20version/loss/contrast_loss.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":"2d7c127e18e32ece"}}]},"arxiv_metadata":null,"syntology_extracted_results":null}