<!DOCTYPE article PUBLIC "-//NLM//DTD JATS (Z39.96) Journal Archiving and Interchange DTD v1.0 20120330//EN" "JATS-archivearticle1.dtd">
<article xmlns:xlink="http://www.w3.org/1999/xlink">
  <front>
    <journal-meta />
    <article-meta>
      <title-group>
        <article-title>APB-UC3M at eRisk 2024: Natural Language Processing and Deep Learning for the Early Detection of Mental Disorders</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author">
          <string-name>Alejandro Pardo Bacuñana</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Isabel Segura Bedmar</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <aff id="aff0">
          <label>0</label>
          <institution>Universidad Carlos III de Madrid (UC3M), Avenida de la Universidad 30</institution>
          ,
          <addr-line>28911, Leganés, Madrid</addr-line>
          ,
          <country country="ES">Spain</country>
        </aff>
      </contrib-group>
      <abstract>
        <p>This paper presents our participation in the CLEF eRisk 2024 competition, where we focus on the early detection of anorexia, eating disorders, and depression from social media data. For the first task (search for symptoms of depression), we explore diferent sentence semantic similarity models, achieving robust performance in identifying early depressive symptoms, achieving the second best results in most of the evaluation metrics. For the second task (early detection of signs of anorexia), we use an ensemble of traditional machine learning algorithms. In the eating disorders detection task, we use contextualized embeddings from BERT to represent the texts, and then, classify them with a neural network. The findings highlight the posibility and room for improvement of early intervention and the potential of social media analysis to provide timely support for individuals at risk.</p>
      </abstract>
      <kwd-group>
        <kwd>eol&gt;Transformers</kwd>
        <kwd>Deep Learning</kwd>
        <kwd>Neuronal Networks</kwd>
        <kwd>Mental Disorders</kwd>
        <kwd>Early Detection</kwd>
        <kwd>eRisk</kwd>
        <kwd>CEUR-WS</kwd>
      </kwd-group>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>1. Introduction</title>
      <p>
        The main goal of the CLEF eRisk 2024 competition is to promote the development of advanced approaches
for the early detection of various mental health issues through social media analysis [
        <xref ref-type="bibr" rid="ref1 ref2">1, 2</xref>
        ].
      </p>
      <p>
        This competition, part of the Conference and Labs of the Evaluation Forum (CLEF), has been a
significant event since its inception in 2017. It brings together researchers and practitioners to collaborate
on innovative solutions for identifying early signs of mental health disorders from social media data. By
analyzing textual content from social media posts, we can gain valuable insights into individuals’ mental
states and potentially provide early warnings for those at risk. Early detection is crucial for various
applications, from identifying potential sexual ofenders to detecting victims of suicidal tendencies,
enabling interventions before it is too late [
        <xref ref-type="bibr" rid="ref3">3</xref>
        ].
      </p>
      <p>
        Our participation in the CLEF eRisk 2024 competition focuses on the development and refinement of
models to detect early signs of anorexia, eating disorders, and depression. Early intervention in these
cases is crucial for providing timely support and improving outcomes for afected individuals [
        <xref ref-type="bibr" rid="ref1 ref2">1, 2</xref>
        ].
These conditions, prevalent among various demographics, often manifest in subtle linguistic cues that
can be identified through sophisticated text analysis techniques.
      </p>
      <p>
        In the last decade, social media has become a vital platform for individuals to express their thoughts,
emotions, and ideas. This has opened up new avenues for the analysis of online data, which can be
leveraged for numerous purposes such as business and marketing strategies, political planning, stock
market predictions, and emergency awareness [
        <xref ref-type="bibr" rid="ref4 ref5">4, 5</xref>
        ].
      </p>
      <p>
        In the healthcare domain, social media posts have been instrumental in detecting disease outbreaks,
identifying smoking patterns, and recognizing adverse drug reactions, among others [
        <xref ref-type="bibr" rid="ref6 ref7">6, 7</xref>
        ]. More
recently, the automatic detection of mental health issues has gained considerable attention within
the field of Natural Language Processing (NLP) [
        <xref ref-type="bibr" rid="ref8">8</xref>
        ]. Platforms like Twitter, Facebook, blogs, online
forums, and Reddit provide rich corpora for detecting various mental health problems, including anxiety,
depression, suicidal thoughts, and eating disorders [
        <xref ref-type="bibr" rid="ref9">9</xref>
        ].
      </p>
      <p>In this paper, we present our approaches and methodologies for each of the three tasks of eRisk 2024:
search for symptoms of depression (task 1), early detection of signs of anorexia (task 2), and measuring
the severity of the signs of eating disorders (task 3). We employ a variety of NLP techniques like BERT
for creating word embeddings, Machine Learning, and Deep Learning, to develop robust models capable
of accurately detecting signs of anorexia, eating disorders, and depression. For task 1, we we achieved
high accuracy in the early detection of anorexia.</p>
    </sec>
    <sec id="sec-2">
      <title>2. Approaches and Experiments for each of the Tasks</title>
      <p>In this section, we describe the diferent approaches that we have used for each one of the tasks.</p>
      <sec id="sec-2-1">
        <title>2.1. Methods for task 1: search for symptoms of depression</title>
        <p>
          The first task involved ranking and classifying sentences from a collection of user posts based on their
relevance to symptoms of depression listed in the Beck Depression Inventory-II (BDI-II) questionnaire
[
          <xref ref-type="bibr" rid="ref10">10</xref>
          ]. Participants had to provide rankings for all 21 depression symptoms in the BDI-II. A sentence was
