Skip to content
Back to skills

Alpaca Eval Lc Winrate Eval

ASecurity

Evaluates the alignment quality of language models by measuring their win rate against a baseline on the AlpacaEval benchmark. It specifically uses length-controlled (LC) win rates to mitigate the known bias toward longer model outputs in standard auto-annotator evaluations. Use when the user wants to benchmark on alpaca_eval, or asks about evaluating this task. Reports AlpacaEval length-controlled (LC) win rate.

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

Security analysis

A100/100

Scanned September 11, 2026

npx -y skills add qhjqhj00/research-skills-pool --skill alpaca-eval-lc-winrate-eval --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Alpaca Eval Lc Winrate Eval?

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

Security grade badge for Alpaca Eval Lc Winrate Eval
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/qhjqhj00-alpaca-eval-lc-winrate-eval/badge)](https://www.skillsdirectory.com/skills/qhjqhj00-alpaca-eval-lc-winrate-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: alpaca-eval-lc-winrate-eval
description: Evaluates the alignment quality of language models by measuring their win rate against a baseline on the AlpacaEval benchmark. It specifically uses length-controlled (LC) win rates to mitigate the known bias toward longer model outputs in standard auto-annotator evaluations. Use when the user wants to benchmark on alpaca_eval, or asks about evaluating this task. Reports AlpacaEval length-controlled (LC) win rate.
metadata:
  skill_kind: dataset_eval
  source_arxiv: 2604.04410
  bibtex_key: [REDACTED]
  confidence: high
---

# alpaca-eval-lc-winrate-eval

> Relative Density Ratio Optimization for Stable and Statistically Consistent Model Alignment — Takahashi et al. (2026) (arXiv:2604.04410, 2026)

## What this evaluates

Evaluates the alignment quality of language models by measuring their win rate against a baseline on the AlpacaEval benchmark. It specifically uses length-controlled (LC) win rates to mitigate the known bias toward longer model outputs in standard auto-annotator evaluations.

## Datasets

- **alpaca_eval** — total ?; splits: test (-1); HF `tatsu-lab/alpaca_eval`; repo https://github.com/tatsu-lab/alpaca_eval

## Metrics

- `AlpacaEval length-controlled (LC) win rate` **(primary)** — range: percent
  - Win rate against a baseline model computed by an LLM-based auto-annotator, with a regression step applied to remove bias toward longer outputs.

## Input / output format

**Input**: Text prompts from the AlpacaEval dataset.

**Output**: Model-generated text responses to each prompt.

## Scoring recipe

```python
def compute_lc_win_rate(prompts, model, baseline, annotator):
    preds = model.generate(prompts)
    base_preds = baseline.generate(prompts)
    scores = annotator.compare(preds, base_preds)
    raw_wr = mean(scores == 'win')
    lc_wr = regress_length_bias(raw_wr, preds, base_preds)
    return lc_wr
```

## Common pitfalls

- Reporting raw win rates instead of length-controlled (LC) win rates, which ignores AlpacaEval's known bias toward longer generations.
- Using mismatched auto-annotator or baseline models (e.g., not weighted_alpaca_eval_gpt4_turbo and gpt-4-turbo-2024-04-09), which breaks comparability with reported baselines.
- Failing to average results over multiple random seeds, as the protocol requires repeating each experiment three times.

## Evidence (verbatim from paper)

> As the metric, we used AlpacaEval length-controlled (LC) win rates (Dubois et al., 2024). We generated responses from the aligned models on the alpaca_eval prompts, computed win rates against a baseline using an LLM-based auto-annotator, and reported LC win rates that regress out AlpacaEval’s bias toward longer outputs. We used gpt-4-turbo-2024-04-09 for the baseline and weighted_alpaca_eval_gpt4_turbo for the auto-annotator.

## Citation

```bibtex
@misc{takahashi2026rdro,
  title={Relative Density Ratio Optimization for Stable and Statistically Consistent Model Alignment},
  author={Takahashi et al. (2026)},
  year={2026},
  note={arXiv:2604.04410}
}
```

- arXiv: 2604.04410

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.