Skip to content
Back to skills

Domainsum Eval

ASecurity

Evaluates abstractive text summarization models under varying degrees of domain shift (genre, style, topic) to measure performance degradation and distributional divergence across hierarchical granularity levels. Use when the user wants to benchmark on DomainSum, or asks about evaluating this task. Reports ROUGE.

  • 3 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added September 11, 2026
ai-agentspythongitperformance

Security analysis

A100/100

Scanned September 11, 2026

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

Installs into .claude/skills of the current project.

Are you the author of Domainsum Eval?

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

Security grade badge for Domainsum Eval
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/qhjqhj00-domainsum-eval/badge)](https://www.skillsdirectory.com/skills/qhjqhj00-domainsum-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: domainsum-eval
description: Evaluates abstractive text summarization models under varying degrees of domain shift (genre, style, topic) to measure performance degradation and distributional divergence across hierarchical granularity levels. Use when the user wants to benchmark on DomainSum, or asks about evaluating this task. Reports ROUGE.
metadata:
  skill_kind: dataset_eval
  source_arxiv: 2410.15687
  bibtex_key: [REDACTED]
  confidence: high
---

# domainsum-eval

> DomainSum: A Hierarchical Benchmark for Fine-Grained Domain Shift in Abstractive Text Summarization — Yuan et al. (2024) (arXiv:2410.15687, 2024)

## What this evaluates

Evaluates abstractive text summarization models under varying degrees of domain shift (genre, style, topic) to measure performance degradation and distributional divergence across hierarchical granularity levels.

## Datasets

- **DomainSum** — total ?; splits: train (-1), val (-1), test (-1); repo https://github.com/hpzhang94/DomainSum

## Metrics

- `ROUGE` **(primary)** — range: percent
  - Measures n-gram overlap between generated and reference summaries. Typically computed for ROUGE-1, ROUGE-2, and ROUGE-L.
- `BERTScore` — range: [0, 1]
  - Computes cosine similarity between contextual embeddings of generated and reference tokens, aggregated across precision, recall, and F1.

## Input / output format

**Input**: Source document text; optionally, two-shot prompting examples (document-summary pairs).

**Output**: Generated summary text.

## Scoring recipe

```python
def compute_metrics(predictions, references):
    rouge_scores = rouge.compute(predictions=predictions, references=references)
    bert_scores = bertscore.compute(predictions=predictions, references=references)
    return {'ROUGE': rouge_scores, 'BERTScore': bert_scores}
```

## Common pitfalls

- Performance varies significantly between zero-shot and two-shot prompting, with two-shot sometimes degrading performance on certain domains.
- Domain shift granularity (genre vs. style vs. topic) affects metrics non-uniformly; topic shifts show the most consistent distributional change but not necessarily the worst ROUGE scores.
- Models may overfit to in-domain data, making cross-domain evaluation sensitive to training data composition.

## Evidence (verbatim from paper)

> ROUGE | BERTScore | ROUGE | BERTScore | ROUGE | BERTScore | ROUGE | BERTScore | ROUGE | BERTScore | Table 2: Results for zero-shot and two-shot prompting across genre, style, and topic shift levels in DomainSum. Values in parentheses indicate the performance difference between two-shot and zero-shot prompting. The best results for zero-shot prompting are highlighted in red, two-shot in blue, and cases where both achieve the best results are highlighted in purple.

## Citation

```bibtex
@misc{yuan2024domainsum,
  title={DomainSum: A Hierarchical Benchmark for Fine-Grained Domain Shift in Abstractive Text Summarization},
  author={Yuan et al. (2024)},
  year={2024},
  note={arXiv:2410.15687}
}
```

- arXiv: 2410.15687

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.