{"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/deciphering-oracle-bone-language-with","title":"Deciphering Oracle Bone Language with Diffusion Models","arxiv_id":"2406.00684","date":"2024-06-02","proceeding":null,"authors":["Haisu Guan","Huanxin Yang","Xinyu Wang","Shengwei Han","Yongge Liu","Lianwen Jin","Xiang Bai","Yuliang Liu"],"abstract":"Originating from China's Shang Dynasty approximately 3,000 years ago, the Oracle Bone Script (OBS) is a cornerstone in the annals of linguistic history, predating many established writing systems. Despite the discovery of thousands of inscriptions, a vast expanse of OBS remains undeciphered, casting a veil of mystery over this ancient language. The emergence of modern AI technologies presents a novel frontier for OBS decipherment, challenging traditional NLP methods that rely heavily on large textual corpora, a luxury not afforded by historical languages. This paper introduces a novel approach by adopting image generation techniques, specifically through the development of Oracle Bone Script Decipher (OBSD). Utilizing a conditional diffusion-based strategy, OBSD generates vital clues for decipherment, charting a new course for AI-assisted analysis of ancient languages. To validate its efficacy, extensive experiments were conducted on an oracle bone script dataset, with quantitative results demonstrating the effectiveness of OBSD. Code and decipherment results will be made available at https://github.com/guanhaisu/OBSD.","url_abs":"https://arxiv.org/abs/2406.00684v3","url_pdf":"https://arxiv.org/pdf/2406.00684v3.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":"deciphering-oracle-bone-language-with","repo_url":"https://github.com/guanhaisu/obsd","is_official":1,"mentioned_in_paper":1,"mentioned_in_github":1,"framework":"pytorch","reach":{"status":"ok"}}],"tasks":[{"task_slug":"decipherment","task_name":"Decipherment"},{"task_slug":"image-generation","task_name":"Image Generation"}],"methods":[],"datasets_introduced":[],"methods_introduced":[],"results":[],"syntology":{"atlas_url":"https://app.syntology.ai/?focus=2406.00684","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2406.00684"}},"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":"deterministic:regex_extraction","url":"https://github.com/PaddlePaddle/PaddleOCR","reach":{"status":"ok","spdx":"Apache-2.0"}},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/guanhaisu/obsd","reach":{"status":"ok"}},{"provenance":"deterministic:regex_extraction","url":"https://github.com/guanhaisu/OBSD","reach":{"status":"ok"}}],"summary":{"ran_draft_wrong":3,"ran":4,"unverified":5},"by_repo_kind":{"official":{"samples":12,"ran":7,"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":12,"samples":[{"code_sha256_prefix":"c3a6b977022957cb","entry":"Normalize","repo":"guanhaisu/OBSD","repo_kind":"official","path":"OBS_Diffusion/models/unet.py","file_url":"https://github.com/guanhaisu/OBSD/blob/HEAD/OBS_Diffusion/models/unet.py","link_basis":"harvester_set","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":"c3a6b977022957cb"}},{"code_sha256_prefix":"1711055882a8cb05","entry":"data_transform","repo":"guanhaisu/OBSD","repo_kind":"official","path":"OBS_Diffusion/models/ddm.py","file_url":"https://github.com/guanhaisu/OBSD/blob/HEAD/OBS_Diffusion/models/ddm.py","link_basis":"harvester_set","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"1711055882a8cb05"}},{"code_sha256_prefix":"bd1f17e427bf51a5","entry":"dict2namespace","repo":"guanhaisu/OBSD","repo_kind":"official","path":"OBS_Diffusion/eval_diffusion.py","file_url":"https://github.com/guanhaisu/OBSD/blob/HEAD/OBS_Diffusion/eval_diffusion.py","link_basis":"harvester_set","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":"bd1f17e427bf51a5"}},{"code_sha256_prefix":"ff5184c0617d7735","entry":"get_timestep_embedding","repo":"guanhaisu/OBSD","repo_kind":"official","path":"OBS_Diffusion/models/unet.py","file_url":"https://github.com/guanhaisu/OBSD/blob/HEAD/OBS_Diffusion/models/unet.py","link_basis":"plan_row","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"ff5184c0617d7735"}},{"code_sha256_prefix":"c54f43f50bfcac38","entry":"image_process","repo":"guanhaisu/OBSD","repo_kind":"official","path":"OBS_Diffusion/FontDiffuser/sample.py","file_url":"https://github.com/guanhaisu/OBSD/blob/HEAD/OBS_Diffusion/FontDiffuser/sample.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":"c54f43f50bfcac38"}},{"code_sha256_prefix":"444601dceca73c5e","entry":"inverse_data_transform","repo":"guanhaisu/OBSD","repo_kind":"official","path":"OBS_Diffusion/models/ddm.py","file_url":"https://github.com/guanhaisu/OBSD/blob/HEAD/OBS_Diffusion/models/ddm.py","link_basis":"harvester_set","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"444601dceca73c5e"}},{"code_sha256_prefix":"3137073275f8c21a","entry":"nonlinearity","repo":"guanhaisu/OBSD","repo_kind":"official","path":"OBS_Diffusion/models/unet.py","file_url":"https://github.com/guanhaisu/OBSD/blob/HEAD/OBS_Diffusion/models/unet.py","link_basis":"harvester_set","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":"3137073275f8c21a"}},{"code_sha256_prefix":"9c62895be79ccf74","entry":"build_content_encoder","repo":"guanhaisu/OBSD","repo_kind":"official","path":"OBS_Diffusion/FontDiffuser/src/build.py","file_url":"https://github.com/guanhaisu/OBSD/blob/HEAD/OBS_Diffusion/FontDiffuser/src/build.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":"9c62895be79ccf74"}},{"code_sha256_prefix":"a7fefcb4f8bc9ab2","entry":"build_style_encoder","repo":"guanhaisu/OBSD","repo_kind":"official","path":"OBS_Diffusion/FontDiffuser/src/build.py","file_url":"https://github.com/guanhaisu/OBSD/blob/HEAD/OBS_Diffusion/FontDiffuser/src/build.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":"a7fefcb4f8bc9ab2"}},{"code_sha256_prefix":"fbb52862a6bd7196","entry":"build_unet","repo":"guanhaisu/OBSD","repo_kind":"official","path":"OBS_Diffusion/FontDiffuser/src/build.py","file_url":"https://github.com/guanhaisu/OBSD/blob/HEAD/OBS_Diffusion/FontDiffuser/src/build.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":"fbb52862a6bd7196"}},{"code_sha256_prefix":"1de5058c81be553a","entry":"load_fontdiffuer_pipeline","repo":"guanhaisu/OBSD","repo_kind":"official","path":"OBS_Diffusion/FontDiffuser/sample.py","file_url":"https://github.com/guanhaisu/OBSD/blob/HEAD/OBS_Diffusion/FontDiffuser/sample.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":"1de5058c81be553a"}},{"code_sha256_prefix":"47a12f5b18ca5397","entry":"sampling","repo":"guanhaisu/OBSD","repo_kind":"official","path":"OBS_Diffusion/FontDiffuser/sample.py","file_url":"https://github.com/guanhaisu/OBSD/blob/HEAD/OBS_Diffusion/FontDiffuser/sample.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":"47a12f5b18ca5397"}}]},"arxiv_metadata":null,"syntology_extracted_results":null}