SEMA connects research discovery, model development, and live evaluation through a shared experiment journal. Each cycle draws on earlier outcomes to decide what deserves another training run. As results accumulate, the coordinator updates its gain estimates, selection weights, and confidence in related strategies.
Six modules carry an idea through this loop. They exchange versioned artifacts and maintain a shared tracker, so engineers can inspect the evidence behind each decision.
SEMA in action. Engineers use the interface to guide each iteration and review the agent’s decisions.
Figure 2. The SEMA iteration loop. Six modules connect research discovery, candidate selection, offline evaluation, and guarded online experimentation. Online outcomes feed back into future candidate selection, while engineers retain control over each cycle and launch.
Human-in-the-Loop Interface. Engineers open a cycle, specify the research topic, pin promising papers, and review proposals and results. The interface makes the agent’s decisions visible throughout the workflow. Engineers retain control over which changes reach full traffic.
Search and Community Crawl. An initial crawl builds a pool of research papers together with practitioner reports about reproductions, baseline comparisons, and serving constraints. These reports help identify ideas whose operating assumptions fit the target model before training begins. Source links remain available for inspection, and later cycles re-rank the same candidate pool.
Strategy Coordinator. The coordinator matches candidate ideas to the model’s current weaknesses. It combines research evidence, predicted gain, implementation and serving cost, and outcomes from the journal to choose which candidates deserve the limited training budget. Each selected idea becomes a bounded configuration change with a hypothesis, a success criterion, and an abort criterion.
Offline Trainer and Evaluator. This module applies and validates the proposed change, then trains with timeouts and divergence checks. It compares the candidate with the baseline across ranking quality, predictive loss, calibration, and available regression checks. The outcome is promote, reject, or inconclusive. Failed runs and rejected candidates enter the journal alongside successful ones, preserving evidence for future selection.
Online Deployer. Candidates that pass the offline gate enter guarded A/B experiments against a control. The deployer continuously monitors regression thresholds and rolls back a candidate if a guarded metric crosses its limit. This stage tests whether an offline improvement translates into value under live conditions.
Online Evaluator. The evaluator compares observed business outcomes with the offline prediction and records the gap. Those outcomes feed back into gain estimates, candidate-selection weights, and strategy-family priors. It also prepares a launch document with the hypothesis, configuration change, results, and risks. An engineer reviews the recommendation; an approved improvement becomes the next baseline.
Suppose a candidate improves offline AUC but produces no useful online lift. The experiment still contributes evidence: its prediction error enters the journal and informs future estimates and metric weighting. Related strategies may receive lower priority, with explicit conditions for reconsideration. The next cycle can then choose from the remaining pool with a better understanding of what has—and has not—worked for this model.
That feedback is what makes the workflow self-evolving: each experiment supplies evidence about a candidate and helps refine the judgment behind the next choice.