{"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/combining-markov-random-fields-and","title":"Combining Markov Random Fields and Convolutional Neural Networks for Image Synthesis","arxiv_id":"1601.04589","date":"2016-01-18","proceeding":"CVPR 2016 6","authors":["Chuan Li","Michael Wand"],"abstract":"This paper studies a combination of generative Markov random field (MRF)\nmodels and discriminatively trained deep convolutional neural networks (dCNNs)\nfor synthesizing 2D images. The generative MRF acts on higher-levels of a dCNN\nfeature pyramid, controling the image layout at an abstract level. We apply the\nmethod to both photographic and non-photo-realistic (artwork) synthesis tasks.\nThe MRF regularizer prevents over-excitation artifacts and reduces implausible\nfeature mixtures common to previous dCNN inversion approaches, permitting\nsynthezing photographic content with increased visual plausibility. Unlike\nstandard MRF-based texture synthesis, the combined system can both match and\nadapt local features with considerable variability, yielding results far out of\nreach of classic generative MRF methods.","url_abs":"http://arxiv.org/abs/1601.04589v1","url_pdf":"http://arxiv.org/pdf/1601.04589v1.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":"combining-markov-random-fields-and","repo_url":"https://github.com/chuanli11/CNNMRF","is_official":1,"mentioned_in_paper":1,"mentioned_in_github":1,"framework":"torch","reach":{"status":"ok","spdx":"MIT"}},{"paper_slug":"combining-markov-random-fields-and","repo_url":"https://github.com/DmitryUlyanov/fast-neural-doodle","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"torch","reach":{"status":"ok","spdx":"MIT"}},{"paper_slug":"combining-markov-random-fields-and","repo_url":"https://github.com/Garfield35/Doodle","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"tf","reach":{"status":"ok"}},{"paper_slug":"combining-markov-random-fields-and","repo_url":"https://github.com/alexjc/neural-doodle","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"none","reach":{"status":"ok","spdx":"AGPL-3.0"}},{"paper_slug":"combining-markov-random-fields-and","repo_url":"https://github.com/awentzonline/image-analogies","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"tf","reach":{"status":"ok","spdx":"MIT"}},{"paper_slug":"combining-markov-random-fields-and","repo_url":"https://github.com/factoryIO/1-simple_neural_style_transfer","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"tf","reach":{"status":"ok"}},{"paper_slug":"combining-markov-random-fields-and","repo_url":"https://github.com/paulwarkentin/pytorch-neural-doodle","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"pytorch","reach":{"status":"ok","spdx":"MIT"}}],"tasks":[{"task_slug":"image-generation","task_name":"Image Generation"},{"task_slug":"texture-synthesis","task_name":"Texture Synthesis"}],"methods":[{"method_slug":"dcnn","method_name":"DCNN"}],"datasets_introduced":[],"methods_introduced":[],"results":[],"syntology":{"atlas_url":"https://app.syntology.ai/?focus=1601.04589","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"1601.04589"}},"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/paulwarkentin/pytorch-neural-doodle","reach":{"status":"ok","spdx":"MIT"}},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/chuanli11/CNNMRF","reach":{"status":"ok","spdx":"MIT"}},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/Garfield35/Doodle","reach":{"status":"ok"}},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/DmitryUlyanov/fast-neural-doodle","reach":{"status":"ok","spdx":"MIT"}},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/awentzonline/image-analogies","reach":{"status":"ok","spdx":"MIT"}},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/factoryIO/1-simple_neural_style_transfer","reach":{"status":"ok"}},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/alexjc/neural-doodle","reach":{"status":"ok","spdx":"AGPL-3.0"}}],"summary":{"unverified":18},"by_repo_kind":{"listed":{"samples":18,"ran":0,"repositories":2}},"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":"27c89f24cb4c2f8f","entry":"analogy_loss","repo":"awentzonline/image-analogies","repo_kind":"listed","path":"image_analogy/losses/analogy.py","file_url":"https://github.com/awentzonline/image-analogies/blob/HEAD/image_analogy/losses/analogy.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"27c89f24cb4c2f8f"}},{"code_sha256_prefix":"95fe0ccd141f9a4d","entry":"boolean_type","repo":"paulwarkentin/pytorch-neural-doodle","repo_kind":"listed","path":"src/utils/arguments.py","file_url":"https://github.com/paulwarkentin/pytorch-neural-doodle/blob/HEAD/src/utils/arguments.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"95fe0ccd141f9a4d"}},{"code_sha256_prefix":"3cc96f63d8a23bc8","entry":"combine_patches","repo":"awentzonline/image-analogies","repo_kind":"listed","path":"image_analogy/losses/patches.py","file_url":"https://github.com/awentzonline/image-analogies/blob/HEAD/image_analogy/losses/patches.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"3cc96f63d8a23bc8"}},{"code_sha256_prefix":"1cf53d19cc9bc2ce","entry":"combine_patches_grid","repo":"awentzonline/image-analogies","repo_kind":"listed","path":"image_analogy/losses/patch_matcher.py","file_url":"https://github.com/awentzonline/image-analogies/blob/HEAD/image_analogy/losses/patch_matcher.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"1cf53d19cc9bc2ce"}},{"code_sha256_prefix":"490851df054a1d04","entry":"congrid","repo":"awentzonline/image-analogies","repo_kind":"listed","path":"image_analogy/losses/patch_matcher.py","file_url":"https://github.com/awentzonline/image-analogies/blob/HEAD/image_analogy/losses/patch_matcher.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"490851df054a1d04"}},{"code_sha256_prefix":"738e56c6591b3703","entry":"content_loss","repo":"awentzonline/image-analogies","repo_kind":"listed","path":"image_analogy/losses/core.py","file_url":"https://github.com/awentzonline/image-analogies/blob/HEAD/image_analogy/losses/core.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"738e56c6591b3703"}},{"code_sha256_prefix":"a493be01e216c20b","entry":"exclusive_positive_int_type","repo":"paulwarkentin/pytorch-neural-doodle","repo_kind":"listed","path":"src/utils/arguments.py","file_url":"https://github.com/paulwarkentin/pytorch-neural-doodle/blob/HEAD/src/utils/arguments.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"a493be01e216c20b"}},{"code_sha256_prefix":"e6b8078b45819b6b","entry":"find_analogy_patches","repo":"awentzonline/image-analogies","repo_kind":"listed","path":"image_analogy/losses/analogy.py","file_url":"https://github.com/awentzonline/image-analogies/blob/HEAD/image_analogy/losses/analogy.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"e6b8078b45819b6b"}},{"code_sha256_prefix":"ae51fe953e9fee1f","entry":"gram_matrix","repo":"awentzonline/image-analogies","repo_kind":"listed","path":"image_analogy/losses/neural_style.py","file_url":"https://github.com/awentzonline/image-analogies/blob/HEAD/image_analogy/losses/neural_style.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"ae51fe953e9fee1f"}},{"code_sha256_prefix":"4273734e25e0e4ff","entry":"make_patch_grid","repo":"awentzonline/image-analogies","repo_kind":"listed","path":"image_analogy/losses/patch_matcher.py","file_url":"https://github.com/awentzonline/image-analogies/blob/HEAD/image_analogy/losses/patch_matcher.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"4273734e25e0e4ff"}},{"code_sha256_prefix":"1887aaf7a4b28217","entry":"make_patches","repo":"awentzonline/image-analogies","repo_kind":"listed","path":"image_analogy/losses/patches.py","file_url":"https://github.com/awentzonline/image-analogies/blob/HEAD/image_analogy/losses/patches.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"1887aaf7a4b28217"}},{"code_sha256_prefix":"0d0c6274e1a3b4aa","entry":"make_patches_grid","repo":"awentzonline/image-analogies","repo_kind":"listed","path":"image_analogy/losses/mrf.py","file_url":"https://github.com/awentzonline/image-analogies/blob/HEAD/image_analogy/losses/mrf.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"0d0c6274e1a3b4aa"}},{"code_sha256_prefix":"9a2091da24ac4611","entry":"mrf_loss","repo":"awentzonline/image-analogies","repo_kind":"listed","path":"image_analogy/losses/mrf.py","file_url":"https://github.com/awentzonline/image-analogies/blob/HEAD/image_analogy/losses/mrf.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"9a2091da24ac4611"}},{"code_sha256_prefix":"14043153cfcedf04","entry":"neural_style_loss","repo":"awentzonline/image-analogies","repo_kind":"listed","path":"image_analogy/losses/neural_style.py","file_url":"https://github.com/awentzonline/image-analogies/blob/HEAD/image_analogy/losses/neural_style.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"14043153cfcedf04"}},{"code_sha256_prefix":"c7da3b42c5e38c36","entry":"nnf_analogy_loss","repo":"awentzonline/image-analogies","repo_kind":"listed","path":"image_analogy/losses/nnf.py","file_url":"https://github.com/awentzonline/image-analogies/blob/HEAD/image_analogy/losses/nnf.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"c7da3b42c5e38c36"}},{"code_sha256_prefix":"52436113b72defd5","entry":"positive_int_type","repo":"paulwarkentin/pytorch-neural-doodle","repo_kind":"listed","path":"src/utils/arguments.py","file_url":"https://github.com/paulwarkentin/pytorch-neural-doodle/blob/HEAD/src/utils/arguments.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"52436113b72defd5"}},{"code_sha256_prefix":"85e08c4bc4bb8c88","entry":"reconstruct_from_patches_2d","repo":"awentzonline/image-analogies","repo_kind":"listed","path":"image_analogy/losses/patches.py","file_url":"https://github.com/awentzonline/image-analogies/blob/HEAD/image_analogy/losses/patches.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"85e08c4bc4bb8c88"}},{"code_sha256_prefix":"b2cde6a85dd994ae","entry":"total_variation_loss","repo":"awentzonline/image-analogies","repo_kind":"listed","path":"image_analogy/losses/core.py","file_url":"https://github.com/awentzonline/image-analogies/blob/HEAD/image_analogy/losses/core.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"b2cde6a85dd994ae"}}]},"arxiv_metadata":null,"syntology_extracted_results":null}