{"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-the-transition-from-neural-representation","title":"On the Transition from Neural Representation to Symbolic Knowledge","arxiv_id":"2308.02000","date":"2023-08-03","proceeding":null,"authors":["Junyan Cheng","Peter Chin"],"abstract":"Bridging the huge disparity between neural and symbolic representation can potentially enable the incorporation of symbolic thinking into neural networks from essence. Motivated by how human gradually builds complex symbolic representation from the prototype symbols that are learned through perception and environmental interactions. We propose a Neural-Symbolic Transitional Dictionary Learning (TDL) framework that employs an EM algorithm to learn a transitional representation of data that compresses high-dimension information of visual parts of an input into a set of tensors as neural variables and discover the implicit predicate structure in a self-supervised way. We implement the framework with a diffusion model by regarding the decomposition of input as a cooperative game, then learn predicates by prototype clustering. We additionally use RL enabled by the Markovian of diffusion models to further tune the learned prototypes by incorporating subjective factors. Extensive experiments on 3 abstract compositional visual objects datasets that require the model to segment parts without any visual features like texture, color, or shadows apart from shape and 3 neural/symbolic downstream tasks demonstrate the learned representation enables interpretable decomposition of visual input and smooth adaption to downstream tasks which are not available by existing methods.","url_abs":"https://arxiv.org/abs/2308.02000v1","url_pdf":"https://arxiv.org/pdf/2308.02000v1.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":[],"tasks":[{"task_slug":"dictionary-learning","task_name":"Dictionary Learning"}],"methods":[{"method_slug":"diffusion","method_name":"Diffusion"}],"datasets_introduced":[],"methods_introduced":[],"results":[],"syntology":{"syntology_url":"https://syntology.ai/paper/2308.02000","atlas_url":"https://app.syntology.ai/?focus=2308.02000","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2308.02000"}},"developers":"https://syntology.ai/developers","read_at":"2026-09-25T09:33:49+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/chengjunyan1/TDL","reach":null}],"summary":{"ran":2,"ran_fixture":4,"ran_draft_wrong":3,"unverified":2},"by_repo_kind":{"found_in_text":{"samples":11,"ran":9,"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":"15ec9f6c38b4cf37","entry":"FocalLossCE","repo":"chengjunyan1/TDL","repo_kind":"found_in_text","path":"TAE.py","file_url":"https://github.com/chengjunyan1/TDL/blob/HEAD/TAE.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":"deterministic","behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"15ec9f6c38b4cf37"}},{"code_sha256_prefix":"00bc02f409c5f854","entry":"SoftDiceLoss","repo":"chengjunyan1/TDL","repo_kind":"found_in_text","path":"TAE.py","file_url":"https://github.com/chengjunyan1/TDL/blob/HEAD/TAE.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"00bc02f409c5f854"}},{"code_sha256_prefix":"8f36bd7abb2340db","entry":"blur","repo":"chengjunyan1/TDL","repo_kind":"found_in_text","path":"TAE.py","file_url":"https://github.com/chengjunyan1/TDL/blob/HEAD/TAE.py","link_basis":"first_harvest_node","language":"python","status":"ran_fixture","verification_level":1,"contract_check":"RAISES","metamorphic_tier":"invariant","behaviour_fingerprint":true,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"8f36bd7abb2340db"}},{"code_sha256_prefix":"c1900ff852f0930d","entry":"focal_loss","repo":"chengjunyan1/TDL","repo_kind":"found_in_text","path":"TAE.py","file_url":"https://github.com/chengjunyan1/TDL/blob/HEAD/TAE.py","link_basis":"first_harvest_node","language":"python","status":"ran_fixture","verification_level":1,"contract_check":"RAISES","metamorphic_tier":"invariant","behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"c1900ff852f0930d"}},{"code_sha256_prefix":"78bdc72c574f3ed8","entry":"focal_loss_ce","repo":"chengjunyan1/TDL","repo_kind":"found_in_text","path":"TAE.py","file_url":"https://github.com/chengjunyan1/TDL/blob/HEAD/TAE.py","link_basis":"first_harvest_node","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"MISDECLARED","metamorphic_tier":"deterministic","behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"78bdc72c574f3ed8"}},{"code_sha256_prefix":"5b01b7eadd0b285c","entry":"get_params_exclude","repo":"chengjunyan1/TDL","repo_kind":"found_in_text","path":"TAE.py","file_url":"https://github.com/chengjunyan1/TDL/blob/HEAD/TAE.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":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"5b01b7eadd0b285c"}},{"code_sha256_prefix":"48798f803f4b61dc","entry":"masking","repo":"chengjunyan1/TDL","repo_kind":"found_in_text","path":"TAE.py","file_url":"https://github.com/chengjunyan1/TDL/blob/HEAD/TAE.py","link_basis":"first_harvest_node","language":"python","status":"ran_fixture","verification_level":1,"contract_check":"RAISES","metamorphic_tier":"invariant","behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"48798f803f4b61dc"}},{"code_sha256_prefix":"a559297709b92cd9","entry":"plot_mats","repo":"chengjunyan1/TDL","repo_kind":"found_in_text","path":"TAE.py","file_url":"https://github.com/chengjunyan1/TDL/blob/HEAD/TAE.py","link_basis":"first_harvest_node","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"MISDECLARED","metamorphic_tier":"well_formed","behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"a559297709b92cd9"}},{"code_sha256_prefix":"fdb4190d51f089d2","entry":"softjump","repo":"chengjunyan1/TDL","repo_kind":"found_in_text","path":"TAE.py","file_url":"https://github.com/chengjunyan1/TDL/blob/HEAD/TAE.py","link_basis":"first_harvest_node","language":"python","status":"ran_fixture","verification_level":1,"contract_check":"RAISES","metamorphic_tier":"invariant","behaviour_fingerprint":true,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"fdb4190d51f089d2"}},{"code_sha256_prefix":"b8d8e6f4bf5c427c","entry":"TAE","repo":"chengjunyan1/TDL","repo_kind":"found_in_text","path":"TAE.py","file_url":"https://github.com/chengjunyan1/TDL/blob/HEAD/TAE.py","link_basis":"first_harvest_node","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":"b8d8e6f4bf5c427c"}},{"code_sha256_prefix":"a06c7b5521593b94","entry":"spl_contour","repo":"chengjunyan1/TDL","repo_kind":"found_in_text","path":"TAE.py","file_url":"https://github.com/chengjunyan1/TDL/blob/HEAD/TAE.py","link_basis":"first_harvest_node","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":"a06c7b5521593b94"}}]},"arxiv_metadata":null,"syntology_extracted_results":null}