{"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-2609-15120","title":"DNF-SR: Dual-Input and Negative-Aware Feature Fine-Tuning for Real-World Image Super-Resolution","arxiv_id":"2609.15120","date":"2026-09-14","proceeding":null,"authors":["Shuhao Han","Wenjie Liao","Hayden Vance","Hang Dong","Rui Zhang","Chun-Le Guo","Chongyi Li"],"abstract":"Benefiting from the powerful generative priors of diffusion models, diffusion-based real-world image super-resolution (Real-ISR) methods have demonstrated impressive performance.To achieve efficient Real-ISR, several recent works have designed one-step diffusion-based models.Howerver, unmediatedly feeding LR into a diffusion model creates a distributional gap with the model's original input.A straightforward approach to reduce the distribution gap is to introduce noise to the LR latents. However, directly adding noise inevitably corrupts the content of the LR images.In this study, we propose DNF-SR, a Dual-input and Negative-aware Feature fine-tuning method for Real-ISR.Specifically, we use a dual-input strategy that concatenates the original LR image with the noisy LR input and feeds them into a diffusion-based image editing model, ensuring both high-fidelity one-step super-resolution and improved perceptual and content consistency.Additionally, the noise present in the noisy LR input introduces randomness and diversity into the outputs. We exploit this property and propose a post-training optimization method, Negative-aware Feature Fine-Tuning (NF2T), which guides the model toward producing higher-quality results.NF^2T classifies multiple outputs into positive and negative subsets and then defines implicit policy improvement directions in both the image and feature spaces, thereby further enhancing the stability of the optimization.Extensive experiments show that DNF-SR outperforms other methods.Code will be released.","url_abs":"https://arxiv.org/abs/2609.15120","url_pdf":"https://arxiv.org/pdf/2609.15120","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":{"atlas_url":"https://app.syntology.ai/?focus=2609.15120","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2609.15120"}},"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":[{"mentioned_in_github":null,"is_official":null,"provenance":"deterministic:regex_extraction","mentioned_in_paper":null,"url":"https://github.com/SHH-Han/DNF-SR","reach":{"status":"ok","spdx":"NOASSERTION"}}],"summary":{"ran_draft_wrong":5,"ran_fixture":1,"unverified":15},"by_repo_kind":{"found_in_text":{"samples":21,"ran":6,"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":21,"samples":[{"code_sha256_prefix":"bc23635609cf5e46","entry":"attn_forward","repo":"SHH-Han/DNF-SR","repo_kind":"found_in_text","path":"infer/vaehook.py","file_url":"https://github.com/SHH-Han/DNF-SR/blob/HEAD/infer/vaehook.py","link_basis":"plan_row","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"MISDECLARED","metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"bc23635609cf5e46"}},{"code_sha256_prefix":"ad8c4ea29723e250","entry":"attn_forward_new","repo":"SHH-Han/DNF-SR","repo_kind":"found_in_text","path":"infer/vaehook.py","file_url":"https://github.com/SHH-Han/DNF-SR/blob/HEAD/infer/vaehook.py","link_basis":"plan_row","language":"python","status":"ran_fixture","verification_level":1,"contract_check":"RAISES","metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"ad8c4ea29723e250"}},{"code_sha256_prefix":"3f6652da855a2ea0","entry":"get_lin_function","repo":"SHH-Han/DNF-SR","repo_kind":"found_in_text","path":"infer/omgsr_dual_infer_model.py","file_url":"https://github.com/SHH-Han/DNF-SR/blob/HEAD/infer/omgsr_dual_infer_model.py","link_basis":"plan_row","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"OUTPUT_MISDECLARED","metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"3f6652da855a2ea0"}},{"code_sha256_prefix":"76a017e88938061d","entry":"inplace_nonlinearity","repo":"SHH-Han/DNF-SR","repo_kind":"found_in_text","path":"infer/vaehook.py","file_url":"https://github.com/SHH-Han/DNF-SR/blob/HEAD/infer/vaehook.py","link_basis":"plan_row","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"MISDECLARED","metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"76a017e88938061d"}},{"code_sha256_prefix":"011230b2b9b8fb6f","entry":"rand_brightness","repo":"SHH-Han/DNF-SR","repo_kind":"found_in_text","path":"dinov3_gan/dinov3_convnext_disc.py","file_url":"https://github.com/SHH-Han/DNF-SR/blob/HEAD/dinov3_gan/dinov3_convnext_disc.py","link_basis":"plan_row","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"MISDECLARED","metamorphic_tier":"invariant","behaviour_fingerprint":true,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"011230b2b9b8fb6f"}},{"code_sha256_prefix":"5b0d8787e670fc63","entry":"rand_saturation","repo":"SHH-Han/DNF-SR","repo_kind":"found_in_text","path":"dinov3_gan/dinov3_convnext_disc.py","file_url":"https://github.com/SHH-Han/DNF-SR/blob/HEAD/dinov3_gan/dinov3_convnext_disc.py","link_basis":"plan_row","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"MISDECLARED","metamorphic_tier":"invariant","behaviour_fingerprint":true,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"5b0d8787e670fc63"}},{"code_sha256_prefix":"1d566d068b0ed0af","entry":"DiffAugment","repo":"SHH-Han/DNF-SR","repo_kind":"found_in_text","path":"dinov3_gan/dinov3_convnext_disc.py","file_url":"https://github.com/SHH-Han/DNF-SR/blob/HEAD/dinov3_gan/dinov3_convnext_disc.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NOASSERTION","inline_ok":false,"mcp_get_code":{"code_sha256":"1d566d068b0ed0af"}},{"code_sha256_prefix":"a1316b96fc0dc988","entry":"cond_cast_float","repo":"SHH-Han/DNF-SR","repo_kind":"found_in_text","path":"infer/devices.py","file_url":"https://github.com/SHH-Han/DNF-SR/blob/HEAD/infer/devices.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NOASSERTION","inline_ok":false,"mcp_get_code":{"code_sha256":"a1316b96fc0dc988"}},{"code_sha256_prefix":"6e1abd17fa1ce3b2","entry":"cond_cast_unet","repo":"SHH-Han/DNF-SR","repo_kind":"found_in_text","path":"infer/devices.py","file_url":"https://github.com/SHH-Han/DNF-SR/blob/HEAD/infer/devices.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NOASSERTION","inline_ok":false,"mcp_get_code":{"code_sha256":"6e1abd17fa1ce3b2"}},{"code_sha256_prefix":"abf269676b2ebd64","entry":"encode_images","repo":"SHH-Han/DNF-SR","repo_kind":"found_in_text","path":"train/train_dnf.py","file_url":"https://github.com/SHH-Han/DNF-SR/blob/HEAD/train/train_dnf.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NOASSERTION","inline_ok":false,"mcp_get_code":{"code_sha256":"abf269676b2ebd64"}},{"code_sha256_prefix":"7048394c27e9262e","entry":"encode_images_mode","repo":"SHH-Han/DNF-SR","repo_kind":"found_in_text","path":"train/train_dnf.py","file_url":"https://github.com/SHH-Han/DNF-SR/blob/HEAD/train/train_dnf.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NOASSERTION","inline_ok":false,"mcp_get_code":{"code_sha256":"7048394c27e9262e"}},{"code_sha256_prefix":"a861df384ac42eeb","entry":"get_device_for","repo":"SHH-Han/DNF-SR","repo_kind":"found_in_text","path":"infer/devices.py","file_url":"https://github.com/SHH-Han/DNF-SR/blob/HEAD/infer/devices.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NOASSERTION","inline_ok":false,"mcp_get_code":{"code_sha256":"a861df384ac42eeb"}},{"code_sha256_prefix":"e95882c35a0496d0","entry":"index_by_stem","repo":"SHH-Han/DNF-SR","repo_kind":"found_in_text","path":"eval_metrics.py","file_url":"https://github.com/SHH-Han/DNF-SR/blob/HEAD/eval_metrics.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NOASSERTION","inline_ok":false,"mcp_get_code":{"code_sha256":"e95882c35a0496d0"}},{"code_sha256_prefix":"9d8299eb84c86c9c","entry":"list_images","repo":"SHH-Han/DNF-SR","repo_kind":"found_in_text","path":"eval_metrics.py","file_url":"https://github.com/SHH-Han/DNF-SR/blob/HEAD/eval_metrics.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NOASSERTION","inline_ok":false,"mcp_get_code":{"code_sha256":"9d8299eb84c86c9c"}},{"code_sha256_prefix":"719ff99f8d40e0a6","entry":"list_images","repo":"SHH-Han/DNF-SR","repo_kind":"found_in_text","path":"infer/infer_dual.py","file_url":"https://github.com/SHH-Han/DNF-SR/blob/HEAD/infer/infer_dual.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NOASSERTION","inline_ok":false,"mcp_get_code":{"code_sha256":"719ff99f8d40e0a6"}},{"code_sha256_prefix":"dd8ea4de84ceace0","entry":"load_image_tensor","repo":"SHH-Han/DNF-SR","repo_kind":"found_in_text","path":"eval_metrics.py","file_url":"https://github.com/SHH-Han/DNF-SR/blob/HEAD/eval_metrics.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NOASSERTION","inline_ok":false,"mcp_get_code":{"code_sha256":"dd8ea4de84ceace0"}},{"code_sha256_prefix":"794d4f7fc184e7e5","entry":"mesh_grid","repo":"SHH-Han/DNF-SR","repo_kind":"found_in_text","path":"dataset/degradations.py","file_url":"https://github.com/SHH-Han/DNF-SR/blob/HEAD/dataset/degradations.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NOASSERTION","inline_ok":false,"mcp_get_code":{"code_sha256":"794d4f7fc184e7e5"}},{"code_sha256_prefix":"fce64ea4638101fc","entry":"opt_parse","repo":"SHH-Han/DNF-SR","repo_kind":"found_in_text","path":"dataset/realesrgan.py","file_url":"https://github.com/SHH-Han/DNF-SR/blob/HEAD/dataset/realesrgan.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NOASSERTION","inline_ok":false,"mcp_get_code":{"code_sha256":"fce64ea4638101fc"}},{"code_sha256_prefix":"321b9c73d589eb9e","entry":"pdf2","repo":"SHH-Han/DNF-SR","repo_kind":"found_in_text","path":"dataset/degradations.py","file_url":"https://github.com/SHH-Han/DNF-SR/blob/HEAD/dataset/degradations.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NOASSERTION","inline_ok":false,"mcp_get_code":{"code_sha256":"321b9c73d589eb9e"}},{"code_sha256_prefix":"e3444ff2b9d24600","entry":"sigma_matrix2","repo":"SHH-Han/DNF-SR","repo_kind":"found_in_text","path":"dataset/degradations.py","file_url":"https://github.com/SHH-Han/DNF-SR/blob/HEAD/dataset/degradations.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NOASSERTION","inline_ok":false,"mcp_get_code":{"code_sha256":"e3444ff2b9d24600"}},{"code_sha256_prefix":"0c417b55952276d5","entry":"time_shift","repo":"SHH-Han/DNF-SR","repo_kind":"found_in_text","path":"infer/omgsr_dual_infer_model.py","file_url":"https://github.com/SHH-Han/DNF-SR/blob/HEAD/infer/omgsr_dual_infer_model.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NOASSERTION","inline_ok":false,"mcp_get_code":{"code_sha256":"0c417b55952276d5"}}]},"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_backlog_21d_20260915.json"},"syntology_extracted_results":{"kind":"leaderboard_placements","source":"Syntology's leaderboard-shaped extractor over the paper's own arXiv-HTML tables: a model pointed at a cell, the number was read from that cell and checked against the board's metric, dataset, split and scale, and an independent check accepted the entry; not reviewed by the paper's authors or the archive's editors","extractor_model":"global.anthropic.claude-sonnet-4-5-20250929-v1:0","verifier_model":null,"prompt_sha":"fa63d4bb9d755694","coverage":{"sentence":"Syntology has checked 6,264 of the 9,581 papers on this site that are newer than the archive; results from the others appear after they are checked.","papers_newer_than_archive":9581,"papers_checked":6264},"entries":[],"not_placed":{"boards":2,"rejected_by_independent_check":0,"refused_by_a_rule":2,"check_did_not_answer":0,"proposed_without_a_cell":0,"declined_by_site":0}}}