considered relevant to a depression symptom when it conveyed information about the user’s condition
or state related to that symptom. In other words, a sentence could be relevant even if it indicated that
the user did not exhibit that particular symptom.
        </p>
        <p>We explored three diferent approaches: the first one based on sentence semantic similarity models,
the second one based on a RoBERTa classifier model and an ensemble that combined the previous ones.</p>
        <sec id="sec-2-1-1">
          <title>2.1.1. Sentence Semantic Similarity Models</title>
          <p>
            Our semantic similarity approach is based on Sentence Transformers [
            <xref ref-type="bibr" rid="ref11">11</xref>
            ], which leverage transformer
models [
            <xref ref-type="bibr" rid="ref12">12</xref>
            ], specifically BERT [
            <xref ref-type="bibr" rid="ref13">13</xref>
            ]. These architectures are able, on the one hand, to capture the
semantic relationships between words and tags; and on the other hand, to handle ambiguity in the text,
as they considers the context of the words to represent them.
          </p>
          <p>Thus, these models allow us to obtain representations of the sentences (embeddings) so that later, by
using mathematical formulas such as cosine similarity, the level of similarity of meanings between both
texts can be extracted.</p>
          <p>
            Cosine similarity is a metric used to determine the similarity between two vectors. It is calculated as
the cosine of the angle between the first and second vectors. A value of 1 indicates that the vectors
are identical, 0 means that they are orthogonal (unrelated), and -1 implies that they are opposite. It is
useful in semantic textual similarity, semantic search, or paraphrasing [
            <xref ref-type="bibr" rid="ref14 ref15">14, 15</xref>
            ].
          </p>
          <p>
            In this approach, the following Sentence Transformers models were used:
• all-MPNet-base-v2: To obtain this model, the microsoft/mpnet-base model was fine-tuned on a
dataset of 1B sentence pairs using a self-supervised contrasting learning objective. This particular
model maps sentences and paragraphs to a dense vector space of 768 dimensions and is typically
used for tasks such as clustering or semantic search[
            <xref ref-type="bibr" rid="ref16">16</xref>
            ].
• all-MiniLM-L12-v2: This model maps sentences and paragraphs to a dense 384-dimensional
vector space and can be used for tasks such as clustering or semantic search. It is also derived
from the pre-trainedmicrosoft/MiniML-L12-H384-uncased model [
            <xref ref-type="bibr" rid="ref17">17</xref>
            ], which was fine-tuned using
a dataset of 1B sentence pairs.
• all-MiniLM-L6-v2: a similar model to the previous one, the main diference being the number of
hidden layers, 6 instead of 12. It has as its foundation the pre-trained model
nreimers/MiniLM-L6H384-uncased which in turn was again based on the Microsoft model MiniLM-L12-H384-uncased.
[
            <xref ref-type="bibr" rid="ref17">17</xref>
            ].
          </p>
          <p>
            Each model was used to calculate the numerical representations [
            <xref ref-type="bibr" rid="ref18">18</xref>
            ] of each sentence to be classified.
Thus, its label is determined according to the highest similarity index to the annotated sentences in the
training set. The sentences used for calculating the similarity were all the ones in the training set plus
the eligible answers to each question of the BDI-II questionnaire [
            <xref ref-type="bibr" rid="ref10">10</xref>
            ].
          </p>
          <p>In other words, if a sentence has a high similarity to the sentences indicating sadness (symptom 1),
it is classified as such. For example, suppose we have the sentence “I am very sad, really, sad sad sad”
which belongs to symptom 1 (“Sadness”), the model would calculate its numerical representation and
calculate the cosine similarity with those of the reference sentences indicating sadness (label 1). If the
similarity is high with sentences labelled under the same symptom (1), the sentence is classified as
indicative of sadness with label “1”.</p>
          <p>
            Apart from the classification, the model also returned a decimal number between 1 and 10,
reinterpreted from its cosine similarity (since cosine similarity returns a decimal number from 0 to 1), as the
degree of relevance for that symptom in the BDI-II [
            <xref ref-type="bibr" rid="ref10">10</xref>
            ] questionnaire. This means that for example, for
symptom 1 (“Sadness”) the sentence “I feel sad all the time” would return 8.5, while the sentence “I did
not feel sad in a long time” would return 2.7.
          </p>
          <p>It is important to clarify that these models have a disadvantage in that they only label sentences once,
i.e. sentence that may be related with more than one symptom at a time are not classified again, these
models only address a multi-classification task but not multi-labelling. For example for the sentence “I
am sad and crying” relevant for symptom 1 (“Sadness”) and 10 (“Crying”), it would be classified as “1”
or “10” with a single degree of relevance.</p>
        </sec>
        <sec id="sec-2-1-2">
          <title>2.1.2. Classifier model RoBERTa</title>
          <p>In our second approach, we deal with the first task as a multi-labelling classification problem.</p>
          <p>
            The architecture chosen was RoBERTa (a Robustly Optimised BERT Approach) [
            <xref ref-type="bibr" rid="ref19">19</xref>
            ], which is a
variant of the BERT model. Specifically, for this approach, the pre-trained SamLowe/roberta-base
model was used, which is based on the previously described architecture. This model was designed
for a multi-label classification task in sentiment analysis. The dataset chosen to train the model was
goemotions [20]. The corpus is a set of multi-labeled [21] texts based on postings on the social network
Reddit, where one or more labels can be applied to any given input text, such labels being a diferent type
of both negative and positive emotion from the following list: “Disappointment, sadness, annoyance,
neutral, disapproval, realisation, nervousness, approval, joy, anger, embarrassment, caring, remorse,
disgust, grief, confusion, confusion, relief, desire, admiration, optimism, fear, love, excitement, curiosity,
amusement, surprise, gratitude, pride”.
          </p>
          <p>
            In our study, we adjusted the model to predict only 21 labels (instead of the 28 in the original model),
