Generating Only the Slang Students Miss

Small, cheap models for reading informal text, such as slang detectors that run on every social-media post, need training data that standard corpora do not contain. The usual fix is to ask a large language model to write that data. For slang this fails in two ways at once. First, it is expensive: every generated sentence costs tokens, and strict filtering throws many of them away. Second, the output is the wrong kind of slang. When large models write slang they mostly invent new words ("coinage"). Humans mostly do something else: they give an ordinary word a new meaning, as when ice comes to mean "to kill" ("reuse"). Aligned models also make the output more positive and more sanitized than real slang. The result is that small models trained on such data gain little and inherit the teacher's biases (How do Language Models Generate Slang).

We propose to treat these two failures as a single problem: where the generation budget goes. Most of the budget is spent on slang no human uses, on meanings the student model already handles, and on filtering. Our method has three parts. The generator writes only context sentences for slang meanings humans have actually attested, taken from dictionaries. The budget is concentrated on the meanings where the current student model is wrong or uncertain. The hard negatives, meaning the same word used literally, are mined from formal text rather than generated. If this works, a small model should reach a given slang-detection accuracy with far fewer generated tokens than naive generation needs, and the gains should fall disproportionately on the meanings students currently miss, including non-US slang.

Core Claim

The claim is that a small student trained on generated slang data improves more per generated token when generation follows three rules. Each sentence must realize a human-attested reuse sense, given as a conventional word paired with its slang definition. Budget across senses must follow the student's current errors. Contrastive literal-sense negatives must come from existing formal corpora at zero generation cost. We measure this as accuracy against generated tokens, and against dollars where an API is used. The final accuracy alone does not test the claim.

Three things here are new. The first is turning the coinage-versus-reuse finding of How do Language Models Generate Slang into a constraint on generation instead of leaving it as a diagnosis. The second is pairing that constraint with error-targeted allocation. The third is reporting the cost curve explicitly, which neither that paper nor the slang-probing work measures.

Relation to Prior Work

Three papers motivate this proposal. How do Language Models Generate Slang compares GPT-4o and Llama-3-8B slang with human-attested usages from the Online Slang Dictionary (OSD). It finds a coinage bias and a sanitized topic distribution, and it finds that distilling this data into Llama-3-8B gives minimal gains. That is the negative result our design must get around. It does not measure generation cost, and it does not try to correct the bias.

Toward Informal Language Processing introduces OpenSub-Slang, built from human-annotated movie subtitles. It shows that fine-tuned GPT-3.5 beats zero-shot GPT-4 at slang detection, that models do worse on UK slang than on US slang, and that tokenizers fragment non-standard words. It relies entirely on human annotation.

SLANG shows that LLMs read post-cutoff slang too literally. Its fix, FOCUS, is a four-stage prompting pipeline whose per-query cost is exactly the kind of overhead we want to keep out of deployment.

One paper supplies the key idea. A Computational Framework for Slang Generation models slang as conventional words taking on new senses, and it predicts word choice better than GPT-2 infilling. We borrow its view of slang as sense extension. We do not borrow its single-word substitution scope: we generate whole sentences and distill them into a classifier, which that paper does not do.

Two lines of work bound the design. From Big to Small Without Losing It All measures augmentation gain against API cost for small sentiment models on reviews. It finds that the smallest models gain most, but it never touches informal microtext. Filtering-heavy pipelines such as DISCO and Promptagator show that heavy filtering buys quality while discarding much of what was generated. We aim to prevent bad samples at generation time rather than reject them afterwards, so filtering stays cheap. ResoFilter scores synthetic examples from the student's own weight updates and is used here only as an optional ablation filter.

Research Program

Sense inventory. The pipeline starts from a sense inventory. Each entry pairs a conventional word with a slang definition, drawn from OSD and from Urban Dictionary entries dated before a fixed cutoff. We drop entries whose headword is a pure coinage, meaning it has no conventional sense in the Oxford Dictionary. We record the headword's token count under the student's tokenizer.

Probing the student. In each round, the current student scores a small probe set for every sense. The probe set consists of the dictionary's own example sentence plus one cheaply generated sentence. Each sense receives a share of the round's token budget proportional to the student's loss on its probes, with a floor so that no sense is starved.

Generation. A single open generator, Llama-3-8B-Instruct, receives the word, the slang definition, and a request for a short conversational or social-media-style sentence. The prompt explicitly asks for concrete and non-sanitized register. Because the target word and sense are fixed in advance, filtering reduces to three cheap checks: the headword must be present, n-gram near-duplicates are removed, and the student-independent confidence of a small judge must exceed a threshold.

Negatives. For every positive, we pull literal uses of the same headword from formal corpora such as OntoNotes newswire. The student therefore learns the contrast the SLANG paper identifies as the failure mode: the same word, read literally versus figuratively. It cannot shortcut by memorizing word identity.

