When a named-entity tagger trained on news is moved to a new domain such as music, politics, or science writing, its accuracy drops sharply. A tempting fix is to borrow from robotics and driving, where people train on unlimited simulated data, and ask a large language model to write millions of labeled target-style sentences. We think that fix is aimed at the wrong quantity. In summarization, adaptation gain tracks how much of the target domain's vocabulary already appears in the training data, and has almost no relation to how many words the training set contains (Word Matters). Sim-to-real work reaches a parallel conclusion. Millions of game-engine frames (Driving in the Matrix) or simulated particle collisions (Jet substructure classification) do not close the gap when the simulator lacks what the real world contains, or when it adds artifacts the network learns to exploit instead.
The proposal treats an LLM text generator as a simulator and asks what makes its output transfer. We claim that the useful signal is a measurable coverage deficit: the target-domain words, and the pairings of entity types with context words, that the source data and the synthetic data so far do not contain. If generation is steered to fill that deficit, a small synthetic set should beat a much larger unsteered one. The downstream gain should also be predictable from the coverage it adds rather than from its token count. Put briefly, measure which target vocabulary your training data is missing, generate labeled sentences that use exactly that vocabulary, and expect gains to follow coverage, not volume.
Core Claim
Our claim has three parts, and each can be falsified. The first concerns the NER gain from LLM-generated data. On cross-domain NER, this gain is approximately linear in the increase in entity-context coverage that the data adds, and roughly flat in synthetic volume once coverage saturates. This would be the NER analogue of the relation Word Matters found for real summarization data, now applied to synthetic data.
The second part is a design consequence of the first. Generation steered by the measured deficit beats unsteered, domain-prompted generation at equal volume, and it should also beat unsteered generation at ten times the volume.
The third part is that the benefit is concentrated where a frozen-label-space model fails worst. That includes the fine-grained sibling classes behind what the CrossNER authors call the subcategory trap: in the music domain, 84.81% of person entities were labeled "artist" by their best model (CrossNER).
Coverage is defined with one quantity. Let $T$ be the set of (entity type, context word) pairs observed in a small target sample, where a context word is any word within a fixed window of an entity mention. Let $D$ be the current training set, source plus synthetic. Then
$$\gamma_E(D) = \frac{|T \cap \mathrm{pairs}(D)|}{|T|},$$
where $\mathrm{pairs}(D)$ is the set of such pairs appearing in $D$. The plain word-level version, the fraction of unique target words appearing in $D$, is the overlap $\gamma$ of Word Matters. We track both measures and test which one predicts gain better. We use the pair version because an entity tagger needs to see "Grammy" near an artist name, and seeing "Grammy" somewhere is not enough.
Relation to Prior Work
Two existing papers synthesize target-like training text for cross-domain NER.
The first is Data Centric Domain Adaptation for Historical Text with OCR Errors. It renders clean modern text into images, corrupts the images, and runs optical character recognition to inject realistic transcription errors. That paper motivates ours and also constrains it. In its results, unsupervised historical embeddings mattered more than the synthetic noise, which suggests that the lexical and semantic part of the gap, not the surface noise, is the main problem. We therefore steer generation toward vocabulary and leave surface corruption aside.
The second is the cross-domain autoencoder of Data Augmentation for Cross-Domain NER, which translates whole source sentences into target style. It reports a "dissimilarity paradox": large gains for distant domain pairs and negligible or negative gains for similar ones. Our account offers an explanation that we can test. Whole-sentence style transfer adds coverage mostly when the domains share little vocabulary, so near domains, where the deficit is small and specific, need targeted filling instead.
Near-domain fragility is real. Biomedical NER drops by up to 19% F1 between subfields that use identical annotation guidelines (near domain transfer), and context words shift in which entities they indicate (latent semantic association). Both observations motivate defining coverage over entity-context pairs.
The adversarial-masking line, ASM for LiDAR and AMSF for text style, learns to corrupt or mask inputs so that a domain discriminator loses its shortcut. That is the obvious method to port here, and AMSF has already partly ported the mechanism to discrete text. We take ASM's diagnostic rather than its architecture. A synthetic-versus-real discriminator should reveal artifacts of the generator, so we use its accuracy as a secondary predictor of transfer and compare it against coverage.
Research Program
The pipeline runs in a loop. We first take a small target sample: the labeled CrossNER training split for a domain, roughly 100–200 sentences, plus a controlled budget of unlabeled target sentences. From it we extract $T$ and compute the deficit $T \setminus \mathrm{pairs}(D)$.
We then prompt an instruction-tuned open LLM of the Llama-2-7B class used in Word Matters. Each prompt gives the target label definitions, a few real target examples, and a batch of uncovered pairs. The model writes sentences that use the given context words around entities of the given type, and it emits inline tags in the linearized format of the cross-domain autoencoder. Each pair is assigned a weight proportional to its frequency in the target sample, and generation samples pairs by that weight. This keeps common gaps from being crowded out by rare ones.
We run two filters on the output. A consistency check discards a generated sentence if a source-trained tagger disagrees with its tags on any entity type the source label set covers. A second check discards sentences that cover no new pair. We then recompute coverage and repeat until the deficit stops shrinking or the generation budget runs out.
For confused sibling classes, identified from the confusion matrix on the target development split (artist versus person, for example), the deficit is restricted to context words that distinguish the two classes in real target data. This targets the subcategory trap directly.
The analysis side fits per-domain gain against the added $\gamma_E$, the added $\gamma$, synthetic token count, and discriminator accuracy, all across one pool of generated sets. The core claim survives only if $\gamma_E$ explains gain substantially better than token count does.
Baselines
The do-nothing reference is the source-trained tagger fine-tuned only on the 100–200 labeled target sentences, following the CrossNER setup (CrossNER). Every method must beat this floor to matter. The file reports CrossNER only as relative gains, so no reported absolute result was found on Lacuna for the CrossNER fine-tuning baseline, and we will measure it ourselves.
The first strong competitor is span-masking domain-adaptive pre-training (continued language-model training on unlabeled target text) from CrossNER. The paper reports an average gain of 2.16% F1 across the five domains. We run it with the same unlabeled target budget given to our method, so both methods see identical raw target text. Beating it means a larger average gain, plus a measurable reduction in the 84.81% person-to-artist confusion that this baseline leaves in place.
The second strong competitor is CP-NER, which trains small prefix vectors on a frozen T5 model and combines them across source domains. The file reports a 6–8% F1 gain over LANER on Science but no absolute F1. Because our method only produces data, we also run CP-NER trained on our steered synthetic set. The question there is whether steered data adds to the best parameter-efficient method or merely matches it. For the Newswire-to-social-media setting, the strongest reported number is the cross-domain autoencoder's 77.59% F1, up from 65.25% (Data Augmentation for Cross-Domain NER). We will reproduce that setting and treat 77.59 as the bar.
The third and most threatening competitor is LLM pseudo-labeling of the same unlabeled target sentences. It uses the same generator model, prompted to tag real text instead of writing new text, and it reaches full coverage of the unlabeled sample by construction.
Two volume-matched controls isolate the key ingredient. The first, unsteered domain-prompted generation, uses the same LLM and the same label-definition prompts but no deficit list, at one, ten, and fifty times the volume of the steered set. The second, randomly steered generation, supplies the same number of target words drawn uniformly from the target sample instead of from the deficit. This separates "inject target vocabulary" from "inject the missing target vocabulary."
All conditions share the same tagger architecture, a hyperparameter search of 20 configurations per method on the target development split, and five random seeds. All generation-based conditions get the same LLM call budget.
Why not just…?
Why not just generate far more synthetic data? Word Matters found that word count barely correlates with adaptation gain in real summarization data. The sim-to-real record (Driving in the Matrix) shows that volume does not remove the simulator mismatch. However, neither result concerns synthetic NER data. The fifty-times unsteered control tests this directly. If it matches the steered set, the core claim fails.
Why not just pseudo-label real target text with the LLM? This is a genuine threat, because pseudo-labeled real text has full coverage and no generator artifacts. Our expected advantage is narrow. It should appear when unlabeled target text is scarce and on fine-grained sibling classes, where an LLM's tags on real text are themselves likely to make the person-versus-artist error. We test this by sweeping the unlabeled budget across 0, 1k, 10k, and the full CrossNER domain corpus. We predict a crossover: steering wins at small budgets and on confused classes, and pseudo-labeling catches up at large budgets. If pseudo-labeling wins everywhere, we will report that synthetic generation is unnecessary whenever target text exists.
Why not just do domain-adaptive pre-training? It addresses the same lexical gap through unlabeled text. But its reported gain is 2.16% F1, and it left the subcategory trap intact (CrossNER). The likely reason is that it teaches the model new words without tying them to labels. The combination run, pre-training followed by steered data, shows whether the two methods are complementary or redundant.
Why not just port adversarial masking to text? ASM removes a surface shortcut, namely clean versus noisy input. The synOCR result (Historical Text) suggests that surface shortcuts are the smaller part of the NLP gap. Our regression includes discriminator accuracy as a predictor. If it explains gain better than coverage does, the shortcut account is right and this proposal is wrong.
Proposed Experiments
The main testbed is CrossNER with CoNLL-2003 as the source and Politics, Natural Science, Music, Literature, and AI as targets. The secondary testbed is Newswire to social media (Twitter NER), compared against the 77.59% F1 autoencoder result.
The metrics are entity-level micro F1, per-class F1 on confused sibling pairs, and the person-to-artist error rate on Music. We report all results with seed variance. A further split by broad entity category tests whether near-domain gains appear where the dissimilarity paradox predicts none.
We will treat three outcomes as decisive. First, $\gamma_E$ must explain per-domain gain better than synthetic token count, measured by the proportion of variance it accounts for in the pooled regression. Second, steered generation must beat the ten-times unsteered control at equal LLM call budget. Third, steered generation must beat randomly steered generation at matched target-word count, which shows that targeting the deficit matters and not just adding target words. A clear failure on the first outcome would invalidate the claim regardless of how the absolute F1 comparisons turn out.
References
- Word Matters: What Influences Domain Adaptation in Summarization?
- Driving in the Matrix: Can virtual worlds replace human-generated annotations for real world tasks?
- Jet substructure classification in high-energy physics with deep neural networks
- CrossNER: Evaluating Cross-Domain Named Entity Recognition
- Data Centric Domain Adaptation for Historical Text with OCR Errors
- Data Augmentation for Cross-Domain Named Entity Recognition
- The impact of near domain transfer on biomedical named entity recognition
- Domain Adaptation with Latent Semantic Association for Named Entity Recognition
- Adversarially Masking Synthetic to Mimic Real: Adaptive Noise Injection for Point Cloud Segmentation Adaptation
- Text Style Transferring via Adversarial Masking and Styled Filling
- One Model for All Domains: Collaborative Domain-Prefix Tuning for Cross-Domain NER