Abstract
The DataScience-Polimi team participated in SemEval-2022 Task 8, focusing on predicting the similarity between news articles across different languages. The proposed system utilizes a stacking ensemble of 14 Transformer-based models, specifically MPNet variants, trained on various combinations of article fields (titles, descriptions, and bodies) in both original and translated English text. By leveraging a Multi-layer Perceptron (MLP) as a meta-model, the system achieved a Pearson correlation of 0.790, ranking among the top participants.
Introduction
In an increasingly interconnected world, news events are reported globally in numerous languages, each reflecting unique cultural and political perspectives. SemEval-2022 Task 8 challenged participants to develop systems capable of identifying whether two news articles cover the same real-world event, regardless of the language used. This task is inherently difficult as it requires document-level semantic understanding beyond simple keyword matching. For instance, a German report on a trade agreement and a Turkish article on the same topic should be identified as highly similar despite differences in vocabulary and tone.
Methods
The core of the DataScience-Polimi approach is a Stacking ensemble method, where predictions from multiple "base" models serve as inputs to a final "meta-model."
Base Models and Feature Engineering
The team utilized MPNet via the SentenceTransformers framework to generate dense vector representations (embeddings) of article text. Rather than treating the article as a single block, they trained models on specific fields: Title (T), Description (D), and Body (B).
To maximize performance, two strategies were employed:
- Multilingual Models: Trained on the original text in various languages.
- Translated Models: Text was translated into English using the Opus-MT model before processing. This allowed the system to leverage the high performance of English-centric models alongside specialized multilingual embeddings.
The Stacking Ensemble
The team fine-tuned 14 different configurations, varying the input fields and language strategies. The outputs of these models were fed into a Multi-layer Perceptron (MLP), which learned the optimal weighting for each model's prediction to produce the final similarity score. Additionally, they optimized label rescaling by treating the lower bound of the target range ($s_{min}$) as a hyperparameter, finding that $s_{min} = -0.1$ improved learning.
Datasets
The dataset presented a unique challenge as it provided URLs rather than direct text due to copyright restrictions.
- Training Set: 4,964 article pairs across seven languages: English, German, Spanish, Turkish, Polish, Arabic, and French.
- Test Set: 4,953 pairs, including "surprise" languages not found in training: Chinese, Italian, and Russian.
Content was retrieved using tools like
newspaper3kandTrafilaturato scrape the text from the provided URLs.
Results
Evaluation demonstrated that models trained on the article body significantly outperformed those using only titles or descriptions. The stacking approach provided a consistent performance boost over any single-field model.
The final MLP-based stacking model achieved a Pearson correlation of 0.790. Analysis of language pairs showed high performance on pairs like French-Polish (88.3) but lower scores on others like Arabic-Arabic (66.2), likely due to scraping quality or translation limitations. The team placed 4th on the leaderboard for best individual submissions.
Conclusion
The DataScience-Polimi system highlights the effectiveness of stacking diverse Transformer-based models for cross-lingual document similarity. Key takeaways include the importance of the article body for semantic context and the continued utility of translation as a strong baseline. Future work will address data retrieval challenges, such as dead links and boilerplate text, and explore architectures like Longformer to process full article texts without truncation.
Summary updated