{"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-2508-14723","title":"Transplant Then Regenerate: A New Paradigm for Text Data Augmentation","arxiv_id":"2508.14723","date":"2025-08-20","proceeding":"EMNLP","authors":["Guangzhan Wang","Hongyu Zhang","Beijun Shen","Xiaodong Gu"],"abstract":"Data augmentation is a critical technique in deep learning. Traditional methods like Back-translation typically focus on lexical-level rephrasing, which primarily produces variations with the same semantics. While large language models (LLMs) have enhanced text augmentation by their \"knowledge emergence\" capability, controlling the style and structure of these outputs remains challenging and requires meticulous prompt engineering. In this paper, we propose LMTransplant, a novel text augmentation paradigm leveraging LLMs. The core idea of LMTransplant is transplant-then-regenerate: incorporating seed text into a context expanded by LLM, and asking the LLM to regenerate a variant based on the expanded context. This strategy allows the model to create more diverse and creative content-level variants by fully leveraging the knowledge embedded in LLMs, while preserving the core attributes of the original text. We evaluate LMTransplant across various text-related tasks, demonstrating its superior performance over existing text augmentation methods. Moreover, LMTransplant demonstrates exceptional scalability as the size of augmented data grows.","url_abs":"https://arxiv.org/abs/2508.14723","url_pdf":"https://arxiv.org/pdf/2508.14723","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":{"syntology_url":"https://syntology.ai/paper/2508.14723","atlas_url":"https://app.syntology.ai/?focus=2508.14723","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2508.14723"}},"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":[{"mentioned_in_github":null,"is_official":null,"provenance":"deterministic:regex_extraction","mentioned_in_paper":null,"url":"https://github.com/1024er/cbert_aug","reach":{"status":"ok"}},{"mentioned_in_github":null,"is_official":null,"provenance":"deterministic:regex_extraction","mentioned_in_paper":null,"url":"https://github.com/W-GZ/LMTransplant","reach":null}],"summary":{"unverified":8},"by_repo_kind":{"found_in_text":{"samples":8,"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":8,"samples":[{"code_sha256_prefix":"e85842b73b51c18e","entry":"ChatGPT","repo":"W-GZ/LMTransplant","repo_kind":"found_in_text","path":"data_augmentation/ours_l_r.py","file_url":"https://github.com/W-GZ/LMTransplant/blob/HEAD/data_augmentation/ours_l_r.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":"e85842b73b51c18e"}},{"code_sha256_prefix":"0f4883d816ac9e9d","entry":"OurMethod","repo":"W-GZ/LMTransplant","repo_kind":"found_in_text","path":"data_augmentation/ours_l_r.py","file_url":"https://github.com/W-GZ/LMTransplant/blob/HEAD/data_augmentation/ours_l_r.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":"0f4883d816ac9e9d"}},{"code_sha256_prefix":"ee80d8c65de13c06","entry":"count_words","repo":"1024er/cbert_aug","repo_kind":"found_in_text","path":"utils.py","file_url":"https://github.com/1024er/cbert_aug/blob/HEAD/utils.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":"ee80d8c65de13c06"}},{"code_sha256_prefix":"0e1d61112927ad99","entry":"make_vocab","repo":"1024er/cbert_aug","repo_kind":"found_in_text","path":"text_classification/nlp_utils.py","file_url":"https://github.com/1024er/cbert_aug/blob/HEAD/text_classification/nlp_utils.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":"0e1d61112927ad99"}},{"code_sha256_prefix":"be8f967431da41d7","entry":"normalize_text","repo":"1024er/cbert_aug","repo_kind":"found_in_text","path":"text_classification/nlp_utils.py","file_url":"https://github.com/1024er/cbert_aug/blob/HEAD/text_classification/nlp_utils.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":"be8f967431da41d7"}},{"code_sha256_prefix":"93f881e350852527","entry":"read_dbpedia","repo":"1024er/cbert_aug","repo_kind":"found_in_text","path":"text_classification/text_datasets.py","file_url":"https://github.com/1024er/cbert_aug/blob/HEAD/text_classification/text_datasets.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":"93f881e350852527"}},{"code_sha256_prefix":"1250ba3b756ec9fd","entry":"read_imdb","repo":"1024er/cbert_aug","repo_kind":"found_in_text","path":"text_classification/text_datasets.py","file_url":"https://github.com/1024er/cbert_aug/blob/HEAD/text_classification/text_datasets.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":"1250ba3b756ec9fd"}},{"code_sha256_prefix":"644dffbb82a01ffc","entry":"split_text","repo":"1024er/cbert_aug","repo_kind":"found_in_text","path":"text_classification/nlp_utils.py","file_url":"https://github.com/1024er/cbert_aug/blob/HEAD/text_classification/nlp_utils.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":"644dffbb82a01ffc"}}]},"arxiv_metadata":{"licence":"arXiv metadata, CC0 1.0 (https://info.arxiv.org/help/license)","fields":["title","abstract","authors","date"],"primary_category":"cs.CL","source":"arxiv_api"},"syntology_extracted_results":null}