Repairing Survivor Bias in Social Media Pre-Training Corpora

Researchers who pre-train language models on social media text usually cannot keep or share the raw posts. They share post IDs, and anyone who wants the data downloads whatever still exists. What still exists is not a random sample. Users delete regretted posts, and platforms suspend abusive, extremist, and coordinated accounts. The posts that vanish fastest are the hostile, distressed, and controversial ones, which are exactly the content that downstream detectors must recognize. A model pre-trained on a rebuilt corpus therefore learns from a cleaned-up version of the platform. We propose to measure how much this survivor bias damages the model's grasp of that tail. We then propose to repair it by estimating how much of each kind of content decay removed and filling that deficit with synthetic posts. These posts are rewritten only from surviving examples, by a fill-in-the-blank rewriter that does not refuse toxic text.

In two sentences: social media pre-training corpora lose their toxic and distressed content first, so models trained on them may be blind where it matters most. We restore the original content mix by generating replacement text in proportion to how much of each content stratum disappeared, and we test whether this beats simply training on what survived.

Core Claim

The claim has two parts, and the first can fail. First, continued domain pre-training on a decayed social corpus produces measurably worse representations of abusive and distressed language than pre-training on the same corpus before decay, even when the labeled fine-tuning data is held fixed. Second, a decay-matched synthetic top-up closes most of that gap without using any deleted user's text, and does so better than reweighting the survivors. Such a top-up is sized by stratum survival rates and generated from survivors. If the first part fails, the result is still useful. It would show that the field can safely rebuild pre-training corpora from rehydrated IDs, and that decay matters only for labeled benchmarks.

Where This Sits

The decay literature motivates the problem. Directions in Abusive Language Training Data surveys 63 abusive-language datasets and reports one case of 60% content loss within 12 months. Social Data: Biases, Methodological Pitfalls, and Ethical Boundaries documents up to 13% of Boston Marathon bombing tweets disappearing within a year and argues that this loss is skewed toward controversial content. SemEval-2015 Task 10 shows benchmarks shrinking as teams rehydrate the same IDs. All three study labeled datasets or event collections. None asks what decay does to the unlabeled corpus a model is pre-trained on.

Domain pre-training work supplies the method we build on. BERTweet pre-trains on 850M tweets with light normalization (@USER, HTTPURL, emoji-to-text) and beats RoBERTa-base and XLM-R-base on tweet tasks. Chinese MentalBERT continues pre-training on 3.36M Weibo mental-health posts, using a depression lexicon to choose which words to hide during training. Both treat their corpora as fixed snapshots, and neither can be rebuilt by others. We reuse their recipe of continued masked-language-model pre-training. What we change is how the corpus is assembled.

The closest work is Don't Augment, Rewrite?. It replaces small abusive datasets of roughly 2,700–3,000 tweets with paraphrases from Llama-2-7B-chat for fine-tuning a classifier. It reports near parity in-domain, better cross-dataset transfer, and 0% of rewrites findable by search engines, against about 60% of originals. It differs from our proposal in three ways. It operates on labeled fine-tuning data, not pre-training corpora. It rewrites uniformly rather than in proportion to what decay removed. Its chat-model generator, together with its label filter, discarded 95–98% of candidates, which that paper itself identifies as a bottleneck. We treat that bottleneck as a constraint on design. It rules out aligned chat models as the main rewriter at pre-training scale.

Research Program

The work has three pieces. The first is a decay audit. We rehydrate the released ID lists of MDA, MHS, the SemEval Twitter sentiment and irony sets, and the stance sets used by Towards Author-informed NLP. Because these releases ship labels alongside IDs, we can compute survival rates for each label, such as abusive versus not or each stance, without seeing any deleted text. This gives real estimates of how strongly decay is skewed.

The second piece is a controlled decay testbed. Under ethics approval and a short retention window, we collect a fresh social corpus large enough for continued pre-training. We score each post with a toxicity classifier, and we can also tag topical and distress strata. We then simulate decay by deleting posts with stratum-specific probabilities calibrated to the audit, at overall loss levels spanning the 13% and 60% figures reported above. The full corpus is the oracle. Because we control which posts vanish, we can measure exactly what was lost.

The third piece is the repair. For each stratum $k$, let $n_k$ be the number of surviving posts and $s_k$ the estimated survival rate. The estimated original mass is $n_k / s_k$, so the synthetic budget for that stratum is

$$ m_k = n_k \left( \frac{1}{s_k} - 1 \right). $$

We fill $m_k$ with rewrites of surviving posts from the same stratum. The rewriter is a domain masked language model, the survivor-pretrained model itself or a domain BART. It hides 30–50% of the spans in a surviving post and fills them in, then repeats the process. Because the rewriter only completes blanks and is not trained to follow instructions safely, it has no refusal behaviour. That avoids the rejection bottleneck. We keep a rewrite only if it passes two checks. It must differ enough from its source, measured by an edit-distance threshold borrowed from Casula et al. It must also keep its stratum, measured by the same toxicity scorer. All continued pre-training variants then train on the same number of tokens.