which are the 21 symptoms described in the BDI-II [
            <xref ref-type="bibr" rid="ref10">10</xref>
            ] test present in the symptom table. The model
was then fine-tuned on the training dataset of the task.
          </p>
          <p>The fitted model in addition to the classification, also provides the probability of each predicted label.
This probability provided us with a relevance level for the test symptom in which the sentence was
classified.</p>
        </sec>
        <sec id="sec-2-1-3">
          <title>2.1.3. Ensemble</title>
          <p>We also explored the combination of the previous approaches to deal with the task. We studied diferent
ensembles of the sentence semantic models and the classifier RoBERTa. Based on our results during the
development phase, our final submission was formed by aggregating the results from the
all-MPNet-basev2, all-MiniLM-L12-v2, and RoBERTa classifier models by majority voting and averaging the ranking
value.</p>
        </sec>
      </sec>
      <sec id="sec-2-2">
        <title>2.2. Methods for task 2: early detection of signs of anorexia</title>
        <p>For this task, the goal was to perform binary classification of users, determining whether they were at
risk for anorexia or not. The model had to analyze the user’s sentences sequentially. If at any point the
model deemed the user to be at risk for anorexia based on the sentences, it had to issue an alert. This
alert was communicated to a server. Importantly, once a positive risk alert was submitted for a user, it
could not be changed or retracted in later stages of analyzing that user’s data.</p>
        <p>This binary classification task was tackled using a ensemble model of three classical algorithms,
in addition to experimenting with diferent text representations. The ensemble models combine the
predictions of several models to produce a final prediction, which can help reduce overfitting and
improve generalisation by averaging the weaknesses and strengths of each individual model.</p>
        <p>Specifically, our ensemble is composed of three diferent models: Support Vector Machines (SVM),
Logistic Regression (LR) and Random Forest (RF). The texts were represented using embeddings produced
by BART [22] and Doc2Vec [23].</p>
        <p>Doc2Vec is an extension of the Word2Vec [24] model that allows the representation of documents
as fixed-length vectors in a high-dimensional space. To do this, a neural network [ 25] is trained on a
large corpus of text, where the network learns to predict words based on the surrounding context. As a
result, documents with similar content or context will have similar vector representations, making it
easier to identify relationships and patterns.</p>
        <p>
          BART is a transformer model [
          <xref ref-type="bibr" rid="ref12">12</xref>
          ] that is pre-trained as a denoiser autoencoder, which means that its
pre-training consisted of two stages. A first one where the text was corrupted with an arbitrary noise
function and a second one where a sequence-sequence model is subsequently learned to reconstruct
the original text. Thus allowing it to learn a rich and contextual representation of the input data.
        </p>
        <p>
          Its architecture is characterised by an encoder with an approach similar to the BERT (Bidirectional
Encoder Representation from Transformers) [
          <xref ref-type="bibr" rid="ref13">13</xref>
          ] and a decoder that follows the style of the Generative
Pre-trained Transformer (GPT) model [26]. Both base models and the transformer technology [
          <xref ref-type="bibr" rid="ref12">12</xref>
          ].
        </p>
        <p>The choice of the best model was made on the basis of a GridSearch with a 10-split StratifiedKFold
choosing its F1 as the best metric. The hyperparameters of the best models composing the ensemble
with Doc2Vec-based text representation were as follows:
• Doc2Vec: “vector_size”: 100, “window”: 5, “workers”: 4, “min_count”:2, “epochs”: 40.
• SVM: “C”: 1,4, “kernel”: “rbf”.
• LR: “C”: 0.0012, “class_weight”: “balanced”, “penalty”: “l2”, “solver”: “liblinear”.</p>
        <p>• Random Forest: “max_depth”: 10, “min_samples_split”: 5, “n_estimators”: 120.</p>
        <p>On the other hand, the hyperparameters chosen in the ensemble with text representation based on
BART were as follows:
• SVM: “C”: 1,8, “degree”: 4, “kernel”: “poly”.
• LR: “C”: 0.0012, “class_weight”: “balanced”, “penalty”: “l2”, “solver”: “liblinear”.</p>
        <p>• Random Forest: “max_depth”: 11, “min_samples_split”: 2, “n_estimators”: 140.</p>
        <p>Two submissions were made for this tasks, being run 0 the one for the model with text representation
based on Doc2Vec and run 1 for the one with BART embeddings.</p>
      </sec>
      <sec id="sec-2-3">
        <title>2.3. Methods for task 3: measuring the severity of the signs of eating disorders</title>
        <p>The objective of this task was to estimate the levels of features associated with eating disorders based
on user posts. This task is a continuation of the eforts made in 2022 and 2023. Participants were
tasked with analyzing these postings to fill out a standard eating disorder questionnaire for each user.
The questionnaire used in this task is the Eating Disorder Examination Questionnaire (EDE-Q) [27],
specifically focusing on questions 1-12 and 19-28. The EDE-Q is a 28-item self-reported questionnaire
adapted from the semi-structured Eating Disorder Examination (EDE) interview [28]. It is designed to
assess the range and severity of features associated with eating disorders.</p>
        <p>We utilized BERT (Bidirectional Encoder Representations from Transformers) to generate word
