Gu, Hongyu Zhang, Guangzhan Wang, Beijun Shen
We lifted 8 functions out of this paper's own repositories and ran 0 of them in a sandbox. "Ran" means the function executed on a synthesized input and returned a value. It is not a reproduction of the paper's results.
| Repository | Role | Ran |
|---|---|---|
| 1024er/cbert_aug | canonical | 0 of 6 |
| W-GZ/LMTransplant | — | 0 of 2 |
| Function | Status | Where it lives |
|---|---|---|
| ChatGPT | Not yet run | W-GZ/LMTransplant/data_augmentation/ours_l_r.py pointer only (licence: NONE) · get_code("e85842b73b51c18e") |
| OurMethod | Not yet run | W-GZ/LMTransplant/data_augmentation/ours_l_r.py pointer only (licence: NONE) · get_code("0f4883d816ac9e9d") |
| count_words | Not yet run | 1024er/cbert_aug/utils.py pointer only (licence: NONE) · get_code("ee80d8c65de13c06") |
| make_vocab | Not yet run | 1024er/cbert_aug/text_classification/nlp_utils.py pointer only (licence: NONE) · get_code("0e1d61112927ad99") |
| normalize_text | Not yet run | 1024er/cbert_aug/text_classification/nlp_utils.py pointer only (licence: NONE) · get_code("be8f967431da41d7") |
| read_dbpedia | Not yet run | 1024er/cbert_aug/text_classification/text_datasets.py pointer only (licence: NONE) · get_code("93f881e350852527") |
| read_imdb | Not yet run | 1024er/cbert_aug/text_classification/text_datasets.py pointer only (licence: NONE) · get_code("1250ba3b756ec9fd") |
| split_text | Not yet run | 1024er/cbert_aug/text_classification/nlp_utils.py pointer only (licence: NONE) · get_code("644dffbb82a01ffc") |
Some links come from the archived Papers with Code dataset (CC BY-SA 4.0): attribution and licence.
Data augmentation is a critical technique in deep learning. Traditional methods like Backtranslation 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-thenregenerate: 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.
The same record, over MCP at https://syntology.ai/mcp:
get_harvested_code_for_paper("2508.14723")
get_code_for_paper("2508.14723")
have("2508.14723")
Connect an agent — have() is free.