<!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>Data Augmentation via Generative LLMs for the Detection of Gambling Disorders and Type of Addiction in Social Media Threads</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author">
          <string-name>Ibai Sologuestoa</string-name>
          <email>isologuestoa001@ikasle.ehu.eus</email>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Xabier Larrayoz</string-name>
          <email>xabier.larrayoz@ehu.eus</email>
          <xref ref-type="aff" rid="aff1">1</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Maite Oronoz</string-name>
          <email>maite.oronoz@ehu.eus</email>
          <xref ref-type="aff" rid="aff1">1</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Alicia Pérez</string-name>
          <email>alicia.perez@ehu.eus</email>
          <xref ref-type="aff" rid="aff0">0</xref>
          <xref ref-type="aff" rid="aff1">1</xref>
        </contrib>
        <aff id="aff0">
          <label>0</label>
          <institution>Escuela de Ingeniería de Bilbao, University of the Basque Country UPV/EHU</institution>
          ,
          <country country="ES">Spain</country>
        </aff>
        <aff id="aff1">
          <label>1</label>
          <institution>HiTZ Center - Ixa, University of the Basque Country UPV/EHU (</institution>
        </aff>
      </contrib-group>
      <pub-date>
        <year>2025</year>
      </pub-date>
      <abstract>
        <p>This work addresses natural language processing in Spanish-language social media. The goal is twofold: first, the early detection of users at high risk of having gambling disorders, based on a set of their messages; second, determining the type of gambling addiction (Betting, Online Gaming, Trading, and Lootboxes). We employed supervised classification approaches; however, these methods inherently depend on the availability of large annotated corpora. In an attempt to cope with this challenge, we explored the incorporation of artificial user message threads generated using Generative Large Language Models, creating synthetic counterparts by usersegment for high or low risk users. For the early detection of user's gambling disorder risk, we proposed a hybrid Bi-LSTM model trained with the GroupDRO loss and enhanced by dual attention mechanisms-capturing learned and lexicon-based risk-alongside data augmentation. To support high-risk alarm decisions based on the classifier's output, we investigated the use of dynamic thresholds. Dynamic thresholds were intended as a trade-of between earliness in decision making and unfair alarm raising for users with long-enough message sequences. The approach achieved a competitive Macro-F1 score of 0.475. For classifying the type of addiction, the classification model employs a hierarchical Bidirectional Long Short-Term Memory (Bi-LSTM) achieving a Macro-F1 score of 0.856. In addition, we designed our approaches to be lightweight and versatile, capable of running on modest hardware without requiring GPU acceleration.</p>
      </abstract>
      <kwd-group>
        <kwd>eol&gt;Generative LLMs</kwd>
        <kwd>Early Detection</kwd>
        <kwd>Dual Attention</kwd>
        <kwd>Group Loss Function</kwd>
        <kwd>Data Augmentation</kwd>
      </kwd-group>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>1. Introduction</title>
      <p>Gambling activities have been interwoven with human society throughout history, but recent decades
have witnessed an unprecedented acceleration in their proliferation and accessibility. Of particular
concern is the emergence of novel gambling modalities such as online casinos and in-game lootbox
mechanisms [1], which have expanded the gambling ecosystem beyond traditional boundaries.</p>
      <p>At the same time, sophisticated marketing strategies have emerged, using digital influencers on
platforms like Twitch, where streamers promote gambling activities in ways that reduce the perceived
risks associated with gambling [2]. Perhaps more concerning is the early exposure of younger
demographics to gambling adjacent mechanics through colourful, engaging lootbox systems in video games
potentially boosting gambling behaviours that may develop into clinical disorders later in life.</p>
      <p>The relationship between exposure to gambling mechanics and the development of problematic
gambling behaviours [3] highlights the critical importance of early detection and intervention systems
across all demographic groups. Identifying at-risk individuals becomes essential for implementing
timely preventive measures and appropriate support resources.</p>
      <p>Given the critical importance of early detection for problematic gambling behaviours, two tasks are
distinguished with the following specifications:
1. Detection of risk: early detection of gambling disorder risk for each user consists of seizing the
risk of developing a gambling-related disorder for each user employing as fewer messages as
possible. This can be approached as a binary classification task with two risk levels: low and high.
2. Type of addiction: regardless of the risk-level (either low or high risk), the type of addiction has to
be determined, one out of these ones: Betting, Online Gaming, Trading, and Lootboxes. This can
be approached as a multi-class classification in a mono-label setting, as each user has assigned
one and only one of the labels as if the labels were mutually exclusive. The specifications state
that the the type of addiction is estimated in the last round.</p>
      <p>While these task definitions establish our objectives, efective approaches require consideration
of previous work in this domain. The following section examines related research that informs our
methodology.</p>
    </sec>
    <sec id="sec-2">
      <title>2. Related work</title>
      <p>To address this work we focused on antecedents in similar activities, such as the latest MentalRiskES
[4, 5] and the CLEF eRisk related editions [6, 7]. In eRisk 2023, pathological gambling was already
explored, but the focus remained exclusively on early detection, without addressing the specific type
of addiction. In contrast, the gambling domain is introduced for the first time in MentalRiskES 2025,
expanding the thematic scope of the shared task. While the addiction-type classification task is novel
in this context, the underlying formulation as a multiclass classification problem has been present in
previous MentalRiskES editions, albeit applied to other mental health conditions such as depression,
eating disorders, or suicidal ideation.</p>
      <p>In the previous edition of MentalRiskES, most of the participant systems focused on
Transformerbased models, frequently relying on Spanish pre-trained variants such as RoBERTa [8] and BETO [9].
Several teams combined these models with diverse strategies to enhance classification performance.
For instance, Ixa-Med [10] introduced a heuristic message-level re-labelling based on embedding
similarity, while ELiRF-VRAIN [11] explored both classical methods like Support Vector Machines and
Transformer-based architectures, including RoBERTa and Longformer, to manage long texts.
UNEDGELP [12] adopted a two-step approach using BETO and ANN models, and UnibucAI [13] integrated
RoBERTuito with the use of the Long Short-Term Memory (LSTM) architecture and experimented with
context-aware strategies. These approaches reflect a growing trend towards combining deep learning
with task-specific preprocessing and representation techniques.</p>
    </sec>
    <sec id="sec-3">
      <title>3. Methods</title>
      <p>In a set of users,  = {1, 2, . . . ,  }, each user publishes their messages in diferent time-stamps.
In this task, the messages are released sequentially, one message per round by each user (regardless of
the real time-stamp). Formally, in round  for user  ∈  , a message () is released. Let us denote by
[1,] = {(1), (2), . . . , ()} the sequence of messages at hand by round  for user , that is, the
history or accumulated set of messages. Naturally, the total number of messages published difers from
user to user. Let us denote by  the total number of messages published by user ; in other words, 
represents the ’last round’ and is dependant on the user.</p>
      <p>In the detection of user risk, the optimization criteria involve both Macro-F1 and ERDE in an attempt
to keep balance between prediction reliability and speed, while in the type of addiction task the
optimization criterion is just Macro-F1. Regarding the optimization criteria, while for the detection task
earliness is a key factor in the specifications, for the determination of the type of addiction, oddly enough,
the prediction is received in the last round. As a result, for the detection task, the input information
available is [1,] with  as small as possible; by contrast, to determine the type of addiction, the input
information available is [1,], all the messages up to the last round for the user.</p>
      <sec id="sec-3-1">
        <title>3.1. Input vectorization</title>
        <p>Each message has to be represented as a numeric feature-vector that serves as the input to the classifier.
The generation of this vector is critical as it has to convey semantics into a multidimensional numeric
space (R). That is, semantic relatedness has to be encoded and computed in a vector space.</p>
        <p>In an attempt to get the text represented as numeric feature-vectors we turned to available encoders
with the aim of not investing time in task-specific fine-tuning. With this, just a shallow preprocessing
was applied to avoid encoding incompatibilities, as follows: atypical and infrequent characters were
substituted by a space character; emojis within the UTF-16 encoding spectrum were also replaced for a
space character.</p>
        <p>With regard to the text encoding, our approach turned to Google’s embeddings, to be precise, to
the text-embedding-004 model1 [14]. We opted for these embeddings for several reasons: easy
out-of-the-box deployment, competitive in general domains, multilingual approach and, above all, a
large-context window, allowing inputs up to 2048 tokens without truncation. The number of tokens in
the input is, needless to say, a bottleneck in large text processing and the development is being rapid.
For example, the default limit was set to 512 tokens in BERT [15] and in 8000 in Gemini Embeddings
[16, 17]. In this task, each message, (), tends to be short with an average of Δ9.58 ± 12.85 tokens
per message.</p>
        <p>Nevertheless, since we need to guarantee the ability to tackle all messages, we need to ensure that the
sequence [1,] can be vectorized. The number of tokens by user (with all the messages concatenated)
is, on average, |[1,]| = 615.53 ± 477.74. Further details about the token distribution per user are
shown in Figure 1. Assuming roughly one token corresponds to four characters [18], a text of 120
characters would correspond to about 30 tokens, for example.</p>
        <p>
          In any case, the strategy implemented to deal with input token limitation inherent to each
transformer tool could be described as follows: the sequence of all messages [1,] was processed in
consecutive sub-sequences {[1,], [+1,], . . . , [+1,]}. Next, each sub-sequence is embedded as
in expression (
          <xref ref-type="bibr" rid="ref1 ref31">1</xref>
          ), with Σ denoting the input message vocabulary. With the number of chunks in each
batch, , being dynamically chosen not to surpass the default limit of tokens.
        </p>
        <p>: Σ* →−
[+1,] →−</p>
        <p>
          R
([+1,])
(
          <xref ref-type="bibr" rid="ref1 ref31">1</xref>
          )
1text-embedding-004 model is publicly available on https://aistudio.google.com/apikey
        </p>
        <p>
          Finally, the mean of the embedded representations is obtained, as in (
          <xref ref-type="bibr" rid="ref2 ref32">2</xref>
          ).
        </p>
        <p>
          (
[1,]) = 
︁(
(
[1,]
), (
[+1,]), . . . , (
[,]))︁
(
          <xref ref-type="bibr" rid="ref2 ref32">2</xref>
          )
To sum up, we envisaged a mechanism to deal with lengthy messages which, needless to say, involves
two arguable decisions: on the one hand, the way in which the chunks are chosen so that each
subsequence fits the input token limitation and, on the other hand, the decision to average them all as a
means to merge the meaning from all the chunks. All in all, with the input length size in these tasks,
seldom will we need to resort to this averaged sub-sequence embeddings but in case it happens, at least,
we count on a simple mechanism to deal with the exception.
        </p>
        <p>So far we mentioned the means in which the inputs were vectorized. However, each input did not
merely bring the message, instead, each input comprises four elements: the id_message identifier, the
message, the date, and the platform. In our approach we decided to include, the date concatenated to
the text message due to the fact that in preliminary experiments the date seemed to bring relevant
nuances for both classification tasks. To sum up, each input instance vectorization was described as
a vector embedding with both the date and message together. In an attempt to refrain from repetitive
computations, the embeddings where cached locally. Hence, for cases where the text already existed, it
only needed to be loaded from disk, saving time.</p>
      </sec>
      <sec id="sec-3-2">
        <title>3.2. Data augmentation via generative LLMs</title>
        <p>Data scarcity is a common challenge in mental health text classification tasks. While the original dataset
provides a foundation, it lacks suficient examples of varied linguistic expressions for robust model
training. Our architecture benefits from augmented data through improved generalization.</p>
        <p>Not only suficient but also representative supervised data are the key cornerstone to train robust
classification models. The absence of corpora is a challenge for inferred approaches. To tackle this, we
turned to Generative Large Language Models (LLMs). Eventually, this resulted in the development of
one of the most productive strategies in this work, despite its simplicity.</p>
        <p>Using the original training set as a basis, we generated artificial variants of the original messages
focusing, primarily, on these aspects: verb tenses, register (formal or informal) and, orthographic
and grammatical errors. The motivation was to get semantically similar sentences keeping the label
(both risk level on the first task or addiction type, on the second). We discarded generating negative
or speculative variants not to risk the reference label. Shallowly speaking, we are generating not a
complete digital twin but somehow a synthetic counterpart of given users.</p>
        <p>
          Formally, given the original supervised set of sequences of messages and user label,  as in (
          <xref ref-type="bibr" rid="ref3 ref33">3</xref>
          ), an
artificial alternative generated by message, (
[1,]) = ̃︁
[1,], while keeping the original user label,
explore diferent alternative settings for each run (with an impact in Tables 2 and 6).
leading to an artificially generated set, ̃︀ as in (
          <xref ref-type="bibr" rid="ref34 ref4">4</xref>
          ). In the artificial set, we distinguished two segments,
mutually exclusive by user label, as in (
          <xref ref-type="bibr" rid="ref35 ref5">5</xref>
          ) bound to ̃︀ = ̃︀0 ∪ ̃︀1. This generative approach led us to

̃︀
=
=
{([1,], )}=1
        </p>
        <p>{(̃︁
[1,], )}=1</p>
        <p>
          ̃︀ =
{( ℳ̃︁
[1,], ) ∈ ̃︀ :  = }
with  ∈ {0, 1}
(
          <xref ref-type="bibr" rid="ref3 ref33">3</xref>
          )
(
          <xref ref-type="bibr" rid="ref34 ref4">4</xref>
          )
(
          <xref ref-type="bibr" rid="ref35 ref5">5</xref>
          )
        </p>
        <p>With regard to the specific generative model selected, we opted for Gemini Flash 2, to be precise,
gemini-2.0-flash-thinking-exp [19]. We configured it for data augmentation by instructing it to
generate Spanish text variations that preserve the original meaning and key information while utilizing
diferent sentence structures and synonyms. The system varies formality in register and tone without
altering the core message and retains the same emotional content and sentiment. It ensures that the
2Gemini Flash, developed by Google available at https://ai.google.dev/gemini-api/docs/thinking
output remains natural and fluent to enhance friendliness, which may include emojis, colloquial slang,
and intentionally varied orthographic and grammatical mistakes (though it avoids repeating identical
errors). The system preserves any clinical significance and risk indicators in mental-health-related
texts. Furthermore, it avoids reusing original words, phrases, punctuation, or sentence patterns, as it
prioritizes data augmentation as its primary objective. The output format is presented as a JSON array
that mirrors the input structure and maintains the class labels. For each original message, we generated
one variant; We could have augmented artificially the corpus with more variants per user-message, but
decided not to, in an attempt to avoid overfitting.</p>
        <p>At this point the question arising was whether augment the texts of both types of users (high and
low risk) or augment only the segment on which the classifiers were more error-prone. Preliminary
experiments were conducted augmenting, in turns, each segment and jointly augmenting both of them.
These results were helpful and shed light to make the decision.</p>
      </sec>
      <sec id="sec-3-3">
        <title>3.3. Early detection of user gambling disorders</title>
        <p>In this section we provide details of the approaches involved to cope with Task 1 i.e. early detection of
user gambling risk (either low or high): the message classifier, the strategy to optimize the classifier
and the strategy to make a decision to generate the user label with the information provided by the
message classifier.</p>
        <sec id="sec-3-3-1">
          <title>3.3.1. Classifier</title>
          <p>The estimated risk level of gambling disorders was addressed as supervised binary classification. The
core of the approach rests in a Bidirectional Long Short-Term Memory (Bi-LSTM) [20] network (made
available in Pytorch) augmented with attention mechanisms following the idea by Zhou et al. [21]
but improved with a more modern transformer based self-attention [22] together with a lexicon based
attention [23]. The bidirectional nature of the LSTM allows the model to capture dependencies in both
forward and backward directions, a thing that is essential when tackling complex tasks like determining
the risk of developing gambling disorders.</p>
          <p>Let us provide some technical details to favour reproducibility. The architecture starts with an input
normalization and regularization stage, applying moderate dropout (20%) and layer normalization to
stabilize training. Followed by two stacked Bi-LSTM layers with a pretty aggressive dropout rate of
50% between layers. Each layer processes the input bidirectionally, capturing sequential dependencies
in both forward and backward directions. This bidirectional design enables the model to incorporate
contextual information from the entire sequence, crucial for identifying complex gambling risk patterns
that may manifest throughout the text. What distinguishes this model is its specialized attention
mechanism, implemented through a custom module where the manually-curated lexicon attention and
the inferred attention are combined:
• Inferred Attention: A standard single head attention, as described by Vaswani et al. [22],
automatically discovers which parts of the input sequence are most relevant for a successful detection.
• Lexicon Attention: A predefined set of risk-related terms (e.g., “debt”, “chasing losses”, “addiction”)
is embedded into vectors using the Google’s embedding model as describe in section 3.1. These
vectors guide the attention mechanism by computing a risk-relevance score for each hidden
state, boosting the influence of gambling-specific features. Approximately, the risk-related
termvocabulary includes above 200 terms generated via LLMs and subsequently refined through
manual review. The terms fall broadly into the following categories: Clinical and diagnostic
terms; Problematic gambling behaviours; Financial distress indicators; Psychological and emotional
indicators; Social and family impact; Treatment and self-help terms; Terms for betting, trading,
lootboxes, online gambling and crypto; Rationalization and denial phrases; Colloquial high-risk
expressions; Extreme consequence indicators; and Severe addiction indicators.</p>
          <p>
            The combination of the two attention mechanisms is encompassed as in (
            <xref ref-type="bibr" rid="ref36 ref6">6</xref>
            ), where the lexicon
attention is used to weight the terms that the inferred attention obtains or shed light to potentially
highly relevant terms not detected by it. Consequently, the vector is passed through a normalization
layer and then the mean of the vector is returned.
          </p>
          <p>
            Combined Attention = Inferred attention ⊙ (1 + Lexicon attention)
(
            <xref ref-type="bibr" rid="ref36 ref6">6</xref>
            )
In the inference stage, the settings were as follows:
• Initialization: The weights of the classifier are initialized making use of Xavier initialization
[24]; regarding the optimizer, AdamW [25] was employed, that is, an improved version of Adam
approach; a learning rate of 0.05 was decided with the help of the ReduceLROnPlateau [26]
scheduler. Ending with a risk probability  ∈ [0, 1] for binary classification (high/low risk),
calculated for each round as in (
            <xref ref-type="bibr" rid="ref38 ref8">8</xref>
            ).
• Optimization criteria: A challenge in model inference with unbalanced class distributions tends to
be a bias towards majority class. In this case, given that the diferences to perceive either low or
high risk in language might be subtle, in the learning stage we turned to Group Distributionally
Robust Optimization (GroupDRO) [27, 28]. The loss function aims to improve model robustness
by focusing on the performance of the worst-performing subgroups within the data. Instead of
minimizing the simple average loss across all samples, it dynamically adjusts weights for diferent
data groups based on their error magnitude during training and minimizes a weighted average
loss.
          </p>
          <p>– Group formation: In our implementation, 5 groups are formed dynamically based on the
error quantiles of the predictions inspired by [29]. Instances are ranked by decreasing error
and split by error percentiles (leading to 5 groups). During training stage, the model would
progressively allocate more attention to groups with higher errors.
– Weight update mechanism: As a contribution in our work, in favour of gradual weight
updates based on persistent performance patterns (rather than strong weight fluctuations
due to temporary or sporadic diferences), instead of employing the original GroupDRO,
in our case the group weights are updated using an exponential moving average approach
[30].
• Training corpus: Each training instance in the training corpus was built as the concatenation
of all the messages (together with the date) by user with its corresponding user-risk label (),
namely,  = {([1,], )}=1. Thus, the size of the training corpus was bound to the number
of users (| | =  = | |), a small set of  = 357 users (350 in the supervised train set and 7 in
the trial set), this is why we enhanced the corpus with artificially generated inputs as mentioned
in section 3.2. In diferent runs, we explored augmenting only users with  = 0 or both  = 0
and  = 1, as stated in the settings of each task (Tables 2 and 6), accordingly, thereby doubling
the size of the supervised dataset. Needless to say, we could have generated more than a single
synthetic counterpart for each user and generate more instances to assess the impact of the size of
artificially generated data in the learning stage, but this point remains open for further research.</p>
        </sec>
        <sec id="sec-3-3-2">
          <title>3.3.2. Decision strategy for user gambling risk</title>
          <p>
            The decision strategy determines whether a user  is classified as either high or low risk. In our case,
this decision is based on the cumulative risk assessment across rounds. For each round , and each user
, the classifier provides the likelihood of high risk evidences in the sequence of messages [1,], (),
as in (
            <xref ref-type="bibr" rid="ref37 ref7">7</xref>
            ).
          </p>
          <p>:</p>
          <p>
            Σ* →−
[1,] →−
[0, 1]
( ()
[1,]) = 
(
            <xref ref-type="bibr" rid="ref37 ref7">7</xref>
            )
() = ∑︁ ()

=1
 () =  0 + ⌊︁  ⌋︁
          </p>
          <p>
            At round  the system makes the decision to label each user as high risk if () exceeds a dynamic
threshold  (). The threshold increases over time (or more specifically, over rounds) as defined in
(
            <xref ref-type="bibr" rid="ref39 ref9">9</xref>
            ) with  0 being an ofset or initial-state threshold and  being a scaling factor. In plain words, the
threshold is a mere floor division of  divided by  constant with the ofset  0. Arbitrarily, we chose a
lfoor division in an attempt to refrain us from varying the threshold every round and, instead, limit
variations to regular batches of  rounds (leading to a stair-shaped threshold function). This decision
was adopted for both run 0 and 1, by contrast, a common division was employed for run 2 (varying the
threshold dynamically, in every round indeed, leading to a lineal shaped function).
(
            <xref ref-type="bibr" rid="ref38 ref8">8</xref>
            )
(
            <xref ref-type="bibr" rid="ref39 ref9">9</xref>
            )
(
            <xref ref-type="bibr" rid="ref10 ref40">10</xref>
            )
We could have decided to raise the alarm based on (), by contrast, preliminary experimental results
led us to make the decision in a diferent way. Arguably enough, we accounted for the accumulated
risk score for user  up to round  (()), as a simple sum, expressed in (
            <xref ref-type="bibr" rid="ref38 ref8">8</xref>
            ). This, somehow implies that
ifrst impressions result inertial in the decision.
          </p>
          <p>Note that, while this dynamic threshold is a step ahead towards handling realistic situations, it is also
true that it promotes conservative decisions detrimental to detection speed or earliness. We consider
the proposal of the threshold an open research question worth of further research as it is a cornerstone
in the task.</p>
        </sec>
      </sec>
      <sec id="sec-3-4">
        <title>3.4. Type of addiction estimation</title>
        <p>In this section we provide details of the methodology followed to cope with Task 2 that is, to determine
the type of addiction. The methods proposed are bound to the diference in criteria from Task 1 to Task
2 in what earliness and available information regards (mentioned in page 2).</p>
        <sec id="sec-3-4-1">
          <title>3.4.1. Classifier</title>
          <p>The classification model employs a hierarchical Bidirectional Long Short-Term Memory (Bi-LSTM)
[20] architecture (with the help of the Pytorch library) for predicting gambling disorder risk across
four categories. The approach begins with a LockedDropout (20%) mechanism [31](by contrast to
basis.
high risk and 0 indicates low risk.</p>
          <p>
            The motivation to use a lineally increasing threshold is to reward the gain of a stronger evidence as
more data become available so that user decision label is not benefitted for the mere fact of having a
longer chat history (). In other words, if the threshold had been constant (e.g.  0) then 
have always surpassed it with suficient enough messages (with
 large enough) and, thus, end up
always raising the alarm of high risk. In order to prevent this and put the focus on more realistic
situations we opted for a dynamically increasing threshold. Our approach mitigates raising alarms by
mere exposure to further messages and becomes slightly more realistic than with a constant threshold
setting. In an attempt to avoid raising the alarm by some , we could have also addressed the user
accumulated risk score (
            <xref ref-type="bibr" rid="ref38 ref8">8</xref>
            ) instead of the dynamic threshold. Finally, let us mention that even though
these parameters ( 0 and  ) are trainable, in practice, we decided them on a preliminary experimental
() would
To sum up, the decision strategy to determine user-label risk in round  is as in (
            <xref ref-type="bibr" rid="ref10 ref40">10</xref>
            ) where 1 indicates
Risk (, ) =
{︃1 if () ≥  (),
          </p>
          <p>0 otherwise
the approach described in section 3.3.1). This mechanism applies consistent masking across sequence
dimensions, preserving temporal coherence during training. It was used because this approach typically
works best with RNNs.</p>
          <p>The core of the architecture consists of two stacked Bi-LSTM layers [20]. Each layer processes the
sequence bidirectionally, capturing sequential dependencies in the text in both forward and backward
directions, while a more aggressive dropout of 40% was employed between the layers, this was possible
as having Bi-LSTM layers practically duplicate the network’s dimension, e.g. a 64 dimension input will
transform into a 128 dimension output after passing a Bi-LSTM layer. With a unidirectional LSTM this
would not have been an issue. At last a final dropout layer of 30% precedes the classification head. The
terminal hidden state from the second Bi-LSTM layer serves as the sequence representation, which
is then projected through a fully connected layer to produce a multi-dimensional output (as many as
class-labels in this mono-label and multi-class classification task i.e. 4).</p>
          <p>In the inference stage, the settings were as follows:
• Initialization: The model employs Xavier Normal initialization [24] (as it was the case of the
approach described in section 3.3.1 for Task 1) for all weights, while biases are initialized to zero.
This initialization strategy helps to maintain appropriate activation magnitudes throughout the
network during forward propagation. As for the optimizer and scheduler are the same ones used
in (3.3.1) AdamW [25] and ReduceLROnPlateau [26].
• Optimization criteria: This classifier employed the well-known CrossEntropyLoss [ 32] function
for the optimization stage.</p>
          <p>• Training corpus: The training corpus is identical to the one defined in 3.3.1.</p>
        </sec>
        <sec id="sec-3-4-2">
          <title>3.4.2. Decision strategy on type of addiction</title>
          <p>
            Given the sequence of messages available from the 1st round to round  by user , i.e. [1,], the
classifier provides the confidence of each addiction type  (with  ∈ {Betting, Online Gaming, Trading,
Lootboxes}) as ( [1,], ) = 1 in (
            <xref ref-type="bibr" rid="ref38 ref8">8</xref>
            ). The sequence of messages
[1,], ) ∈ [0, 1] such that ∑︀ (
available in the current round () is embedded and next the multi-class classification decision made.
We explored two alternative means of estimating the addiction. The first one, (), is a
straightforward decision that concatenates all the messages and provides the addiction type with highest
score in the last round () as in (
            <xref ref-type="bibr" rid="ref11 ref41">11</xref>
            ).
          </p>
          <p>
            ([1,]) = arg max ([1,], )

The second means,   (), exploits the first impressions mostly (denoted as FIM), as in (
            <xref ref-type="bibr" rid="ref12 ref42">12</xref>
            ).
FIM gets the confidence with each sequence of messages available, sums them all and gets the addiction
with the highest overall confidence score.
(
            <xref ref-type="bibr" rid="ref11 ref41">11</xref>
            )
(
            <xref ref-type="bibr" rid="ref12 ref42">12</xref>
            )

  ([1,]) = arg max ∑︁ ([1,], )
 =1
The FIM approach entails the first messages in all subsequent rounds to get the confidence and eventually
sums them all with the consequence of providing cumulated relevance to early messages. The FIM
decision was implemented as a mere toy for this challenge and performed equal to the same model with
the so-called All, meaning that it had little impact overall. Ultimately, FIM was ranked 6th out of 32
approaches having a tie with the All run at 5th out of 32.
          </p>
          <p>With the limitation that the total number of messages (last round, ) is user dependant, in the real
scenario our system submitted the decision made thus far, ^(), every round (1 ≤  ≤ ) while the
specifications stated that the approaches would be ranking just with the predictions sent on the final
round ( = ). This might have an undesirable impact in carbon emissions.</p>
        </sec>
      </sec>
    </sec>
    <sec id="sec-4">
      <title>4. Experimental results</title>
      <p>Registered as SoloResearch team, denoted after the family name of the first author, Sologuestoa, we
attained a rank of 11 over 38 in Task 1 and 5 over 32 in Task 2. Below we analyze the performance of
the methods presented.</p>
      <sec id="sec-4-1">
        <title>4.1. Task 1: Early detection performance</title>
        <p>Our methods were assessed employing the data made available in MentalRiskES 2025 [33, 34, 35]. Some
details about the corpus are shown in Table 1.</p>
        <p>
          Three runs were submitted each of which with the specifications stated in Table 2. The settings difer
on the dynamic threshold set to make the decision,  () described in (
          <xref ref-type="bibr" rid="ref39 ref9">9</xref>
          ), and on the data augmentation
strategy, adding to the original training set ( ) data generated for either only low-risk (̃︀0) or both
(̃︀0 ∪ ̃︀1) types of messages, as described in section 3.2. The settings provide versatility, with the target
involved both the latency (closely related to the threshold) and the accuracy (via data augmentation).
        </p>
        <p>On the one hand, classification accuracy metrics achieved in this task together with the final rank
are shown in Table 3 and, on the other hand, their corresponding speed and latency-weighted accuracy
are given in Table 4.</p>
        <p>Note that, in Table 3 Run 2 achieved better Macro-F1 than the other two runs, with a score of 0.475
(Rank 11 over a total of 38 runs taking part in this task) in comparison to Run 0 and 1 (ranked in 15th
and 13th positions respectively). Nevertheless, detection speed is a key factor in this task and, as shown
in Table 4, Run 0 resulted in the fastest approach, leading to the best Latency-weighted F1.</p>
      </sec>
      <sec id="sec-4-2">
        <title>4.2. Task 2: Type of addiction estimation performance</title>
        <p>The methods presented were assessed by means of the corpus employed in MentalRiskES 2025 [33, 34, 35].
Some details are summarized in Table 5.</p>
        <p>Table 7 presents the performance metrics for Task 2, focused only on accurate detection capability.
In Task 2, we demonstrated strong detection capabilities. Our models achieved high Macro-F1 scores
(0.856) , with run 0 and run 1 achieving identical performance metrics, meaning that the voting system
had little relevance since run 0 and run 1 were identical expecting the voting system. Notably, our run
2 showed a slight decrease in Macro-F1 marking the importance of our data augmentation since the
runs 0 and 1 were made with the augmented data from both risk classes 0 and 1 and the last run used
only augmented data from the low risk class. Overall, we can appreciate our eforts, which placed us as
the 3rd team in the competition rankings for this task.</p>
      </sec>
      <sec id="sec-4-3">
        <title>4.3. Computational eficiency</title>
        <p>In connection to the SDGs, the carbon emissions and computational eficiency of each run were also
assessed. Table 8 presents our hardware configuration and emissions data. The results demonstrate
exceptional eficiency together with competitive performance across both tasks.</p>
      </sec>
      <sec id="sec-4-4">
        <title>4.4. Discussion</title>
        <p>
          Having presented the experimental results and in an attempt to provide further discussion, we delved
into evaluating both performance and resource consumption, considering the straightforward eficiency
ratios in (
          <xref ref-type="bibr" rid="ref13 ref43">13</xref>
          ). Bearing in mind that for the two baselines some consumption metrics were not made
available, they will not be taken into account in the following discussion as it is not possible to rank the
baselines in this way.
        </p>
        <p>Macro F1
Ef RAM = RAM Size ,</p>
        <p>Macro F1 Macro F1
Ef Energy = Energy Used , Ef Emissions = Emissions</p>
        <p>
          Macro F1
Ef GPU = GPU Energy ,
(
          <xref ref-type="bibr" rid="ref13 ref43">13</xref>
          )
Seizing both performance and consumption, the following points are noteworthy:
• No need of GPUs: We were among the participants who have not made use of GPUs (aka GPU
Count = None), relying solely on CPU computation. Between these contestants we ranked first in
both Task 1 and Task 2 and performed at a high margin from the next approach when ranked
by Ef GPU (
          <xref ref-type="bibr" rid="ref13 ref43">13</xref>
          ) (being the energy consumed for non GPU users a very small number 1 × 10− 13
to avoid a 0 division). Serving as an overly simplistic estimator of GPU power, the next best
models having to employ graphics cards were far behind at 13/38 in Task 1 and 22/32 for Task 2.
Furthermore, our CPU model (AMD Ryzen 5) is by far simpler and more economical than the
others, which rely on GPUs such as the “NVIDIA L4” and “NVIDIA GeForce RTX 4090”.
• Small RAM size: Our system required minimal RAM (15.924 GB) compared to other
highranking teams. Overall, in terms of Macro F1-Score, the best system with rank 1/32 in Task 2,
employed 31.350 GB, that is, twice as much RAM as our approach did and two top of the line
NVIDIA Tesla T4. Using Ef RAM (
          <xref ref-type="bibr" rid="ref13 ref43">13</xref>
          ) as the ranking criterion, our system achieved rankings of
4/38 in Task 1 and 1/32 in Task 2, while utilizing only 15.924 GB of RAM. Notably, the previously
mentioned model, which ranked first in terms of Macro F1-Score, was placed 10/32 under this
ranking scheme. We should highlight the disparity in computational power and resource allocation
from approach to approach.
• Energy consumption: With an average consumption of just 2.44 − 04 our models performed
pretty robustly, taking into consideration that a GPU is usually more energy eficient for large
calculations than a CPU. Using a structure similar to the points before, sorting by Ef Energy (
          <xref ref-type="bibr" rid="ref13 ref43">13</xref>
          )
we achieved less impressive result ranking 19/38 in Task 1 and 12/32 in Task 2, highlighting the
energy eficiency of a GPU against a CPU.
• Emissions: In terms of Ef Emissions (
          <xref ref-type="bibr" rid="ref13 ref43">13</xref>
          ), the results are, as expected, similar to those of energy
consumption, albeit slightly better—ranking 12/38 in Task 1 and 7/32 in Task 2.
• Trade-of between hardware and attained ranking: Despite resource constraints, we obtained
competitive results in both Task 1 and Task 2, ranking 11/38 and 5/32, respectively. In Task 2,
our performance was particularly noteworthy, with evaluation metrics comparable to those
of teams employing significantly more resource-intensive configurations. This positions our
approach among the most efective—if not the most efective—for lightweight prediction scenarios,
considering it was executed on mid- to lower-tier hardware: a system with 16 GB of RAM and an
AMD Ryzen 5 5600 6-core processor, which is significantly less powerful than GPU-based setups.
• Relevance of low risk users: Curiously, data augmentation of low risk users had led to the
biggest increment in classification performance for Task 1. The classifier seems more sensitive
to gain classification ability from the low risk (labelled as 0). A conjecture to explain this might
be that having more samples of the low risk class helped in having a better understanding of
what is not really a high risk indicator. As a result, we submitted two variant models inferred
with further data generated over the 0 class. This phenomenon did not happen on Task 2 as this
classifier thrived in more data no matter if the user was high or low risk. In any case, we felt
curious, and decided to submit, as well, a model trained with both data segments augmented for
Task 1 and with only low risk for Task 2.
        </p>
      </sec>
    </sec>
    <sec id="sec-5">
      <title>5. Conclusions</title>
      <p>In this work we describe some approaches to deal with the early detection of gambling disorder risks and
classification of addiction types proposed in MentalRiskES 2025. We restricted ourselves to approaches
that could run in a regular laptop without GPUs or intensive computation resources.</p>
      <p>We resorted to available multi-lingual approaches and employed data augmentation by segment via
generative LLMs. For Task 1, the most challenging early detection scenario, we developed a hybrid
approach incorporating Bi-LSTM adjusted with GroupDRO loss function and dual attention mechanisms
(with both learned-risk and lexicon-risk awareness) and augmenting training data. We opted for a
conservative risk detection strategy even at the expense of increasing latency with the aim to get a
realistic decision strategy rather than challenge-tailored. The approach delivered competitive results
with a Macro-F1 score of 0.475. For Task 2, our hierarchical Bi-LSTM architecture proved highly
efective, achieving a Macro-F1 score of 0.856 and positioning us the third-best team in the competition.</p>
      <p>As for the lessons learned, in what the impact of the artificial data obtained with generative LLMs is
regarded, we observed an interesting phenomenon, that is, augmenting the low-risk class segment of
data yielded the most substantial improvements. This suggests that enhancing information of what
"normal" (or low-risk) behaviour is, paradoxically, improves high-risk identification, the conjecture is
that clearer boundaries between classes are learned this way.</p>
      <p>It is worth highlighting that our approach demonstrated fairly good computational eficiency,
operating without GPU resources and with minimal RAM requirements (16GB) while maintaining competitive
performance. This eficiency-performance balance is particularly relevant for potential real world
deployment in mental health monitoring systems where computational resources may be limited.</p>
      <p>For future work, we find several core aspects worth exploring e.g. (i) learnable decision making
strategies (i.e. learnable thresholds) together with a thorough experimental framework; (ii) the impact of
each attention mechanism (inferred and lexicon) and, particularly, terms that should be involved in the
lexicon-attention; (iii) alternative loss functions for both tasks with systematic comparisons. The task
itself, could be re-considered as multi-label given that the addiction types are not mutually-exclusive
and could co-appear in real settings.</p>
      <p>To sum up, integrating well-established LSTM architectures with current techniques as strategic data
augmentation and specialized attention mechanisms has demonstrated powerful for mental health risk
and addiction detection, particularly in scenarios with limited labelled data.</p>
    </sec>
    <sec id="sec-6">
      <title>Acknowledgments</title>
      <p>This work was partially funded by LOTU grant (TED2021-130398B-C22 funded by MICIU/AEI/
10.13039/501100011033 and by the European Union NextGenerationEU/PRTR) and also by the Spanish
Ministry of Science and Innovation (EDHIA PID2022-136522OB-C22) with the second author being
awarded a grant from the Spanish Ministry of Education within Formación de Profesorado Universitario
program (FPU23/01068); it has been also funded by the Basque Government (IXA IT1570-22).</p>
    </sec>
    <sec id="sec-7">
      <title>Declaration on Generative AI</title>
      <p>During the preparation of this work, the authors used ChatGPT in order to improve the writing style
and perform grammar and spelling checks. After using this tool, the authors reviewed and edited the
content as needed and take full responsibility for the publication’s content.
in: Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR),
2022, pp. 16742–16751.
[31] S. Merity, N. S. Keskar, R. Socher, Regularizing and optimizing lstm language models, 2017. URL:
https://arxiv.org/abs/1708.02182. arXiv:1708.02182.
[32] A. Mao, M. Mohri, Y. Zhong, Cross-entropy loss functions: Theoretical analysis and applications,
2023. URL: https://arxiv.org/abs/2304.07288. arXiv:2304.07288.
[33] P. Álvarez-Ojeda, M. V. Cantero-Romero, A. Semikozova, A. Montejo-Ráez, The PRECOM-SM
Corpus: Gambling in Spanish Social Media, in: Proceedings of the 31st International Conference
on Computational Linguistics, 2025, pp. 17–28.
[34] J. Á. González-Barba, L. Chiruzzo, S. M. Jiménez-Zafra, Overview of IberLEF 2025: Natural
Language Processing Challenges for Spanish and other Iberian Languages, in: Proceedings of the
Iberian Languages Evaluation Forum (IberLEF 2025), co-located with the 41st Conference of the
Spanish Society for Natural Language Processing (SEPLN 2025), CEUR-WS. org, 2025.
[35] A. M. Mármol-Romero, P. Álvarez-Ojeda, A. Moreno-Muñoz, F. M. P. del Arco, M. D.
MolinaGonzález, M.-T. Martín-Valdivia, L. A. Ureña-López, A. Montejo-Ráez, Overview of MentalRiskES
at IberLEF 2025: Early Detection of Mental Disorders Risk in Spanish, Procesamiento del Lenguaje
Natural 75 (2025).</p>
      <p>Act as a data augmentation expert. Create a different variation of the following text while:
This text is classified as {classification} (where 1 indicates HIGH risk content and 0
indicates LOW risk).</p>
      <p>For mental health-related text, ensure that clinical significance and risk indicators are
preserved.</p>
      <p>Format your response as a JSON array with the same structure as your input.</p>
      <p>The original text that you shall modify:</p>
    </sec>
  </body>
  <back>
    <ref-list>
      <ref id="ref1">
        <mixed-citation>
          [1]
          <string-name>
            <surname>R. K. L. Nielsen</surname>
            ,
            <given-names>P.</given-names>
          </string-name>
          <string-name>
            <surname>Grabarczyk</surname>
          </string-name>
          ,
          <article-title>Are loot boxes gambling?: Random reward mechanisms in video games</article-title>
          ,
          <source>Transactions of the Digital Games Research Association</source>
          <volume>4</volume>
          (
          <year>2019</year>
          )
          <fpage>171</fpage>
          -
          <lpage>207</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref2">
        <mixed-citation>
          [2]
          <string-name>
            <given-names>H.</given-names>
            <surname>Pitt</surname>
          </string-name>
          ,
          <string-name>
            <given-names>S.</given-names>
            <surname>McCarthy</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M.</given-names>
            <surname>Randle</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M.</given-names>
            <surname>Daube</surname>
          </string-name>
          , S. L. Thomas,
          <article-title>Young people's views about the use of celebrities and social media influencers in gambling marketing</article-title>
          ,
          <source>Health Promotion International</source>
          <volume>39</volume>
          (
          <year>2024</year>
          )
          <article-title>daae012</article-title>
          . URL: https://doi.org/10.1093/heapro/daae012. doi:
          <volume>10</volume>
          .1093/heapro/daae012.
        </mixed-citation>
      </ref>
      <ref id="ref3">
        <mixed-citation>
          [3]
          <string-name>
            <given-names>S. M.</given-names>
            <surname>Gainsbury</surname>
          </string-name>
          ,
          <article-title>Online gambling addiction: the relationship between internet gambling and disordered gambling</article-title>
          ,
          <source>Current addiction reports 2</source>
          (
          <year>2015</year>
          )
          <fpage>185</fpage>
          -
          <lpage>193</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref4">
        <mixed-citation>
          [4]
          <string-name>
            <given-names>A. M.</given-names>
            <surname>Mármol-Romero</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            <surname>Moreno-Muñoz</surname>
          </string-name>
          ,
          <string-name>
            <given-names>F. M.</given-names>
            <surname>Plaza-del Arco</surname>
          </string-name>
          ,
          <string-name>
            <surname>M. D.</surname>
            Molina-González,
            <given-names>M. T.</given-names>
          </string-name>
          <string-name>
            <surname>Martín-Valdivia</surname>
            ,
            <given-names>L. A.</given-names>
          </string-name>
          <string-name>
            <surname>Ureña-López</surname>
            ,
            <given-names>A.</given-names>
          </string-name>
          <string-name>
            <surname>Montejo-Ráez</surname>
          </string-name>
          , Overview of MentalRiskES at Iberlef 2024:
          <article-title>Early detection of mental disorders risk in Spanish</article-title>
          ,
          <source>Procesamiento del Lenguaje Natural</source>
          <volume>73</volume>
          (
          <year>2024</year>
          )
          <fpage>435</fpage>
          -
          <lpage>448</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref5">
        <mixed-citation>
          [5]
          <string-name>
            <given-names>A. M.</given-names>
            <surname>Mármol-Romero</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            <surname>Moreno-Muñoz</surname>
          </string-name>
          ,
          <string-name>
            <given-names>F. M.</given-names>
            <surname>Plaza-del Arco</surname>
          </string-name>
          ,
          <string-name>
            <surname>M. D.</surname>
            Molina-González,
            <given-names>M. T.</given-names>
          </string-name>
          <string-name>
            <surname>Martín-Valdivia</surname>
            ,
            <given-names>L. A.</given-names>
          </string-name>
          <string-name>
            <surname>Ureña-López</surname>
            ,
            <given-names>A.</given-names>
          </string-name>
          <string-name>
            <surname>Montejo-Raéz</surname>
          </string-name>
          , Overview of MentalRiskES at Iberlef 2023:
          <article-title>Early detection of mental disorders risk in Spanish</article-title>
          ,
          <source>Procesamiento del Lenguaje Natural</source>
          <volume>71</volume>
          (
          <year>2023</year>
          )
          <fpage>329</fpage>
          -
          <lpage>350</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref6">
        <mixed-citation>
          [6]
          <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 2023:
          <article-title>Early risk prediction on the internet</article-title>
          ,
          <source>in: International Conference of the Cross-Language Evaluation Forum for European Languages</source>
          , Springer,
          <year>2023</year>
          , pp.
          <fpage>294</fpage>
          -
          <lpage>315</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref7">
        <mixed-citation>
          [7]
          <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>
          , eRisk
          <year>2024</year>
          :
          <article-title>Depression, anorexia, and eating disorder challenges</article-title>
          ,
          <source>in: European Conference on Information Retrieval</source>
          , Springer,
          <year>2024</year>
          , pp.
          <fpage>474</fpage>
          -
          <lpage>481</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref8">
        <mixed-citation>
          [8]
          <string-name>
            <given-names>A.</given-names>
            <surname>Gutiérrez-Fandiño</surname>
          </string-name>
          ,
          <string-name>
            <given-names>J.</given-names>
            <surname>Armengol-Estapé</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M.</given-names>
            <surname>Pàmies</surname>
          </string-name>
          ,
          <string-name>
            <given-names>J.</given-names>
            <surname>Llop-Palao</surname>
          </string-name>
          ,
          <string-name>
            <given-names>J.</given-names>
            <surname>Silveira-Ocampo</surname>
          </string-name>
          ,
          <string-name>
            <given-names>C. P.</given-names>
            <surname>Carrino</surname>
          </string-name>
          ,
          <string-name>
            <given-names>C.</given-names>
            <surname>Armentano-Oller</surname>
          </string-name>
          ,
          <string-name>
            <given-names>C. R.</given-names>
            <surname>Penagos</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            <surname>Gonzalez-Agirre</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M.</given-names>
            <surname>Villegas</surname>
          </string-name>
          ,
          <article-title>Maria: Spanish language models</article-title>
          ,
          <source>Procesamiento del Lenguaje Natural</source>
          <volume>68</volume>
          (
          <year>2021</year>
          )
          <fpage>39</fpage>
          -
          <lpage>60</lpage>
          . URL: https://api.semanticscholar. org/CorpusID:252847802.
        </mixed-citation>
      </ref>
      <ref id="ref9">
        <mixed-citation>
          [9]
          <string-name>
            <given-names>J.</given-names>
            <surname>Cañete</surname>
          </string-name>
          , G. Chaperon,
          <string-name>
            <given-names>R.</given-names>
            <surname>Fuentes</surname>
          </string-name>
          ,
          <string-name>
            <given-names>J.-H.</given-names>
            <surname>Ho</surname>
          </string-name>
          ,
          <string-name>
            <given-names>H.</given-names>
            <surname>Kang</surname>
          </string-name>
          ,
          <string-name>
            <given-names>J.</given-names>
            <surname>Pérez</surname>
          </string-name>
          ,
          <article-title>Spanish pre-trained BERT model and evaluation data</article-title>
          ,
          <source>in: PML4DC at ICLR</source>
          <year>2020</year>
          ,
          <year>2020</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref10">
        <mixed-citation>
          [10]
          <string-name>
            <given-names>X.</given-names>
            <surname>Larrayoz</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            <surname>Casillas</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M.</given-names>
            <surname>Oronoz</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            <surname>Pérez</surname>
          </string-name>
          ,
          <article-title>Mental disorder detection in Spanish: Hands on skewed class distribution to leverage training</article-title>
          , in: IberLEF (Working Notes).
          <source>CEUR Workshop Proceedings</source>
          ,
          <year>2024</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref11">
        <mixed-citation>
          [11]
          <string-name>
            <surname>A. M. Andreu Casamayor</surname>
            ,
            <given-names>Vicent</given-names>
          </string-name>
          <string-name>
            <surname>Ahuir</surname>
            ,
            <given-names>L.-F.</given-names>
          </string-name>
          <string-name>
            <surname>Hurtado</surname>
          </string-name>
          , ELiRF-VRAIN at MentalRiskES 2024:
          <article-title>Using longformer for early detection of mental disorders risk</article-title>
          , in: IberLEF (Working Notes).
          <source>CEUR Workshop Proceedings</source>
          ,
          <year>2024</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref12">
        <mixed-citation>
          [12]
          <string-name>
            <given-names>J.</given-names>
            <surname>Fernandez-Hernandez</surname>
          </string-name>
          ,
          <string-name>
            <given-names>H.</given-names>
            <surname>Fabregat</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            <surname>Duque</surname>
          </string-name>
          ,
          <string-name>
            <given-names>L.</given-names>
            <surname>Araujo</surname>
          </string-name>
          ,
          <string-name>
            <given-names>J.</given-names>
            <surname>Martinez-Romo</surname>
          </string-name>
          ,
          <article-title>UNED-GELP at MentalRiskES 2024: Transformer-Based Encoders and Similarity Techniques for Early Risk Prediction of Mental Disorders</article-title>
          , in: IberLEF (Working Notes).
          <source>CEUR Workshop Proceedings</source>
          ,
          <year>2024</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref13">
        <mixed-citation>
          [13]
          <string-name>
            <surname>C. D. Păduraru</surname>
            ,
            <given-names>I. M.</given-names>
          </string-name>
          <string-name>
            <surname>Anghelina</surname>
          </string-name>
          ,
          <article-title>Early risk detection for mental health disorders:</article-title>
          <source>UnibucAI at MentalRiskES</source>
          <year>2024</year>
          , anxiety
          <volume>88</volume>
          (
          <year>2024</year>
          )
          <article-title>5</article-title>
          .
        </mixed-citation>
      </ref>
      <ref id="ref14">
        <mixed-citation>
          [14]
          <string-name>
            <given-names>J.</given-names>
            <surname>Lee</surname>
          </string-name>
          ,
          <string-name>
            <given-names>F.</given-names>
            <surname>Chen</surname>
          </string-name>
          ,
          <string-name>
            <given-names>S.</given-names>
            <surname>Dua</surname>
          </string-name>
          ,
          <string-name>
            <given-names>D.</given-names>
            <surname>Cer</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M.</given-names>
            <surname>Shanbhogue</surname>
          </string-name>
          , I. Naim,
          <string-name>
            <given-names>G. H.</given-names>
            <surname>Ábrego</surname>
          </string-name>
          ,
          <string-name>
            <given-names>Z.</given-names>
            <surname>Li</surname>
          </string-name>
          ,
          <string-name>
            <given-names>K.</given-names>
            <surname>Chen</surname>
          </string-name>
          ,
          <string-name>
            <given-names>H. S.</given-names>
            <surname>Vera</surname>
          </string-name>
          , et al.,
          <source>Gemini embedding: Generalizable embeddings from Gemini</source>
          ,
          <source>arXiv preprint arXiv:2503.07891</source>
          (
          <year>2025</year>
          ).
        </mixed-citation>
      </ref>
      <ref id="ref15">
        <mixed-citation>
          [15]
          <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, in: Proceedings of the 2019 conference of the North American chapter of the Association for Computational Linguistics: Human Language Technologies, volume 1 (long and short papers</article-title>
          ),
          <year>2019</year>
          , pp.
          <fpage>4171</fpage>
          -
          <lpage>4186</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref16">
        <mixed-citation>
          [16]
          <string-name>
            <given-names>G.</given-names>
            <surname>Team</surname>
          </string-name>
          ,
          <string-name>
            <given-names>R.</given-names>
            <surname>Anil</surname>
          </string-name>
          ,
          <string-name>
            <given-names>S.</given-names>
            <surname>Borgeaud</surname>
          </string-name>
          ,
          <string-name>
            <surname>J.-B. Alayrac</surname>
            ,
            <given-names>J.</given-names>
          </string-name>
          <string-name>
            <surname>Yu</surname>
            ,
            <given-names>R.</given-names>
          </string-name>
          <string-name>
            <surname>Soricut</surname>
            ,
            <given-names>J.</given-names>
          </string-name>
          <string-name>
            <surname>Schalkwyk</surname>
            ,
            <given-names>A. M.</given-names>
          </string-name>
          <string-name>
            <surname>Dai</surname>
            ,
            <given-names>A.</given-names>
          </string-name>
          <string-name>
            <surname>Hauth</surname>
            ,
            <given-names>K.</given-names>
          </string-name>
          <string-name>
            <surname>Millican</surname>
          </string-name>
          , et al.,
          <article-title>Gemini: a family of highly capable multimodal models</article-title>
          ,
          <source>arXiv preprint arXiv:2312.11805</source>
          (
          <year>2023</year>
          ).
        </mixed-citation>
      </ref>
      <ref id="ref17">
        <mixed-citation>
          [17]
          <string-name>
            <given-names>Y.</given-names>
            <surname>Li</surname>
          </string-name>
          ,
          <string-name>
            <given-names>Y.</given-names>
            <surname>Zhang</surname>
          </string-name>
          ,
          <string-name>
            <given-names>C.</given-names>
            <surname>Wang</surname>
          </string-name>
          ,
          <string-name>
            <given-names>Z.</given-names>
            <surname>Zhong</surname>
          </string-name>
          ,
          <string-name>
            <given-names>Y.</given-names>
            <surname>Chen</surname>
          </string-name>
          ,
          <string-name>
            <given-names>R.</given-names>
            <surname>Chu</surname>
          </string-name>
          , S. Liu,
          <string-name>
            <given-names>J.</given-names>
            <surname>Jia</surname>
          </string-name>
          ,
          <article-title>Mini-gemini: Mining the potential of multi-modality vision language models</article-title>
          ,
          <source>arXiv preprint arXiv:2403.18814</source>
          (
          <year>2024</year>
          ).
        </mixed-citation>
      </ref>
      <ref id="ref18">
        <mixed-citation>
          [18]
          <string-name>
            <surname>G. AI</surname>
          </string-name>
          , Understand and count tokens,
          <year>2025</year>
          . URL: https://ai.google.dev/gemini-api/docs/tokens? lang=python.
        </mixed-citation>
      </ref>
      <ref id="ref19">
        <mixed-citation>
          [19]
          <string-name>
            <surname>Google</surname>
          </string-name>
          , Gemini api: Documentation for developers,
          <year>2025</year>
          . URL: https://ai.google.dev/gemini-api/ docs.
        </mixed-citation>
      </ref>
      <ref id="ref20">
        <mixed-citation>
          [20]
          <string-name>
            <given-names>H.</given-names>
            <surname>Sak</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            <surname>Senior</surname>
          </string-name>
          ,
          <string-name>
            <surname>F.</surname>
          </string-name>
          <article-title>Beaufays, Long short-term memory based recurrent neural network architectures for large vocabulary speech recognition</article-title>
          ,
          <year>2014</year>
          . URL: https://arxiv.org/abs/1402.1128. arXiv:
          <volume>1402</volume>
          .
          <fpage>1128</fpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref21">
        <mixed-citation>
          [21]
          <string-name>
            <given-names>P.</given-names>
            <surname>Zhou</surname>
          </string-name>
          ,
          <string-name>
            <given-names>W.</given-names>
            <surname>Shi</surname>
          </string-name>
          ,
          <string-name>
            <given-names>J.</given-names>
            <surname>Tian</surname>
          </string-name>
          ,
          <string-name>
            <given-names>Z.</given-names>
            <surname>Qi</surname>
          </string-name>
          ,
          <string-name>
            <given-names>B.</given-names>
            <surname>Li</surname>
          </string-name>
          ,
          <string-name>
            <given-names>H.</given-names>
            <surname>Hao</surname>
          </string-name>
          ,
          <string-name>
            <given-names>B.</given-names>
            <surname>Xu</surname>
          </string-name>
          ,
          <article-title>Attention-based bidirectional long short-term memory networks for relation classification, in: Proceedings of the 54th annual meeting of the association for computational linguistics (volume 2: Short papers</article-title>
          ),
          <year>2016</year>
          , pp.
          <fpage>207</fpage>
          -
          <lpage>212</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref22">
        <mixed-citation>
          [22]
          <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>
          ,
          <string-name>
            <given-names>L.</given-names>
            <surname>Kaiser</surname>
          </string-name>
          ,
          <string-name>
            <surname>I. Polosukhin</surname>
          </string-name>
          , Attention is all you need,
          <year>2023</year>
          . URL: https://arxiv.org/abs/1706.03762. arXiv:
          <volume>1706</volume>
          .
          <fpage>03762</fpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref23">
        <mixed-citation>
          [23]
          <string-name>
            <given-names>Y.</given-names>
            <surname>Zou</surname>
          </string-name>
          ,
          <string-name>
            <given-names>T.</given-names>
            <surname>Gui</surname>
          </string-name>
          ,
          <string-name>
            <given-names>Q.</given-names>
            <surname>Zhang</surname>
          </string-name>
          ,
          <string-name>
            <given-names>X.</given-names>
            <surname>Huang</surname>
          </string-name>
          ,
          <article-title>A lexicon-based supervised attention model for neural sentiment analysis</article-title>
          , in: E. M.
          <string-name>
            <surname>Bender</surname>
            ,
            <given-names>L.</given-names>
          </string-name>
          <string-name>
            <surname>Derczynski</surname>
          </string-name>
          , P. Isabelle (Eds.),
          <source>Proceedings of the 27th International Conference on Computational Linguistics</source>
          , Association for Computational Linguistics, Santa Fe, New Mexico, USA,
          <year>2018</year>
          , pp.
          <fpage>868</fpage>
          -
          <lpage>877</lpage>
          . URL: https://aclanthology.org/C18-1074/.
        </mixed-citation>
      </ref>
      <ref id="ref24">
        <mixed-citation>
          [24]
          <string-name>
            <given-names>X.</given-names>
            <surname>Glorot</surname>
          </string-name>
          ,
          <string-name>
            <given-names>Y.</given-names>
            <surname>Bengio</surname>
          </string-name>
          ,
          <article-title>Understanding the dificulty of training deep feedforward neural networks</article-title>
          , in: Y. W. Teh, M. Titterington (Eds.),
          <source>Proceedings of the Thirteenth International Conference on Artificial Intelligence and Statistics</source>
          , volume
          <volume>9</volume>
          <source>of Proceedings of Machine Learning Research</source>
          , PMLR, Chia Laguna Resort, Sardinia, Italy,
          <year>2010</year>
          , pp.
          <fpage>249</fpage>
          -
          <lpage>256</lpage>
          . URL: https://proceedings.mlr.press/v9/ glorot10a.html.
        </mixed-citation>
      </ref>
      <ref id="ref25">
        <mixed-citation>
          [25]
          <string-name>
            <given-names>I.</given-names>
            <surname>Loshchilov</surname>
          </string-name>
          ,
          <string-name>
            <given-names>F.</given-names>
            <surname>Hutter</surname>
          </string-name>
          , Decoupled weight decay regularization,
          <year>2019</year>
          . URL: https://arxiv.org/abs/ 1711.05101. arXiv:
          <volume>1711</volume>
          .
          <fpage>05101</fpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref26">
        <mixed-citation>
          [26]
          <string-name>
            <given-names>P.</given-names>
            <surname>Contributors</surname>
          </string-name>
          ,
          <source>Reducelronplateau - pytorch 2</source>
          .7 documentation, https://pytorch.org/docs/stable/ generated/torch.optim.lr_scheduler.ReduceLROnPlateau.html,
          <year>2025</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref27">
        <mixed-citation>
          [27]
          <string-name>
            <given-names>J. C.</given-names>
            <surname>Duchi</surname>
          </string-name>
          ,
          <string-name>
            <given-names>H.</given-names>
            <surname>Namkoong</surname>
          </string-name>
          ,
          <article-title>Learning models with uniform performance via distributionally robust optimization</article-title>
          ,
          <source>The Annals of Statistics</source>
          <volume>49</volume>
          (
          <year>2021</year>
          )
          <fpage>1378</fpage>
          -
          <lpage>1406</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref28">
        <mixed-citation>
          [28]
          <string-name>
            <given-names>S.</given-names>
            <surname>Sagawa</surname>
          </string-name>
          ,
          <string-name>
            <given-names>P. W.</given-names>
            <surname>Koh</surname>
          </string-name>
          , T. B.
          <string-name>
            <surname>Hashimoto</surname>
            ,
            <given-names>P.</given-names>
          </string-name>
          <string-name>
            <surname>Liang</surname>
          </string-name>
          ,
          <article-title>Distributionally robust neural networks for group shifts: On the importance of regularization for worst-case generalization, 2020</article-title>
          . URL: https: //arxiv.org/abs/
          <year>1911</year>
          .08731. arXiv:
          <year>1911</year>
          .08731.
        </mixed-citation>
      </ref>
      <ref id="ref29">
        <mixed-citation>
          [29]
          <string-name>
            <given-names>C.</given-names>
            <surname>Eastwood</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            <surname>Robey</surname>
          </string-name>
          ,
          <string-name>
            <given-names>S.</given-names>
            <surname>Singh</surname>
          </string-name>
          ,
          <string-name>
            <surname>J. von Kügelgen</surname>
          </string-name>
          ,
          <string-name>
            <given-names>H.</given-names>
            <surname>Hassani</surname>
          </string-name>
          ,
          <string-name>
            <given-names>G. J.</given-names>
            <surname>Pappas</surname>
          </string-name>
          ,
          <string-name>
            <given-names>B.</given-names>
            <surname>Schölkopf</surname>
          </string-name>
          ,
          <article-title>Probable domain generalization via quantile risk minimization</article-title>
          , in: S. Koyejo,
          <string-name>
            <given-names>S.</given-names>
            <surname>Mohamed</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            <surname>Agarwal</surname>
          </string-name>
          ,
          <string-name>
            <given-names>D.</given-names>
            <surname>Belgrave</surname>
          </string-name>
          ,
          <string-name>
            <given-names>K.</given-names>
            <surname>Cho</surname>
          </string-name>
          ,
          <string-name>
            <surname>A</surname>
          </string-name>
          . Oh (Eds.),
          <source>Advances in Neural Information Processing Systems</source>
          , volume
          <volume>35</volume>
          ,
          <string-name>
            <surname>Curran</surname>
            <given-names>Associates</given-names>
          </string-name>
          , Inc.,
          <year>2022</year>
          , pp.
          <fpage>17340</fpage>
          -
          <lpage>17358</lpage>
          . URL: https://proceedings.neurips.cc/paper_files/ paper/2022/file/6f11132f6ecbbcafafdf6decfc98f7be-Paper-Conference.pdf.
        </mixed-citation>
      </ref>
      <ref id="ref30">
        <mixed-citation>
          [30]
          <string-name>
            <given-names>S.</given-names>
            <surname>Seo</surname>
          </string-name>
          ,
          <string-name>
            <given-names>J.-Y.</given-names>
            <surname>Lee</surname>
          </string-name>
          , B. Han,
          <article-title>Unsupervised learning of debiased representations with pseudo-attributes,</article-title>
        </mixed-citation>
      </ref>
      <ref id="ref31">
        <mixed-citation>
          <article-title>1. Preserving the original meaning and key information</article-title>
        </mixed-citation>
      </ref>
      <ref id="ref32">
        <mixed-citation>
          2.
          <article-title>Using different sentence structures and synonyms</article-title>
        </mixed-citation>
      </ref>
      <ref id="ref33">
        <mixed-citation>
          3.
          <article-title>You can change the formality of the text and the tone while maintaining the same meaning</article-title>
        </mixed-citation>
      </ref>
      <ref id="ref34">
        <mixed-citation>
          <article-title>4. Keeping the same emotional content and sentiment</article-title>
        </mixed-citation>
      </ref>
      <ref id="ref35">
        <mixed-citation>
          <article-title>5. Ensuring the text remains natural and fluent</article-title>
        </mixed-citation>
      </ref>
      <ref id="ref36">
        <mixed-citation>
          6.
          <article-title>Messages are in Spanish, take this into account</article-title>
        </mixed-citation>
      </ref>
      <ref id="ref37">
        <mixed-citation>
          7.
          <article-title>You can use emojis to make the text more friendly and natural</article-title>
        </mixed-citation>
      </ref>
      <ref id="ref38">
        <mixed-citation>
          8.
          <article-title>Avoid using the same words or phrases as the original text</article-title>
        </mixed-citation>
      </ref>
      <ref id="ref39">
        <mixed-citation>
          9.
          <article-title>Avoid using the same sentence structure as the original text</article-title>
        </mixed-citation>
      </ref>
      <ref id="ref40">
        <mixed-citation>
          10.
          <article-title>Avoid using the same punctuation as the original text</article-title>
        </mixed-citation>
      </ref>
      <ref id="ref41">
        <mixed-citation>
          11.
          <article-title>You can make orthographical mistakes as this would be written by a human</article-title>
        </mixed-citation>
      </ref>
      <ref id="ref42">
        <mixed-citation>
          12.
          <article-title>You can use slang to make the text more friendly and natural</article-title>
        </mixed-citation>
      </ref>
      <ref id="ref43">
        <mixed-citation>
          13.
          <article-title>You can make grammatical mistakes as this would be written by a human</article-title>
        </mixed-citation>
      </ref>
      <ref id="ref44">
        <mixed-citation>
          14.
          <article-title>Remember the text is written by a human, so it can have mistakes</article-title>
        </mixed-citation>
      </ref>
      <ref id="ref45">
        <mixed-citation>
          15.
          <article-title>Do not always commit the same mistakes, try to make it different each time</article-title>
        </mixed-citation>
      </ref>
      <ref id="ref46">
        <mixed-citation>
          16.
          <article-title>Your main goal is doing data augmentation REMEMBER THIS</article-title>
        </mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>