Skip to content
OpenTrain AIFor AI Companies

Contrastive Decoding: Open-ended Text Generation as Optimization

Published Oct 1, 2022
arXiv PDF
Researcher verdict
Starting point
Use as implementation starting point
Benchmark evidence
Missing
Not verified yet
Time to first repro
A few days
Plan setup time
Risk flags
1
Review before use

Results and benchmarks

Freshness tier: cold
Contrastive Decoding: Open-ended Text Generation as Optimization is the primary contribution described in this paper.

Implementation

Historical official implementation (not recommended for new builds)

Why this implementation
Confidence: low

XiangLi1999/ContrastiveDecoding is the closest maintained adjacent implementation (Matched via arXiv identifier search). It is not paper-verified; validate algorithm and evaluation setup against the paper before trusting reported metrics. Community adoption signal: 206 GitHub stars.

Open xiangli1999/contrastivedecoding
Reproduction risks
  • Adjacent implementations are not paper-verified
  • Recommended repository is adjacent and not paper-verified.
  • Adjacent implementation match confidence is low.
  • No direct maintained implementation is currently verified.
  • Only historical official repository was found: xiangli1999/contrastivedecoding.
  • No maintained paper-verified implementation met reliability thresholds.

Compare implementation paths

Compare maintenance quality, reproducibility coverage, and evidence confidence before choosing a reproduction baseline.

Maintenance
Stale
Confidence
High
Reproducibility
Limited
Stars
206
Last push
Nov 14, 2022 (1379d)

Official implementation from Papers with Code · Repository link is mentioned in the paper metadata

  • No push in 12+ months
  • No CI pipeline detected
  • No tagged releases
Maintenance
Recently updated
Confidence
Low
Reproducibility
Strong
Stars
0
Last push
Apr 13, 2026 (134d)

Matched via arXiv identifier search

  • No tagged releases
  • No Docker setup
  • Low confidence match
Maintenance
Stale
Confidence
Low
Reproducibility
Limited
Stars
27
Last push
Jun 7, 2024 (808d)

Strong overlap with paper title keywords · Community adoption signal (27 stars)

  • No push in 12+ months
  • No CI pipeline detected
  • No tagged releases

Reproduction readiness

Time to first repro: days
Last checked: Aug 22, 2026

Major work

No dependency manifest, manual reconstruction required

  • xiangli1999/contrastivedecoding has no requirements.txt, environment.yml, pyproject.toml, or Dockerfile.
  • You will need to reverse-engineer dependencies from import statements in the source code.
  • Last push was 1379 days ago.
Open xiangli1999/contrastivedecoding

Hardware requirements

  • Expect multi-day setup/compute for meaningful reproduction based on current guidance.

Repositories and ecosystem

Closest related implementations

These are not paper-verified. Use them as reference points when no direct implementation is available.

No additional verified repositories beyond the primary recommendation.

Hugging Face artifacts

No trustworthy direct or curated related Hugging Face artifacts were found yet. Use targeted searches to quickly locate candidate models, datasets, and demos.

Tip: start with models, then check datasets and spaces if you need evaluation data or demos.

Research context

Tasks

None detected

Methods

Transformer

Domains

Natural Language Processing

Evaluation and human feedback data

Open this paper in HFEPX to review benchmark signals, evaluation modes, and human-feedback protocol context.

Open in HFEPX
Explore similar papers

Jump to Paper2Code search queries derived from this paper's research context.

Data includes links from Papers with Code ( CC-BY-SA-4.0 ).