What problem does it solve?
Evaluator-optimizer solves the problem of consistently improving output quality when a single LLM generation pass is not enough, by looping through generation, structured critique, and regeneration.
Core Features & Use Cases
- Iterative generation with compound quality: run a generator–evaluator–optimizer loop that carries critique forward across rounds until quality meets a threshold.
- MBR-style best-of-N selection: compare multiple candidates (parallel if needed), score them, and select the best using argmax or consensus voting.
- Structured evaluator verdicts: require the evaluator to output a rubric-aligned score plus blocking issues that become direct optimizer context.
- Judge capability guardrail: enforce that the evaluator/judge model is more capable than the model being evaluated to prevent self-assessment bias.
Quick Start
Use evaluator-optimizer to generate an answer, have a stronger judge model score it against a rubric, and regenerate with the evaluator’s blocking issues threaded into the next prompt until the acceptance threshold is reached.