Understanding writing style in social media with a supervised contrastively pre-trained transformer
Not on the map. Why?
Abstract (arXiv)
Online Social Networks serve as fertile ground for harmful behavior, ranging from hate speech to the dissemination of disinformation. Malicious actors now have unprecedented freedom to misbehave, leading to severe societal unrest and dire consequences, as exemplified by events such as the Capitol assault during the US presidential election and the Antivaxx movement during the COVID-19 pandemic. Understanding online language has become more pressing than ever. While existing works predominantly focus on content analysis, we aim to shift the focus towards understanding harmful behaviors by relating content to their respective authors. Numerous novel approaches attempt to learn the stylistic features of authors in texts, but many of these approaches are constrained by small datasets or sub-optimal training losses. To overcome these limitations, we introduce the Style Transformer for Authorship Representations (STAR), trained on a large corpus derived from public sources of 4.5 x 106 authored texts involving 70k heterogeneous authors. Our model leverages Supervised Contrastive Loss to teach the model to minimize the distance between texts authored by the same individual. This author pretext pre-training task yields competitive performance at zero-shot with PAN challenges on attribution and clustering. Additionally, we attain promising results on PAN verification challenges using a single dense layer, with our model serving as an embedding encoder. Finally, we present results from our test partition on Reddit. Using a support base of 8 documents of 512 tokens, we can discern authors from sets of up to 1616 authors with at least 80% accuracy. We share our pre-trained model at huggingface (https://huggingface.co/AIDA-UPM/star) and our code is available at (https://github.com/jahuerta92/star)
Key facts. Cited by 12 papers in the map (data through 13 Oct 2026). Builds on 22 of its 64 references that are in the map. First posted on arXiv 17 Oct 2023.
Builds on
22 of 64 references.
References · 22
- 2017Attention Is All You Needcited by 60,106
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,304
- 2021Learning Transferable Visual Models From Natural Language Supervisioncited by 33,588
- 2020Language Models are Few-Shot Learnerscited by 32,320
- 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,549
- 2019RoBERTa: A Robustly Optimized BERT Pretraining Approachcited by 13,322
- 2019Sentence-BERT: Sentence Embeddings using Siamese BERT-Networkscited by 9,107
- 2020Supervised Contrastive Learningcited by 2,811
- 2021SimCSE: Simple Contrastive Learning of Sentence Embeddingscited by 2,170
- 2022Same Author or Just Same Topic? Towards Content-Independent Style Representationscited by 85
- 2023Spanish Pre-trained BERT Model and Evaluation Datacited by 81
- 2018A standardized Project Gutenberg corpus for statistical analysis of natural language and quantitative linguisticscited by 64
10 more
- 2019Encoding Musical Style with Transformer Autoencoderscited by 35
- 2021Styleformer: Transformer based Generative Adversarial Networks with Style Vectorcited by 27
- 2016Task-Guided and Path-Augmented Heterogeneous Network Embedding for Author Identificationcited by 18
- 2021The Topic Confusion Task: A Novel Scenario for Authorship Attributioncited by 17
- 2022Whodunit? Learning to Contrast for Authorship Attributioncited by 17
- 2022Pair-Level Supervised Contrastive Learning for Natural Language Inferencecited by 12
- 2021DeepStyle: User Style Embedding for Authorship Attribution of Short Textscited by 10
- 2020A Self-supervised Representation Learning of Sentence Structure for Authorship Attributioncited by 6
- 2021Unified and Multilingual Author Profiling for Detecting Haterscited by 4
- 2022Can You Fool AI by Doing a 180? unicodex2013 A Case Study on Authorship Analysis of Texts by Arata Osadacited by 2
Built on by
Citing papers per year: 2024: 2; 2025: 3; 2026: 7.
12 papers.
- 2025Trends and Challenges in Authorship Analysis: A Review of ML, DL, and LLM Approachescited by 3
- 2025One-shot Style Transfer LLM log-probabilities for Authorship Attribution and Verificationcited by 1
- 2026AuthorMix: Modular Authorship Style Transfer via Layer-wise Adapter Mixingcited by 1
- 2026Incentives shape how humans co-create with generative AIcited by 1
- 2024DisTrack: a new Tool for Semi-automatic Misinformation Tracking in Online Social Networkscited by 0
- 2024Estimating the Influence of Sequentially Correlated Literary Properties in Textual Classification: A Data-Centric Hypothesis-Testing Approachcited by 0
- 2025An Information-Theoretic Approach to Identifying Formulaic Clusters in Textual Datacited by 0
- 2026Authorship Impersonation via LLM Prompting does not Evade Authorship Verification Methodscited by 0
- 2026Assessing Capabilities of Large Language Models in Social Media Analytics: A Multi-task Questcited by 0
- 2026Unsupervised Style Representation Learning for AI-Text Detection via Paraphrase Inversioncited by 0
- 2026STEB: Style Text Embedding Benchmarkcited by 0
- 2026Predicting Steering Vectors and Adapter Weights for Few-Shot Author-Style Transfercited by 0
- 2026Predicting Steering Vectors and Adapter Weights for Few-Shot Author-Style Transfer2 Oct 2026
- 2026STEB: Style Text Embedding Benchmark30 Jun 2026
- 2026Unsupervised Style Representation Learning for AI-Text Detection via Paraphrase Inversion8 Jun 2026
- 2026Assessing Capabilities of Large Language Models in Social Media Analytics: A Multi-task Quest21 Apr 2026
- 2026Incentives shape how humans co-create with generative AI4 Apr 2026
- 2026Authorship Impersonation via LLM Prompting does not Evade Authorship Verification Methods31 Mar 2026
- 2026AuthorMix: Modular Authorship Style Transfer via Layer-wise Adapter Mixing24 Mar 2026
- 2025One-shot Style Transfer LLM log-probabilities for Authorship Attribution and Verification15 Oct 2025
- 2025Trends and Challenges in Authorship Analysis: A Review of ML, DL, and LLM Approaches21 May 2025
- 2025An Information-Theoretic Approach to Identifying Formulaic Clusters in Textual Data10 Mar 2025
- 2024Estimating the Influence of Sequentially Correlated Literary Properties in Textual Classification: A Data-Centric Hypothesis-Testing Approach7 Nov 2024
- 2024DisTrack: a new Tool for Semi-automatic Misinformation Tracking in Online Social Networks1 Aug 2024