Oriel — AI & technology worth noticing, every day.

Constraint-Aware Test-Time Scoring for LLM and VLM Candidate Selection

Paper · https://arxiv.org/abs/2611.33161

arXiv:2611.33161v1 Announce Type: new Abstract: When an LLM or VLM produces several candidate answers, picking the best one usually relies on the model's own confidence, a learned judge model, or a domain check. Each has a known weakness: an answer can be fluent but insecure, mathematically plausible but physically infeasible, or rated highly by a judge while quietly breaking a task requirement. We propose a scoring framework that combines a small set of hard checks every answer must pass with a wider set of softer checks whose scores are blended into one number per candidate. This adaptive scoring framework consists of three components: a drafting model that produces the candidates, a configuring model that selects and weights the checks for each task, and scoring models that rate properties no grounded tool can compute. We apply our proposed method to four tasks: writing code that is both correct and secure (CWEval), generating robot manipulation plans (LIBERO with added safety variants), passing competitive-programming hidden tests (LiveCodeBench), and answering questions from retrieved documents (HotpotQA). An ablation study isolates the contribution of each component and finds that the largest gains come from combining hard checks with candidate comparison: on tasks where the first sampled answer is often broken or unsafe, this pairing lifts joint correctness-and-safety by up to +0.21 (retrieval-augmented QA) and code-generation safety by up to +0.28 (CWEval), with the size of the gain tracking how weak the first sample is, falling to near zero or slightly negative where it is already strong. The per-task layer that selects and weights the softer checks adds no measurable value over simpler alternatives. This builds a unified scoring framework, together with an ablation that identifies the grounded hard checks, not the soft-factor configuration, as the source of the gain.

First seen by Oriel on .

AI summary

This paper presents adaptive test-time scoring for selecting LLM and VLM candidates, finding that combining hard constraint checks with candidate comparison improves correctness and safety more than configurable soft checks.

  • The framework uses a drafting model, a configuring model, and scoring models that evaluate properties unavailable to grounded tools.
  • It combines mandatory hard checks with softer property scores into one candidate-selection score across four coding, robotics, programming, and retrieval-augmented QA tasks.
  • Combining hard checks with candidate comparison improves joint correctness and safety by up to +0.21 on retrieval-augmented QA and +0.28 on CWEval.
  • Benefits track the weakness of the first sampled answer, approaching zero or becoming slightly negative when that answer is already strong.
  • Ablations found no measurable benefit from selecting and weighting soft checks per task compared with simpler alternatives.

#llm evaluation #candidate selection #code generation #robotics

Generated by gpt-5.6-sol. Check the original for details.

Aliases

SourceExternal IDURL
arXiv AI Papersoai:arXiv.org:2611.33161v1https://arxiv.org/abs/2611.33161 Read discussion