Data Augmentation for Mental Health Classification on Social Media
Paper · 2021 · Gunjan Ansari, Muskan Garg and Chandni Saxena
Summary
A Reddit post can be easy to collect and hard to label. For research on mental health, access to the writing is sensitive, and deciding what a post expresses takes work. The authors ask whether text classification can improve with the labeled examples already available. Their approach is to make variants of the training posts, give each variant its source post’s label, and then test whether a classifier trained with those extra examples does better on original posts it has yet to see. The study uses Dreaddit, which separates stressful writing from casual conversation, and SDCNL, which separates depression-related posts from suicide-related posts.
The experiments compare different ways to make a variant. Easy Data Augmentation changes individual words through synonym substitution, insertion, swapping, or deletion. Conditional BERT predicts replacements for hidden tokens using the surrounding text and the source label. Back-translation takes an English post through German and returns it to English, allowing the wording to change along the way. For each approach, the paper compares training on the original examples with training on the originals plus the generated variants. Logistic regression, support vector machines, and random forests are tested with several ways of turning the posts into numerical features.
Conditional BERT gave the most consistent gains. The authors report an average F1 improvement of around 1.4% on the Dreaddit test set and around 2.3% on the SDCNL test set. F1 combines precision, which asks how frequently a positive prediction is correct, with recall, which asks how many of the labeled positives are found. Simple word edits also helped some configurations and sometimes gave the best score in a comparison. Back-translation produced smaller or less consistent gains. One of the clearest results came from logistic regression with Doc2Vec document features on SDCNL. Its test F1 rose from 0.66 with original training data to 0.71 with conditional BERT, while precision rose from 0.65 to 0.68.
Conditional BERT also made the largest changes in wording according to the paper’s measure of overlap with the source posts. That measure leaves open whether a rewrite still supports the label it inherits. The examples in the paper include changes to who appears to be speaking and to what happened in a passage. The strongest evidence is therefore about held-out classification on these datasets. Generated variants can help a classifier recover the recorded categories, and the benefit depends on how the variants are made and how the resulting text is represented.
Deep dive: Data Augmentation for Mental Health Classification on Social Media
The paper tests whether rewriting labeled Reddit posts improves classification of stress, depression, and suicide-related content. · about 32 minutes to read
The problem and its context
The cost of a usable example
The paper starts from an imbalance between the availability of social media writing and the availability of usable training material. People write about distress in public conversations, but a collection of posts still needs labels that say what a classifier should learn to distinguish. The authors describe annotation as expensive and note that several established mental health datasets are available only by request or require ethical clearance. Their experiment uses publicly available datasets with limited labeled material so that it can examine what additional training value may be recovered from examples that already exist.
A label attached to a post determines what counts as a correct prediction. In the Dreaddit experiment, the practical question is whether the text belongs on the stress or non-stress side of a manually labeled collection. In SDCNL, both categories concern mental health, so the classifier has to separate writing identified as depression-related from writing identified as suicide-related. These are different decisions even though they take the same computational form. Words that help separate stressful from casual writing may be common to both categories of the second task.
That distinction matters when deciding how to generate more data. A rewrite can change vocabulary while leaving the evidence for a broad stress label in place. The same amount of editing may remove a cue needed to distinguish depression-related from suicide-related writing. The authors expect SDCNL to be the harder setting for generating diverse variants, since posts from both groups use similar domain vocabulary. Their question is whether augmentation can still help a classifier learn the existing distinction.
The introduction places the work alongside studies of stress, anxiety, and depression during the COVID-19 pandemic and earlier studies of distress in online writing. It describes early detection as a reason to study the language of social media. The experiments narrow that motivation to a decision for which reference answers are available. They use a post or text segment as the input and its recorded category as the reference. That design makes it possible to measure changes in classification without collecting a new set of health outcomes.
Why reuse labels when labeling itself is hard?
In the authors’ account of earlier work, supervision can be noisy even when a dataset is available. An automatic label can be convenient to obtain and still be wrong for the particular post. The paper identifies label correction and manual labeling as ways earlier researchers dealt with that problem. It discusses SDCNL in this connection and uses the version whose labels were manually assigned. This matters because an augmentation procedure generally repeats the label it starts with. Any mistake in that starting label can be carried into the extra example.
The scarcity problem is separate from the correction problem. Correcting a category assignment can improve a training set while keeping its size fixed. Augmentation changes the size and wording of the set by making another input for an existing category. The authors expect this to give a classifier more opportunities to learn which features recur across different formulations. In their framing, a classifier that has seen too few formulations may fit quirks of its training examples. If related rewrites expose it to additional ways of expressing similar content, those quirks may become less decisive.
This rationale also explains why the label has to survive the rewrite. More wording is useful if the additional example makes the same classification boundary easier to learn. Suppose a post’s category depends on who experienced an event. An edit that changes the person may leave many of the same words in place while changing the meaning of the account. Conversely, a sentence can be substantially rephrased while retaining the details that made its label appropriate. The method needs to make the text different enough to affect training while keeping the relevant evidence intact. The experiments measure the combined outcome of those two goals through classifier performance.
The approaches available before this study
The authors use the survey of data augmentation approaches for NLP to situate their work in natural language processing. They describe an earlier distinction between generating text freely and generating it with constraints from an existing example or label. Freely generated text may be usable for some purposes. Here every extra post needs a category that can be justified by a particular source post. That requirement leads the authors to methods that start with existing writing.
The least elaborate precedent is Easy Data Augmentation. It treats ordinary word edits as a way to produce extra training material. A classifier may need to recognize related expressions even if a reader would find some of the edited sentences awkward. The authors cite earlier benchmark results in which these operations helped classification. Their use of the technique asks whether a similar approach is viable for long, informal writing in a domain where a small change can matter.
A second line of work makes substitutions using context. The paper cites contextual augmentation and describes the use of masked-token prediction, where parts of a sequence are hidden and then reconstructed from the rest. It also discusses conditioning the prediction on the training label. The label supplies information about the kind of post the generator is meant to produce. It allows the same surrounding text to be treated differently depending on the category attached to it. The implementation follows Data Augmentation using Pre-trained Transformer Models, which the authors cite for how to present the category to the generator.
The third precedent comes from machine translation. The paper traces back-translation to Improving Neural Machine Translation with Monolingual Data and applies the idea as a round trip. The translation back to English can express roughly the same account with different word choices or phrasing. Unlike the generator that receives a label alongside its input, the translation system receives the text. The class enters the training procedure afterward, when the rewritten post inherits its source category.
The related-work discussion also describes lineages that the experiment leaves aside. One proposal uses graph relationships to infer additional pairs of sentences. The authors see a mismatch between that sentence-based task and their Reddit posts, which can contain long paragraphs. They also mention interpolation associated with mixup as an approach with comparatively little use in the text work they review. Their study concentrates on methods that deliver a rewritten text for an existing labeled example, so each method can be evaluated with the same downstream classification procedure.
The method, step by step
Split the data before making variants
Each experiment starts with labeled Reddit material. The split creates a training portion from which both the classifier and the augmentation procedure can learn, and a testing portion used to assess the finished classifier. The source for every generated example is in the training portion. Keeping that boundary makes the comparison intelligible. A test post remains an original example regardless of how the training data were prepared, while a difference in test performance reflects how classifiers learned from the different training sets.
The paper calls the original collection D and gives the following construction in prose. D has n training examples. A training input x is a text sequence containing m words and has an associated category y. The count n concerns examples, and m concerns words within an input. A method attempts to make a separate synthetic collection, denoted Dₛᵧₙ, by producing a variant for each original training example. The synthetic collection is nominally of size n. It supplies extra examples alongside the originals, and each generated example uses the category of the post that supplied its text.
Each augmentation method is tested as a separate way to make that extra collection. The source post can therefore supply an English round trip in one training condition and a word-edited post in another. The classifiers trained on the original data serve as the baseline for assessing each condition. The paper later describes the realized expansion as ranging from 1.75 to 2.0 times the original training size. Its formulation gives the intended process, while the expansion range describes the sizes reported for the experiments.
From labeled Reddit posts to test predictions
The steps in order.
Make local edits with Easy Data Augmentation
The paper calls its implementation AugEDA. It uses word-level changes that can be applied without training a generator on the dataset. In its description of the setup, 30% of the words in a training example are randomly chosen for applying an editing operation. The individual operations have their own mechanics. In particular, deletion has a stated word-level probability, while swapping involves choosing a pair of words. The paper gives these settings together, but leaves details of how the general selection rate is combined with each operation unspecified.
In synonym replacement the procedure changes a selected word to one of its synonyms. The description of the operation excludes stop words from the candidates for replacement. Stop words are common words that the preprocessing process also removes later when it builds the classifier input. The synonyms come from WordNet, and the procedure chooses among available synonyms randomly. Choosing from a lexical resource gives a principled set of alternatives, even though a candidate listed as a synonym can be awkward or change the sense in a particular sentence.
Random insertion makes a different use of that resource. It picks a word from the original, selects a synonym, and inserts the synonym at another location. In the authors’ notation, j is the number of randomly chosen insertion positions, and m is the number of words in the text from which the source word can be selected. Insertion can give the classifier additional vocabulary to associate with a post while leaving the original words available. It can also put words in an order that a writer would rarely use, so a gain in classification would say little about the readability of those edited posts.
Random swapping moves a pair of selected words into each other’s positions. The vocabulary present in that part of the input stays the same, while the sequence changes. Random deletion removes a word with a specified probability. The general description calls this probability p, and the experimental description gives it as 10%. Deleting a dispensable word can be harmless. The same mechanism can remove information that tells the reader how the remaining words belong together.
The operations alter different properties of a post. Replacement changes which terms appear. Insertion and deletion can change the number of words. Swapping changes order even where word counts and vocabulary are preserved. The method description gives these as alternatives for making a variant, and it places the resulting text in the synthetic collection. The result stays paired with the same class. The randomness controls the edit, while the class comes completely from the original training item.
An example in the appendix shows how closely a word-edited variant can follow its source. A passage about a medical encounter still conveys that further tests were discussed, but its description of who said what becomes harder to follow. Another passage retains the idea of maintaining contact after infidelity while changing an adjective and disrupting the pronouns. Such changes show what the method actually permits. It can deliver related vocabulary and much of the original subject matter even when the sentence becomes less reliable as a written account.
Predict replacements using the text and its category
The authors call their conditional BERT procedure AugBERT. Its starting point is the ability to infer a token from the words around it. A token is a unit the system reads and predicts. If part of a sequence is hidden, the visible text can supply grammatical information and clues about the intended content. AugBERT also gives the predictor the training label, so the proposed replacement is informed by the category as well as the wording.
The paper denotes the input sequence as follows.
S = (S₁, S₂, …, Sₙ)
S is the sequence supplied for an example. S₁ and S₂ denote its first and second tokens, and the ellipsis represents the intervening positions up to Sₙ. The subscript n denotes the final position, corresponding to the token count in this local notation. Here the paper uses n for sequence length, distinct from its use of n for the training-set size. It switches from words in the dataset description to tokens in the prediction description.
The conditional probability described by the authors can be written in the following form.
p(tᵢ | y, S)
Here p is the probability assigned to a candidate for the hidden token tᵢ at position i. The vertical bar means that the prediction is made given the inputs to its right. Those inputs are y, the class label paired with the text, and S, the sequence presented with a token hidden. The comma separates the conditioning inputs. In the paper’s explanation, the addition of y distinguishes this prediction from filling a gap with only the sequence as context.
To supply the label, the procedure puts it before the original sequence. According to the paper, it does this without adding a new item for the label to the vocabulary used in prediction. During fine-tuning, the procedure hides randomly chosen tokens and trains the predictor to recover the original tokens from the context. This stage adapts the predictor using labeled training inputs. During augmentation, predicted material is used to produce a variant, and the source label accompanies that variant when it proceeds to classifier training.
The paper describes the predictor’s use of context in both directions and gives masking and recovery as the concrete training objective. Its surrounding discussion introduces several ways of training generators, and one passage calls the adopted setting autoregressive, where the next item is predicted from preceding context. Elsewhere the architecture and the detailed AugBERT description call it a conditional autoencoder and explain the masked-token procedure. The sequence and label treatment above follow that detailed account. The paper gives less information about the generation stage, such as how a replacement is chosen when several predictions have high probability.
The category does a different job here than in AugEDA. AugEDA applies an edit and then retains the existing class. AugBERT uses the class inside the generation procedure as well. That gives it a chance to favor contextually plausible text for the category, but the training objective still concerns token prediction. Suppose the reconstructed phrase fits the local grammar and vocabulary yet changes what happened. Conditioning on the label can influence the prediction, but it supplies no independent assessment that the completed passage deserves that label.
The appendix illustrates the distinction between plausible local replacements and a faithful account. In one example, the variant retains an emergency-room visit but recasts the preceding concern about circulation as a relationship problem. In another, the wording about a possible test becomes language about medicine. These are changes within particular examples. They show how the generator can change relevant details even when it retains other material from the original post.
Let translation rephrase the post
The round-trip method is called AugBT. It takes the English training sample xᵢ, translates it into a German text yᵢ, and then translates the German text into an English text zᵢ. The subscript i identifies which example is being processed. The German intermediate yᵢ is a text in this description. It is distinct from y, the category in the classification and conditional BERT descriptions. The final English text zᵢ enters the synthetic data with the category drawn from xᵢ.
The authors use the translation approach described in Facebook FAIR’s WMT19 News Translation Task Submission. The intermediate translation provides an opportunity for a broader rewrite than changing individual words. An English expression may have a natural German rendering that can be translated back in more than one way. The result may express a similar event in different wording. It may also normalize spelling or informal phrasing, an effect the authors note when discussing the method on user-generated text.
That normalization can change the training input in its own right. Even if the English return is very close to the original, altered spelling may make terms easier to represent consistently after preprocessing. More extensive rewriting can affect the substance as well. One round-trip example in the appendix adds a detail about unfamiliar people to an account concerning continued contact. Another keeps the emergency-room visit and the worry about circulation, while the returned English remains awkward in places. The examples illustrate variation in the operation. The benchmark comparison measures its downstream effect across the training set.
Turn original and generated text into classifier inputs
A classifier needs a numerical representation of each post. The authors use NLTK for initial processing. They first split long text into sentences and then use tokenization to split sentences into words. They remove stop words, punctuation, and unrecognized characters. They also report using stemming and lemmatization. Both bring related surface forms closer together. Stemming reduces a word towards a stem, while lemmatization seeks its dictionary form.
This stage determines what differences between the original and generated examples reach the classifier. A change in punctuation can disappear when punctuation is removed. Related word forms can be mapped to the same base representation. A new synonym can survive those steps and still supply a distinct term. The authors’ diversity analysis compares the texts through overlap, whereas classification relies on what remains after preparation and feature construction. The two views capture different properties of a generated pair.
The authors use TF-IDF to represent terms with weights that reflect how often they occur in a document and how broadly they occur across the collection. A term repeated in one post can be useful for representing it. Its weight also depends on whether that term turns up across many posts. This representation gives the classifier access to terms and their relative prominence. Edits such as insertion and deletion can affect those features even when the general meaning of the post is stable.
The experiments also use word embeddings from Word2Vec and document embeddings from Doc2Vec. An embedding represents an item with a dense vector, meaning a collection of numerical coordinates intended to encode relationships learned from text. Word2Vec operates at the level of words, and Doc2Vec provides a representation of the document. The authors use Gensim, describe training Word2Vec embeddings from the training corpus with skip-gram, and report vectors of 300 dimensions. Skip-gram learns word representations by using a word to predict nearby words. They use the default settings for Word2Vec and Doc2Vec in their experiments and give fewer details about how word-level features are assembled into a post vector.
The tables test TF-IDF and Doc2Vec by themselves, along with Word2Vec combined with either TF-IDF or Doc2Vec. Thus a row in the results specifies both a classifier and a representation. A different score for logistic regression with Doc2Vec and logistic regression with Word2Vec plus Doc2Vec can arise even under the same augmentation method, because those runs give the classifier different information about the post.
The downstream classifiers are logistic regression, a support vector machine, and a random forest, all run using the default scikit-learn settings. Logistic regression learns a score from the input features for assigning a class. A support vector machine learns a boundary between categories in the feature space. A random forest combines decisions from a collection of trees. These are alternative ways to use the same representations and labeled examples. Conditional BERT, by contrast, is used to make those examples. Its token predictions are a step in data preparation, and the final category predictions come from the downstream classifiers.
Experiments and results
The datasets and the test comparison
Dreaddit provides the comparison between stress and non-stress. The source collection contained 187,444 posts drawn from subreddit categories that include interpersonal conflict, mental illness, financial concerns, and social concerns. The paper reports that 3553 Reddit items were manually labeled. It describes selection for annotation in terms of segments with average token length greater than 100 and reports an average of 420 tokens per post. This is a setting in which a category may have to be inferred from a passage rather than from a short, isolated sentence.
The Dreaddit split listed in the dataset statistics contains 1488 stress and 1350 non-stress training examples. Its test set contains 369 stress and 346 non-stress examples. The classifier learns from the training labels, supplemented by generated cases in the augmented runs. All the reported precision, recall, and F1 results for this task concern predictions on the original test examples.
SDCNL is drawn from r/SuicideWatch and r/Depression. It supplies fields including a title, selftext, and megatext, and the categories used for the experiment are depression-related and suicide-related. The manual labeling is described as a response to noise in automated labels. The paper reports 1895 posts overall, 1517 training samples, and 379 testing samples. It lists 729 depression and 788 suicide examples for training, and 186 depression and 193 suicide examples for testing. The stated overall count and the stated split counts are inconsistent, so the split-specific counts are the more direct description of the reported comparison.
The experimental overview also gives a split of 75% training and 25% testing. The counts listed for the individual datasets do not match that description. The paper gives no account of whether the percentages represent a general plan or a separate split from the ones in the dataset statistics. This matters for identifying the exact runs, though the tables label all performance comparisons as test results and present original and augmented training conditions side by side.
The baseline throughout is a classifier trained on original data with the representation named in its row. For a comparison within that row, the classifier and feature family stay fixed, and the training data come from the original-only condition or from a named augmentation condition. Comparisons across rows ask a broader question about which overall configuration worked better. A high score across rows can owe something to the original classifier and features. A gain within a row gives the more direct evidence about the added training examples.
What the scores measure
Precision asks what share of the examples assigned to the positive category have the corresponding reference label. Recall asks what share of the reference positives receive that prediction. F1 combines the two measures as their harmonic mean. A low value on either side pulls down the combined score. Because different configurations can balance the two differently, the paper reports precision and recall alongside F1. The tables do not specify in detail how the metrics are averaged across categories.
The authors give special attention to precision because they regard a correct decision when text is flagged as stressful as important in the application they envisage. Their reported results can be read with that priority in mind. If a classifier flags more posts, its recall can rise while its precision declines. The F1 score may still improve. Looking at the two component scores reveals whether a gain corresponds to better coverage, more reliable flagged cases, or improvements in both.
Dreaddit
The authors report that AugBERT improved Dreaddit test F1 by around 1.4% on average over training with the originals. The average describes a set of classifier and representation configurations. In the logistic regression run using Doc2Vec, test F1 reached 0.76 with AugBERT, compared with 0.74 for original training data. Precision was 0.73 in both runs. Recall was 0.75 with original data and 0.78 with AugBERT. This row shows that the reported F1 benefit can come from finding more labeled cases even when the precision displayed in the table holds steady.
The same configuration is a useful comparison across generators because the representation and classifier are shared. AugEDA reaches test F1 of 0.72, and AugBT reaches 0.74. A method that works well in another representation may have a weaker effect here. For readers interested in the consequences of choosing a training augmentation before choosing any other setting, these within-row comparisons show how much that choice can matter.
Dreaddit test F1 for logistic regression with Doc2Vec
Conditional BERT gives the highest F1 in this configuration, while back-translation matches the original-data baseline.
The numbers
| System or setting | F1 |
|---|---|
| Original training data | 0.74 |
| Conditional BERT (this paper) | 0.76 |
| Easy Data Augmentation | 0.72 |
| Back-translation | 0.74 |
AugEDA shows a different pattern with Word2Vec and Doc2Vec combined. Logistic regression with those features reaches test F1 of 0.76 under AugEDA, compared with 0.72 on original training data. The associated precision moves from 0.76 to 0.75 and recall from 0.69 to 0.78. The authors describe an improvement of around 4% for this logistic regression setting. The metric breakdown adds context to that gain because the precision and recall changes go in different directions.
The random forest with Word2Vec and Doc2Vec shows a more pronounced shift in its precision and recall balance. With original training data it has precision of 0.85, recall of 0.67, and F1 of 0.75. Under AugBERT it has precision of 0.67, recall of 0.86, and F1 of 0.75. Under AugEDA it has precision of 0.68, recall of 0.86, and F1 of 0.76. A reader looking only at F1 would see essentially the same level of performance at the resolution reported in the table. The component scores describe classifiers that behave differently with respect to the paper’s stated preference for precision.
The authors describe back-translation as giving negligible improvement on Dreaddit overall. In the Doc2Vec-only random forest run, for example, the F1 values are 0.71 for original training, 0.71 for AugBERT, 0.72 for AugEDA, and 0.72 for AugBT. Other rows include declines for AugBT, such as the support vector machine with Word2Vec and TF-IDF, where F1 goes from 0.72 to 0.69. The AugBT results for TF-IDF alone are missing. Its pattern therefore has to be read from the rows with reported results.
SDCNL
The authors report an average test F1 improvement of around 2.3% from AugBERT on SDCNL. The logistic regression run with Doc2Vec shows one of the clearest gains. Original training gives F1 of 0.66, precision of 0.65, and recall of 0.67. With AugBERT, F1 is 0.71, precision is 0.68, and recall is 0.76. Both component metrics rise in this comparison. AugEDA and AugBT also give higher F1 than the baseline in the same row, with scores of 0.69 and 0.68, respectively.
This comparison helps explain why the conclusion emphasizes Doc2Vec and logistic regression. It provides evidence of a useful augmentation effect within a fixed configuration, and the precision change aligns with the authors’ stated priority. The same evidence does not place Doc2Vec first across feature sets. For logistic regression using TF-IDF alone, original training reaches test F1 of 0.73. AugBERT raises it to 0.76, with recall rising from 0.77 to 0.85 and precision moving from 0.70 to 0.68. The TF-IDF row gives the better F1 of the two augmented logistic regression settings, while the Doc2Vec row shows a gain in precision relative to its own baseline.
The support vector machine with Doc2Vec gains F1 with every augmentation method reported. The original training condition gives 0.65. With AugBERT the score is 0.70, with AugEDA it is 0.68, and with AugBT it is 0.67. This row gives a case in which the same representation and classifier benefit from variants with different origins. Its ranking also mirrors the ordering of the logistic regression row with Doc2Vec.
A random forest with the combined Word2Vec and Doc2Vec representation shows why these rows cannot stand for the full experiment. Its test F1 is 0.63 with the original training data. AugBERT gives 0.60, AugEDA gives 0.68, and AugBT gives 0.67. The paper describes AugEDA as producing an improvement of more than 5% for a random forest using Word2Vec and Doc2Vec. In this row the simple word edits also improve both displayed component metrics over original training, from 0.63 to 0.67 in precision and from 0.64 to 0.69 in recall.
SDCNL test F1 for random forest with Word2Vec and Doc2Vec
Easy Data Augmentation leads this comparison, and conditional BERT falls below the original-data score.
The numbers
| System or setting | F1 |
|---|---|
| Original training data | 0.63 |
| Conditional BERT | 0.60 |
| Easy Data Augmentation (this paper) | 0.68 |
| Back-translation | 0.67 |
The Doc2Vec-only random forest gives another qualification. Its baseline test F1 is 0.61, and the augmented scores are 0.56 with AugBERT, 0.60 with AugEDA, and 0.58 with AugBT. Adding a generator to the training procedure can yield a useful gain in one representation and a decline with the same classifier in another. For back-translation the authors describe improvement of around 1 − 2% on SDCNL in some comparisons involving Doc2Vec and TF-IDF. The table includes a gain from 0.73 to 0.74 for the support vector machine using TF-IDF and a decline from 0.68 to 0.65 for the one using Word2Vec with TF-IDF. The feature family and classifier define the scope of each result.
The authors attribute some empty TF-IDF results to the extra computation required for the expanded training data. The SDCNL table omits the AugEDA and AugBT results for the random forest with TF-IDF alone. These comparisons cannot establish whether either method helped that setting. The entries with measured results support a comparison for the configurations they cover.
Statistical comparisons with original training
The paper uses Student’s t-test to examine differences between results obtained with augmented and original training data. It discusses p-value thresholds of 0.05, 0.10, and 0.15. Reading these values together with the result tables matters because an individual row and the overall comparison address different questions. A row describes the observed outcome of a particular classifier and feature configuration. The overall p-value concerns the authors’ statistical comparison of results across the experiments for a named augmentation method and dataset.
For Dreaddit, AugBERT has a reported overall p-value of 0.00033, below the paper’s 0.05 threshold. AugEDA has a p-value of 0.15247, which is above even the stated 0.15 threshold. The discussion calls AugEDA significantly improved on Dreaddit, and the classifier table flags some individual AugEDA results as significant. The overall AugEDA result in the statistical table falls outside the listed cutoffs. AugBT has an overall p-value of 0.23568 on Dreaddit, also outside those cutoffs.
On SDCNL, the corresponding values are 0.09241 for AugBERT, 0.06644 for AugEDA, and 0.40338 for AugBT. The first two fall below 0.10 and above 0.05. This is the basis for the authors’ claim of improvement at the 10% significance level for AugBERT and AugEDA on SDCNL. The back-translation value falls beyond the thresholds discussed for this dataset. The paper also reports improvements in 83% of the cases it considered for AugBERT and 66% for AugEDA across classifier and encoding settings. Those figures describe how often the results improved. They address a different question from how large the typical gain was or how much evidence each aggregate test provides.
What the ablations show
The paper gives controlled comparisons across training data, feature representations, and classifiers, while leaving the internal choices of each augmentation method largely intact. The most direct comparison holds a classifier and feature family fixed and changes the training condition. This can establish that a particular way of augmenting the data helped in that setup. Several mechanisms within the generator change together, so the comparison gives limited evidence about which mechanism supplied the benefit.
Which wording changes accompany better classification?
The authors measure the resemblance between an original text and its generated counterpart using the BLEU score, a measure introduced for translation evaluation. They apply it as a measure of surface overlap and interpret a lower score as evidence of more varied wording. In describing the comparison, they specify the following length for the n-grams used.
n = 2
Here n is the length of a word sequence considered in the overlap comparison, and 2 is the specified number of words in that sequence. It is a separate use of n from the notation for training-set size or the length of an input to BERT. In this analysis, the overlap of neighboring words between original and generated text gives the paper a way to compare how much the methods reword the material. BLEU is presented on a scale from 0 to 1.
Original-to-generated BLEU on Dreaddit and SDCNL training text
Conditional BERT gives the lowest surface overlap on each dataset, and each method retains more overlap on SDCNL.
The numbers
| System or setting | BLEU |
|---|---|
| Dreaddit with Easy Data Augmentation | 0.97 |
| Dreaddit with conditional BERT (this paper) | 0.82 |
| Dreaddit with back-translation | 0.88 |
| SDCNL with Easy Data Augmentation | 0.99 |
| SDCNL with conditional BERT | 0.97 |
| SDCNL with back-translation | 0.99 |
Dreaddit presents the clearest separation in the overlap analysis. AugBERT produces the largest departure from the source wording, followed by AugBT and then AugEDA. For SDCNL, augmentation by any of the methods results in higher overlap than the corresponding Dreaddit condition. The observation is consistent with the authors’ expectation that generating diverse data would be more challenging for SDCNL. The overlap analysis compares variants with their sources. It does not directly measure how similar the vocabulary of depression-related posts is to that of suicide-related posts, the explanation the authors proposed for the greater difficulty.
AugBERT’s average F1 gains and lower overlap lead the authors to connect diversity with useful training examples. The results support that reading as a pattern for AugBERT, while the other conditions show where it stops explaining the scores. On Dreaddit, back-translation produces lower overlap than AugEDA, yet its classification gains are generally less consistent. On SDCNL, the EDA and translation variants have the same reported BLEU of 0.99, while their test F1 results can differ. The logistic regression with Doc2Vec, for example, gives test F1 of 0.69 with EDA and 0.68 with back-translation. The aggregate measure tells how much wording tends to change and leaves room for differences in which words changed and how the classifier represents them.
The appendix offers a qualitative check on the interpretation of these scores. Its cases show punctuation and phrasing changes, grammatical disruptions, and substitutions that affect the reported event. Because a useful paraphrase and a changed account can both lower overlap, the classification comparison and the diversity comparison answer complementary questions. One establishes whether a particular training configuration predicted held-out labels better. The other establishes whether the generator tended to preserve the same sequences of words. Neither supplies individual judgments of label preservation for the generated examples.
Classifier and feature comparisons
The feature comparisons expose patterns an average across classifiers can hide. On Dreaddit, AugBERT with Doc2Vec improves logistic regression’s test F1 from 0.74 to 0.76. With Doc2Vec and random forest, it leaves the displayed score at 0.71. The lexical and positional changes passed through the same feature family can therefore have different effects depending on the way the classifier learns from those features.
Holding the classifier fixed and changing the representation also changes the apparent value of augmentation. On SDCNL, AugBERT with logistic regression and Doc2Vec improves both precision and recall relative to original training. With logistic regression and TF-IDF, AugBERT gives higher recall alongside lower precision. The paper emphasizes Doc2Vec because precision matters to its intended interpretation of the task. Looking at the full set of metrics explains that preference better than treating the largest F1 in the table as the only result worth following.
One reason to retain these individual comparisons is that different feature families respond to different parts of an edit. If a variant introduces new terms, a representation built from term weights can register that directly. A document embedding may express the change through several coordinates and preserve other aspects of the passage. The paper compares the complete systems to see whether such choices matter. It does not report which changed terms or embedding dimensions account for the observed outcomes.
Which mechanisms the comparisons leave unresolved
Each of the tested generators changes the training corpus and adds examples. There is no training condition consisting solely of extra copies of the original examples. The results therefore measure the practical effect of the added variants, while leaving open how much would come from extra presentations of the same labeled material. The reported size range also leaves room for variation in the amount of extra training data among methods. Similar nominal goals for dataset size give the comparisons a common design without establishing that every condition used exactly the same number of usable variants.
The EDA results combine the effects of a procedure that can choose among the word edits. They do not isolate insertion, deletion, replacement, and swapping as separate classifier experiments. Conditional BERT likewise appears as one procedure. The paper does not report an otherwise matched run in which the label information is removed from the predictor. The translation comparisons use German as the intermediate language, so they do not isolate effects of that language choice. These boundaries make the study a comparison of usable augmentation approaches rather than a diagnosis of the contribution of each design decision.
Limitations
Limits the authors identify
The authors frame scarcity and access as conditions of the study. They choose publicly available datasets with limited labeled material, explaining that several other mental health collections require requests or ethical clearance. They state that their use of these datasets did not require institutional review. That statement concerns their own study. The evidence they report consequently comes from the categories and examples available in the selected benchmark collections.
They also describe a difficulty particular to the input. The posts contain informal, sometimes ill-formed writing, and the information that justifies a label has to survive the generation procedure. Their examples make that tension concrete. A readable phrase can coexist with a changed event, and a rough phrase can retain the relevant subject. The paper’s closing proposal to investigate domain-specific resources and explainable, conditional generation follows from its interest in making these variants more suitable for the task.
Another practical limitation appears in the results themselves. The authors report that TF-IDF representations take more computation for the expanded data in some configurations and attribute missing measurements to that cost. The consequence is uneven coverage across the combinations of augmentation and representation. Aggregate statements about performance are easier to interpret when read alongside the available entries and their omissions.
What the benchmark labels support
The paper motivates the work through detection of mental health concerns, and its experiments use post labels as their reference. The unit being classified is the text. A rise in the proportion of correctly labeled posts establishes better agreement with the dataset categories for that setup. The experiments contain no separate test of a clinical assessment for the post author, subsequent health outcomes, or the effect of acting on a classifier’s prediction.
This distinction is particularly important for SDCNL. A reference label identifies which of the dataset’s categories a post belongs to. The similarity of the categories gives a reason to study the classifier’s ability to distinguish them. The paper reports no measure of a person’s risk derived independently of the social media text. Precision and recall in the tables should be interpreted in relation to the reference labels in the test set.
The benchmark comparison also leaves open transfer to a new source of writing. Both datasets are based on Reddit, and each result comes from a classifier assessed on its corresponding dataset. Using different tasks shows that the procedure can be applied to distinct category definitions. The paper supplies no experiment in which a classifier trained on one collection is tested on another, or in which the classification carries over to a different platform or population.
How much confidence to place in the generated labels
Every variant inherits its original label by construction. The paper reports no systematic manual check of whether the generated posts still satisfy those labels. BLEU describes overlap, and the test scores describe the effect of training with the variants. Between those measures lies a question about the extra data themselves. The experiment can show that an augmented corpus was helpful in aggregate even if some of its examples acquired incorrect or ambiguous labels.
The examples of altered speakers and events give a concrete reason to keep these questions apart. A passage can retain many words and change who experienced an event. A generator can also rewrite most of a passage and preserve the relevant distinction. This is especially consequential where the categories share vocabulary. A change to a short clause may carry more weight for the label than retaining several sentences of similar wording.
The study also offers limited evidence about which kinds of posts gain from augmentation. The paper reports aggregate class prediction metrics for each setup. It gives no breakdown by changes such as replaced terms, standardized spelling, or altered narrative details. The qualitative examples establish that changes of different kinds can occur. Their frequency and effect on individual test errors remain open.
Reconstructing the comparison
The inconsistent split descriptions make exact reconstruction difficult. The stated percentages, class counts, and overall SDCNL total leave ambiguity about which counts describe the run behind the result tables. The authors identify the public data sources and the implementation they followed for transformer-based augmentation. They specify the main classifiers, feature options, and several generation settings. Details such as the exact generation settings for conditional BERT and the construction of the combined feature vectors are less fully described.
The realized training-set sizes add another uncertainty. The description of the procedure assigns a generated variant to each source example, whereas the reported expansion is a range. The paper gives no counts by dataset and generator that would connect the realized size to each test score. This prevents separating a difference in example count from a difference in text quality when comparing the generators. It also limits how precisely a reader can relate the reported training expansion to the missing results for computationally demanding settings.
The t-tests provide a statistical comparison with original training, but the paper leaves details about the observations used in those tests unclear. Classifier and feature configurations can share a dataset and test examples, and the paper does not explain how it handles any dependence among such results. It also provides limited detail about variability across repeated runs of the random generation methods. The reported p-values can be read against the authors’ stated thresholds. Their ability to characterize variation across new samples or seeds is uncertain.
Finally, the significance wording is broader in places than the numerical evidence supports. The Dreaddit AugEDA overall p-value is outside the stated thresholds, although particular AugEDA entries are flagged in the classifier table. On SDCNL, the overall values for AugBERT and AugEDA meet the authors’ 0.10 threshold. These distinctions allow the larger finding to be stated precisely. Augmentation helped many tested configurations, with especially consistent gains for conditional BERT and some strong results for simple edits. The size, direction, and statistical support of a gain still depend on the dataset, representation, classifier, and comparison being described.
What came after
The paper closes by proposing further work with domain-specific resources and neural machine translation to make conditional augmentation easier to explain. It also raises a possible connection to research on how suicidal ideation may progress towards action. These are directions the authors identify. Their experiments concern the performance of post classifiers trained with rewritten examples and supply no test of that proposed connection.
Later studies building on these experiments are undocumented here. The follow-up described by the authors is prospective. It extends the question opened by the paired texts in the appendix, where a generator may make an example more varied and change the details on which its category depends.
Cite
Cite as Gunjan Ansari, Muskan Garg and Chandni Saxena. 2021. Data Augmentation for Mental Health Classification on Social Media. Proceedings of the 18th International Conference on Natural Language Processing (ICON).
@inproceedings{ansari2021data,
title = {{Data Augmentation for Mental Health Classification on Social Media}},
author = {Gunjan Ansari, Muskan Garg and Chandni Saxena},
booktitle = {Proceedings of the 18th International Conference on Natural Language Processing (ICON)},
year = {2021},
url = {https://aclanthology.org/2021.icon-main.19/}
}This page in Markdown https://md.research.elamur.ai/free/en/papers/ansari-2021-data-augmentation-mental-health-classification/