Style representations for authorship attribution and machine-generated text detection that hold up across genres, topics, and languages (IARPA HIATUS).
As part of the IARPA HIATUS program, I developed authorship attribution and machine-generated text detection methods that stay robust when genre, topic, or language shifts. RTX BBN Technologies, the team lead, selected my style embedding model for the team’s submission to the program’s evaluations.
Counterfactual augmentation(Man & Nguyen, 2024): learns authorship representations that are robust to topic and genre shifts. Released as ERLAS on Hugging Face (3,900+ downloads). Code
EAVAE(Man et al., 2026): a variational autoencoder with separate style and content encoders, plus a discriminator that explains its decisions in natural language. State of the art on Amazon Reviews, PAN21, and HRS. Code
Team systems: the ALERT system for cross-domain machine-generated text detection (Kandula et al., 2025) and a combination of neural and large-margin contrastive criteria for authorship attribution (Kandula et al., 2024).
Learning robust representations of authorial style is crucial for authorship attribution and AI-generated text detection. However, existing methods often struggle with content-style entanglement, where models learn spurious correlations between authors’ writing styles and topics, leading to poor generalization across domains. To address this challenge, we propose Explainable Authorship Variational Autoencoder (EAVAE), a novel framework that explicitly disentangles style from content through architectural separation-by-design. EAVAE first pretrains style encoders using supervised contrastive learning on diverse authorship data, then finetunes with a Variational Autoencoder (VEA) architecture using separate encoders for style and content representations. Disentanglement is enforced through a novel discriminator that not only distinguishes whether pairs of style/content representations belong to the same or different authors/content sources, but also generates natural language explanation for their decision, simultaneously mitigating confounding information and enhancing interpretability. Extensive experiments demonstrate the effectiveness of EAVAE. On authorship attribution, we achieve state-of-the-art performance on various datasets, including Amazon Reviews, PAN21, and HRS. For AI-generated text detection, EAVAE excels in few-shot learning over the M4 dataset.
@inproceedings{man-etal-2026-explainable,title={Explainable Disentangled Representation Learning for Generalizable Authorship Attribution in the Era of Generative {AI}},author={Man, Hieu and Pham, Van-Cuong and Ngo, Nghia Trung and Dernoncourt, Franck and Nguyen, Thien Huu},booktitle={Proceedings of the 64th Annual Meeting of the {A}ssociation for {C}omputational {L}inguistics (Volume 1: Long Papers)},month=jul,year={2026},address={San Diego, California, United States},publisher={Association for Computational Linguistics},pages={43592--43604},doi={10.18653/v1/2026.acl-long.2018},url={https://aclanthology.org/2026.acl-long.2018/},}
BBN-U.Oregon’s ALERT system at GenAI Content Detection Task 3: Robust Authorship Style Representations for Cross-Domain Machine-Generated Text Detection
Hemanth Kandula, Chak Fai Li, Haoling Qiu, Damianos Karakos, Hieu Man, Thien Huu Nguyen, and Brian Ulicny
In Proceedings of the 1st Workshop on GenAI Content Detection (GenAIDetect), Jan 2025
This paper presents BBN-U.Oregon’s system, ALERT, submitted to the Shared Task 3: Cross-Domain Machine-Generated Text Detection. Our approach uses robust authorship-style representations to distinguish between human-authored and machine-generated text (MGT) across various domains. We employ an ensemble-based authorship attribution (AA) system that integrates stylistic embeddings from two complementary subsystems: one that focuses on cross-genre robustness with hard positive and negative mining strategies and another that captures nuanced semantic-lexical-authorship contrasts. This combination enhances cross-domain generalization, even under domain shifts and adversarial attacks. Evaluated on the RAID benchmark, our system demonstrates strong performance across genres and decoding strategies, with resilience against adversarial manipulation, achieving 91.8% TPR at FPR=5% on standard test sets and 82.6% on adversarial sets.
@inproceedings{kandula-etal-2025-bbn,title={{BBN}-{U}.{O}regon's {ALERT} system at {G}en{AI} Content Detection Task 3: Robust Authorship Style Representations for Cross-Domain Machine-Generated Text Detection},author={Kandula, Hemanth and Li, Chak Fai and Qiu, Haoling and Karakos, Damianos and Man, Hieu and Nguyen, Thien Huu and Ulicny, Brian},booktitle={Proceedings of the 1st Workshop on GenAI Content Detection (GenAIDetect)},month=jan,year={2025},address={Abu Dhabi, UAE},publisher={International Conference on Computational Linguistics},pages={358--364},url={https://aclanthology.org/2025.genaidetect-1.42/},}
Authorship attribution is a task that aims to identify the author of given pieces of writing. Authorship representation learning using neural networks has been shown to work in open-set environment settings with hundreds of thousands of authors. However, the performance of authorship attribution models often degrades significantly when texts are from different domains than the training data. In this work, we propose addressing this issue by adopting a novel causal framework for authorship representation learning. Our key insight is to use causal interventions during training to make models robust to differences in domains. Specifically, we introduce generating style-counterfactual examples by retrieving the most similar content texts by different authors on the same topics/domains. This exposes the model to challenging examples with similar content but distinct styles. Furthermore, we introduce causal masking of topic-indicative words to generate content-counterfactual examples. Content-counterfactuals hide topic content to encourage focusing on writing style. Experiments on three disparate domains - Amazon reviews, fanfiction stories, and Reddit comments - demonstrate that our approach significantly outperforms previous state-of-the-art methods for authorship attribution.
@inproceedings{man2024counterfactual,title={Counterfactual Augmentation for Robust Authorship Representation Learning},author={Man, Hieu and Nguyen, Thien Huu},booktitle={Proceedings of the 47th International ACM SIGIR Conference on Research and Development in Information Retrieval},year={2024},doi={10.1145/3626772.3657956},url={https://doi.org/10.1145/3626772.3657956},}
@inproceedings{kandula2024improved,title={Improved Authorship Attribution with a Combination of Neural and Large-Margin Contrastive Criteria},author={Kandula, Hemanth and Qiu, Haoling and Karakos, Damianos and Selvaggio, Micheal and Man, Hieu and Nguyen, Thien and Ulicny, Brian},booktitle={Proceedings of the Joint European Conference on Machine Learning and Knowledge Discovery in Databases. Industry Track},year={2024},url={https://ecmlpkdd.org/2024/program-accepted-papers-industry-track/},}