{"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/dual-associated-encoder-for-face-restoration","title":"Dual Associated Encoder for Face Restoration","arxiv_id":"2308.07314","date":"2023-08-14","proceeding":null,"authors":["Yu-Ju Tsai","Yu-Lun Liu","Lu Qi","Kelvin C. K. Chan","Ming-Hsuan Yang"],"abstract":"Restoring facial details from low-quality (LQ) images has remained a challenging problem due to its ill-posedness induced by various degradations in the wild. The existing codebook prior mitigates the ill-posedness by leveraging an autoencoder and learned codebook of high-quality (HQ) features, achieving remarkable quality. However, existing approaches in this paradigm frequently depend on a single encoder pre-trained on HQ data for restoring HQ images, disregarding the domain gap between LQ and HQ images. As a result, the encoding of LQ inputs may be insufficient, resulting in suboptimal performance. To tackle this problem, we propose a novel dual-branch framework named DAEFR. Our method introduces an auxiliary LQ branch that extracts crucial information from the LQ inputs. Additionally, we incorporate association training to promote effective synergy between the two branches, enhancing code prediction and output quality. We evaluate the effectiveness of DAEFR on both synthetic and real-world datasets, demonstrating its superior performance in restoring facial details. Project page: https://liagm.github.io/DAEFR/","url_abs":"https://arxiv.org/abs/2308.07314v2","url_pdf":"https://arxiv.org/pdf/2308.07314v2.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":"dual-associated-encoder-for-face-restoration","repo_url":"https://github.com/LIAGM/DAEFR","is_official":1,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"pytorch","reach":null}],"tasks":[{"task_slug":"blind-face-restoration","task_name":"Blind Face Restoration"}],"methods":[],"datasets_introduced":[],"methods_introduced":[],"results":[{"leaderboard":"/sota/blind-face-restoration-on-lfw","task":"Blind Face Restoration","dataset":"LFW","model":"DAEFR","rank_in_archive_order":2,"of":9,"metrics":{"FID":"47.532"},"uses_additional_data":false},{"leaderboard":"/sota/blind-face-restoration-on-wider","task":"Blind Face Restoration","dataset":"WIDER","model":"DAEFR","rank_in_archive_order":2,"of":9,"metrics":{"FID":"36.72"},"uses_additional_data":false}],"syntology":{"atlas_url":"https://app.syntology.ai/?focus=2308.07314","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2308.07314"}},"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":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/LIAGM/DAEFR","reach":null}],"summary":{"ran":1,"ran_draft_wrong":2,"unverified":2},"by_repo_kind":{"official":{"samples":5,"ran":3,"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":5,"samples":[{"code_sha256_prefix":"273c41298048e4fc","entry":"TransformerSALayer","repo":"LIAGM/DAEFR","repo_kind":"official","path":"DAEFR/models/daefr.py","file_url":"https://github.com/LIAGM/DAEFR/blob/HEAD/DAEFR/models/daefr.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":"273c41298048e4fc"}},{"code_sha256_prefix":"4e4f3bef7e8672e8","entry":"get_obj_from_str","repo":"LIAGM/DAEFR","repo_kind":"official","path":"main_DAEFR.py","file_url":"https://github.com/LIAGM/DAEFR/blob/HEAD/main_DAEFR.py","link_basis":"first_harvest_node","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"OUTPUT_MISDECLARED","metamorphic_tier":"deterministic","behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"4e4f3bef7e8672e8"}},{"code_sha256_prefix":"949145461ed16b1e","entry":"instantiate_from_config","repo":"LIAGM/DAEFR","repo_kind":"official","path":"main_DAEFR.py","file_url":"https://github.com/LIAGM/DAEFR/blob/HEAD/main_DAEFR.py","link_basis":"first_harvest_node","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":"949145461ed16b1e"}},{"code_sha256_prefix":"3faeba06643bce76","entry":"DAEFRModel","repo":"LIAGM/DAEFR","repo_kind":"official","path":"DAEFR/models/daefr.py","file_url":"https://github.com/LIAGM/DAEFR/blob/HEAD/DAEFR/models/daefr.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":"3faeba06643bce76"}},{"code_sha256_prefix":"1005f8eafda41876","entry":"MultiHeadAttnBlock","repo":"LIAGM/DAEFR","repo_kind":"official","path":"DAEFR/models/daefr.py","file_url":"https://github.com/LIAGM/DAEFR/blob/HEAD/DAEFR/models/daefr.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":"1005f8eafda41876"}}]},"arxiv_metadata":null,"syntology_extracted_results":null}