Skip to content
OpenTrain AIFor AI Companies

Opacus: User-Friendly Differential Privacy Library in PyTorch

Published Sep 1, 2021
arXiv PDF
Researcher verdict
Starting point
Use as implementation starting point
Benchmark evidence
Missing
Not verified yet
Time to first repro
A few hours
Fast first run
Risk flags
0
None detected

Results and benchmarks

Freshness tier: cold
Opacus: User-Friendly Differential Privacy Library in PyTorch is the primary contribution described in this paper.

Implementation

Best maintained implementation now

Recommended
Confidence: High
Reproducibility: Strong

Training PyTorch models with differential privacy

1,951 stars · 398 forks · Last push Jul 13, 2026 · Apache-2.0 license

  • License
  • CI
  • Dependencies
  • Docker

Official implementation from Papers with Code · Repository link is mentioned in the paper metadata · Strong overlap with paper title keywords

Why this implementation
Confidence: high

pytorch/opacus is the strongest maintained implementation based on ranking signals. CI workflows are present. License is declared (Apache-2.0).

Open pytorch/opacus
Reproduction risks
  • No repository-level red flags were detected, but paper-specific preprocessing and hyperparameter details may still be under-specified.
  • Selected pytorch/opacus as the strongest maintained implementation for new work.
  • Includes CI workflow signals.
  • Includes dependency/environment manifest signals.
  • Repository activity is within the last 24 months.

Compare implementation paths

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

pytorch/opacus
best maintained
Maintenance
Recently updated
Confidence
High
Reproducibility
Strong
Stars
1,951
Last push
Jul 13, 2026 (43d)

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

  • No Docker setup
Maintenance
Recently updated
Confidence
Medium
Reproducibility
Strong
Stars
1,951
Last push
Jul 13, 2026 (43d)

Matched via arXiv identifier search · Strong overlap with paper title keywords

  • No Docker setup
Maintenance
Recently updated
Confidence
Low
Reproducibility
Strong
Stars
82
Last push
Jun 29, 2026 (57d)

Matched via arXiv identifier search · Community adoption signal (82 stars)

  • Low confidence match

Reproduction readiness

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

Ready to run

Ready to reproduce

  • Clone pytorch/opacus and install dependencies from requirements.txt.
  • CI pipeline detected, so automated tests are in place.
  • Last updated 43 days ago.
Open pytorch/opacus

Quick start

git clone https://github.com/pytorch/opacus.git
pip install -r requirements.txt

Repositories and ecosystem

Official

No additional official repositories detected.

Community

  • meta-pytorch/opacus
    Confidence: Medium

    Training PyTorch models with differential privacy

    1,951 stars · 398 forks · Last push Jul 13, 2026 · Apache-2.0 license

  • Fast, memory-efficient, scalable optimization of deep learning with differential privacy

    147 stars · 25 forks · Last push Jan 22, 2026 · Apache-2.0 license

Hugging Face artifacts

No direct paper-linked artifacts were found. Showing strongest curated related artifacts for faster exploration.

Models

Curated Related

Datasets

Curated Related

Spaces

No trustworthy spaces matches right now.

Search spaces on Hugging Face

Research context

Evaluation and human feedback data

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

Open in HFEPX

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