embeddings for our text data, which were subsequently fed into a neural network for classification. Our
neural network, was designed to process these embeddings and classify the text into one of 22 specified
categories (possible answers to the eating disorder test). Its architecture consisted of an input layer
taking the 768-dimensional BERT embeddings, followed by a fully connected layer mapping this to a
400-dimensional space, with a ReLU activation function. A dropout layer with a rate of 0.5 was used to
prevent overfitting, followed by another fully connected layer reducing the dimensions to 200, again
with ReLU activation. The final output layer mapped the 200-dimensional input to the 22 output classes.
The model was optimized with cross-entropy loss and the Adam optimizer.</p>
      </sec>
    </sec>
    <sec id="sec-3">
      <title>3. Results</title>
      <p>
        The detailed explanation for the metrics utilized can be found at the erisk 2024 overview paper in [
        <xref ref-type="bibr" rid="ref1 ref2">1, 2</xref>
        ].
Along with the system descriptions, results and experiments of the other participating teams.
      </p>
      <sec id="sec-3-1">
        <title>3.1. Results for task 1: search for symptoms of depression</title>
        <p>In task number 1, there were 9 teams in total. Being the team named NUS-IDS the one that achieved the
best results. Most of the teams performed at least 3 diferent runs (submissions).</p>
        <p>Team
APB-UC3M
APB-UC3M
APB-UC3M
APB-UC3M
APB-UC3M</p>
        <p>NUS-IDS</p>
        <p>Run
APB-UC3M_all-MiniLM-L6-v2</p>
        <p>APB-UC3M_all-MiniLM-L12-v2
APB-UC3M_sentsim-all-mpnet-base-v2</p>
        <p>APB-UC3M_ensemble
APB-UC3M_classifier_roberta-base-go_emotions</p>
        <p>Config 5</p>
        <p>As can be seen in Tables 1 and 2, the semantic similarity models have been the ones that have obtained
the best metrics, far above the classifier model RoBERTa.</p>
        <p>Both unanimously and by majority, the semantic similarity models have achieved the second best
metrics in Average Precision, R-PREC, NDCG and P@10. Even the model all-MiniLM-L12-v2 obtained
the best metric of P@10 in majority labelling.</p>
        <p>This indicates that semantic similarity models have been able to generalise much better than the
classifier model RoBERTa with texts never seen before. In addition, a better metric on the precision in
10 (precision on the first 10 ranked items of each symptom) indicates that the method used to calculate
the ranking of the sentence classification has been quite successful.</p>
        <p>As for the classifier model, it has been shown that it has not been able to generalise as well as it
should. A solution to this problem could be to train it for a longer time with a larger collection of
sentences in order to try to improve its generalisation.</p>
        <p>Finally, the ensemble model did not perform as expected. Its score was much lower than that of
the models it incorporated. One of the reasons could be the decision to eliminate the multi-labelled
sentences, we only kept the first occurrence of the sentence and its label.</p>
      </sec>
      <sec id="sec-3-2">
        <title>3.2. Results for task 2: early detection of signs of anorexia</title>
        <p>In task number 2, there were 10 teams in total. Being the team named NLP-UNED the one that achieved
the best results. Most of the teams performed 5 diferent runs (submissions).</p>
        <p>team
BioNLP-IISERB
GVIS
Riewe-Perla
UNSL
UMUTeam
COS-470-Team-2
ELiRF-UPV
NLP-UNED
SINAI
APB-UC3M
#runs</p>
        <p>Table 3 shows the time eficiency data for each of the models of each team after processing the total
number of available posts (2,001). One reason for the longer elapsed time compared to other systems is
the inability of the Doc2Vec-based text rendering model to use NVIDIA CUDA (Compute Unified Device
Architecture) [29]. CUDA is a parallel computing platform and application programming interface
model created by NVIDIA that allows developers to use NVIDIA GPUs (graphics processing units) for
general-purpose processing such as training artificial intelligence models.</p>
        <p>In Table 4, we can observe the results obtained for the decision-based evaluation (how accurate
were the classifications into anorexics and non-anorexics) and the ranking-based evaluation (how
accurate was the numerical value associated with each post based on its relevance). The model with text
representation based on Doc2Vec although far behind the other teams, was able to rank the sentences
more accurately than the text model based on BART [22]. However, it is also observed that the model
performs worse on the speed-based metrics (latencyTP and speed).</p>
        <p>Team
APB-UC3M
APB-UC3M
NLP-UNED
BioNLP-IISERB
Riewe-Perla</p>
        <p>P
T
y
c
n
e
t
a
l
9.00
2.00
14.00
4.00
6.00
1
F
d
e
t
h
g
i
e
w
y
c
n
e
t
a
l
0.28
0.26
0.75
0.66
0.60
Team
APB-UC3M
APB-UC3M
UNSL
NLP-UNED
NLP-UNED</p>
        <p>There are several explanations why the presented models have not been able to obtain similar results
to that of the other teams. In terms of speed, apart from the impossibility of using CUDA in the
Doc2Vecbased model, there has also been a shortcoming in terms of the equipment used to communicate with
the server. In other words, during the evaluation phase, there was no suficiently powerful equipment
available that could accelerate the models.</p>
        <p>On the other hand, regarding the accuracy of the models, a possible solution could be to change the
type of ensemble used so that it is not carried out by majority voting, but rather specific weights are
applied to each of the models that make up the [30], thus giving more relevance to the models that
obtained the best metrics individually (e.g.: SVM). It should also be noted that due to a failure in the
local machine used to communicate with the server, some messages were lost that could have been key
in making decisions.</p>
      </sec>
      <sec id="sec-3-3">
        <title>3.3. Results for task 3: measuring the severity of the signs of eating disorders</title>
        <p>In task number 3, there were 5 teams in total. Being the team named SCaLAR-NITK the one that
