feat: batch Bayesian optimization
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 5/5
- Tiempo estimado
- Más de una semana
- Aptitud para principiantes
- 25/100
- Tipo de issue
- Nueva funcionalidad
- Claridad
- Bastante claro
- Estado de actividad
- Activo
- Stack tecnológico
- python
- Área
- machine-learning
Línea de trabajo
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.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
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
- Lenguaje dominante
- Python
- Estrellas
- 26
- Forks
- 25
- Merge medio
- 4 h 25 min
- PR fusionados (30 d)
- 9
Preparar el entorno
- Incluye un Dockerfile o un archivo de Docker Compose
- Sin plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de lanl/PyBNF
-
bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
-
min_objective stops a sampler run early and reports "Fitting complete": samplers should refuse itAbiertobug
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
-
bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 85/100
-
bug minor
Dificultad 1/5 1-3 horas Aptitud para principiantes 92/100
-
bug minor
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
Todos los issues de lanl/PyBNF
Issues similares
-
docs(contributing): the two things that silently block a PRPosiblemente ocupada Un pull request vinculado a esta issue está abierto o ya se fusionó. Abiertoavailable documentation good first issue
Dificultad 1/5 1-3 horas Aptitud para principiantes 95/100
Nixitov/Riptide-Native#944 ·
Los mantenedores suelen responder en 1 día
-
bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 88/100
JTHCode/secretguard#24 ·
Los mantenedores suelen responder en 1 día
-
area: middleware documentation good first issue
Dificultad 2/5 1-3 horas Aptitud para principiantes 88/100
-
enhancement good first issue
Dificultad 2/5 1-3 horas Aptitud para principiantes 88/100
Los mantenedores suelen responder en 1 día
-
good first issue
Dificultad 1/5 Menos de una hora Aptitud para principiantes 95/100
omarelshamy25x/shamy-hijri#63 ·
Los mantenedores suelen responder en 1 día