LLM one-shot style transfer for Authorship Attribution and Verification

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Miralles-González, Pablo, Huertas-Tato, Javier, Martín, Alejandro, Camacho, David
Format: Preprint
Published: 2025
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866918253558759424
author Miralles-González, Pablo
Huertas-Tato, Javier
Martín, Alejandro
Camacho, David
author_facet Miralles-González, Pablo
Huertas-Tato, Javier
Martín, Alejandro
Camacho, David
contents Computational stylometry studies writing style through quantitative textual patterns, enabling applications such as authorship attribution, identity linking, and plagiarism detection. Existing supervised and contrastive approaches often rely on datasets with spurious correlations, conflating style with topic. Despite the relevance of language modeling to these tasks, the pre-training of modern large language models (LLMs) has been underutilized in general authorship analysis. We introduce an unsupervised framework that uses the log-probabilities of an LLM to measure style transferability between two texts. This framework takes advantage of the extensive CLM pre-training and in-context capabilities of modern LLMs. Our approach avoids explicit supervision with spuriously correlated data. Our method substantially outperforms unsupervised prompting-based baselines at similar model sizes and exceeds contrastively trained models when controlling for topical overlap. Our framework's performance improves with model size. In the case of authorship verification, we present an additional mechanism that increases test-time computation to improve accuracy; enabling flexible trade-offs between computational cost and task performance.
format Preprint
id arxiv_https___arxiv_org_abs_2510_13302
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle LLM one-shot style transfer for Authorship Attribution and Verification
Miralles-González, Pablo
Huertas-Tato, Javier
Martín, Alejandro
Camacho, David
Computation and Language
Artificial Intelligence
Computational stylometry studies writing style through quantitative textual patterns, enabling applications such as authorship attribution, identity linking, and plagiarism detection. Existing supervised and contrastive approaches often rely on datasets with spurious correlations, conflating style with topic. Despite the relevance of language modeling to these tasks, the pre-training of modern large language models (LLMs) has been underutilized in general authorship analysis. We introduce an unsupervised framework that uses the log-probabilities of an LLM to measure style transferability between two texts. This framework takes advantage of the extensive CLM pre-training and in-context capabilities of modern LLMs. Our approach avoids explicit supervision with spuriously correlated data. Our method substantially outperforms unsupervised prompting-based baselines at similar model sizes and exceeds contrastively trained models when controlling for topical overlap. Our framework's performance improves with model size. In the case of authorship verification, we present an additional mechanism that increases test-time computation to improve accuracy; enabling flexible trade-offs between computational cost and task performance.
title LLM one-shot style transfer for Authorship Attribution and Verification
topic Computation and Language
Artificial Intelligence
url https://arxiv.org/abs/2510.13302