achieved the best results. Most of the teams performed at least 2 diferent runs (submissions).</p>
        <p>Results depicted in table 6 show our team, APB-UC3M, achieved a MAE of 2.003, which is slightly
higher than some of the top-performing teams such as SCaLAR-NITK, whose best run had a MAE of
1.874. Our MZOE was 0.869, indicating that our model had a moderate number of exact prediction
matches, while our MAEmacro was 2.142. Our GED score of 2.647 suggests that our model’s predicted
sequences were relatively close to the ground truth sequences.</p>
        <p>In terms of subscale scores, our Restraint Score (RS) was 2.253, Eating Concern Score (ECS) was
1.884, Shape Concern Score (SCS) was 2.101, and Weight Concern Score (WCS) was 1.823. These results
show that our model performed consistently across diferent subscales, although there is room for
improvement, particularly when compared to the leading team’s scores.</p>
        <p>team
baseline
baseline
baseline
APB-UC3M
RELAI
SCaLAR-NITK
SCaLAR-NITK
SCaLAR-NITK
SCaLAR-NITK
SCaLAR-NITK</p>
        <p>The baseline results, especially the "all 6s" run, had a surprisingly strong performance, with a MAE of
1.937, which is close to our own. This indicates that a simplistic approach can still achieve competitive
results, underscoring the complexity of improving upon simple heuristics in this task.</p>
        <p>Overall, our model demonstrated a consistent performance but did not achieve the top results. The
reason behind it could be due to the simplicity of the neuronal network used for the prediction.</p>
      </sec>
    </sec>
    <sec id="sec-4">
      <title>4. Conclusions and Future Work</title>
      <p>
        We participated in all three tasks of the eRisk 2024 shared tasks [
        <xref ref-type="bibr" rid="ref1 ref2">1, 2</xref>
        ].
      </p>
      <p>Our models demonstrated a reasonable ability to identify early signs of depression from social media
posts (task 1). The performance metrics showed that while the models were efective to an extent, there
is still a gap between our approach and the desired level of accuracy. The challenge lies in capturing the
subtle and varied ways depression symptoms can manifest in online behavior. One future approach we
think of could be the improvement of the data quality. Expanding the dataset to include a wider variety
of social media platforms and types of user interactions by including data augmentation techniques [31]
and other social media datasets would help create more comprehensive models capable of generalizing
across diferent contexts and user behaviors.</p>
      <p>The models developed for detecting anorexia achieved poor results (task 2), revealing the need for
more experimentation in this specific topic. Similar to Task 1, the variability in how individuals express
anorexic symptoms online poses a significant challenge. The nuanced language and diverse expressions
of anorexia necessitate more sophisticated models that can understand context and subtext better. To
improve our results across the task, we propose the incorporation of sequential models such as GRU
(Gated Recurrent Units) [32] or LSTM (Long Short-Term Memory) [33] which could potentially enhance
the performance of our models by better capturing temporal dependencies and the sequential nature of
user posts.</p>
      <p>For task 3, our results were promising, particularly when compared to baseline models. Our approach,
which involved the use of BERT embeddings and a neural network, provided a deeper understanding
of user behavior, yet there is room for enhancing the precision and recall of our predictions. Future
improvements could focus on enhancing the model’s ability to capture subtle nuances in user posts
that are indicative of eating disorders, possibly through more advanced embedding techniques or more
sophisticated neural network architectures.</p>
    </sec>
    <sec id="sec-5">
      <title>Acknowledgments</title>
      <p>This work was supported by ACCESS2MEET project (PID2020-116527RB-I0) supported by MCIN
AEI/10.13039/501100011033/.
Roberta: A robustly optimized bert pretraining approach, arXiv preprint arXiv:1907.11692 (2019).</p>
      <p>URL: https://doi.org/10.48550/arXiv.1907.11692.
[20] D. Demszky, D. Movshovitz-Attias, J. Ko, A. Cowen, G. Nemade, S. Ravi, Goemotions: A dataset of
ifne-grained emotions, 2020. arXiv:2005.00547.
[21] A. N. Tarekegn, M. Ullah, F. A. Cheikh, Deep learning for multi-label learning: A comprehensive
survey, 2024. arXiv:2401.16549.
[22] M. Lewis, Y. Liu, N. Goyal, M. Ghazvininejad, A. Mohamed, O. Levy, V. Stoyanov, L. Zettlemoyer,
BART: denoising sequence-to-sequence pre-training for natural language generation,
translation, and comprehension, CoRR abs/1910.13461 (2019). URL: http://arxiv.org/abs/1910.13461.
arXiv:1910.13461.
[23] Q. Le, T. Mikolov, Distributed representations of sentences and documents, in: International
conference on machine learning, PMLR, 2014, pp. 1188–1196.
[24] T. Mikolov, K. Chen, G. Corrado, J. Dean, Eficient estimation of word representations in vector
space, 2013. arXiv:1301.3781.
[25] J. Schmidhuber, Deep learning in neural networks: An overview, Neural networks 61 (2015)
85–117.
[26] A. Radford, K. Narasimhan, T. Salimans, I. Sutskever, et al., Improving language understanding by
generative pre-training (2018).
[27] R. Murphy, S. Straebler, Z. Cooper, C. G. Fairburn, Cognitive behavioral therapy for eating
disorders, Psychiatric Clinics of North America 33 (2010) 611–627. URL: https://doi.org/10.1016/j.
psc.2010.04.004, cognitive Behavioral Therapy.
[28] C. G. Fairburn, G. T. Wilson, K. Schleimer, Binge eating: Nature, assessment, and treatment,</p>
      <p>Guilford Press New York, 1993.
