﻿# Budget every generated candidate, including the ones a selector discards

Compare candidate-generation policies by accepted selected answers and their full generation-plus-selection resource footprint, retaining discarded candidates.

Author: Retrivium team
Updated: 2026-11-06
Canonical URL: https://retrivium.ai/journal/field-econ-candidate-selection-total-work/
Language: en

## A selected answer has a hidden candidate set

A drafting service generates several alternatives and returns the highest-ranked answer. Its dashboard counts only the selected text, although all alternatives occupied generation capacity and the selector also executed work. The resource question is whether expanding the candidate set improves independently accepted answers enough to justify that footprint. Candidate count is a policy parameter, not a quality guarantee. This protocol measures a bounded generation-and-selection pipeline without assuming a particular vendor feature, price or observed improvement.

## Specify sampling and selection independently

The [Transformers generation reference](https://huggingface.co/docs/transformers/en/main_classes/text_generation) defines returned sequence count separately from other generation controls. Its [strategy guide](https://huggingface.co/docs/transformers/en/generation_strategies) distinguishes sampling from beam search. Record the actual implementation: independently sampled outputs are not the same search process as beams sharing a pruning procedure. Identify whether selection uses deterministic checks, another model or a human review. Preserve selector version, inputs and tie handling. The selector's preferred output is not automatically accepted under the application's external task requirements.

## Keep an operation-to-candidate inventory

Give the user task a stable identity and attach each candidate, generation outcome and selector decision. Preserve attempted candidates even when they fail or are cancelled before the requested set is complete. Record reused input state separately from candidate-specific decoding so shared preparation is not counted repeatedly without evidence. Include selector execution and any repair pass. When retention rules prohibit storing text, retain permitted diagnostic identities and outcome records rather than pretending only the delivered candidate ever existed.

## Compare bounded candidate policies

Choose a fixed collection with an acceptance rubric that the selector cannot silently redefine. Start with the smaller eligible candidate policy, then increase its declared candidate budget while keeping model, prompts, sampling conditions and offered task schedule matched. Use repeated runs when sampling variation matters. Evaluate selected outputs independently, preserving failed selection and unresolved operations. If the selector changes as well, label the result a pipeline comparison rather than attributing its difference solely to the number of generated alternatives.

## Report marginal service and resource work

Show accepted selected answers across the complete task population beside total candidate tokens, selector calls, elapsed pool occupation and any attributable memory or energy. Inspect which previously failed tasks became accepted and which previously accepted tasks became wrong after selection changed. A selector can choose a worse alternative even when an acceptable candidate exists. Report that distinction explicitly. An oracle choosing the best candidate using reference answers is an analytical upper bound, not a deployable selector's measured performance.

## Include correlated and misleading candidates

Use cases where candidates repeat the same unsupported assumption or differ only cosmetically. A larger set may increase computation without adding useful alternatives. Add a case where a fluent but incorrect answer receives the highest selector score, and verify whether the independent acceptance check detects it. Keep the resource spent on all rejected candidates in the denominator. Stopping measurement when a winning candidate is found also needs a declared stopping policy; it cannot retroactively remove work already dispatched to other workers.

## Retain a pipeline-specific decision

The deliverable is a candidate-budget frontier for the tested task collection and selector, including uncertainty from repeated sampling. It does not prove a universal relation between candidate count and accuracy. The [beam-search explanation](/journal/beam-search-sequence-probability/) clarifies an alternative search mechanism; [inference economics](/journal/inference-economics/) defines the broader resource boundary. This protocol adds the missing candidate inventory, selection-error distinction and discarded-work account required to interpret the resource efficiency of a selected answer.
