Contrastive Learning for Authorship Verification
A ModernBERT Bi-Encoder model is developed that achieves 98.4% accuracy on the PAN21 authorship verification task and identifies loss function, batch size, training duration, pre-trained model, input context length, and random text span data augmentation as important factors of model performance.