Design Budgeted AutoML Model Selection
Automatically compare reproducible tabular classification pipelines, select a model, and enforce a finite search budget despite retries and worker failures.
Problem statement
For this exercise, assume an internal scientist submits an immutable tabular dataset with a binary target column and a finite training budget. The AutoML service automatically chooses preprocessing, model families and hyperparameters from a supported, versioned search space.
It compares candidates using the same fixed validation split and AUROC metric, then returns one complete preprocessing-and-model artifact with its lineage and evaluation report. A separate holdout is kept out of search and used once to report the selected model's final assessment.
The scientist can inspect progress, retrieve the completed result or cancel a run. Each run allows at most 50 physical training executions, including retries, and accepts no new execution after its two-hour search deadline or after cancellation is acknowledged.
Running executions must be stopped or reconciled before their capacity reservation is released. Failed or incomplete models cannot win the search. Both classes are present in every evaluation split.
Explain how the system keeps comparisons valid, makes the result reproducible, respects the execution budget, and recovers when a worker or the controller loses contact.
Training a foundation model, arbitrary user-supplied training code, online prediction serving and automatic production deployment are outside scope. The artifact is exported for a later serving system.
What to build
- A scientist submits a dataset version, target and training budget and receives one durable, retry-safe AutoML run.
- The service automatically searches supported preprocessing, model and hyperparameter choices and compares complete candidates on a fixed validation contract.
- The scientist retrieves one successful complete pipeline and a reproducible report linking dataset, splits, configurations, metrics and the selected model.
- The scientist inspects progress or cancels a run without allowing retries, late completions or lost workers to exceed the accepted execution budget.
At scale
- For this exercise, assume 200 submitted runs per day, with immutable datasets up to 10 GB; preprocessing must not require copying every dataset through the control API.
- For this exercise, a shared pool has 40 training slots and up to 10 runs active at once; each physical execution occupies one slot and all executions, including retries, consume the run limit of 50.
- For this exercise, each run stops starting new work at its two-hour deadline and status reads have a healthy p95 target below two seconds, independent of training duration.
- For this exercise, accepted specifications and completed results survive a controller or worker process crash; a lost or duplicated message must not create an unaccounted execution or replace a sealed result.