{"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/arxiv-2604-16817","title":"Self-Reinforcing Controllable Synthesis of Rare Relational Data via Bayesian Calibration","arxiv_id":"2604.16817","date":"2026-04-18","proceeding":null,"authors":["Chongsheng Zhang","Hao Wang","Zelong Yu","Esteban Garces Arias","Julian Rodemann","Zhanshuo Zhang","Qilong Li","Gaojuan Fan","Krikamol Muandet","Christian Heumann"],"abstract":"Imbalanced data are commonly present in real-world applications. While data synthesis can effectively mitigate data scarcity for rare classes, and LLMs have revolutionized text generation, the application of LLMs to the synthesis of relational/structured tabular data remains underexplored. Moreover, existing approaches lack an effective feedback mechanism to guide LLMs in continuously optimizing the quality of the generated data throughout the synthesis process. In this work, we propose RDDG, Relational Data generator with Dynamic Guidance, which is a unified in-context learning framework that employs progressive chain-of-thought (CoT) steps to generate tabular data for enhancing downstream imbalanced classification performance. RDDG first uses core set selection to identify representative samples from the original data, then utilizes in-context learning to discover the inherent patterns and correlations among attributes within the core set, and subsequently generates tabular data while preserving the aforementioned constraints. More importantly, it incorporates a self-reinforcing feedback mechanism that provides automatic assessments of the quality of the generated data, enabling continuous quality optimization throughout the generation process. Experimental results on multiple real and synthetic datasets demonstrate that RDDG outperforms existing approaches in both data fidelity and downstream imbalanced classification performance. We make our code available at https://github.com/cszhangLMU/RDDG.","url_abs":"https://arxiv.org/abs/2604.16817","url_pdf":"https://arxiv.org/pdf/2604.16817","source":{"archive":null,"snapshot":"2025-07-28","note":"not in the Papers with Code archive (frozen at the snapshot)","row_kind":"graph","title_abstract_authors_date":"arXiv metadata, CC0 1.0 (https://info.arxiv.org/help/license)"},"code_links":[],"tasks":[],"methods":[],"datasets_introduced":[],"methods_introduced":[],"results":[],"syntology":{"atlas_url":"https://app.syntology.ai/?focus=2604.16817","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2604.16817"}},"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":[{"mentioned_in_github":null,"is_official":null,"provenance":"deterministic:regex_extraction","mentioned_in_paper":null,"url":"https://github.com/cszhangLMU/RDDG","reach":null}],"summary":{"unverified":7},"by_repo_kind":{"found_in_text":{"samples":7,"ran":0,"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":7,"samples":[{"code_sha256_prefix":"655093e6f5db1ac7","entry":"Truncated_normal","repo":"cszhangLMU/RDDG","repo_kind":"found_in_text","path":"codes/SyntheticDataGeneration/model.py","file_url":"https://github.com/cszhangLMU/RDDG/blob/HEAD/codes/SyntheticDataGeneration/model.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":"655093e6f5db1ac7"}},{"code_sha256_prefix":"87dc8dde50fc3c57","entry":"categorical_variable_encode","repo":"cszhangLMU/RDDG","repo_kind":"found_in_text","path":"codes/DownstreamTasks/Classification.py","file_url":"https://github.com/cszhangLMU/RDDG/blob/HEAD/codes/DownstreamTasks/Classification.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":"87dc8dde50fc3c57"}},{"code_sha256_prefix":"68f69771599f0c9a","entry":"categorical_variable_encode","repo":"cszhangLMU/RDDG","repo_kind":"found_in_text","path":"codes/DownstreamTasks/Classification_Thyroid.py","file_url":"https://github.com/cszhangLMU/RDDG/blob/HEAD/codes/DownstreamTasks/Classification_Thyroid.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":"68f69771599f0c9a"}},{"code_sha256_prefix":"1d1cd146833dc89e","entry":"compute_eva_score","repo":"cszhangLMU/RDDG","repo_kind":"found_in_text","path":"codes/SyntheticDataGeneration/util.py","file_url":"https://github.com/cszhangLMU/RDDG/blob/HEAD/codes/SyntheticDataGeneration/util.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":"1d1cd146833dc89e"}},{"code_sha256_prefix":"fda6d5f9c78a2494","entry":"filtering_categorical","repo":"cszhangLMU/RDDG","repo_kind":"found_in_text","path":"codes/SyntheticDataGeneration/util.py","file_url":"https://github.com/cszhangLMU/RDDG/blob/HEAD/codes/SyntheticDataGeneration/util.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":"fda6d5f9c78a2494"}},{"code_sha256_prefix":"b8aa2e0dd00d360a","entry":"fix_and_clean","repo":"cszhangLMU/RDDG","repo_kind":"found_in_text","path":"codes/SyntheticDataGeneration/otherLLMs/llama/generate_samples_Sick_llama.py","file_url":"https://github.com/cszhangLMU/RDDG/blob/HEAD/codes/SyntheticDataGeneration/otherLLMs/llama/generate_samples_Sick_llama.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":"b8aa2e0dd00d360a"}},{"code_sha256_prefix":"4d770064ecd0faa3","entry":"get_prompt_conclass","repo":"cszhangLMU/RDDG","repo_kind":"found_in_text","path":"codes/SyntheticDataGeneration/util.py","file_url":"https://github.com/cszhangLMU/RDDG/blob/HEAD/codes/SyntheticDataGeneration/util.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":"4d770064ecd0faa3"}}]},"arxiv_metadata":{"licence":"arXiv metadata, CC0 1.0 (https://info.arxiv.org/help/license)","fields":["title","abstract","authors","date"],"primary_category":"cs.LG","source":"arxiv_2026.jsonl"},"syntology_extracted_results":null}