[29] R. S. Dehal, C. Munjal, A. A. Ansari, A. S. Kushwaha, Gpu computing revolution: Cuda, in: 2018
International Conference on Advances in Computing, Communication Control and Networking
(ICACCCN), 2018, pp. 197–201. doi:10.1109/ICACCCN.2018.8748495.
[30] I. D. Mienye, Y. Sun, A survey of ensemble learning: Concepts, algorithms, applications, and
prospects, IEEE Access 10 (2022) 99129–99149. doi:10.1109/ACCESS.2022.3207287.
[31] L. Perez, J. Wang, The efectiveness of data augmentation in image classification using deep
learning, CoRR abs/1712.04621 (2017). URL: http://arxiv.org/abs/1712.04621. arXiv:1712.04621.
[32] R. Dey, F. M. Salem, Gate-variants of gated recurrent unit (GRU) neural networks, CoRR
abs/1701.05923 (2017). URL: http://arxiv.org/abs/1701.05923. arXiv:1701.05923.
[33] R. C. Staudemeyer, E. R. Morris, Understanding LSTM - a tutorial into long short-term memory
recurrent neural networks, CoRR abs/1909.09586 (2019). URL: http://arxiv.org/abs/1909.09586.
arXiv:1909.09586.</p>
    </sec>
  </body>
  <back>
    <ref-list>
      <ref id="ref1">
        <mixed-citation>
          [1]
          <string-name>
            <given-names>J.</given-names>
            <surname>Parapar</surname>
          </string-name>
          ,
          <string-name>
            <given-names>P.</given-names>
            <surname>Martín-Rodilla</surname>
          </string-name>
          ,
          <string-name>
            <given-names>D. E.</given-names>
            <surname>Losada</surname>
          </string-name>
          ,
          <string-name>
            <given-names>F.</given-names>
            <surname>Crestani</surname>
          </string-name>
          , Overview of erisk 2024:
          <article-title>Early risk prediction on the internet, in: Experimental IR Meets Multilinguality</article-title>
          , Multimodality, and Interaction - 15th
          <source>International Conference of the CLEF Association, CLEF</source>
          <year>2024</year>
          , Grenoble, France, September 9-
          <issue>12</issue>
          ,
          <year>2024</year>
          , Proceedings, Lecture Notes in Computer Science, Springer,
          <year>2024</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref2">
        <mixed-citation>
          [2]
          <string-name>
            <given-names>J.</given-names>
            <surname>Parapar</surname>
          </string-name>
          ,
          <string-name>
            <given-names>P.</given-names>
            <surname>Martín-Rodilla</surname>
          </string-name>
          ,
          <string-name>
            <given-names>D. E.</given-names>
            <surname>Losada</surname>
          </string-name>
          ,
          <string-name>
            <given-names>F.</given-names>
            <surname>Crestani</surname>
          </string-name>
          , Overview of erisk 2024:
          <article-title>Early risk prediction on the internet (extended overview)</article-title>
          ,
          <source>in: Working Notes of the Conference and Labs of the Evaluation Forum CLEF</source>
          <year>2024</year>
          , CEUR Workshop Proceedings, CEUR-WS.org,
          <year>2024</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref3">
        <mixed-citation>
          [3]
          <string-name>
            <given-names>M. C.</given-names>
            <surname>Prince</surname>
          </string-name>
          ,
          <string-name>
            <given-names>L.</given-names>
            <surname>Srinivas</surname>
          </string-name>
          ,
          <article-title>A review and design of depression and suicide detection model through social media analytics</article-title>
          ,
          <source>in: Proceedings of International Conference on Deep Learning, Computing and Intelligence: ICDCI</source>
          <year>2021</year>
          , Springer,
          <year>2022</year>
          , pp.
          <fpage>443</fpage>
          -
          <lpage>455</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref4">
        <mixed-citation>
          [4]
          <string-name>
            <given-names>M.</given-names>
            <surname>Wankhade</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A. C. S.</given-names>
            <surname>Rao</surname>
          </string-name>
          ,
          <string-name>
            <given-names>C.</given-names>
            <surname>Kulkarni</surname>
          </string-name>
          ,
          <article-title>A survey on sentiment analysis methods, applications, and challenges</article-title>
          ,
          <source>Artificial Intelligence Review</source>
          <volume>55</volume>
          (
          <year>2022</year>
          )
          <fpage>5731</fpage>
          -
          <lpage>5780</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref5">
        <mixed-citation>
          [5]
          <string-name>
            <given-names>S.</given-names>
            <surname>Dorle</surname>
          </string-name>
          ,
          <string-name>
            <given-names>N.</given-names>
            <surname>Pise</surname>
          </string-name>
          ,
          <article-title>Political sentiment analysis through social media, in: 2018 second international conference on computing methodologies and communication (ICCMC)</article-title>
          , IEEE,
          <year>2018</year>
          , pp.
          <fpage>869</fpage>
          -
          <lpage>873</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref6">
        <mixed-citation>
          [6]
          <string-name>
            <given-names>M.</given-names>
            <surname>Omar</surname>
          </string-name>
          ,
          <string-name>
            <given-names>D.</given-names>
            <surname>Brin</surname>
          </string-name>
          ,
          <string-name>
            <given-names>B.</given-names>
            <surname>Glicksberg</surname>
          </string-name>
          , E. Klang,
          <article-title>Utilizing natural language processing and large language models in the diagnosis and prediction of infectious diseases: A systematic review</article-title>
          ,
          <source>American Journal of Infection Control</source>
          (
          <year>2024</year>
          ).
        </mixed-citation>
      </ref>
      <ref id="ref7">
        <mixed-citation>
          [7]
          <string-name>
            <given-names>J.-Y.</given-names>
            <surname>Lee</surname>
          </string-name>
          ,
          <string-name>
            <given-names>Y.-S.</given-names>
            <surname>Lee</surname>
          </string-name>
          ,
          <string-name>
            <given-names>D. H.</given-names>
            <surname>Kim</surname>
          </string-name>
          ,
          <string-name>
            <given-names>H. S.</given-names>
            <surname>Lee</surname>
          </string-name>
          ,
          <string-name>
            <given-names>B. R.</given-names>
            <surname>Yang</surname>
          </string-name>
          ,
          <string-name>
            <surname>M. G. Kim,</surname>
          </string-name>
          <article-title>The use of social media in detecting drug safety-related new black box warnings, labeling changes, or withdrawals: scoping review</article-title>
          ,
          <source>JMIR public health and surveillance</source>
          <volume>7</volume>
          (
          <year>2021</year>
          )
          <article-title>e30137</article-title>
          .
        </mixed-citation>
      </ref>
      <ref id="ref8">
        <mixed-citation>
          [8]
          <string-name>
            <given-names>W. A.</given-names>
            <surname>Gadzama</surname>
          </string-name>
          ,
          <string-name>
            <given-names>D.</given-names>
            <surname>Gabi</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M. S.</given-names>
            <surname>Argungu</surname>
          </string-name>
          , H. U. Suru,
          <article-title>The use of machine learning and deep learning models in detecting depression on social media: A systematic literature review</article-title>
          ,
          <source>Personalized Medicine in Psychiatry 45</source>
          (
          <year>2024</year>
          )
          <fpage>100125</fpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref9">
        <mixed-citation>
          [9]
          <string-name>
            <given-names>A.</given-names>
            <surname>Ahmed</surname>
          </string-name>
          ,
          <string-name>
            <given-names>S.</given-names>
            <surname>Aziz</surname>
          </string-name>
          ,
          <string-name>
            <given-names>C. T.</given-names>
            <surname>Toro</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M.</given-names>
            <surname>Alzubaidi</surname>
          </string-name>
          ,
          <string-name>
            <given-names>S.</given-names>
            <surname>Irshaidat</surname>
          </string-name>
          ,
          <string-name>
            <given-names>H. A.</given-names>
            <surname>Serhan</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A. A.</given-names>
            <surname>Abd-Alrazaq</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M.</given-names>
            <surname>Househ</surname>
          </string-name>
          ,
          <article-title>Machine learning models to detect anxiety and depression through social media: A scoping review</article-title>
          ,
          <source>Computer Methods and Programs in Biomedicine Update</source>
          <volume>2</volume>
          (
          <year>2022</year>
          )
          <fpage>100066</fpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref10">
        <mixed-citation>
          [10]
          <string-name>
            <given-names>A. T.</given-names>
            <surname>Beck</surname>
          </string-name>
          ,
          <string-name>
            <given-names>R. A.</given-names>
            <surname>Steer</surname>
          </string-name>
          , G. Brown,
          <article-title>Beck depression inventory-ii, Psychological assessment (</article-title>
          <year>1996</year>
          ). URL: https://doi.org/10.1037/t00742-
          <fpage>000</fpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref11">
        <mixed-citation>
          [11]
          <string-name>
            <given-names>N.</given-names>
            <surname>Reimers</surname>
          </string-name>
          ,
          <string-name>
            <surname>I. Gurevych</surname>
          </string-name>
          ,
          <article-title>Sentence-bert: Sentence embeddings using siamese bert-networks</article-title>
          , CoRR abs/
          <year>1908</year>
          .10084 (
          <year>2019</year>
          ). URL: http://arxiv.org/abs/
          <year>1908</year>
          .10084. arXiv:
          <year>1908</year>
          .10084.
        </mixed-citation>
      </ref>
      <ref id="ref12">
        <mixed-citation>
          [12]
          <string-name>
            <given-names>A.</given-names>
            <surname>Vaswani</surname>
          </string-name>
          ,
          <string-name>
            <given-names>N.</given-names>
            <surname>Shazeer</surname>
          </string-name>
          ,
          <string-name>
            <given-names>N.</given-names>
            <surname>Parmar</surname>
          </string-name>
          ,
          <string-name>
            <given-names>J.</given-names>
            <surname>Uszkoreit</surname>
          </string-name>
          ,
          <string-name>
            <given-names>L.</given-names>
            <surname>Jones</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A. N.</given-names>
            <surname>Gomez</surname>
          </string-name>
          , Ł. Kaiser,
          <string-name>
            <surname>I. Polosukhin</surname>
          </string-name>
          ,
          <article-title>Attention is all you need</article-title>
          ,
          <source>Advances in neural information processing systems</source>
          <volume>30</volume>
          (
          <year>2017</year>
          ).
        </mixed-citation>
      </ref>
      <ref id="ref13">
        <mixed-citation>
          [13]
          <string-name>
            <given-names>J.</given-names>
            <surname>Devlin</surname>
          </string-name>
          , M.-
          <string-name>
            <given-names>W.</given-names>
            <surname>Chang</surname>
          </string-name>
          ,
          <string-name>
            <given-names>K.</given-names>
            <surname>Lee</surname>
          </string-name>
          ,
          <string-name>
            <given-names>K.</given-names>
            <surname>Toutanova</surname>
          </string-name>
          , BERT:
          <article-title>Pre-training of deep bidirectional transformers for language understanding</article-title>
          , in: J.
          <string-name>
            <surname>Burstein</surname>
            ,
            <given-names>C.</given-names>
          </string-name>
          <string-name>
            <surname>Doran</surname>
          </string-name>
          , T. Solorio (Eds.),
          <source>Proceedings of the 2019 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies</source>
          , Volume
          <volume>1</volume>
          (Long and Short Papers),
          <source>Association for Computational Linguistics</source>
          , Minneapolis, Minnesota,
          <year>2019</year>
          , pp.
          <fpage>4171</fpage>
          -
          <lpage>4186</lpage>
          . URL: https://aclanthology.org/N19-1423. doi:
          <volume>10</volume>
          .18653/v1/
          <fpage>N19</fpage>
          -1423.
        </mixed-citation>
      </ref>
      <ref id="ref14">
        <mixed-citation>
          [14]
          <string-name>
            <given-names>L.</given-names>
            <surname>Muflikhah</surname>
          </string-name>
          ,
          <string-name>
            <given-names>B.</given-names>
            <surname>Baharudin</surname>
          </string-name>
          ,
          <article-title>Document clustering using concept space and cosine similarity measurement</article-title>
          ,
          <source>in: 2009 International conference on computer technology and development</source>
          , volume
          <volume>1</volume>
          , IEEE,
          <year>2009</year>
          , pp.
          <fpage>58</fpage>
          -
          <lpage>62</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref15">
        <mixed-citation>
          [15]
          <string-name>
            <given-names>B.</given-names>
            <surname>Li</surname>
          </string-name>
          , L. Han,
          <article-title>Distance weighted cosine similarity measure for text classification</article-title>
          ,
          <source>in: Intelligent Data Engineering and Automated Learning-IDEAL</source>
          <year>2013</year>
          : 14th International Conference, IDEAL 2013, Hefei, China,
          <source>October 20-23</source>
          ,
          <year>2013</year>
          . Proceedings 14, Springer,
          <year>2013</year>
          , pp.
          <fpage>611</fpage>
          -
          <lpage>618</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref16">
        <mixed-citation>
          [16]
          <string-name>
            <given-names>K.</given-names>
            <surname>Song</surname>
          </string-name>
          ,
          <string-name>
            <given-names>X.</given-names>
            <surname>Tan</surname>
          </string-name>
          ,
          <string-name>
            <given-names>T.</given-names>
            <surname>Qin</surname>
          </string-name>
          ,
          <string-name>
            <given-names>J.</given-names>
            <surname>Lu</surname>
          </string-name>
          , T.-Y. Liu,
          <article-title>Mpnet: Masked and permuted pre-training for language understanding</article-title>
          ,
          <source>Advances in neural information processing systems</source>
          <volume>33</volume>
          (
          <year>2020</year>
          )
          <fpage>16857</fpage>
          -
          <lpage>16867</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref17">
        <mixed-citation>
          [17]
          <string-name>
            <given-names>W.</given-names>
            <surname>Wang</surname>
          </string-name>
          ,
          <string-name>
            <given-names>F.</given-names>
            <surname>Wei</surname>
          </string-name>
          ,
          <string-name>
            <given-names>L.</given-names>
            <surname>Dong</surname>
          </string-name>
          ,
          <string-name>
            <given-names>H.</given-names>
            <surname>Bao</surname>
          </string-name>
          ,
          <string-name>
            <given-names>N.</given-names>
            <surname>Yang</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M.</given-names>
            <surname>Zhou</surname>
          </string-name>
          , Minilm:
          <article-title>Deep self-attention distillation for task-agnostic compression of pre-trained transformers</article-title>
          ,
          <year>2020</year>
          . arXiv:
          <year>2002</year>
          .10957.
        </mixed-citation>
      </ref>
      <ref id="ref18">
        <mixed-citation>
          [18]
          <string-name>
            <given-names>F.</given-names>
            <surname>Almeida</surname>
          </string-name>
          , G. Xexéo, Word embeddings: A survey,
          <year>2023</year>
          . arXiv:
          <year>1901</year>
          .09069.
        </mixed-citation>
      </ref>
      <ref id="ref19">
        <mixed-citation>
          [19]
          <string-name>
            <given-names>Y.</given-names>
            <surname>Liu</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M.</given-names>
            <surname>Ott</surname>
          </string-name>
          ,
          <string-name>
            <given-names>N.</given-names>
            <surname>Goyal</surname>
          </string-name>
          ,
          <string-name>
            <given-names>J.</given-names>
            <surname>Du</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M.</given-names>
            <surname>Joshi</surname>
          </string-name>
          ,
          <string-name>
            <given-names>D.</given-names>
            <surname>Chen</surname>
          </string-name>
          ,
          <string-name>
            <given-names>O.</given-names>
            <surname>Levy</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M.</given-names>
            <surname>Lewis</surname>
          </string-name>
          ,
          <string-name>
            <given-names>L.</given-names>
            <surname>Zettlemoyer</surname>
          </string-name>
          ,
          <string-name>
            <given-names>V.</given-names>
            <surname>Stoyanov</surname>
          </string-name>
          ,
        </mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>