arXiv · 2503.00958
Layered Insights: Generalizable Analysis of Authorial Style by Leveraging All Transformer Layers
Abstract
We propose a new approach for the authorship attribution task that leverages the various linguistic representations learned at different layers of pre-trained transformer-based models. We evaluate our approach on three datasets, comparing it to a state-of-the-art baseline in in-domain and out-of-domain scenarios. We found that utilizing various transformer layers improves the robustness of authorship attribution models when tested on out-of-domain data, resulting in new state-of-the-art results. Our analysis gives further insights into how our model's different layers get specialized in representing certain stylistic features that benefit the model when tested out of the domain.
Explore related subjects
Keep this discovery
Explore connections, maps & timelines
Milad Alshomary, Nikhil Reddy Varimalla, Vishal Anand, Smaranda Muresan, Kathleen McKeown. 2025-03-02. Layered Insights: Generalizable Analysis of Authorial Style by Leveraging All Transformer Layers. https://arxiv.org/abs/2503.00958
Cite the original work for its findings. Save a collection to share your selection of sources.