Baselines

The naive reference point is continued pre-training of RoBERTa-base on the survivors alone. This is what a researcher rebuilding a corpus from IDs gets today. The oracle is the same training on the undecayed corpus. It bounds what any repair can achieve, and its gap to the survivor-only model is the quantity the whole proposal depends on.

The strongest cheap competitor is survivor reweighting. It is the same survivor corpus with each stratum-$k$ post upsampled by $1/s_k$, so the content mix matches the repair exactly but no new text is added. It uses the same tokens and steps. It isolates whether synthesis adds anything beyond correcting the mix. To beat it, the synthetic repair must close more of the survivor-to-oracle gap on tail metrics, by a margin that holds up across five seeds.

The strongest existing method on the downstream question is synthetic fine-tuning in the style of Casula et al. on top of the survivor model. For this baseline, Casula et al. report abusive-class F1 of 0.720 on MDA when training on original data and 0.713 when training on formality rewrites. They also report F1 of 0.423 on MDA when training on synthetic paraphrases of MHS, against 0.260 when training on original MHS. These numbers come from RoBERTa-large fine-tuning without domain pre-training, so we rerun their pipeline under our backbone rather than compare against the reported figures. Beating it means that adding repaired pre-training improves cross-dataset F1 from MHS to MDA beyond what synthetic fine-tuning alone achieves.

We also include frozen BERTweet-base, a public checkpoint trained before much of this decay. No absolute benchmark numbers for BERTweet are given in our file; it reports relative gains of 5% on SemEval-2017 4A and an absolute gain of more than 14% on WNUT17 named-entity recognition. Two ablations isolate our key ingredient. One spends the same synthetic budget uniformly across strata rather than by $m_k$, which tests whether decay matching matters. The other swaps the fill-in-the-blank rewriter for a Llama-2-7B-chat paraphraser at the same compute budget, which tests the refusal argument directly. Every variant uses the same base model, token count, step count, and hyperparameter search budget.

Why not just…?

Why not just use BERTweet, which was trained before most of the decay? For English Twitter text from 2012–2020, this may be good enough, which is why it is a baseline. But its corpus cannot be audited, updated, extended to new platforms, or rebuilt by others. It also cannot honour deletion requests issued after training. The relevant question is what happens the next time anyone builds such a model, and the testbed answers that. If BERTweet matches the oracle on tail metrics, we will report that frozen pre-decay checkpoints are a sufficient stopgap.

Why not just upweight the surviving toxic posts? This is the real threat. It matches the content mix at zero generation cost, and synthesis may add nothing if the surviving tail is diverse enough. Our hypothesis is that repeating a thin, survivor-selected tail encourages memorization without broadening coverage. Survivor reweighting is therefore the head-to-head baseline. We will also report how far each approach lets the model reproduce exact training posts. If reweighting ties the repair, we will recommend reweighting and drop the synthesis.

Why not just rewrite with an instruction-tuned LLM as Casula et al. did? Their reported 95–98% rejection rate implies 20–50 generations per kept sequence. That is tolerable for 3,000 tweets but expensive at pre-training scale. The rejections also fall hardest on the abusive stratum we most need to fill. The rewriter-swap ablation measures both the cost and the resulting skew in strata.

Why not just prompt a large general model and skip domain pre-training? Chinese MentalBERT outperformed Llama2-Chinese-Chat and Chinese-Alpaca-2 on mental-health tasks. MonoCoder shows a similar pattern in code, where a ~0.9B-parameter domain model beat GPT-3.5 on domain benchmarks. Safety refusals also affect prompted detection of abuse. We consider this question settled enough by prior evidence not to spend our compute budget on it.

Proposed Experiments

The evaluation suite separates tail ability from general ability. For the tail, we measure abusive-class F1 on MDA and MHS, cross-dataset F1 from MHS to MDA, and per-function accuracy on HateCheck. No reported HateCheck result was found on Lacuna for this setting. We also measure masked-language-model perplexity on held-out deleted-stratum posts from the testbed, which only the oracle setup allows. For general ability, we measure sentiment on SemEval-2017 4A, irony on SemEval-2018 3A, and named-entity recognition on WNUT17. These guard against the repair degrading ordinary tweet understanding. We evaluate on the fully hydrated test splits we hold, and separately on the splits as they survive at audit time. This shows how much benchmark decay alone shifts the conclusions.

The first decisive check is whether the survivor-only model falls clearly below the oracle on tail metrics while staying close on general ones, at the 60% loss level. If no gap appears, we stop and report that pre-training is robust to decay. The second check is whether the decay-matched repair recovers at least half of that gap and beats both survivor reweighting and the uniform-synthesis ablation. The third is a privacy check. Rewrites derive only from survivors, so we verify that no generated sequence closely matches any deleted post, and we repeat the search-engine traceability test of Casula et al. on a sample of rewrites. The final measure is a dose-response curve: plotting oracle-gap closure against simulated loss rate should show whether the repair's advantage grows as decay becomes more skewed. That is the pattern we expect if the benefit really comes from restoring what decay removed.