Chengyu Dong, Jingbo Shang, Zihan Wang, Yi Gu, Letian Peng
We have not lifted any functions out of this paper's repositories yet, so there is nothing we have run. The repositories linked to it are listed below.
Some links come from the archived Papers with Code dataset (CC BY-SA 4.0): attribution and licence.
For extremely weak-supervised text classification, pioneer research generates pseudo labels by mining texts similar to the class names from the raw corpus, which may end up with very limited or even no samples for the minority classes. Recent works have started to generate the relevant texts by prompting LLMs using the class names or definitions; however, there is a high risk that LLMs cannot generate indistribution (i.e., similar to the corpus where the text classifier will be applied) data, leading to ungeneralizable classifiers. In this paper, we combine the advantages of these two approaches and propose to bridge the gap via a novel framework, text grafting, which aims to obtain clean and near-distribution weak supervision for minority classes. Specifically, we first use LLM-based logits to mine masked templates from the raw corpus, which have a high potential for data synthesis into the target minority class. Then, the templates are filled by state-of-the-art LLMs to synthesize neardistribution texts falling into minority classes. Text grafting shows significant improvement over direct mining or synthesis on minority classes. We also use analysis and case studies to comprehend the property of text grafting.
The same record, over MCP at https://syntology.ai/mcp:
get_harvested_code_for_paper("2406.11115")
get_code_for_paper("2406.11115")
have("2406.11115")
The run record, dated, one paper per request, free:
curl https://syntology.ai/api/ran/2406.11115.json
A badge for a README (the split and the date, never a ratio):
[](https://syntology.ai/paper/2406.11115)
Connect an agent — have() is free.