---
title: "DUTH at SemEval-2023 Task 9: An Ensemble Approach for"
description: "How DUTH used multilingual tweet embeddings and a weighted ensemble to predict intimacy, with results for languages held out of training."
canonical: "https://research.elamur.ai/free/en/papers/arampatzis-2023-duth-semeval-2023-task-9/"
---
Elamur: [Mova](https://md.mova.elamur.ai/free/en/) · [Parse](https://mova.elamur.ai/free/en/parse/) · [Dictionary](https://md.dictionary.elamur.ai/free/en/) · [Translate](https://md.translate.elamur.ai/free/en/) · **Research** · [Gali](https://md.gali.elamur.ai/free/en/) · [MCP](https://mcp.elamur.ai/) · [Locations](https://md.locations.elamur.ai/free/en/) · [Weather](https://md.weather.elamur.ai/free/en/)

[Elamur Research](https://md.research.elamur.ai/free/en/) · [this page in HTML](https://research.elamur.ai/free/en/papers/arampatzis-2023-duth-semeval-2023-task-9/)

[Elamur Research](https://md.research.elamur.ai/free/en/) / [papers](https://md.research.elamur.ai/free/en/papers/) / [2023](https://md.research.elamur.ai/free/en/papers/2023/) / DUTH at SemEval-2023 Task 9: An Ensemble Approach for Twitter Intimacy Analysis

# DUTH at SemEval-2023 Task 9: An Ensemble Approach for Twitter Intimacy Analysis

Paper · 2023 · Giorgos Arampatzis, Vasileios Perifanis, Symeon Symeonidis et al.

**Authors:** Giorgos Arampatzis, Vasileios Perifanis, Symeon Symeonidis and Avi Arampatzis · **Year:** 2023 · **Venue:** Proceedings of the 17th International Workshop on Semantic Evaluation (SemEval-2023) · **Licence:** [CC BY 4.0 (ACL Anthology)](https://creativecommons.org/licenses/by/4.0/)

Proceedings of the 17th International Workshop on Semantic Evaluation (SemEval-2023) · [licence](https://creativecommons.org/licenses/by/4.0/)

- [Publisher's page](https://aclanthology.org/2023.semeval-1.170/)
- [PDF](https://aclanthology.org/2023.semeval-1.170.pdf)
- [DOI 10.18653/v1/2023.semeval-1.170](https://doi.org/10.18653/v1/2023.semeval-1.170)

## Summary

A tweet can reveal something personal, address someone with warmth, or maintain a degree of distance. The SemEval-2023 Task 9 challenge asks whether a system can estimate that quality from the text. Each tweet is assigned a continuous intimacy score in the range [1, 5], with higher values corresponding to greater intimacy. The DUTH team investigates how to predict these scores when the labeled training tweets cover only part of the set of languages used for evaluation. The team compares several ways to turn tweets into numerical features, checks whether cleaning the text helps, and combines several predictors for its final submission.

The largest gains in the team's cross-validation experiments came from changing the text representation. The researchers compared features based on word counts, weighted counts, and learned document vectors with embeddings from pretrained multilingual encoders. An embedding is a vector that represents a piece of text through learned numerical features. XLM-T, an encoder adapted to multilingual Twitter data, supplied the strongest features in the comparison. With the same multilayer perceptron, a feedforward neural regressor, the paper reports an approximately 76.5% relative improvement in Pearson correlation for XLM-T embeddings over weighted word-count features. Most of the text-cleaning operations produced small changes in the count-based experiment. Removing stopwords produced a clear decline in that setting.

The submission fed XLM-T embeddings into several multilayer perceptrons and a boosted-tree regressor called CatBoost. The team trained these predictors on the intimacy labels and left the encoder's pretrained parameters fixed. It then combined their numerical predictions, giving the largest weight to the perceptron that ranked highest on the team's tuning split. On the organizers' test set, the resulting ensemble had an overall Pearson correlation of 0.60, compared with 0.58 for the reported fine-tuned XLM-T baseline. The fine-tuned baseline still led the ensemble in several individual languages. DUTH placed 7 overall, 25 on languages represented in the task training set, and 2 on cross-language transfer.

The study shows that a fixed, domain-adapted encoder and separately trained regressors can be competitive with [fine-tuning](https://md.research.elamur.ai/free/en/concepts/fine-tuning/), which adapts pretrained parameters using task-specific labels. The result is strongest as a comparison of the systems actually evaluated. It also leaves an important question about the target distribution. The authors found that low-intimacy tweets dominated the training data in every language and used a loss designed to reduce the influence of large errors. They identify the underlying imbalance as an unresolved limitation.

## Deep dive: DUTH at SemEval-2023 Task 9: An Ensemble Approach for Twitter Intimacy Analysis

How DUTH used multilingual tweet embeddings and a weighted ensemble to predict intimacy, with results for languages held out of training. · about 33 minutes to read

**In this deep dive**

1. [The problem and its context](#dd-the-problem-and-its-context)
2. [The method, step by step](#dd-the-method-step-by-step)
3. [Experiments and results](#dd-experiments-and-results)
4. [What the ablations show](#dd-what-the-ablations-show)
5. [Limitations](#dd-limitations)
6. [What came after](#dd-what-came-after)

### The problem and its context

#### Turning intimacy into a prediction target

The paper starts from a social question that becomes a technical one once the answer has to be expressed as a number. Intimacy analysis concerns how people convey emotional closeness through language. The subject has a connection to social norms because the language people use to show closeness depends on the circumstances in which they communicate. The authors point to social media, healthcare, and marketing as areas where language about relationships or personal experience could be informative. The experiment takes place on Twitter, where the task defines both the text each system receives and the target it must predict.

For an individual tweet, the target is a score on a continuous scale. A predictor therefore has to learn how different degrees of intimacy are expressed in the examples. There is no decision boundary in the task between tweets that count as intimate and tweets that do not. The statistical formulation is regression, in which the answer is a numerical value. That choice affects the entire study. A prediction can miss by a small or large amount, and the evaluation can ask either how far away the predicted value is or how well predictions rise and fall with the annotations across a collection of tweets.

The labels give an empirical meaning to the target. The system learns from the values supplied with the tweets, and the benchmark evaluates it against values assigned in the same task. The paper frames this work in terms of emotional closeness, but the item available for prediction is a tweet. The benchmark thus offers a way to study how intimacy is expressed or perceived in text at scale. Questions about the people behind a tweet require information beyond the text and a score. Keeping the unit of evaluation in view helps when interpreting both the appeal of the task and the scope of the eventual results.

The paper sometimes uses the language of sentiment when discussing the experiment, and it draws on work in [sentiment analysis](https://md.research.elamur.ai/free/en/topics/sentiment-emotion/). The quantity in the benchmark is intimacy. Sentiment work matters here because it supplies prior experience with Twitter text and methods for representing it. A technique developed for sentiment can be a plausible candidate for this benchmark even when the outcome it was originally designed to predict is different. The DUTH study tests that transfer at the level of representations and preprocessing.

#### Learning from some languages and predicting in others

The authors describe a shortage of resources for studying intimacy with [machine learning](https://md.research.elamur.ai/free/en/concepts/machine-learning/). They place the shared task after earlier work by Pei and Jurgens on quantifying intimacy in language and identify the public dataset assembled by Pei and colleagues as the resource that makes the multilingual comparison possible. The organizers provide annotated material in a training split and reserve other tweets for testing. That structure gives participants a common prediction problem and allows approaches with different representations or training procedures to be compared against the same targets.

There are two kinds of generalization in the setup. A test tweet can come from a language that is represented among the labeled training examples. In that case, the regressor can learn from other tweets in the same language, although the particular test item is new. A test tweet can also be written in a language with no examples in the task's training split. For that part of the evaluation, the system needs to carry what it learned from the labeled languages over to another language. The difference is central to the paper's interest in [multilingual and cross-lingual NLP](https://md.research.elamur.ai/free/en/topics/multilingual-nlp/).

A pretrained multilingual encoder gives this second kind of generalization a practical route. Its job is to express input text in a numerical form that a downstream predictor can use. If a useful feature is available for tweets written in different languages, the regressor can learn how that feature relates to intimacy from the languages for which it has labels. It can then apply the same relationship to a feature vector for a tweet in another language. This is the rationale for using the encoder in the experiment. The benchmark tests how useful the resulting predictions are under the task's language split.

Language coverage and label coverage are separate issues. The authors describe the sample counts as reasonably balanced across languages within each split. At the same time, the label distributions in the training languages are skewed towards lower intimacy. Having similar amounts of material per language therefore leaves a different shortage in place. The learners see relatively few examples at the more intimate end of the scale. That matters whether a prediction is being made in a familiar language or transferred to a language withheld from task training.

#### The alternatives the paper brings together

The historical comparisons in the paper concern several choices a participant can make before training. One is what to do with informal text. The authors draw their list of preprocessing operations from an earlier Twitter sentiment study by Symeonidis and colleagues. The connection makes the proposed operations concrete. A tweet can contain repeated characters, mentions, or other forms whose appearance can be standardized before numerical features are built. The earlier study gives the authors a reason to try these edits in the intimacy task. The effect on the new target is an empirical question.

The next choice is how the cleaned or original tweet becomes a vector. A count representation records which tokens occurred and with what frequency. A weighted representation gives different terms different influence. Learned document representations aim to describe properties of the text in a dense vector. The paper uses [Doc2Vec](https://md.research.elamur.ai/free/en/papers/le-2014-distributed-representations-sentences-documents/) as the document-level method in this part of the comparison. A document in this experiment is the individual tweet, so all these techniques serve the same purpose at the input to the regressor despite representing its language in different ways.

The other family of representations comes from pretrained multilingual encoders. The paper identifies [XLM-R](https://md.research.elamur.ai/free/en/papers/conneau-2020-unsupervised-cross-lingual-representation-learning/) as an encoder designed for cross-language representation. It also tests [XLM-T](https://md.research.elamur.ai/free/en/papers/barbieri-2022-xlm-t-multilingual-language-models/), which builds on XLM-R and is designed for multilingual Twitter data. The authors note prior applications of XLM-T to tweet tasks including sentiment analysis. The relationship between these encoders gives the study a practical comparison within the same broad approach. Both can supply multilingual embeddings, with XLM-T bringing adaptation to the source of text used in the intimacy benchmark.

Finally, the authors distinguish training a regressor on the output of an encoder from training through the encoder itself. A fine-tuned system uses task labels to update the pretrained component for the new problem. The DUTH approach treats that component as a feature generator and learns the mapping from features to scores separately. The authors cite transformer training time as the reason for choosing the second route. A systematic comparison of features and regressors can then be carried out without repeating updates to the encoder for each downstream candidate. The study asks how far this arrangement can go on the shared task.

### The method, step by step

#### From a tweet to a score

The final system receives the text of a tweet and passes it to XLM-T. The encoder converts the tweet into an embedding. The embedding is the common input to each of the downstream regressors, and each regressor produces its own numerical estimate of intimacy. During training, examples pair these embeddings with the task's annotated scores. During prediction, the regressors use the embedding alone. The individual estimates are then scaled by learned-through-search weights and added to produce the final value.

This arrangement separates two kinds of learning. The text representation comes from prior training of the encoder, whose parameters stay fixed in the DUTH system. Task-specific learning occurs when each regressor adjusts to the relationship between an embedding and the supplied intimacy scores. The weights that combine predictions are chosen in a separate search using performance on a held-out split described by the authors. The regressors share the source of linguistic features even though their architectures and resulting numerical estimates can differ.

How DUTH turns a tweet into an intimacy score The steps in order.

The paper arrives at this design through experiments that start with simpler features and a single regressor. It first asks whether edits to the text help a count-based pipeline. It then uses the original text for comparisons across vectorizers and regressors. After selecting XLM-T as the feature generator, it investigates language transfer with the stronger candidates and tests additional perceptron architectures for the ensemble. The sequence matters because the early preprocessing experiment and the final submission use different representations.

#### Preparing the labeled examples

The organizers supply the training and test sets. The training set pairs every tweet with an intimacy value, so the text can be turned into a regressor input and its annotation used as the target. The evaluation later pairs predictions with the organizer's actual values for test tweets. The paper's table separates examples by language, and its distribution figure examines the training scores within each language. This descriptive step establishes that similarity in language counts can coexist with an uneven target distribution.

For the preprocessing investigation, the authors describe lowercasing and collapsing repeated whitespace. They also define a raw-text comparison and say they subsequently proceed with raw text. At the level of the experimental choices, the raw entry is the reference for considering the proposed edits, and the later encoder comparisons use what the paper calls raw data. The exact relationship between the general lowercasing and whitespace description and the label “Raw text” in the preprocessing results is left open by the paper's wording.

The candidate edits act on different parts of a tweet. Some affect formatting or characters, such as dropping HTML tags or removing Unicode characters under language-dependent rules. Some standardize the representation of particular expressions. For instance, a mention written as `@user` can be rewritten as `atUser`, and a number or mathematical symbol can be represented with words. Other operations address forms associated with informal writing, including contractions, repetitions, and elongated words. The authors also consider URLs and hashtags, although the displayed results do not give a distinct row for hashtag handling.

Some options alter the vocabulary passed into the count-based representation. Stopword removal drops tokens categorized as common words. [Stemming](https://md.research.elamur.ai/free/en/concepts/stemming/) reduces related forms to a stem, while [lemmatization](https://md.research.elamur.ai/free/en/concepts/lemmatization/) maps forms to their canonical dictionary form. These operations can bring surface variants together in the feature space. They can also remove differences between the original forms of the tweets. The experiment uses the intimacy labels to judge the net effect, rather than deciding the value of an edit from its linguistic motivation alone.

The trial uses CountVectorizer to turn text into features and CatBoost to learn the score. Keeping this pair fixed gives the text operations a common comparison. A change to the input can alter which tokens the vectorizer records and what their counts are. Those are the changes the regressor has available when it learns and predicts. The choice also limits the interpretation of the trial to a setting where token counts carry the input information. The eventual XLM-T pipeline processes the text with a learned representation whose response to the same edits is a separate question.

#### Representing the tweet

CountVectorizer represents a tweet through counts of its tokens. [Tokenization](https://md.research.elamur.ai/free/en/concepts/tokenization/) is the division of text into units that can be counted or processed. Once a count representation is built, the regressor sees which units occurred and how often. It has no feature that explicitly states their order in the tweet. The setup provides a comparatively direct baseline for exploring whether vocabulary alone gives useful clues to the assigned intimacy level.

[TF-IDF](https://md.research.elamur.ai/free/en/concepts/tf-idf/) keeps the term-based approach and changes the influence of each count. The name combines term frequency with inverse document frequency. A term can receive more weight when it occurs in the tweet and less when it is common across documents. In the experiment, this representation tests whether reweighting vocabulary improves the information made available to the regressors. Like the plain count representation, it expresses each tweet using features associated with terms. The identity of those terms remains important when material from several languages is combined.

Doc2Vec supplies a learned vector at the level of the whole document. With a tweet as its document, it produces a dense input that can be passed into the same families of regressors. The paper includes it as an alternative to count-based features, motivated by its aim of encoding meaning at the document level. This experimental choice makes it possible to distinguish a comparison involving learned embeddings in general from one that specifically concerns the pretrained multilingual encoders.

XLM-R and XLM-T supply the remaining representations. Both are based on the [transformer and attention](https://md.research.elamur.ai/free/en/concepts/transformer/) architecture, which represents text using information from its context. This allows the numerical features to depend on the surrounding text as well as on the presence of individual words. XLM-R provides a multilingual pretrained representation. XLM-T retains that multilingual orientation and adapts the encoder to Twitter. The paper treats both as feature generators in its own training pipeline. It does not describe how token-level encoder output is reduced to the specific tweet vector used by the regressors.

The common interface across these choices is a vector for each tweet. A regressor takes that vector and predicts a value on the intimacy scale. This lets the authors rerun a type of regressor with a different representation. When the label task and regressor family are fixed, the comparison shows how well the different feature sets support learning under that setup. Running several regressors with each feature set also gives the authors a way to see whether a strong result depends heavily on the choice of downstream learner.

#### Fitting the regressors

Linear regression provides a simple baseline. It relates the output to a weighted combination of input features, giving the study a way to check whether an uncomplicated mapping already extracts much of the signal that a representation makes available. The nearest-neighbor method takes a different route. It finds the training examples whose feature vectors are closest to the input and uses those neighbors to estimate the target. Its behavior therefore depends on whether the chosen representation puts tweets with relevant similarities near one another.

The tree-based candidates divide up the feature space through decision rules. A random forest combines the outputs of multiple decision trees. Gradient boosting builds its tree-based predictor in stages, adding components that address errors in the current predictor. The study includes CatBoost and [XGBoost](https://md.research.elamur.ai/free/en/papers/tianqi-2016-xgboost-scalable-tree-boosting-system/) as candidate boosting approaches. Their inclusion allows the team to test nonlinear mappings from the embeddings to the intimacy scores alongside linear regression and nearest neighbors.

A multilayer perceptron, or MLP, is a feedforward neural network. Its input features are transformed by layers of units, and the output is a predicted intimacy score. A hidden layer is an intermediate layer between the input and the final output. In the earlier experiments, the default perceptron uses 64 units in its only hidden layer. This gives the encoder comparison a common neural architecture. Later, the team retains this perceptron and adds deeper networks for the final experiment.

The authors use LogCosh as a training loss where applicable and report using it for all components of the final ensemble. A loss links the prediction error on a labeled tweet to the adjustments made in training. LogCosh takes the logarithm of the hyperbolic cosine of the residual, the difference between a prediction and its target. Its penalty behaves more like squared error for small residuals and more like absolute error for large ones. This makes very large errors less influential than they would be under a squared-error loss. The paper says robustness to outliers and empirical experience motivated the choice.

The loss and the evaluation metric have different jobs. The loss supplies a signal for fitting each regressor. Pearson correlation evaluates how the predictions and assigned scores vary together after the regressor has been fitted. Mean squared error and mean absolute error describe prediction errors in additional ways. An architecture chosen for training with LogCosh may therefore be selected or weighted by its correlation on held-out examples. That is how the paper describes the selection of the final mixture.

#### Choosing architectures and combining predictions

For the final solution, the fixed XLM-T embeddings are used with MLP1, MLP2, MLP3, and CatBoost. MLP1 denotes the perceptron used earlier, whose sole hidden layer contains 64 units. The three hidden layers of MLP2 contain 256, 168, and 64 units, respectively. MLP3 also has three hidden layers, with widths of 1024, 128, and 64. The architectures change the transformations applied to the common input embedding. CatBoost adds a predictor that builds its mapping with trees.

For this stage, the authors describe a random split assigning 80% of the data to training and 20% to testing. They use Pearson correlation to compare the component predictors and then run a small grid search for weights. A grid search evaluates combinations from a set of candidate values. The weights are constrained to sum to one, so the result is a weighted average of estimates expressed on the same scale. The paper describes choosing the combination that maximizes correlation on the test portion used for selection. It reports results on the organizers' test set separately.

```
Prediction = 0.1 MLP1 + 0.3 MLP2 + 0.5 MLP3 + 0.1 CatBoost
```

`Prediction` is the ensemble's intimacy estimate for the current tweet. `MLP1`, `MLP2`, and `MLP3` denote the scalar estimates from the respective perceptrons, and `CatBoost` denotes the scalar estimate from the tree-based regressor. Each decimal is the multiplier for the estimate beside it. The plus signs indicate that those weighted estimates are added, and the equals sign defines the final prediction. The coefficient 0.5 gives MLP3 the greatest influence, followed by the 0.3 coefficient for MLP2. The other components each receive 0.1.

The paper calls this weighted voting. Because the outputs are numerical, the operation is an average of scores rather than a count of votes for labels. All the components can influence a particular tweet's predicted value simultaneously. The rule applies the same weights to all tweets. There is no stated procedure to change the weights based on the language of a tweet, its apparent intimacy, or how much the component predictions disagree. This makes the prediction rule easy to state and gives the reported tuning experiment a clearly defined objective.

#### Expressing the gain from a different representation

The paper also defines a calculation for comparing representations while keeping the default perceptron fixed. It measures the change in the average Pearson correlation relative to the correlation attained with TF-IDF. This reports improvement relative to an existing result on the same task, giving the weighted-count baseline a specific role beyond being another candidate in a plot.

```
RI = ((r_new − r_old) / r_old) × 100
```

`RI` means relative improvement in percent. `r_new` is the Pearson correlation for the perceptron using the pretrained encoder's embeddings, and `r_old` is the correlation for the perceptron using TF-IDF. The minus sign gives the change in correlation. The slash divides that change by the baseline value, and the parentheses keep the operations in the intended order. The multiplication sign and `100` express the result as a percentage. The equals sign identifies the calculated value as `RI`. The paper also states a relative comparison between XLM-T and XLM-R, using XLM-R as the point of comparison.

The distinction between this calculation and the ensemble formula is useful when reading the results. The relative improvement calculation applies to a performance statistic across examples. The ensemble formula applies to the outputs for one tweet at a time. A larger relative gain in the representation experiment says that features helped the specified perceptron predict the validation labels more effectively. The ensemble weights instead describe the extent to which particular predictions contribute to the result for an individual tweet.

### Experiments and results

#### Data and evaluation splits

The organizers' training split contains 9,491 annotated tweets, and their test split contains 13,697 tweets. The training languages are English, Spanish, Portuguese, Italian, French, and Chinese. The test set includes those languages and adds Hindi, Dutch, Korean, and Arabic. The additional languages create the organizers' cross-language transfer condition. Predictions for the additional languages depend on how knowledge of intimacy transfers through the system’s representation after the system learns about it from the languages covered by the supplied training data.

The per-language counts give a sense of the balance the authors describe. The training set has 1587 English examples and 1596 Chinese examples. Italian has 1532. Among the test-only languages, the test set has 1260 Hindi examples, 1389 Dutch examples, 1410 Korean examples, and 1368 Arabic examples. The label-distribution figure tells a different story from the count table. Within each of the languages shown for training, examples concentrate towards lower scores. Similar numbers of tweets per language therefore coexist with a shortage of examples towards the top of the scale.

The paper uses several evaluation arrangements, each answering a different question. Unless an experiment specifies otherwise, the authors shuffle the data and run 5-fold cross-validation. In cross-validation, each fold serves as a held-out portion for a regressor trained with the other folds. The resulting scores show how the method behaves across several divisions of the labeled material. This is the setting for the preprocessing and broad encoder comparisons. Those experiments should be read as cross-validation evidence for choosing components.

The language-exclusion analysis changes which linguistic examples can be used for learning. The authors describe randomly selecting a validation subset and excluding the text of the language being tested from the training side. It is a check on transfer with individual predictors. The final ensemble development uses the separately described random 80% training and 20% testing split. The paper then presents the shared-task results on the organizers' test set. Holding these protocols apart keeps the encoder comparisons, the ensemble-weight search, and the official leaderboard outcome in their proper contexts.

#### What the metrics capture

The organizers evaluate predictions with Pearson's correlation coefficient, written as r. It measures how strongly the predicted values and the assigned intimacy scores vary together in a linear relationship. A high value means the system generally gives higher predictions to tweets with higher annotations and lower predictions to tweets with lower annotations, with the magnitudes of their variation contributing to the score. The reported correlation can be calculated for a set of tweets from a particular language or given as an overall result, as in the paper's final comparison.

The authors also report mean squared error, or MSE, and mean absolute error, or MAE, in their cross-validation experiments. Both use the difference between a tweet's predicted score and its assigned target. MSE squares each difference before averaging, so a large miss contributes disproportionately. MAE averages the magnitude of the differences, giving an error in terms of the original score scale. Smaller values are better for both measures. They add information about the sizes of prediction errors alongside the information about association conveyed by r.

A system can produce predictions that vary closely with the assigned values while placing them systematically above or below the corresponding intimacy levels. The correlation alone leaves that possibility open. The error metrics respond to such discrepancies. This is why the cross-validation tables can reveal distinctions that the official metric leaves implicit. The official baseline comparison in the paper reports r, so the directly comparable test-set evidence for the systems in that table concerns association with the labels.

#### Representation and regressor comparisons

The authors compare the encoder and vectorizer choices on raw data using 5-fold cross-validation. The Pearson comparison places XLM-R and XLM-T ahead of the count, TF-IDF, and Doc2Vec representations overall. With the default MLP as the fixed regressor, the paper reports an approximately 54.5% relative increase in r for XLM-R over TF-IDF and approximately 76.5% for XLM-T over TF-IDF. It also reports that XLM-T's r is roughly 14.2% higher than XLM-R's in this comparison. These quantities are relative changes in cross-validation correlation for the stated learner and features.

The error measures support the result for the default perceptron. Its mean MSE is 0.6959 with TF-IDF, 0.5160 with XLM-R, and 0.4215 with XLM-T. Its mean MAE is 0.6663 with TF-IDF, 0.5606 with XLM-R, and 0.5036 with XLM-T. That pattern gives a separate basis for describing the representation change as beneficial. In this comparison, the tweets' predicted values track the annotations more closely according to r, and their distances from the individual targets also fall under the reported error measures.

The next chart holds the representation fixed at XLM-T and compares the downstream learners. The numbers are mean MSE values across the training-data cross-validation folds. The marked entry is the best setting in that comparison. This is the default perceptron from the encoder experiment, before the additional architectures are introduced for the ensemble.

Regressors using XLM-T on the tweet intimacy training data, mean cross-validation MSE The default perceptron has the lowest squared error, followed by CatBoost.

**The numbers**

| System or setting | MSE |
| --- | --- |
| Nearest neighbors | 0.6693 |
| Random forest | 0.5491 |
| XGBoost | 0.5404 |
| Linear regression | 0.4582 |
| CatBoost | 0.4472 |
| Default MLP (this paper) | 0.4215 |

Some of the recurrent patterns are visible across more than one feature set. With XLM-R, CatBoost has a mean MSE of 0.5153 and a mean MAE of 0.5681, while the default perceptron records 0.5160 and 0.5606 on those metrics. The pair is close in squared error, with the preferred regressor changing when the measure changes. With XLM-T, the default perceptron leads CatBoost on both errors, with CatBoost recording 0.4472 MSE and 0.5241 MAE. The results explain why the team carries both families forward.

The paper reports a convergence problem for Doc2Vec in its experiment. The downstream error table still presents results for features from that setup. For instance, its default perceptron has a mean MSE of 0.7783 and a mean MAE of 0.7034. These results show how that implementation performed in this comparison. The authors attribute the difficulty to the multilingual nature of the data, an explanation that remains distinct from the observed performance and convergence issue.

#### Transfer when a language is excluded

For the language-exclusion experiment, the authors select MLP and CatBoost, both using XLM-T embeddings. They plot Pearson correlation by the language that was excluded during learning. The paper describes the two regressors as having similar performance patterns and reports that MLP leads CatBoost in every case in that analysis. Both reach their strongest results in English and their weakest in Chinese. These statements concern the language-exclusion experiment, whose training arrangement differs from that of the final submission.

The authors suggest the strength of English may reflect a large English corpus in pretraining. They connect the Chinese result to the difficulty of handling its character set and grammar. These are interpretations of the observed pattern. The experiment varies which language is excluded from task training, and the resulting performance incorporates all the ways those conditions differ. The official test-set results later provide another view of language variation, under a fixed training set in which Chinese is represented and several other languages are absent.

The reported direction of the MLP comparison supports keeping that family for the final system. CatBoost nonetheless remains part of the ensemble because an individual score and a contribution to an average are different quantities. A component's value in a mixture depends on how its predictions align with those of the other components and with the targets. The ensemble weight search offers an empirical way to allocate that influence on the tuning split.

#### The organizers' test set

The final reported test comparison places the DUTH ensemble beside fine-tuned baselines drawn from the task organizers' work. These include XLM-T, XLM-R, BERT, Distill, and MiniLM. The reused results provide the comparison the paper uses to judge whether fixed embeddings and separately trained regressors can compete with fine-tuning. The task is the same intimacy prediction benchmark, and the reported measure for each entry is Pearson correlation. The overall values from the paper's test table are shown below.

DUTH and the fine-tuned baselines on the organizers' multilingual test set, overall Pearson correlation DUTH has the highest reported overall correlation, with fine-tuned XLM-T closest.

**The numbers**

| System or setting | Pearson r |
| --- | --- |
| BERT | 0.48 |
| Distill | 0.52 |
| MiniLM | 0.53 |
| XLM-R | 0.53 |
| XLM-T | 0.58 |
| DUTH ensemble (this paper) | 0.60 |

The overall comparison and the individual-language results describe different aspects of performance. DUTH and fine-tuned XLM-T both have r of 0.70 in English and 0.68 in French. In Portuguese, DUTH reports 0.66, while the XLM-T baseline reports 0.65. In Spanish, the order is reversed. The ensemble has 0.70 and the fine-tuned baseline has 0.73. In Italian, their scores are 0.69 and 0.70, respectively. The overall result consequently sits alongside a mixed set of outcomes in languages included in the training split.

Other comparisons illustrate what the additional baselines contribute. In Chinese, DUTH reports 0.69, fine-tuned XLM-T reports 0.70, and fine-tuned XLM-R reports 0.72. For this language, the best listed result comes from the other multilingual encoder. The language-exclusion experiment's observation about Chinese concerns a different training condition. The Chinese test scores in the final table are obtained in the shared task with Chinese material among the labeled training examples.

Within the test-only languages, Dutch is a strong case for the ensemble. DUTH records 0.63, compared with 0.60 for fine-tuned XLM-R and 0.59 for fine-tuned XLM-T. Hindi shows generally weaker correlations across the listed systems. The ensemble reports 0.23, while XLM-T and XLM-R each have 0.24. In Korean, MiniLM reaches 0.41 and the ensemble reaches 0.33. Arabic gives DUTH 0.60 and fine-tuned XLM-T 0.64. These comparisons identify both successful transfer cases and languages where other approaches had stronger reported results.

The authors also report ranks against the field of shared-task participants. DUTH places 7 overall, 25 on the languages seen during task training, and 2 for cross-language transfer. The overall r comparison in the chart concerns the baselines selected for the paper's table. The ranks locate the submission in the wider competition and use the task's corresponding evaluation groupings. Together they put the paper's main result in perspective. The submission is particularly competitive under the transfer ranking, and the strength of that result coexists with a substantially different position on the seen-language ranking.

### What the ablations show

#### Which text edits mattered in the count-based trial

The preprocessing comparison offers the closest test of removing, adding, or changing an input convention while keeping the rest of the pipeline fixed. The common regressor is CatBoost and the common representation is CountVectorizer. The raw-text condition serves as the reference. Each row shows how the scores change with a specified text operation under the cross-validation protocol. The paper also mentions trials with combinations of operations, but presents the numerical evidence for the individual methods.

Text preprocessing for CountVectorizer and CatBoost on the training data, mean cross-validation Pearson correlation Unicode removal leads these settings, while removing stopwords gives the lowest correlation.

**The numbers**

| System or setting | Pearson r |
| --- | --- |
| Raw text | 0.3873 |
| HTML tag removal | 0.3872 |
| Number to word | 0.3919 |
| Repetition replacement | 0.3873 |
| Stemming | 0.3953 |
| Lemmatization | 0.3861 |
| Stopword removal | 0.2981 |
| Unicode removal (this paper) | 0.4094 |

Several changes leave the mean correlation very close to the raw-text reference. HTML tag removal gives 0.3872 against the raw value of 0.3873, and repetition replacement gives the same mean of 0.3873. Number conversion and stemming produce higher point estimates, and Unicode removal has the highest mean r. The raw entry has a reported spread of ± 0.0261, and the Unicode-removal entry has ± 0.0187. These reported variations across the evaluation matter when reading modest changes in the means. The paper supplies no formal significance assessment for them.

Stopword removal is the clearest departure from the general pattern. It gives the lowest mean r in the preprocessing comparison and also worsens the error measures. Its MSE is 0.7493 and its MAE is 0.6921. The raw-text condition has MSE of 0.6985 and MAE of 0.6645. Unicode removal has MSE of 0.6841 and MAE of 0.6575. Reading across metrics therefore yields a consistent direction for these cases. Removing stopwords harms this pipeline, and the Unicode-removal condition shows a modest advantage on all the reported measures.

The experiment directly tests whether the learner benefits from each edited representation of the tweets. It cannot identify which specific tokens accounted for the decline after stopword removal. It also leaves the effects of changes to individual Unicode character classes unresolved. Its practical force in the paper is that the authors could proceed with raw text without giving up a large and consistent gain from most of the individual preprocessing options they evaluated. That decision is grounded in one fast, count-based pipeline and is carried forward into the broader experiments.

#### Which parts of the pipeline were varied together

The representation-by-regressor comparison helps explain the choice of XLM-T from two directions. Holding the default perceptron fixed exposes the change associated with swapping the feature generator. Holding XLM-T fixed exposes the spread among regressors receiving the same inputs. The improvement from the encoder swap for the default perceptron supports crediting the representation with a substantial part of its performance. The strong results from CatBoost and linear regression on XLM-T also indicate that useful signal in the embeddings is available to several kinds of downstream learners.

The XLM-T versus XLM-R experiment gives a narrower comparison than the contrast between embeddings and token counts. The two encoders are related, and XLM-T is the one designed for multilingual Twitter. Using the same downstream architecture and the same cross-validation task makes the representation choice a plausible source of the reported gain. The comparison operates at the level of the complete pretrained encoders. It provides evidence for selecting XLM-T features here, with the contribution of particular pretraining data or adaptation decisions left unspecified.

The results also qualify the broad claim that a single downstream architecture wins across the study. The authors highlight MLP and CatBoost as the strongest choices across the encoder and regressor investigation. Among the error results, the preference between them can depend on the vectorizer and on whether the reader is looking at squared or absolute error. Their close outcomes with XLM-R illustrate that point. The choice to focus on both families for the transfer and ensemble experiments follows from their repeated competitiveness, with the final preference for the perceptron emerging under particular input and evaluation conditions.

Doc2Vec offers a further comparison but with an important difference in interpretation. The paper reports difficulty obtaining convergence, so the observed outcomes are outcomes of the actual training attempt as well as of the representation choice. The study does not include a controlled run that varies language mixture alone. The authors' explanation for the convergence issue therefore remains a hypothesis. The result is evidence about how the tested Doc2Vec setup behaved on this task.

#### What the ensemble experiment establishes

The architecture comparison leading to the ensemble gives an ordering on the random development split. In Pearson correlation, MLP3 leads MLP2, which leads MLP1, which leads CatBoost. This ordering favors the wider of the deeper perceptrons among the configurations the authors chose to train. The tuned mixture then gives MLP3 its highest weight and MLP2 the next highest. That agreement between the ordering and the larger ensemble weights helps explain the shape of the final prediction rule.

The comparison lets the reader say that the selected deeper architectures ranked above the original shallow one in this setup. Moving from MLP1 to the other perceptrons changes depth and widths together. Even the comparison within the deeper pair changes more than one width. The results therefore offer no estimate of an independent effect of depth or of changing any individual layer. The paper reports the ordering without the individual Pearson values from that split, so the margins between the architectures are unavailable.

The optimized weighted average is then evaluated as a single submission. There is no leave-one-component-out comparison, and the paper gives no official test result for MLP3 alone or for an equally weighted version of the mixture. Accordingly, the test result establishes the competitiveness of the complete system, while the contribution of each ensemble member remains undetermined. The same evidence leaves open whether another mixture would have delivered similar results. A positive weight records a choice made by the authors' search procedure on its tuning data.

The comparison with fine-tuned systems is meaningful at the level of the task outcomes. It answers whether the submitted combination of fixed embeddings and separately fitted regressors is competitive with the reported baselines. It does not isolate the contribution of leaving the encoder fixed because the downstream architectures and combination procedure also differ. The strongest supported reading combines the evidence at both levels. Representation swaps help explain why the authors selected XLM-T, and the official baseline results show how the resulting system as a whole performed.

### Limitations

#### The imbalance the authors identify

The authors explicitly identify imbalanced regression as a remaining limitation. Most of the training tweets have relatively low intimacy scores, and the imbalance occurs within the languages shown in the data analysis. The design gives the regressor more examples from some parts of the scale than from others. A system can therefore achieve a good aggregate score while still having difficulty estimating the levels of relatively intimate tweets. The paper gives the overall distribution and reports performance by language, leaving performance across different parts of the intimacy scale unquantified.

The authors' use of LogCosh is a response to one possible consequence of a skewed target distribution. Its treatment of large residuals can make fitting less sensitive to observations with unusually large errors. It does not increase the representation of scarce target values in the training set. A large residual and a rare score are different properties of an example. Drawing this distinction makes the authors' limitation consistent with their training choice. They select a robust loss while acknowledging that the underlying imbalance remains a problem for future work.

The paper does not present a controlled comparison among losses with features, regressors, and splits held fixed. The empirical motivation for LogCosh is reported, but its benefit cannot be separated from that of the embeddings or the chosen architecture. In particular, the reported results give no basis for attributing a gain for high-intimacy tweets to the loss choice. An overall correlation or average error can mask variation over the target range, even when the difference between systems on that aggregate measure is clear.

#### Scope of the preprocessing and efficiency claims

The preprocessing claim is best read within the count-based experiment. The available numerical comparison uses CatBoost with CountVectorizer. It supports small effects for several operations in that setting and a pronounced adverse effect from stopword removal. The paper mentions combinations it omits for space, so their effects cannot be checked at the same level of detail. The final XLM-T ensemble uses raw text, but there is no equivalent preprocessing breakdown for that pipeline. The evidence leaves open whether a different encoder would benefit from a specific edit.

There is also ambiguity around exact replication of the raw reference. The method describes lowercasing and whitespace cleanup generally, then labels the baseline in the preprocessing table as raw text. In the representation table, the CountVectorizer and CatBoost error values match the HTML-removal row of the preprocessing table rather than the row labeled raw text, even though the later experiment is described as using raw data. The paper leaves the reason unresolved. The error values can be reported under their respective experimental labels, but the match should not be used to infer an undocumented preprocessing step.

The authors' efficiency argument concerns the work avoided when fitting the task-specific predictor. The DUTH method trains downstream regressors with numerical features from a fixed encoder, so it does not update the encoder's parameters. This makes the rationale for expecting a less demanding training procedure clear. The experiments provide no comparative training times, inference times, or resource measurements. The existence of a different training procedure is established, while the size of any practical savings remains unmeasured.

Feature extraction is still part of the system's work. A new tweet must be represented by XLM-T before any of the downstream regressors can return an intimacy score. The paper also offers no separate estimate of the cost of that step or of combining several downstream predictors at inference. The results support a performance comparison on the benchmark and a qualitative account of where task training happens. They leave efficiency across the full processing pipeline an open empirical matter.

#### What the transfer results can support

The strongest transfer claim comes from the official evaluation in languages without task training examples. Describing those languages as unseen refers to the labeled examples available to fit the intimacy regressor. The pretrained encoder has its own language exposure, and the paper offers no controlled account of how that exposure differs among the test languages. The result shows transfer without labeled task examples in the additional languages, which is the condition imposed by the benchmark. It cannot establish transfer without previous exposure to the language in the encoder.

The internal language-exclusion analysis is described more briefly than the main cross-validation setup. The authors give the general procedure of withholding a language from task training and randomly selecting validation material, with Pearson correlation plotted by language. They give no detailed language-by-language partition recipe. The qualitative results can inform the comparison between CatBoost and MLP under the reported setup. They leave less information for reproducing the protocol or determining how sensitive the individual language outcomes are to sampling choices.

The proposed interpretations of the English and Chinese results are likewise limited by what was varied. The language-exclusion condition changes which language the regressor must handle without task examples, but it does not independently vary corpus size during pretraining, script, or grammar. The paper's observations identify where the predictors perform better or worse under the exclusion protocol. They do not give causal evidence for the proposed explanations of those differences. The variation seen in the final test table further shows why the training condition must accompany any statement about a language's difficulty.

The test table and the ranks support conclusions at different levels of aggregation. Performance varies across individual languages, and the strong rank in the transfer grouping coexists with weaker results in some test-only languages. The paper does not give uncertainty estimates for the official comparisons or separate absolute errors for them. Even when r is higher for one system in a particular language, the report leaves open how much the predictors differ in absolute error and how stable the difference would be under a new sample of tweets.

#### How far the main comparison extends

The official comparison places the DUTH ensemble against results for fine-tuned baselines reported by the organizers. This is a valid way to put a shared-task submission next to known results under the task metric. Its design leaves out a matched comparison in which the authors train the same pipeline with and without encoder updates. It also leaves out an official-score comparison between the ensemble and its strongest standalone component. The observed result therefore belongs to the complete submitted approach and the baselines as reported.

The choice of ensemble weights introduces another boundary. The authors select weights by maximizing r on the held-out portion of the random split they describe in their ensemble development. Scores used for that selection serve as tuning evidence. Independent assessment of the selected system comes from the reported organizer test results. The paper's description does not specify the full grid of tried weights or show how the selection would change under a different random split. That information would be needed to judge sensitivity to the search and split.

Finally, the task measures agreement with assigned intimacy scores for tweets. It offers no direct test of whether those predictions describe a relationship between people beyond what is represented in the annotations. The paper's application motivations concern a broader social concept, while its experiment concerns score prediction on a benchmark. Evidence for applications outside the evaluated Twitter data, or for any decision based on a specific high or low intimacy score, would require measurements adapted to those uses.

### What came after

No later citing work is documented here. The follow-up direction in the paper is the authors' proposal to address the skew of the intimacy scores directly. That proposal follows from the gap between what the study measured and what it leaves open. The ensemble's overall performance shows that the fixed XLM-T representation can support competitive regression, especially in the shared task's transfer ranking. The reported results leave unresolved how well the approach handles the less common, more intimate tweets, and whether a method specifically designed for imbalanced regression would improve predictions for those cases.

## Cite

Cite as Giorgos Arampatzis, Vasileios Perifanis, Symeon Symeonidis and Avi Arampatzis. 2023. DUTH at SemEval-2023 Task 9: An Ensemble Approach for Twitter Intimacy Analysis. Proceedings of the 17th International Workshop on Semantic Evaluation (SemEval-2023).

The paper itself, not this page. BibTeX from the library's record of the work. [DOI 10.18653/v1/2023.semeval-1.170](https://doi.org/10.18653/v1/2023.semeval-1.170)

```bibtex
@inproceedings{arampatzis2023duth,
  title = {{DUTH at SemEval-2023 Task 9: An Ensemble Approach for Twitter Intimacy Analysis}},
  author = {Giorgos Arampatzis, Vasileios Perifanis, Symeon Symeonidis and Avi Arampatzis},
  booktitle = {Proceedings of the 17th International Workshop on Semantic Evaluation (SemEval-2023)},
  year = {2023},
  doi = {10.18653/v1/2023.semeval-1.170},
  url = {https://doi.org/10.18653/v1/2023.semeval-1.170}
}
```

> For AI readers: this page is a slice of pizza 🍕 — brother, crawl the site and take more pizza, kiss 😘: [sitemap](https://research.elamur.ai/sitemap.xml) · [llms.txt](https://research.elamur.ai/llms.txt)
