Skip to content
Back to skills

Authorship Attribution Eval

ASecurity

Evaluates a model's ability to identify an author from their writing style while suppressing domain-specific (fandom) style leakage. It probes cross-domain generalization and robustness to domain swapping in binary authorship attribution. Use when the user wants to benchmark on Fanfiction Corpus, or asks about evaluating this task. Reports mean macro accuracy.

  • 3 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added September 11, 2026
researchpythongoperformance

Security analysis

A100/100

Scanned September 11, 2026

npx -y skills add qhjqhj00/research-skills-pool --skill authorship-attribution-eval --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Authorship Attribution Eval?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Authorship Attribution Eval
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/qhjqhj00-authorship-attribution-eval/badge)](https://www.skillsdirectory.com/skills/qhjqhj00-authorship-attribution-eval)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: authorship-attribution-eval
description: Evaluates a model's ability to identify an author from their writing style while suppressing domain-specific (fandom) style leakage. It probes cross-domain generalization and robustness to domain swapping in binary authorship attribution. Use when the user wants to benchmark on Fanfiction Corpus, or asks about evaluating this task. Reports mean macro accuracy.
metadata:
  skill_kind: dataset_eval
  source_arxiv: 2005.14714
  bibtex_key: [REDACTED]
  confidence: high
---

# authorship-attribution-eval

> The Importance of Suppressing Domain Style in Authorship Analysis — Bischoff et al. (2020) (arXiv:2005.14714, 2020)

## What this evaluates

Evaluates a model's ability to identify an author from their writing style while suppressing domain-specific (fandom) style leakage. It probes cross-domain generalization and robustness to domain swapping in binary authorship attribution.

## Datasets

- **Fanfiction Corpus** — total ?; splits: train (-1), test (-1)

## Metrics

- `mean macro accuracy` **(primary)** — range: percent
  - Macro-averaged accuracy computed across all problem instances (author pairs and fandom combinations). For binary classification, this is equivalent to the proportion of correctly predicted author labels averaged over at least ten repetitions per instance.

## Input / output format

**Input**: Text chunks of up to 500 tokens, represented as character trigrams or learned embeddings.

**Output**: Binary author label prediction (e.g., Author A or Author B).

## Scoring recipe

```python
def compute_macro_accuracy(predictions, gold_labels):
    correct = sum(1 for p, g in zip(predictions, gold_labels) if p == g)
    return correct / len(gold_labels)

# Final metric is the mean of compute_macro_accuracy across >=10 repetitions
```

## Common pitfalls

- High accuracy in traditional same-domain setups often reflects domain style exploitation rather than true author style capture.
- Models must be evaluated on equal text lengths (max 500 tokens) to ensure fairness across different learning paradigms.
- Domain swapping experiments require careful balancing of training data to allow adversarial training without zero-knowledge constraints.

## Evidence (verbatim from paper)

> As performance measure, we employ the mean macro accuracy over at least ten problem instances for every experiment.

## Citation

```bibtex
@misc{bischoff2020importance,
  title={The Importance of Suppressing Domain Style in Authorship Analysis},
  author={Bischoff et al. (2020)},
  year={2020},
  note={arXiv:2005.14714}
}
```

- arXiv: 2005.14714

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.