feat: batch Bayesian optimization

オープン
#1,078 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
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.

  1. Choose a dose-response or time-series fitting problem. Fix the data, parameter bounds, and scoring rule for all runs.
  2. 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.
  3. 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.
  4. 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

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

lanl/PyBNF のほかの issue

lanl/PyBNF の issue をすべて見る

似ている issue

Python の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。