Papers › Learning to Augment for Data-Scarce Domain BERT Knowledge Distillation

Learning to Augment for Data-Scarce Domain BERT Knowledge Distillation

20 Jan 2021arXiv:2101.08106archive 2025-07-28

Lingyun Feng, Minghui Qiu, Yaliang Li, Hai-Tao Zheng, Ying Shen

Despite pre-trained language models such as BERT have achieved appealing performance in a wide range of natural language processing tasks, they are computationally expensive to be deployed in real-time applications. A typical method is to adopt knowledge distillation to compress these large pre-trained models (teacher models) to small student models. However, for a target domain with scarce training data, the teacher can hardly pass useful knowledge to the student, which yields performance degradation for the student models. To tackle this problem, we propose a method to learn to augment for data-scarce domain BERT knowledge distillation, by learning a cross-domain manipulation scheme that automatically augments the target with the help of resource-rich source domains. Specifically, the proposed method generates samples acquired from a stationary distribution near the target data and adopts a reinforced selector to automatically refine the augmentation strategy according to the performance of the student. Extensive experiments demonstrate that the proposed method significantly outperforms state-of-the-art baselines on four different tasks, and for the data-scarce domains, the compressed student models even perform better than the original large teacher model, with much fewer parameters (only ∼13.3%) when only a few labeled examples available.

PaperPDFCode Syntology ran

In Syntology View this paper on Syntology: its repositories, every harvested function with whether it ran, its licence and the call to fetch it.

Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.

For agents, Syntology's MCP tool lists every function and class Syntology harvested from this paper and whether it ran (how to connect): get_harvested_code_for_paper(arxiv_id="2101.08106")

Code

Syntology Ran 2 of 15 code samples harvested from 1 repository linked to this paper; 13 have no recorded run. Of those that ran: 2 ran with no contract checked.

By repository: found in paper text by Syntology: 15 samples from 1 repository, 2 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

huawei-noah/Pretrained-Language-Model found in paper text by Syntology report

Repository list and official/mentioned flags are the archive's, frozen 2025-07-28. Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

Code Syntology ran Syntology

15 samples harvested; 2 ran; 0 honoured the contract we drafted; 13 have no recorded run. Read from Syntology's graph 2026-09-25; that is when this build read the record, not when the samples ran.

2ran
13unverified

Licence: 15 of the 15 samples are pointer only, meaning Syntology does not serve that copy's text. This page shows no code text for any sample; each one links to its file in the repository.

Harvested from huawei-noah/Pretrained-Language-Model. “Ran” means the sample executed on a synthesized input. It does not mean the output is correct, and nothing here reproduces the paper's results. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself; “our draft was wrong” and “fixture could not drive it” are failures of Syntology's instrument, not of the code.

Each sample ends with its code_sha256, Syntology's identity for that exact code. An agent fetches the stored sample with Syntology's MCP tool get_code(code_sha256="…") (how to connect); click an identity to copy that call.

Repository labels, per sample. official repository: The archive marks this repository official for the paper. named in the paper: The archive records that the paper mentions this repository; it is not marked official. community (archive-listed): In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper. found in paper text by Syntology: 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. Samples from a repository marked official are listed first. Licence labels name the repository's licence as recorded at harvest. “Pointer only” means Syntology does not serve that copy's text, for one of four reasons: no licence file was found; the licence was not identified; the licence is recorded as permissive but that copy's record is not marked cleared; or the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar). Some licences outside that list permit redistribution, such as WTFPL, and GPL-3.0 under its conditions; they are simply not on the list. Hover a licence label for the reason. File links open the file on GitHub at the default branch, which may have changed since the harvest.

SuperBertIntermediate huawei-noah/Pretrained-Language-Model/AutoTinyBERT/transformer/modeling_super_kd.py found in paper text by Syntology ran fingerprinted no licence file found · pointer only · c1293a0be49a8674 · report
SuperBertPooler huawei-noah/Pretrained-Language-Model/AutoTinyBERT/transformer/modeling_super_kd.py found in paper text by Syntology ran fingerprinted no licence file found · pointer only · e6311f65af5f9840 · report
BertConfig huawei-noah/Pretrained-Language-Model/AutoTinyBERT/transformer/modeling_super_kd.py found in paper text by Syntology unverified no licence file found · pointer only · 92bb80eba426ec5f · report
BertPreTrainedModel huawei-noah/Pretrained-Language-Model/AutoTinyBERT/transformer/modeling_super_kd.py found in paper text by Syntology unverified no licence file found · pointer only · aa473329a2bdbd95 · report
SuperBertAttention huawei-noah/Pretrained-Language-Model/AutoTinyBERT/transformer/modeling_super_kd.py found in paper text by Syntology unverified no licence file found · pointer only · 334a8d97f2ffa8a3 · report
SuperBertEmbeddings huawei-noah/Pretrained-Language-Model/AutoTinyBERT/transformer/modeling_super_kd.py found in paper text by Syntology unverified no licence file found · pointer only · 1c3e57fe19c49c14 · report
SuperBertEncoder huawei-noah/Pretrained-Language-Model/AutoTinyBERT/transformer/modeling_super_kd.py found in paper text by Syntology unverified no licence file found · pointer only · 4cb493cd45952cc0 · report
SuperBertLayer huawei-noah/Pretrained-Language-Model/AutoTinyBERT/transformer/modeling_super_kd.py found in paper text by Syntology unverified no licence file found · pointer only · 977b5ff098ce7872 · report
SuperBertLayerNorm huawei-noah/Pretrained-Language-Model/AutoTinyBERT/transformer/modeling_super_kd.py found in paper text by Syntology unverified no licence file found · pointer only · e86b5457a91cc855 · report
SuperBertModel huawei-noah/Pretrained-Language-Model/AutoTinyBERT/transformer/modeling_super_kd.py found in paper text by Syntology unverified no licence file found · pointer only · cd3c1431cd8eacc2 · report
SuperBertOutput huawei-noah/Pretrained-Language-Model/AutoTinyBERT/transformer/modeling_super_kd.py found in paper text by Syntology unverified no licence file found · pointer only · f4e5fbf0df9c65ad · report
SuperBertSelfAttention huawei-noah/Pretrained-Language-Model/AutoTinyBERT/transformer/modeling_super_kd.py found in paper text by Syntology unverified no licence file found · pointer only · a98f9a3c4ea098b0 · report
SuperBertSelfOutput huawei-noah/Pretrained-Language-Model/AutoTinyBERT/transformer/modeling_super_kd.py found in paper text by Syntology unverified no licence file found · pointer only · 10cb79ce31e3d2ce · report
SuperEmbedding huawei-noah/Pretrained-Language-Model/AutoTinyBERT/transformer/modeling_super_kd.py found in paper text by Syntology unverified no licence file found · pointer only · 981046902300b03e · report
SuperLinear huawei-noah/Pretrained-Language-Model/AutoTinyBERT/transformer/modeling_super_kd.py found in paper text by Syntology unverified no licence file found · pointer only · 9c9f54b844986280 · report

Tasks

Knowledge Distillation

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

Methods

AdamAttentionAttention DropoutBERTDense ConnectionsDropoutKnowledge DistillationLayer NormalizationLinear LayerLinear Warmup With Linear DecayMulti-Head AttentionResidual ConnectionSoftmaxWeight DecayWordPiece

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections