Author Attribution with Large Language Models: Technical Principles and Practice

    This article explains how large language models can identify the author of a text without any external retrieval or candidate list, why removing a byline no longer guarantees anonymity, and how to evaluate, protect against, and govern this capability. It breaks the task into three levels of difficulty, outlines the stylistic signals that make attribution possible, provides a reusable evaluation workflow, discusses error sources and capability limits, and offers practical recommendations for platforms and developers.

    1. The Shift: Anonymity Is No Longer a Safe Default

    Academic and content communities have long relied on an implicit assumption: once a byline is removed, a text cannot be traced to a specific individual. A recent study covering thousands of reviewers and tens of thousands of unpublished review comments reached the opposite conclusion. A frontier general-purpose large language model, with no external retrieval, no candidate list, and no comparison against historical samples, correctly guessed author identity more than half the time using the review text alone. When the sample set was replaced with private reviews from a different conference, accuracy stayed above 50%. Restricting the analysis to longer, conventional reviews pushed accuracy close to 70%. The study extended the scope to literary magazine submissions and public community comments, and for highly active users with large posting volumes, a single passage was enough to point to an identity.

    The important point is that this is not the model memorizing a roster. The text itself carries enough of a personal style fingerprint. Understanding this is the starting point for any protection design that follows.

    2. Task Breakdown: Three Levels of Difficulty

    The study abstracts the problem into three progressive levels, which map to three distinct modeling goals in engineering:

    1. Level 1: Human vs. machine discrimination. Deciding whether a text was written by a person or generated by a model is essentially binary classification, focused on statistical features such as perplexity distribution, lexical diversity, and sentence-length variance.
    2. Level 2: Source tracing. If the text is judged to be model-generated, the next step is determining which model family produced it (different vendors, different open-source lineages). This is essentially “family fingerprint” recognition, focused on tokenization habits, punctuation preferences, common collocations, and failure modes.
    3. Level 3: Individual attribution. If the text is judged to be human-written, the goal is inferring who wrote it. This is essentially open-set recognition: the candidate space is not closed, so the model must learn an abstraction over style dimensions during training rather than memorize specific samples.

    Difficulty increases across the three levels because of information constraints. Level 1 only requires distinguishing distributional differences. Level 2 requires a stable “systematic bias.” Level 3 requires decoupling style from content and matching on extremely sparse cues.

    3. Why Removing a Byline No Longer Means Anonymity

    Identifiability comes from three overlapping signal types:

    • Lexical and syntactic habits: the proportion of high-frequency function words, preference for connectives, depth of subordinate clause nesting, and rate of passive voice. These metrics are largely topic-independent and stable across domains.
    • Discourse structure templates: how an introduction sets up the problem, how contributions are stated, how experiments are organized, and how limitations are written form a reusable “writing skeleton.”
    • Implicit domain knowledge: familiarity with a class of methods, the classic results cited by default, and the way common pitfalls are avoided constitute traces of experience that are hard to fake.

    The key is that style signals and content signals are not orthogonal in representation space, but style has enough dimensions and enough stability that changing topic, venue, or language setting cannot fully erase it. This also explains why accuracy does not collapse in cross-dataset tests.

    4. A Reusable Evaluation Design

    To reproduce a similar evaluation in your own setting, follow this process to avoid distorted conclusions:

    1. 1. Data preparation: build two sample sets, closed-set and open-set; the closed set verifies the upper bound, the open set verifies real generalization.
    2. 2. Splitting strategy: split by "author" rather than by "sample" to prevent the same author from leaking across train and test.
    3. 3. Prompt design: provide only the text to be judged and the task description; no candidate list, no web retrieval.
    4. 4. Metrics: beyond Top-1 accuracy, add Top-5 hit rate, confidence calibration curve (ECE), and rejection rate.
    5. 5. Ablation: remove punctuation, remove structure, and compress length separately, then observe the accuracy decay curve to locate the key cues.
    6. 6. Baselines: compare against a word-frequency baseline and a character-level n-gram baseline to confirm whether the large model actually adds value.

    Step 5 has the most engineering value: it converts “the model is strong” into “which features are doing the work,” which then guides the design of protection measures.

    5. Error Sources and Capability Boundaries

    The limitations of this capability should be assessed objectively rather than overstated:

    • Strong length dependence. The shorter the text, the higher the variance of the style estimate; accuracy drops markedly for short comments and single-sentence remarks.
    • Loss under domain transfer. Accuracy declines across venues and genres, indicating that some cues are coupled to the setting.
    • Open-set rejection remains difficult. When the true author is not among the candidates, the model tends to force the most similar candidate, so additional thresholds and rejection mechanisms are needed.
    • Confidence is not necessarily reliable. High-confidence errors still occur, so automated decisions cannot rest on the model’s self-assessment alone.

    The reasonable positioning is therefore a “clue generator,” not an “identity judge.”

    6. Practical Recommendations for Platforms and Developers

    For content platforms, review systems, and community products, capabilities can be built at three layers:

    1. Data and evaluation layer: maintain an internal author attribution evaluation set, split by author, and continuously track accuracy drift caused by model iterations; make rejection rate and calibration error part of the release gate.
    2. Protection and governance layer: for high-sensitivity scenarios (anonymous review, reporting, internal feedback), enable style-scrubbing prompts and length/structure perturbation suggestions by default, and restrict outbound text flow in the process; for public content, offer optional implicit watermarking and provenance labeling, keep original audit copies in object storage, and track anomalous access with logging and monitoring alerts.
    3. Product and compliance layer: clearly tell users that anonymity is “probabilistic protection” rather than an absolute guarantee; establish an appeals and human review channel; use identification results only for auxiliary ranking, never for automatic penalties.

    For implementation, a general combination of cloud platform categories can be used: a container platform to host inference services, a message queue to absorb traffic spikes, object storage and logging to retain audit data, and monitoring alerts to cover quality metrics, completing the engineering work without binding to a specific vendor’s interfaces.

    7. Conclusion

    The barrier to author attribution has been lowered significantly, and anonymity protection has shifted from a “technical default” to an engineering goal that must be designed explicitly. For developers, the real opportunity is not chasing identification capability but connecting evaluation, scrubbing, watermarking, and governance into a closed loop, so that content remains trustworthy where anonymity is needed and auditable where traceability is needed.