feat: batch Bayesian optimization
まだ誰も着手していません。
評価
- 難易度
- 5/5
- 見積もり時間
- 1週間以上
- 初心者へのやさしさ
- 25/100
- issue の種類
- 機能追加
- 明瞭さ
- おおむね明確
- 活発さ
- 活発
- 技術スタック
- python
調査の方向性
Begin by identifying BNGsim's fitting workflow with PyBioNetFit and its existing CPU batch execution, then select a dose-response or time-series problem and fix the data, bounds, and scoring rule. Compare joint batch expected improvement with individually ranked expected improvement and the current workflow, using matched prediction models, candidate pools, batch sizes, and simulation budgets. Report best fit and time to target quality, separating batch selection time from simulation time; the optional response-curve refinement study is a further extension.
索引モデルが issue の本文から書いたものです。
説明
Explore batch Bayesian optimization for fitting dose-response and time-series data
If we can evaluate N parameter sets at once, how should we choose those N sets to make the most progress toward a good fit?
Batch Bayesian optimization uses results from earlier simulations to predict how well untested parameter sets might fit the data and how uncertain those predictions are. It uses those predictions to choose a group of parameter sets to evaluate together. Two candidates may each look promising on their own, but if they are likely to succeed or fail together, it may be more useful to pair one of them with a candidate from another region.
Proposed experiment
Use an existing implementation of batch expected improvement. This method chooses a batch based on how much its best member is expected to improve on the best fit found so far.
- Choose a dose-response or time-series fitting problem. Fix the data, parameter bounds, and scoring rule for all runs.
- Start with a common set of simulations. Use their scores to choose the next batch of parameter sets. Evaluate each set against the full dataset, return one score per set, and repeat.
- Compare joint batch selection with a simpler approach that ranks candidates individually by expected improvement and takes the top N. Use the same prediction model, candidate pool, batch size, and simulation budget for both methods. Include BNGsim's current fitting workflow with PyBioNetFit as a practical baseline.
- Repeat the comparison for several batch sizes and starting samples. Report the best fit reached within the simulation budget and the elapsed time to reach a specified fit quality. Include the time spent choosing each batch.
BNGsim's existing CPU batch execution is enough for this experiment. The timings should distinguish batch selection from simulation, so we can tell whether faster simulations on a GPU would change which method is worthwhile.
Possible extension
If joint selection looks promising, test whether the optimizer can choose better batches by predicting the full response curve. For example, two parameter sets can have the same score even though one predicts a peak too early and the other predicts it too low. BNGsim can also calculate how each prediction changes when a parameter changes. One experiment would use that information to choose a batch based on the improvement expected after one additional refinement step. Give both methods the same refinement step to test whether anticipating it improves batch selection.
References
- 主要言語
- Python
- スター
- 26
- フォーク
- 25
- 平均マージ
- 4時間 25分
- マージ済み PR(30日)
- 9
環境構築
- Dockerfile または Docker Compose ファイルあり
- プルリクエストのテンプレートなし
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
lanl/PyBNF のほかの issue
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
-
min_objective stops a sampler run early and reports "Fitting complete": samplers should refuse itオープンbug
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 85/100
-
bug minor
難易度 1/5 1〜3時間 初心者へのやさしさ 92/100
-
bug minor
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
似ている issue
-
docs(contributing): the two things that silently block a PR対応中かも このイシューにリンクされたプルリクエストがオープン中、またはマージ済みです。 オープンavailable documentation good first issue
難易度 1/5 1〜3時間 初心者へのやさしさ 95/100
Nixitov/Riptide-Native#944 ·
メンテナーはふだん 1 日以内に返信
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
JTHCode/secretguard#24 ·
メンテナーはふだん 1 日以内に返信
-
area: middleware documentation good first issue
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
-
enhancement good first issue
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
メンテナーはふだん 1 日以内に返信
-
good first issue
難易度 1/5 1時間未満 初心者へのやさしさ 95/100
omarelshamy25x/shamy-hijri#63 ·
メンテナーはふだん 1 日以内に返信