{"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/on-learning-3d-face-morphable-model-from-in","title":"On Learning 3D Face Morphable Model from In-the-wild Images","arxiv_id":"1808.09560","date":"2018-08-28","proceeding":null,"authors":["Luan Tran","Xiaoming Liu"],"abstract":"As a classic statistical model of 3D facial shape and albedo, 3D Morphable Model (3DMM) is widely used in facial analysis, e.g., model fitting, image synthesis. Conventional 3DMM is learned from a set of 3D face scans with associated well-controlled 2D face images, and represented by two sets of PCA basis functions. Due to the type and amount of training data, as well as, the linear bases, the representation power of 3DMM can be limited. To address these problems, this paper proposes an innovative framework to learn a nonlinear 3DMM model from a large set of in-the-wild face images, without collecting 3D face scans. Specifically, given a face image as input, a network encoder estimates the projection, lighting, shape and albedo parameters. Two decoders serve as the nonlinear 3DMM to map from the shape and albedo parameters to the 3D shape and albedo, respectively. With the projection parameter, lighting, 3D shape, and albedo, a novel analytically-differentiable rendering layer is designed to reconstruct the original input face. The entire network is end-to-end trainable with only weak supervision. We demonstrate the superior representation power of our nonlinear 3DMM over its linear counterpart, and its contribution to face alignment, 3D reconstruction, and face editing.","url_abs":"https://arxiv.org/abs/1808.09560v2","url_pdf":"https://arxiv.org/pdf/1808.09560v2.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":"on-learning-3d-face-morphable-model-from-in","repo_url":"https://github.com/tranluan/Nonlinear_Face_3DMM","is_official":1,"mentioned_in_paper":1,"mentioned_in_github":0,"framework":"tf","reach":{"status":"ok","spdx":"Apache-2.0"}}],"tasks":[{"task_slug":"3d-reconstruction","task_name":"3D Reconstruction"},{"task_slug":"face-alignment","task_name":"Face Alignment"},{"task_slug":"image-generation","task_name":"Image Generation"}],"methods":[{"method_slug":"pca","method_name":"PCA"}],"datasets_introduced":[],"methods_introduced":[],"results":[],"syntology":{"atlas_url":"https://app.syntology.ai/?focus=1808.09560","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"1808.09560"}},"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/tranluan/Nonlinear_Face_3DMM","reach":{"status":"ok","spdx":"Apache-2.0"}}],"summary":{"ran_violates":1,"unverified":3},"by_repo_kind":{"official":{"samples":4,"ran":1,"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":0,"samples":[{"code_sha256_prefix":"8605dc8a088f3db8","entry":"str2bool","repo":"tranluan/Nonlinear_Face_3DMM","repo_kind":"official","path":"model_non_linear_3DMM_proxy.py","file_url":"https://github.com/tranluan/Nonlinear_Face_3DMM/blob/HEAD/model_non_linear_3DMM_proxy.py","link_basis":"harvester_set","language":"python","status":"ran_violates","verification_level":1,"contract_check":"VIOLATES","metamorphic_tier":"deterministic","behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"8605dc8a088f3db8"}},{"code_sha256_prefix":"cd4e6d34bb9ba789","entry":"binary_cross_entropy","repo":"tranluan/Nonlinear_Face_3DMM","repo_kind":"official","path":"ops.py","file_url":"https://github.com/tranluan/Nonlinear_Face_3DMM/blob/HEAD/ops.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"cd4e6d34bb9ba789"}},{"code_sha256_prefix":"0bac2024ebaad067","entry":"get_shape","repo":"tranluan/Nonlinear_Face_3DMM","repo_kind":"official","path":"ops.py","file_url":"https://github.com/tranluan/Nonlinear_Face_3DMM/blob/HEAD/ops.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"0bac2024ebaad067"}},{"code_sha256_prefix":"2271c6887dde01a3","entry":"make_parallel","repo":"tranluan/Nonlinear_Face_3DMM","repo_kind":"official","path":"ops.py","file_url":"https://github.com/tranluan/Nonlinear_Face_3DMM/blob/HEAD/ops.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"2271c6887dde01a3"}}]},"arxiv_metadata":null,"syntology_extracted_results":null}