Multitask Learning for Mental Health Conditions with Limited Social Media Data
Paper · 2017 · Adrian Benton, Margaret Mitchell and Dirk Hovy
Summary
A clinician assessing suicide risk has to make sense of what a person reports and what can be observed during an appointment. Benton and colleagues ask whether language that people already write might eventually supply another source of evidence. They study a narrower question using Twitter histories. Can a classifier distinguish users with a recorded history of suicide attempt, or with other mental health labels, more successfully if it learns several related predictions together? Earlier studies usually tackled each condition on its own. This paper tests whether training on one condition can help a network learn features that are useful for another, especially when positive examples are scarce.
The authors pool existing collections of Twitter users, including people identified through public disclosures and a group of gender-matched controls. They turn each user's available posting history into counts of short character sequences, expressed as relative frequencies. This gives all the classifiers the same input. The multitask network learns a shared representation of that input and then uses a separate branch for each prediction. Suicide attempt, individual conditions such as anxiety and depression, and an aggregate mental health label can all contribute to the shared representation. An additional branch predicts gender in some experiments. A user only needs to have labels for the tasks to which they contribute supervision.
The key comparison is with independently trained neural classifiers of comparable size. The authors also fit logistic regression, which provides a strong baseline without a hidden representation. They give special attention to how many labeled cases a classifier catches when the false positive rate is held at 0.1. The best reported suicide-attempt result has an area under the receiver operating characteristic curve of 0.848 and a true positive rate of 0.559 at that operating point. For the aggregate neuroatypicality label, the paper reports a true positive rate of 0.846 at the same false positive rate. Multitask training generally improves this low-false-positive comparison. Results vary with the condition, the evaluation measure, and the choice of auxiliary tasks. For PTSD, for example, the reported area under the curve is 0.786 with multitask learning, 0.770 with logistic regression, and 0.667 with independent neural training.
The experiment shows that related supervision can improve classification within this assembled dataset. It also shows why the comparison needs more than one baseline. A gain over the independent neural network can coexist with a lower score than logistic regression, as one reported bipolar-disorder comparison illustrates. Adding gender supervision helps several condition predictions at the chosen operating point, while the gender prediction itself fares worse under joint training. The authors present their work as laying the foundation for tools to support clinical assessment. Their matched Twitter sample and user-level labels leave open how well a system would predict a future attempt or perform with patients in practice.
Deep dive: Multitask Learning for Mental Health Conditions with Limited Social Media Data
Benton and colleagues test whether learning related conditions together improves detection of mental health labels and suicide attempt from Twitter text. · about 33 minutes to read
The problem and its context
From a clinical concern to a testable question
The paper starts from the difficulty of recognizing when someone may be at risk of suicide. As the authors describe it, conventional assessment draws on what people report and on impressions a clinician forms during brief encounters. The information available in any particular encounter may leave considerable uncertainty about risk. The authors consider whether analysis of language could eventually complement that process. The appeal of social media for their experiment is that people already produce the text. The research team can investigate the signal in it without designing a new writing task for the users.
That clinical motivation leads to a test that the available data can support. The observations are Twitter users with collections of posts. The outcomes are labels attached to those users in research datasets. For suicide attempt, the prediction concerns membership in a group of users identified as having attempted suicide. For the individual mental health conditions, the positive groups were assembled through disclosures of diagnoses. In each case, success means that the language features help distinguish users under the dataset's labeling scheme.
The unit of prediction matters. Someone reading a single post might ask whether it expresses distress or refers to a particular event. Benton and colleagues ask what becomes distinguishable when language is pooled over a user's history. A phrase that is uninformative in isolation can contribute to a pattern when it is common in the history. Conversely, the experiment cannot localize a signal to a particular tweet simply because the resulting user score is high. The paper takes an approach to text classification.
The authors also give the cost of false alarms a central role in defining the task. If a classifier flags many people in the comparison group, catching a large proportion of the labeled cases tells only part of the story. A score threshold can typically be moved to flag more users. That may catch cases previously missed, and it can flag additional comparison users as well. The authors want to know how much detection remains possible when the false positive rate is constrained. The same motivation explains why they examine the task outputs individually. A threshold that makes a particular tradeoff for one condition has no reason to make the same tradeoff for another.
The starting point in language research
The authors build on studies that infer characteristics of a writer from social media language. The work they cite includes predictions of age, gender, personality, and occupation. These examples establish the kind of signal the authors are interested in. A collection of everyday posts can carry statistical information about an author even when the posts were written for other purposes. The research question shifts from identifying a statement that explicitly gives away the answer to learning a pattern that recurs across people in a labeled group.
Their account of earlier mental health work covers predictions for depression, suicidal ideation, schizophrenia, and post-traumatic stress disorder, abbreviated PTSD. An especially direct predecessor is the shared task on identifying depression and PTSD from Twitter. It supplied labeled material and a setting in which researchers could compare approaches to the conditions. The paper draws part of its data from that effort. CLPsych 2015 Shared Task on Depression and PTSD
What the authors want to change is the practice of treating a condition as a self-contained learning problem. The dataset for one condition can contain information relevant to another. People can have more than one condition, a pattern called comorbidity. The authors take that overlap as a reason to test shared learning. If training for depression helps a network organize variations in language that also matter for anxiety, an anxiety classifier could benefit from the depression examples. This is a proposed route for transfer. Comorbidity itself does not specify what the relevant language patterns are or whether every pair of predictions will help each other.
The paper places this idea in a broader tradition in natural language processing. It cites research in which multiple language tasks, such as assigning grammatical categories and finding names, are trained together. The general idea is that examples from different tasks can help form a representation useful across them. Collobert and colleagues supply a direct architectural precedent, with a common neural representation supporting multiple language predictions. Benton and colleagues use the same broad principle with character frequencies and a feedforward network. Natural Language Processing (almost) from Scratch
The related-work discussion also traces multitask learning back to Caruana and to early experiments motivated by medical risk. The paper describes a closer medical precedent in which a recurrent network learns several diagnoses from health care records. That work uses care-related features and reports small gains whose significance the authors regard as uncertain. Benton and colleagues study a different source of observations, the social text people produce outside clinical encounters. The features and the available supervision therefore differ from those in the medical records example. Learning to Diagnose with LSTM Recurrent Neural Networks
Demographic information supplies another motivation for sharing. The paper cites previous social media research in which taking demographic variation into account improved language classification. It also notes that patterns of mental health can vary with gender. Its corresponding question is whether learning to predict an available gender label will change what the shared network learns. The paper implements this as an auxiliary prediction. Gender supplies some training targets, and at prediction time the condition branches receive their information from the language representation. Exploring Demographic Language Variations and Demographic Factors Improve Classification Performance
A further distinction concerns what would count as evidence for multitask learning. A network with hidden layers can build combinations of input features that logistic regression cannot express in the same way. If a shared network outperforms only logistic regression, the improvement could reflect the hidden representation or the shared supervision. The authors therefore want an independently trained neural comparison with comparable capacity. That comparison gives the paper a way to ask whether organizing the same kind of computation around related training objectives changes the outcome.
The method, step by step
Assemble user histories and partial labels
The data come from a union of Twitter collections. One source contains users identified with a range of conditions, including depression and anxiety. Another contributes users identified as having attempted suicide. The CLPsych shared task contributes further depression and PTSD data. The combined dataset also includes gender-matched comparison users whom the source collections had not identified as having a mental health condition. The matching is part of how those comparison users were selected. The optional auxiliary gender task uses labels manually annotated for a subset of the combined data.
For the condition groups, users were identified through explicit statements on Twitter about having received a diagnosis. A human annotator checked the disclosure used for identification. The data were then processed to remove direct indications of the condition. Those steps serve different purposes. Checking the disclosure supports the assignment of the research label. Removing direct indications reduces the chance that the classifier succeeds by rediscovering the expressions used to construct the group. The rest of the available history supplies the input for the classification experiment.
A user can carry several condition labels. That is why the authors can describe co-occurrence in their dataset and why their architecture has separate binary outputs. A single choice across all conditions would force each person into just one category. Here, a positive score for depression can accompany a positive score for anxiety. The broad mental health output is also a separate task. It learns a distinction between the users identified as having a condition and the comparison group, without requiring the condition-specific branches to settle on just one answer.
The datasets also leave gaps in supervision. The authors explicitly allow each user to be annotated for only part of the task set. An absent label has a different role from an observed negative label. An observed negative gives the corresponding branch an example to learn from. An absent label gives that branch no target for the user. A history with a useful label for one condition can therefore help train the shared representation even when it offers no supervision for another condition or for gender.
Turn a posting history into a vector
The classifiers receive a vector of relative frequencies of character n-grams. A character n-gram is a contiguous sequence of characters of a specified length. Instead of keeping the original order of all the tweets in a history, the authors extract short sequences and record how frequent they are. The set of lengths described in the paper is:
n ∈ {1, 2, 3, 4, 5}
Here n is the number of characters in a sequence. The symbol ∈ means that the length is drawn from the set enclosed by braces. The entries are the permitted character lengths, from single characters through five-character sequences.
The authors select the 5,000 most frequent features from the n-gram representation and use their relative frequencies in each history. Each position in the input corresponds to a selected sequence. The numeric value in that position records its frequency after normalization. Normalization lets the network work with patterns of relative use even when one user has a longer posting history than another. The paper describes using the entire available history for each user and later reports that relative frequencies were easier to train with than raw counts.
Character sequences are useful here because a fragment can recur inside different strings. A feature can retain local evidence about spelling or a fragment of a word even when the complete word varies. The representation also has a clear boundary. It preserves the order of characters inside the selected fragments and aggregates them across the history. The network receives no ordered stream of tweets from which to learn a progression over time. That follows directly from how the input is built, independently of which classifier receives it.
The same representation goes into logistic regression and both types of neural classifier. Any advantage for the shared network, within this comparison, therefore comes from how the classifiers use the features and how they are trained. They all begin with the same account of the user's text.
From Twitter histories to condition scores
The steps in order.
Share the first transformation and specialize the second
The independent neural baseline is a feedforward multilayer perceptron. Feedforward means that the input passes through successive transformations toward an output. Each task has its own network with two hidden layers. A hidden layer computes intermediate features from the preceding layer, and those features are learned as part of training. For the independent depression classifier, the training labels for depression determine how its intermediate features develop. Its weights belong to that network alone.
The multitask version shares the first hidden layer across the tasks selected for joint training. That layer takes the character frequencies and produces an intermediate representation for the user. Each prediction then has its own additional hidden layer and its own output. This division lets the conditions use the same initial description of the history while giving each branch room to transform it in a way that serves its label. The anxiety and suicide-attempt branches, for example, can both use a feature from the common layer, assign it different importance, and combine it with different features.
The hidden layers use rectified linear units. A rectified linear unit passes through a positive input and returns zero when its input is negative. The paper depicts this operation in its architecture diagram. In functional notation, it is:
r(z) = max(0, z)
Here z is the weighted input to a hidden unit, including its bias where applicable. The expression r(z) is the unit's output. The function max selects the larger of its arguments. 0 is the value below which the unit suppresses the input, and = states the rule defining the output.
The final unit for each task uses a logistic sigmoid. Its role is to turn the branch's unrestricted score into a value on the probability scale for a binary prediction. The activation can be written as follows:
σ(s) = 1 ÷ (1 + exp(−s))
Here s is the score reaching the final unit and σ(s) is the transformed score. The function exp is the exponential function, −s reverses the sign of the score, ÷ denotes division, and + denotes addition. The 1 in the numerator and the 1 in the denominator are constants in the logistic function. Parentheses enclose the argument of the exponential and group the denominator. The transformation preserves score order, so users with larger branch scores stay higher in the ranking after the sigmoid.
The place where information is shared is important to interpreting the system. The condition branches are parallel. The predicted depression score does not go into the suicide-attempt branch as a feature. Instead, training for depression can change the weights that create the common representation, and the suicide-attempt branch can use the changed representation. The gender branch works the same way. Its supervision can shape the shared layer without requiring a gender annotation as an input for each user scored on a condition.
Logistic regression provides a simpler use of the frequency vector. It weights the input features directly to obtain a score for each task. The independent neural baseline and shared network both have nonlinear hidden transformations between the inputs and the outputs. The authors design the neural comparison around matching parameter counts. This makes a comparison between shared and independent training more informative than attributing every improvement over logistic regression to the use of auxiliary tasks.
Train jointly with the labels that are present
The training procedure samples users in mini-batches of 256. A mini-batch is the group on which an update is calculated. For a given user, each available label supplies feedback to its task branch. That feedback reaches the common layer through the branch. Labels for another task, supplied by other users in the same batch, can also contribute to the shared update. Where the batch lacks supervision for a task, learning can continue using the labels it contains.
This is how supervision from different source collections reaches the same representation. The information does not have to come from a user with every condition and demographic field annotated. A dataset can contribute useful examples for one task while another dataset supplies most of the examples for a different task. Joint training gives the common weights a reason to respond to patterns that help across these partially labeled groups.
The authors use Adagrad to update the weights. Adagrad adapts the scale of updates by parameter, which matters when progress in some directions requires different step sizes from progress in others. They also apply L2 regularization to the weights. This penalizes large weights and gives the fit a reason to use smaller ones when the training objective permits. Input dropout is fixed at 0.05. During training, dropout suppresses part of the input at random, so the network must learn under some variation in which features are available on a particular update.
The method description gives 5,000 iterations for joint updates. After the shared training stage, the authors take tasks individually and update their task-specific layers for another 1,000 iterations. During this stage, the shared representation stays fixed. Development loss for the individual task guides the choice of branch weights. The separation lets a well-performing shared representation be retained while the branch adjusts to the needs of its own prediction. A new branch weight found during this refinement does not change the shared layer other tasks use.
Select settings on development data
The authors tune hidden-layer width and the strength of L2 regularization. Width determines how many intermediate features a layer can learn. Within a network they use the same width for the hidden layers. The width search ranges over 16, 32, 64, 128, 256, 512, 1024, and 2048. The regularization search uses values of 10⁻⁴, 10⁻³, 10⁻², 0.1, 0.5, 1.0, 5.0, and 10.0. These are candidates for the respective settings. The lowest loss on development data determines the choice, and the authors report checking the tuning loss every 10 epochs.
The paper uses both iterations and epochs to describe training. Its method section specifies the joint and task-specific iterations. The experiment description also reports training for up to 15,000 epochs. An iteration refers to an update in the procedure, while an epoch conventionally describes a pass over training data. The paper does not give a conversion between the reported schedules. The point shared by the descriptions is that the test scores come after a choice based on development loss.
The implementation uses Keras with Theano and GPU support. The architecture and training choices are deliberately simple enough for the comparison to center on where supervision goes. There is a common input, a neural baseline that learns each task independently, and a shared version that lets multiple tasks shape the first hidden layer. The paper also reports preliminary efforts with alternative architectures and initialization, which help explain why it uses this design for the main experiments.
Experiments and results
What is held out and what is compared
The combined dataset contains 9,611 Twitter users and an average of 3521 tweets per user. There are 1,101 users in the manually annotated gender subset. The paper's frequency table counts users with each label and reports co-occurrences between conditions. The condition totals overlap because the same person can appear under several labels. A user counted in two condition groups still contributes one posting history as input.
The authors divide the user data into five equal-sized folds. Of the five, three serve as training inputs, with a separate one each for tuning and testing. The units in these partitions are user histories. This makes the test a comparison on held-out people in the assembled dataset, instead of a test of which of a known user's posts are most informative. The tuning fold lets the authors compare settings and checkpoints before the corresponding test predictions are evaluated.
The principal systems are logistic regression, the single-task learning network, and the multitask network. The paper abbreviates them LR, STL, and MTL. It also compares MTL trained with the condition tasks against MTL trained with the additional gender task. When results are reported for depression, for instance, the comparison uses the depression output of each fitted classifier. A person can contribute to several training objectives, but the metric for a named task concerns that task's output and labels.
Gender appears in two distinct parts of this design. The control sampling uses gender matching. The auxiliary experiment changes whether a manually annotated gender label can provide training feedback. The with-gender and without-gender networks in that comparison operate within the same underlying data construction. Their performance difference is about adding an objective under those conditions.
Reading the error rates
The evaluation starts from a continuous score per task. A threshold determines which users the classifier marks as positive. Lowering the threshold can allow more examples into the predicted positive group. How desirable that change is depends on which users the newly included examples are. The same move can raise the number of correctly flagged cases and the number of false alarms.
The true positive rate measures how frequently a classifier flags users with the target label. The false positive rate measures how frequently it flags comparison users for the task. These rates make the operating point interpretable in terms of the two groups:
TPR = TP ÷ (TP + FN)
TPR is true positive rate. TP counts labeled positives the classifier flags, and FN counts labeled positives it misses. The + sign combines those counts into the total number of labeled positives, with parentheses grouping the denominator. The ÷ sign gives the fraction of that group which is flagged, and = defines the rate.
FPR = FP ÷ (FP + TN)
FPR is false positive rate. FP counts reference negatives the classifier flags, and TN counts reference negatives it leaves unflagged. The denominator FP + TN is the total number of reference negatives. Parentheses group the denominator, ÷ divides, and = defines the rate. Both rates describe decisions relative to the research labels.
A receiver operating characteristic curve, or ROC curve, traces the true positive rate against the false positive rate as the threshold changes. AUC is the area under that curve. It summarizes how well the classifier separates the labeled groups across thresholds. The authors give AUC alongside a measure tied to the part of the curve that motivated the study:
TPR@FPR=0.1
TPR is the true positive rate and FPR is the false positive rate. The @ sign reads as “at,” = fixes the false positive rate, and 0.1 is the operating point at which the paper reads the true positive rate. A higher value for this measure means the classifier recovers more of the labeled positives at the same false positive rate. A high AUC can coexist with a weaker result in this part of the curve because AUC also reflects how the classifier behaves elsewhere.
The paper also plots precision and recall. Precision is the fraction of flagged users who actually carry the reference positive label. Recall is the fraction of reference positives flagged and is the same quantity as the true positive rate. The paper notes that the single-task and multitask neural classifiers are frequently comparable by F1, which balances precision and recall. The difference between that observation and the findings at a fixed false positive rate is consequential. Each measure asks a different question about the output scores and the resulting decisions.
The authors explain why they omit an always-majority baseline. For these condition tasks it would assign the majority answer and recover none of the positive examples. They give an expected AUC of 0.5 and a true positive rate of 0 at the specified operating point. Logistic regression is a more informative comparison because it has access to the same text features and can produce a ranking. It also turns out to be competitive with the neural classifiers.
Suicide attempt and the broad mental health label
The paper reports an AUC of 0.848 for its strongest suicide-attempt result. At a false positive rate of 0.1, the reported true positive rate for suicide attempt is 0.559. The AUC describes the ranking over the threshold range. The true positive rate describes what happens at the threshold selected by the false positive constraint. Reading them together gives a sense of both the general separation of the labeled groups and the remaining misses at the part of the curve the authors care about.
For the broad neuroatypicality task, the paper reports a true positive rate of 0.846 at a false positive rate of 0.1. This output asks whether a user falls on the condition-labeled side of the broad distinction used by the study. It does not require the network to predict which individual label a user carries. The broad task is thus meaningful in its own right and also supplies supervision the authors can include when training other predictions.
The authors report that the multitask variants yield the strongest true positive rates at the chosen false positive rate across the main mental health and suicide-attempt tasks. Adding gender supervision raises that measure for several tasks, including suicide attempt, anxiety, and the broad neuroatypicality outcome. In the introduction the authors give an absolute gain of up to 9.7% for anxiety in true positive rate when the false alarm rate is 10%. In the conclusion they separately describe an anxiety error rate reduction of up to 11.9% from a single-task classifier. These figures retain the different descriptions the paper gives them.
AUC produces a somewhat different ordering. The authors single out schizophrenia as the condition for which a single-task approach gave the best AUC, even though the multitask results lead at the specified false positive rate. This illustrates why they show both views. A comparison can favor one classifier in the low-false-positive region and a different one when aggregated across the curve. For a setting that places particular weight on false alarms, AUC on its own can obscure the ranking at the operating point of interest.
Conditions with less supervision
The paper uses PTSD, panic attack, and bipolar disorder to examine how well shared learning fares on condition-specific data. The named comparisons are valuable because they include both baselines. A gain relative to the independent neural classifier shows one kind of benefit. Performance against logistic regression tells whether the shared network also improves on a simpler use of the same character features.
For PTSD, multitask learning gives a test AUC of 0.786, against 0.770 for logistic regression and 0.667 for single-task neural training. The logistic baseline narrows the gap between a reasonable alternative and the multitask result. The larger separation from the independently trained neural classifier is consistent with the possibility that fitting its hidden layers benefits from extra task supervision. The paper points to depression and anxiety as better represented sources of related supervision.
Test AUC for PTSD in the combined Twitter user dataset
Shared training leads both baselines, with logistic regression closer than the independent neural classifier.
The numbers
| System or setting | AUC |
|---|---|
| Logistic regression | 0.770 |
| Single-task neural training | 0.667 |
| Multitask training (this paper) | 0.786 |
For panic attack, the paper gives a test AUC of 0.724 with multitask learning, 0.713 with logistic regression, and 0.631 with the independent neural network. As with PTSD, the simpler classifier sits between the two neural approaches. The paper reports bootstrap significance testing for the group of condition comparisons at p = 0.05 using 5000 samples. Bootstrap testing examines a score comparison over resampled observations to assess how much the observed ordering depends on the particular evaluation sample.
Test AUC for panic attack in the combined Twitter user dataset
The multitask classifier leads, and logistic regression also improves on independent neural training.
The numbers
| System or setting | AUC |
|---|---|
| Logistic regression | 0.713 |
| Single-task neural training | 0.631 |
| Multitask training (this paper) | 0.724 |
The prose gives a different ordering for bipolar disorder. Its stated test AUCs are 0.723 for MTL, 0.752 for logistic regression, and 0.552 for STL. On that comparison, the multitask network makes a substantial recovery from the independent network and logistic regression still leads. In the task-subset table, the full multitask setting instead has 0.752 and the logistic comparison has 0.723. Since the assignments are reversed, the defensible reading preserves each reported comparison in its own context. Both show a clear advantage for shared neural training over independent neural training on this task. A general claim about the margin over logistic regression would depend on which reporting is used.
The small-data finding is therefore more specific than a claim that joint training wins every comparison. It shows that the independently trained neural network can perform poorly when supervision is limited and that shared training can substantially improve it. PTSD and panic attack give examples in which the reported gains also extend over logistic regression. Bipolar disorder shows why the independent neural baseline and logistic baseline both matter when interpreting the effect.
What the ablations show
Changing the supervision while keeping the prediction fixed
The main comparison asks whether shared learning helps. The task-selection experiment asks which shared objectives make it help. Predicting whether someone will attempt suicide or have anxiety, depression, or bipolar disorder is the authors’ focus. For each outcome, they fit variants in which the main target stays in place and the tasks allowed to influence the shared layer change. This makes it possible to compare the usefulness of broad supervision with narrower groupings based on related conditions.
The largest set includes the mental health tasks and gender. Another broad setting retains the condition tasks and omits gender. The authors also use the aggregate neurotypicality task on its own as auxiliary supervision. Other restricted settings add a mood grouping centered on depression and bipolar disorder, or an anxiety grouping containing anxiety and panic attack. A further set combines the broad distinction with the principal targets chosen for this analysis. Independent neural training is the setting with no auxiliary tasks. The named groups are selected comparisons, so there are many combinations the experiment leaves untested.
The aggregate task is a useful case to include because it provides a coarser kind of label. Supervision about whether a user belongs to the broader condition group may teach a common distinction. On its own, it gives the shared layer less information about which differences separate the individual conditions. A mood or anxiety grouping asks whether a narrower bundle captures most of what the main task needs. The full set asks whether useful information can also come from objectives outside the grouping that looks most closely related on clinical grounds.
The general tendency in the table is that the broad task sets perform well. Restricting the shared objectives often reduces test AUC. The authors point out that bipolar disorder is relatively receptive to certain narrower choices, including a setting with depression and suicide-attempt supervision. That supports their view that task relationships matter. It leaves room for a small group of auxiliary objectives to be helpful even when the full set is stronger on the reported comparison.
The bipolar column illustrates the point with scores anchored to the same independent baseline. With no auxiliary tasks, the table gives 0.552. The setting combining the aggregate task with the principal targets gives 0.747. With all condition tasks and without gender, the table gives 0.743. With the full task set including gender, it gives 0.752. The full set leads the shown bipolar variants, and the restricted principal-target group retains much of the improvement over separate training. These are the assignments in the task-selection table.
Test AUC for bipolar disorder by auxiliary task set in the combined Twitter data
A restricted set of related targets recovers much of the gain achieved by the full task set.
The numbers
| System or setting | AUC |
|---|---|
| No auxiliary tasks | 0.552 |
| Aggregate task alone | 0.740 |
| Aggregate task and principal targets | 0.747 |
| All conditions without gender | 0.743 |
| Full task set including gender (this paper) | 0.752 |
The prose describes the full collection of tasks as best for all the main outcomes. The table warrants a more qualified account. It includes a comparison where the all-conditions setting without gender scores 0.772 and the full setting with gender scores 0.769. The broader conclusion is that extensive condition supervision tends to help in the tested combinations. Whether a particular extra objective improves the test ranking depends on the prediction.
The table also distinguishes gains over logistic regression from gains over the no-auxiliary neural setting. The two reference points are substantively different. Improvement over the no-auxiliary setting is the clearest evidence in this experiment that shared training helped the neural learner. Improvement over logistic regression shows that the gain was sufficient to beat a competitive baseline. The paper marks these comparisons separately at p = 0.05. Some task settings have evidence for the first comparison without corresponding evidence for the second.
The experiments support the authors' interpretation of auxiliary supervision as a form of regularization. A shared layer has to learn features useful to more than one branch, which can limit its tendency to fit peculiarities of a small set of examples. The results are compatible with the separate idea that related conditions supply useful language patterns. The design varies task membership as a whole. Changing the group can change how much supervision reaches the common layer, which users supply it, and how closely it relates to the target. The paper does not measure those effects independently.
Gender helps in one direction
The gender experiment changes a specific part of the supervision. A branch trained on gender labels is added to the condition branches, giving the common layer another objective. The low-false-positive comparison improves for several conditions under this change. The authors say the differences are statistically inconclusive for most tasks. The evidence is stronger for the observation that the effects vary across tasks and metrics.
The gender prediction itself becomes worse in the joint setting. This asymmetry matters because a shared representation can distribute its benefits unevenly. An auxiliary task can encourage the network to encode distinctions that help a condition branch while the set of condition objectives shifts the representation away from what would best serve the auxiliary branch. Evaluating only whether the auxiliary branch improves would miss its value to the main task. Conversely, treating a helpful auxiliary branch as proof of better gender classification would misread what the experiments found.
The authors consider possible explanations. Gender labels are available only for a subset of the users. That restricts the supervision for the task. The paper also raises noise associated with the inferred gender used in constructing the matched comparison data. Finally, the condition predictions may resemble each other more closely than they resemble gender prediction. The direction of transfer is an observed result of the experiment. The explanation for it remains open.
Depth, features, and the behavior of training
The paper describes depth comparisons with progressively deeper independent networks of the same parameter count. The authors conclude that a substantial part of the predictive power comes from the expressivity of a deep architecture. This qualifies the interpretation of differences between a neural classifier and logistic regression. Independently of sharing, hidden layers let a network learn intermediate features and combine them nonlinearly. The comparison with independent neural training is the one designed to ask what additional value comes from using related labels.
The authors also tried a deeper shared stack on a separate dataset. A design with 4 shared layers gave no reported gain over their standard design with 1 shared layer in that experiment. The paper notes that it tested a graphical architecture as well and found it less tractable at scale. These observations explain some of the choices behind the architecture. The detailed results for the condition tasks come from the feedforward setup with a single shared hidden layer.
The optimization observations concern how the system reached its fit. Adagrad was the quickest of the tried methods to reach a good solution in the authors' experiments. Other adaptive optimizers also progressed quickly. Their training loss could remain nearly level and then drop abruptly after about 900 iterations, followed by further plateaus and drops. Ordinary stochastic gradient descent gave a smoother curve and took much longer to converge in their runs. The paper leaves a better-tuned comparison with stochastic gradient descent for future experimentation.
The feature comparisons are similarly limited in scope. Relative feature frequencies produced easier training than raw counts. An earlier experiment tried pretrained word2vec word embeddings in an architecture without task-specific hidden layers and found no F-score improvement. The authors mention feature sparsity as a possible contributor. Since that initialization experiment changes both the input representation and part of the network used in the main comparison, it gives little basis for judging how pretrained embeddings would fare in the final shared setup.
The tuning analysis gives a further view of how much settings matter. With character trigrams, the paper tabulates average development loss over epochs 990-1000 of joint training. In the learning-rate sweep, the loss is 2.2 at 5 × 10⁻² and 20.2 at 0.1. These are development losses for the tuning run, rather than held-out condition AUCs. The steep deterioration at the higher setting shows that the success of this training procedure depends on how the updates are configured. It also helps explain the emphasis on selecting settings from development data for the architectural comparisons.
Limitations
Limits the authors state
The authors describe their sample as carefully matched, anonymized, and unrepresentative of the population at large. The condition groups come from specific ways of identifying users. The control group has its own matching procedure. Results on these groups establish that the approach can help in the study's classification setting. The authors caution against using them to draw conclusions about mental health across social media generally.
They also identify the risk of overgeneralizing author-attribute predictions to individuals. A statistical association found in a selected dataset can be taken as grounds for singling someone out. The authors withhold representative examples and feature selections in view of that risk. Their discussion places the work in the context of the possible social consequences of inferring attributes from people's language. The Social Impact of Natural Language Processing
The paper regards the accuracy as insufficient for independent use in a clinical setting. Its proposal is that future work could help clinicians draw on language evidence alongside their other information. The reported results establish whether adding auxiliary tasks can improve discrimination on a particular benchmark. The paper presents possible clinical use as a motivation for evaluating the low-false-positive region and for developing the research further.
The authors also identify methodological questions they leave open. They discuss trying longer character sequences and other inputs, and they present cross-platform applicability of character features as a reason for choosing them. The experiments reported for the main system use Twitter. They also discuss further optimization work and acknowledge uncertainty in the gender result. These points constrain how far the paper's architectural and feature choices can be generalized.
Limits visible in the experimental setup
The target for suicide attempt is a user-level label in a dataset assembled from known cases. The input aggregates the available posting history, and the paper does not specify a forecast date and a prediction window for this experiment. A forward-looking risk evaluation would have to define when a prediction is issued, which posts are available by that time, and what future outcome counts. The reported discrimination cannot establish how early a warning could be produced. The authors' use of suicide risk in framing the problem is broader than the outcome that the Twitter experiment measures.
There is a corresponding gap between the reference labels and clinical status. Positive condition labels depend on a person making a public disclosure that an annotator can recognize. Comparison users are those the dataset construction did not identify as having a condition. This leaves room for comparison users with undisclosed or unrecognized conditions. It also selects for people willing to disclose a diagnosis. Removing direct expressions of the label reduces one route for classification and leaves other ways that the sampled groups can differ, including what people choose to discuss and how they use Twitter.
The aggregate label shares this dependence on the dataset. It distinguishes the broad group of users with identified conditions from the matched comparison group. Strong performance on that task shows that the collected groups are distinguishable from the available language. Its meaning comes from the labels assigned in the study. The term neuroatypicality in the paper should be read in that operational sense.
The scores also describe performance after selecting held-out users from the combined sample. AUC measures separation and true positive rate at fixed false positive rate measures a particular tradeoff in that sample. Neither supplies the expected precision of alerts in a patient population or in an unselected set of Twitter users. Precision depends on how common the target outcome is among the people screened, as well as on the error rates. A matched sample can therefore support a useful ranking comparison while leaving uncertainty about how many flags would be correct under clinical use. The sigmoid's probability scale on its own does not provide evidence that the numbers are calibrated for a new population.
Matching, task overlap, and data volume also shape what can be inferred about why sharing works. An auxiliary task can be helpful for reasons that involve the way the examples were collected. Co-occurrence can motivate the choice of tasks, and the networks may exploit common language patterns. The experiment leaves open how much of the improvement comes from comorbidity-related signal, sample construction, or broader regularization from the additional labels. The ablations establish which selected task combinations trained useful representations in this dataset. Explaining the source of the signal would require a different comparison.
Finally, the gender analysis addresses comparative prediction performance. The paper reports whether adding the gender objective changes overall task scores. It does not report how false positives or missed cases are distributed across demographic groups. An improvement in a pooled operating point can coexist with different outcomes for different groups. The construction and annotation of the gender data, and the uncertainty of most task-level gains from adding gender, limit the conclusions that can be drawn about bias and fairness.
What came after
Later papers cite Benton and colleagues from several directions. Some address a related mental health prediction problem, some focus on the choice of auxiliary objectives, and others put greater weight on the social conditions under which language classifiers are used. The titles establish the scope of those connections. They do not establish that a later study used Benton's architecture, reused the Twitter data, or replicated a result.
Yates and colleagues take up depression and self-harm risk assessment in online forums. The connection is the question of whether language people already write in an online setting can support an assessment of mental health or risk. The emphasis changes with the setting and the named outcomes. Depression carries over directly as a topic, while self-harm risk has a different scope from the Twitter paper's label for a known suicide attempt. The forum study is a continuation of the research problem in a different source of online language. Depression and Self-Harm Risk Assessment in Online Forums
Bingel and colleagues take up the general question of which task relationships make multitask learning beneficial in deep neural networks. Benton's selected task groups show why that question matters. A shared layer may receive valuable supervision from several conditions, and adding an objective can help one prediction while hurting another. The later work makes beneficial task relationships the subject of study, extending the question beyond the specific set of mental health outcomes tested here. Identifying Beneficial Task Relations for Multi-Task Learning
Cohan and colleagues approach the study of multiple mental health conditions through data. Their SMHD work presents a large-scale resource for examining online language use across conditions. This addresses the empirical side of a problem that the Twitter paper encounters when it joins collections with unequal supervision. Studying several conditions together requires a usable account of which users carry which labels, where those labels overlap, and which distinctions can be evaluated. The relationship here is between a paper demonstrating a use for multi-condition supervision and work centered on a resource for multi-condition language research. SMHD
Hovy and colleagues place the social factors of language at the center of a broader discussion of theory and practice. In Benton and colleagues' experiment, the gender objective raises the concrete question of whether information about a writer can improve a language-based prediction. Matching raises a related question about which social differences the comparison has already controlled. The later paper's scope encompasses the broader role of such factors in accounts of how language varies and how language technology handles that variation. The Importance of Modeling Social Factors of Language
Shah and colleagues address predictive biases in natural language processing through a conceptual framework and overview. That framing connects to the dependence of Benton's outcomes on how examples and labels were obtained. Public disclosure defines who can enter several of the positive groups, matching shapes the comparison group, and demographic supervision can affect the features the network learns. These are concrete points at which the social setting of the data can matter to a prediction. The later work treats predictive bias as a general problem in its own right. Predictive Biases in Natural Language Processing
Abdelkadir and colleagues return to depression detection on Twitter with an explicitly cross-cultural evaluation. The subject and platform closely connect it to one of Benton's condition tasks. The evaluation question is different. Benton's experiment asks whether auxiliary supervision improves results for held-out users drawn from an assembled study sample. A cross-cultural evaluation brings the stability of depression detection across cultural settings into view. It addresses a dimension of generalization left open by an improvement in a matched Twitter dataset. Diverse Perspectives, Divergent Models
Cite
Cite as Adrian Benton, Margaret Mitchell and Dirk Hovy. 2017. Multitask Learning for Mental Health Conditions with Limited Social Media Data. Proceedings of the 15th Conference of the European Chapter of the Association for Computational Linguistics: Volume 1, Long Papers.
@inproceedings{benton2017multitask,
title = {{Multitask Learning for Mental Health Conditions with Limited Social Media Data}},
author = {Adrian Benton, Margaret Mitchell and Dirk Hovy},
booktitle = {Proceedings of the 15th Conference of the European Chapter of the Association for Computational Linguistics: Volume 1, Long Papers},
year = {2017},
url = {https://aclanthology.org/E17-1015/}
}This page in Markdown https://md.research.elamur.ai/free/en/papers/benton-2017-multitask-learning-mental-health-conditions/