Training. Students are a RoBERTa-base encoder and Llama-3-8B with low-rank adapters, trained on the human OpenSub-Slang training split plus each round's synthetic data. To keep comparisons clean, the mixing schedule is held fixed across all arms. A formal-to-informal annealing schedule in the style of Data Annealing is tested once as a separate factor.

Analysis. We break results down by region label, by headword token count (reuse senses are often single-token conventional words, while coinages fragment into several pieces), and by sentiment of the generated text against OSD usage. The last check tests whether grounding reduces the sanitization reported by How do Language Models Generate Slang.

Baselines

Do nothing. This reference point is the same student trained only on the human OpenSub-Slang training split, with identical hyperparameter search. Every other arm must beat it to justify spending any generation tokens.

Strongest existing system. This is fine-tuned GPT-3.5 from Toward Informal Language Processing, which reports sentence-level detection F1 of 90.1 on OpenSub-Slang, against 84.4 for zero-shot GPT-4. We cannot rerun GPT-3.5 fine-tuning under matched compute, so it serves as a ceiling reference rather than a matched competitor. Beating it outright with a roughly 125M-parameter encoder would be a strong result. Coming within a few points at a small fraction of inference cost would still be useful. We will rerun zero-shot prompting of an available frontier model on our exact test split, so that the 84.4 figure is not the only point of comparison.

Naive generation. This is the strongest matched competitor, because it is the method the closest prior work tested. Following How do Language Models Generate Slang, the same generator is prompted to write slang sentences without sense grounding. It is given exactly the same token budgets of 1M, 5M and 20M generated tokens, the same student, and the same tuning budget.

Paraphrase and inspiration-style augmentation. This follows From Big to Small Without Losing It All: the human training sentences are expanded through paraphrasing and "inspired" generation, again at matched budget.

Mining only. This arm uses dictionary example sentences plus mined literal negatives, with zero generated tokens. It isolates whether generation is needed at all.

Ablations. Three ablations each remove one ingredient. The first replaces error-targeted allocation with uniform allocation across senses. The second allows coinage senses back in. The third replaces mined negatives with generated literal sentences.

Win condition. The proposal wins if its accuracy-versus-tokens curve dominates naive generation at every budget, beats mining-only at some budget, and shows that targeted allocation is better than uniform allocation.

Why not just…?

Why not just prompt a frontier model at inference time? Reported evidence favors trained models on this task. Fine-tuned GPT-3.5 reaches 90.1 F1 against 84.4 for zero-shot GPT-4 on OpenSub-Slang (Toward Informal Language Processing). The strongest prompting method for emerging slang, FOCUS, needs four LLM calls per query. With it, Claude 3 Opus reaches 89.7% accuracy and Mistral-7B reaches 76.0% on the SLANG benchmark (SLANG). We report that pipeline's per-query token count next to our student's, so that the cost of matching it is visible.

Why not just mine real usages instead of generating? This is the real threat. The mining-only arm exists to settle it. If dictionary examples plus mined literal negatives match our curve, the honest conclusion is that grounding and contrast matter and generation does not. That would still be a useful negative result. Our expectation is that mining runs out quickly on the long tail: most senses have one or two examples, and post-cutoff concepts may have none. The gap between the two arms should therefore open precisely on rare and regional senses, which is where we will look.

Why not just generate more unfiltered data? The closest prior work found that this transfers teacher bias and yields minimal gains (How do Language Models Generate Slang). Quantity-driven synthetic scaling saturates early in other domains (Beyond Quantity). The matched-budget comparison at 20M tokens tests this directly on slang.

Why not just perturb formal text with typos and dictionary slang swaps? A substitution produces the slang word in a context built for its literal meaning. That contradicts the reuse-in-context signal the student must learn. TrueTeacher found rule-based perturbations weaker than model-generated data. We include swap-based perturbation as a zero-cost arm so this is measured rather than assumed.

Proposed Experiments

Main test. On OpenSub-Slang we report sentence-level detection F1 and region-identification accuracy for every arm at each token budget. Dictionary senses that appear in the test split are held out from the inventory. The evaluation therefore measures transfer of a reuse-detection skill, not recall of a memorized sense. A separate "seen sense" split shows the update scenario, where definitions for new slang are available.

Generalization over time. On the SLANG benchmark, generation draws only on Urban Dictionary entries dated before 2022. Accuracy on the 408 post-2022 concepts then tests whether students trained with literal-versus-figurative contrast resist literal bias on slang they have never seen. The reference point is Mistral-7B with FOCUS at 76.0%, scored the same way.

Decisive checks. The proposal holds if three things are true together: grounded, targeted generation dominates naive generation on the token-cost curve, the uniform-allocation ablation loses most of the advantage, and the UK-versus-US F1 gap shrinks relative to the do-nothing student. If the mining-only arm matches it instead, we will report that generation overhead in this domain is avoidable rather than reducible.