Contrastive News and Social Media Linking using BERT for Articles and Tweets across Dual Platforms

Jan Piotrowski, Marek Wachnicki, Mateusz Perlik, Jakub Podolak, Grzegorz Rucki +7 more
12/11/2023
cs.CLcs.LG

No confident code implementation found for this paper.

Abstract

X (formerly Twitter) has evolved into a contemporary agora, offering a platform for individuals to express opinions and viewpoints on current events. The majority of the topics discussed on Twitter are directly related to ongoing events, making it an important source for monitoring public discourse. However, linking tweets to specific news presents a significant challenge due to their concise and informal nature. Previous approaches, including topic models, graph-based models, and supervised classifiers, have fallen short in effectively capturing the unique characteristics of tweets and articles. Inspired by the success of the CLIP model in computer vision, which employs contrastive learning to model similarities between images and captions, this paper introduces a contrastive learning approach for training a representation space where linked articles and tweets exhibit proximity. We present our contrastive learning approach, CATBERT (Contrastive Articles Tweets BERT), leveraging pre-trained BERT models. The model is trained and tested on a dataset containing manually labeled English and Polish tweets and articles related to the Russian-Ukrainian war. We evaluate CATBERT's performance against traditional approaches like LDA, and the novel method based on OpenAI embeddings, which has not been previously applied to this task. Our findings indicate that CATBERT demonstrates superior performance in associating tweets with relevant news articles. Furthermore, we demonstrate the performance of the models when applied to finding the main topic -- represented by an article -- of the whole cascade of tweets. In this new task, we report the performance of the different models in dependence on the cascade size.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{piotrowski2023contrastive,
  title  = {Contrastive News and Social Media Linking using BERT for Articles and Tweets across Dual Platforms},
  author = {Jan Piotrowski and Marek Wachnicki and Mateusz Perlik and Jakub Podolak and Grzegorz Rucki and Michał Brzozowski and Paweł Olejnik and Julian Kozłowski and Tomasz Nocoń and Jakub Kozieł and Stanisław Giziński and Piotr Sankowski},
  year   = {2023},
  eprint = {2312.07599},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2312.07599v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2312.07599.svg)](https://codeofpaper.com/paper/2312.07599)

Discussion