Optuna

Optuna is an open-source hyperparameter optimization framework originally developed by Preferred Networks, a Japanese AI company, and first released in 2018.

Reviewed by 7wData

On this page

Profile

Optuna is an open-source Python library for automated hyperparameter optimization, helping machine learning practitioners find the best model settings through techniques like Bayesian optimization, pruning, and distributed search.

Optuna is an open-source hyperparameter optimization framework originally developed by Preferred Networks, a Japanese AI company, and first released in 2018. The project is hosted on GitHub under the optuna organization and has accumulated 14,300 stars, 1,300 forks, and over 20,000 commits as of June 2026. It is governed as a community project with contributions from Preferred Networks engineers and external developers; the most recent commit as of June 5, 2026, removed deprecated integration wrappers for AllenNLP, Chainer, and MXNet, signaling a cleanup of legacy integrations.

Optuna is not a standalone company with reported revenue, headcount, or venture funding—it is a software project. Its primary product is the Python library `optuna`, which provides define-by-run API, pruning, and distributed optimization. The project has no disclosed financials, no known paid enterprise tier, and no named commercial customers in public sources.

It competes with frameworks like Ray Tune, Hyperopt, and Weights & Biases Sweeps, but remains one of the most widely used open-source hyperparameter optimization libraries in the ML ecosystem. The project's recent activity shows active maintenance: a commit two days ago merged a pull request specifying workflow permissions, and another merged a fix for Windows CI. The removal of deprecated integrations for AllenNLP, Chainer, and MXNet suggests the project is narrowing its scope to focus on actively maintained deep learning frameworks. There is no evidence of a corporate entity, paid product, or commercial sales motion behind Optuna; it remains a community-driven open-source project.

Track Optuna and 240+ vendors.

48k+ subscribers read the daily AI & data note. One email, both newsletters. Unsubscribe anytime.

Who buys this

  • Machine learning engineers and data scientists using Python for model development
  • Research teams in academia and industry running hyperparameter search at scale
  • Organizations using PyTorch, TensorFlow, or JAX who need automated hyperparameter tuning
  • Developers integrating hyperparameter optimization into CI/CD pipelines for ML

Strengths and what to watch

Strengths

  • Define-by-run API allows dynamic search spaces that can be defined and modified during optimization, a differentiator from static-space frameworks like Hyperopt.
  • Built-in pruning (e.g., MedianPruner, SuccessiveHalvingPruner) stops unpromising trials early, reducing total compute time in large-scale experiments.
  • Active open-source community with 14,300 GitHub stars, 1,300 forks, and 20,000+ commits, indicating sustained maintenance and contributor engagement.

Watch for

  • No disclosed revenue, funding, or corporate entity—Optuna is a pure open-source project with no visible commercial path, which may limit long-term investment in maintenance or support.
  • Removal of deprecated integration wrappers for AllenNLP, Chainer, and MXNet in June 2026 suggests the project is shedding support for older frameworks, potentially alienating users still on those stacks.
  • Competition from well-funded alternatives like Ray Tune (Anyscale) and Weights & Biases Sweeps (W&B) may erode Optuna's user base if those platforms offer tighter integration with commercial MLOps pipelines.

Recent moves

Key Information

Industry
AI Frameworks, Tools & Libraries
Founded
2018

Frequently Asked Questions

What is Optuna and what does it do?

Optuna is an open-source Python library for automated hyperparameter optimization. It helps machine learning practitioners find the best model settings using techniques like Bayesian optimization, pruning, and distributed search. Originally developed by Preferred Networks, it was first released in 2018.

How does Optuna's define-by-run API work?

Optuna's define-by-run API allows you to define and modify search spaces dynamically during optimization. This is a differentiator from static-space frameworks like Hyperopt, giving you more flexibility to adjust hyperparameters on the fly based on intermediate results.

What pruning techniques does Optuna offer?

Optuna includes built-in pruning techniques such as MedianPruner and SuccessiveHalvingPruner. These stop unpromising trials early, reducing total compute time in large-scale experiments. This is especially useful when running many trials with limited resources.

Is Optuna a company or just an open-source project?

Optuna is purely a community-driven open-source project, not a company. It has no disclosed revenue, funding, or paid enterprise tier. It is governed by contributors from Preferred Networks and external developers, with all activity hosted on GitHub.

What recent changes have been made to Optuna?

As of June 2026, Optuna removed deprecated integration wrappers for AllenNLP, Chainer, and MXNet. This cleanup signals a focus on actively maintained deep learning frameworks. The project also merged fixes for Windows CI and workflow permissions, showing ongoing maintenance.

How does Optuna compare to Ray Tune and Hyperopt?

Optuna competes with Ray Tune, Hyperopt, and Weights & Biases Sweeps. Its define-by-run API and built-in pruning are key differentiators. However, well-funded alternatives like Ray Tune may offer tighter integration with commercial MLOps pipelines, potentially eroding Optuna's user base.

Sources

  1. github.com — GitHub repository showing 14,300 stars, 1,300 forks, 20,000+ commits, recent commit removing deprecated integrations, and project structure.
  2. github.com — Commit removing deprecated integration wrappers for AllenNLP, Chainer, and MXNet on June 5, 2026.
  3. github.com — Merge of pull request #6687 specifying workflow permissions on June 4, 2026.
  4. github.com — Merge of pull request #6699 fixing Windows CI on June 4, 2026.