{"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/tabular-data-generation-using-binary","title":"Tabular Data Generation using Binary Diffusion","arxiv_id":"2409.13882","date":"2024-09-20","proceeding":null,"authors":["Vitaliy Kinakh","Slava Voloshynovskiy"],"abstract":"Generating synthetic tabular data is critical in machine learning, especially when real data is limited or sensitive. Traditional generative models often face challenges due to the unique characteristics of tabular data, such as mixed data types and varied distributions, and require complex preprocessing or large pretrained models. In this paper, we introduce a novel, lossless binary transformation method that converts any tabular data into fixed-size binary representations, and a corresponding new generative model called Binary Diffusion, specifically designed for binary data. Binary Diffusion leverages the simplicity of XOR operations for noise addition and removal and employs binary cross-entropy loss for training. Our approach eliminates the need for extensive preprocessing, complex noise parameter tuning, and pretraining on large datasets. We evaluate our model on several popular tabular benchmark datasets, demonstrating that Binary Diffusion outperforms existing state-of-the-art models on Travel, Adult Income, and Diabetes datasets while being significantly smaller in size. Code and models are available at: https://github.com/vkinakh/binary-diffusion-tabular","url_abs":"https://arxiv.org/abs/2409.13882v2","url_pdf":"https://arxiv.org/pdf/2409.13882v2.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":"tabular-data-generation-using-binary","repo_url":"https://github.com/vkinakh/binary-diffusion-tabular","is_official":1,"mentioned_in_paper":1,"mentioned_in_github":1,"framework":"pytorch","reach":{"status":"ok","spdx":"MIT"}}],"tasks":[{"task_slug":"tabular-data-generation","task_name":"Tabular Data Generation"}],"methods":[{"method_slug":"diffusion","method_name":"Diffusion"},{"method_slug":null,"method_name":"Travel"}],"datasets_introduced":[],"methods_introduced":[],"results":[{"leaderboard":"/sota/tabular-data-generation-on-adult-census","task":"Tabular Data Generation","dataset":"Adult Census Income","model":"Binary Diffusion","rank_in_archive_order":1,"of":6,"metrics":{"DT Accuracy":"85.27","LR Accuracy":"85.45","Parameters(M)":"1.4","RF Accuracy":"85.74"},"uses_additional_data":false},{"leaderboard":"/sota/tabular-data-generation-on-california-housing","task":"Tabular Data Generation","dataset":"California Housing Prices","model":"Binary Diffusion","rank_in_archive_order":4,"of":6,"metrics":{"DT Mean Squared Error":"0.45","LR Mean Squared Error":"0.55","Parameters(M)":"1.5","RF Mean Squared Error":"0.39"},"uses_additional_data":false},{"leaderboard":"/sota/tabular-data-generation-on-diabetes","task":"Tabular Data Generation","dataset":"Diabetes","model":"Binary Diffusion","rank_in_archive_order":1,"of":6,"metrics":{"DT Accuracy":"0.5713","LR Accuracy":"0.5775","Parameters(M)":"1.8","RF Accuracy":"0.5752"},"uses_additional_data":false},{"leaderboard":"/sota/tabular-data-generation-on-heloc","task":"Tabular Data Generation","dataset":"HELOC","model":"Binary Diffusion","rank_in_archive_order":4,"of":6,"metrics":{"DT Accuracy":"70.25","LR Accuracy":"71.76","Parameters(M)":"2.6","RF Accuracy":"70.47"},"uses_additional_data":false},{"leaderboard":"/sota/tabular-data-generation-on-sick","task":"Tabular Data Generation","dataset":"SICK","model":"Binary Diffusion","rank_in_archive_order":2,"of":6,"metrics":{"DT Accuracy":"97.07","LR Accuracy":"96.14","Parameters(M)":"1.4","RF Accuracy":"96.59"},"uses_additional_data":false},{"leaderboard":"/sota/tabular-data-generation-on-travel","task":"Tabular Data Generation","dataset":"Travel","model":"Binary Diffusion","rank_in_archive_order":1,"of":6,"metrics":{"DT Accuracy":"88.9","LR Accuracy":"83.79","Parameters(M)":"1.1","RF Accuracy":"89.95"},"uses_additional_data":false}],"syntology":{"atlas_url":"https://app.syntology.ai/?focus=2409.13882","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2409.13882"}},"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/vkinakh/binary-diffusion-tabular","reach":{"status":"ok","spdx":"MIT"}}],"summary":{"ran":8,"ran_violates":2},"by_repo_kind":{"official":{"samples":10,"ran":10,"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":"8cd27828565dfc62","entry":"column_from_fixed_size_binary","repo":"vkinakh/binary-diffusion-tabular","repo_kind":"official","path":"binary_diffusion_tabular/transformation.py","file_url":"https://github.com/vkinakh/binary-diffusion-tabular/blob/HEAD/binary_diffusion_tabular/transformation.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"8cd27828565dfc62"}},{"code_sha256_prefix":"9af0d3c4c1f7323b","entry":"column_to_fixed_size_binary","repo":"vkinakh/binary-diffusion-tabular","repo_kind":"official","path":"binary_diffusion_tabular/transformation.py","file_url":"https://github.com/vkinakh/binary-diffusion-tabular/blob/HEAD/binary_diffusion_tabular/transformation.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"9af0d3c4c1f7323b"}},{"code_sha256_prefix":"d1ef6b8cb9a28a53","entry":"default","repo":"vkinakh/binary-diffusion-tabular","repo_kind":"official","path":"binary_diffusion_tabular/utils.py","file_url":"https://github.com/vkinakh/binary-diffusion-tabular/blob/HEAD/binary_diffusion_tabular/utils.py","link_basis":"harvester_set","language":"python","status":"ran_violates","verification_level":1,"contract_check":"VIOLATES","metamorphic_tier":"deterministic","behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"d1ef6b8cb9a28a53"}},{"code_sha256_prefix":"171d3c48ea23298b","entry":"drop_fill_na","repo":"vkinakh/binary-diffusion-tabular","repo_kind":"official","path":"binary_diffusion_tabular/dataset.py","file_url":"https://github.com/vkinakh/binary-diffusion-tabular/blob/HEAD/binary_diffusion_tabular/dataset.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"171d3c48ea23298b"}},{"code_sha256_prefix":"608e364a9d2376a3","entry":"exists","repo":"vkinakh/binary-diffusion-tabular","repo_kind":"official","path":"binary_diffusion_tabular/utils.py","file_url":"https://github.com/vkinakh/binary-diffusion-tabular/blob/HEAD/binary_diffusion_tabular/utils.py","link_basis":"harvester_set","language":"python","status":"ran_violates","verification_level":1,"contract_check":"VIOLATES","metamorphic_tier":"deterministic","behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"608e364a9d2376a3"}},{"code_sha256_prefix":"99583c3ee97fd649","entry":"flip_values","repo":"vkinakh/binary-diffusion-tabular","repo_kind":"official","path":"binary_diffusion_tabular/diffusion.py","file_url":"https://github.com/vkinakh/binary-diffusion-tabular/blob/HEAD/binary_diffusion_tabular/diffusion.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":"99583c3ee97fd649"}},{"code_sha256_prefix":"4424e6cabd7fef02","entry":"get_mask_torch","repo":"vkinakh/binary-diffusion-tabular","repo_kind":"official","path":"binary_diffusion_tabular/diffusion.py","file_url":"https://github.com/vkinakh/binary-diffusion-tabular/blob/HEAD/binary_diffusion_tabular/diffusion.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"4424e6cabd7fef02"}},{"code_sha256_prefix":"32c803ea4a2bd99c","entry":"make_beta_schedule","repo":"vkinakh/binary-diffusion-tabular","repo_kind":"official","path":"binary_diffusion_tabular/diffusion.py","file_url":"https://github.com/vkinakh/binary-diffusion-tabular/blob/HEAD/binary_diffusion_tabular/diffusion.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"32c803ea4a2bd99c"}},{"code_sha256_prefix":"2816a2c80b9823e5","entry":"pandas_row_to_tensor","repo":"vkinakh/binary-diffusion-tabular","repo_kind":"official","path":"binary_diffusion_tabular/transformation.py","file_url":"https://github.com/vkinakh/binary-diffusion-tabular/blob/HEAD/binary_diffusion_tabular/transformation.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"2816a2c80b9823e5"}},{"code_sha256_prefix":"edc3ca46e5e496fa","entry":"zero_out_randomly","repo":"vkinakh/binary-diffusion-tabular","repo_kind":"official","path":"binary_diffusion_tabular/utils.py","file_url":"https://github.com/vkinakh/binary-diffusion-tabular/blob/HEAD/binary_diffusion_tabular/utils.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":"edc3ca46e5e496fa"}}]},"arxiv_metadata":null,"syntology_extracted_results":null}