Skip to content
AI News HubLIVE
Original source2 min read

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

Summary

A new paper proposes a constraint-aware scoring framework for selecting the best answer from multiple candidates produced by LLMs or VLMs. The method combines mandatory hard constraint checks with softer evaluations blended into a single score per candidate, and is tested on four tasks including secure code generation, robot manipulation planning, competitive programming, and retrieval-augmented question answering. An ablation study finds that gains come primarily from combining hard checks with candidate comparison rather than from task-specific configuration of soft checks.

SourcearXiv AIAuthor: Rangarajan Ramesh, Yongchao Huang
Constraint-Aware Test-Time Scoring for LLM and VLM Candidate Selection
Report an error

The correction channel is not available yet. You can copy the article reference below for later.

Correction instructions
Read article

[Submitted on 31 Aug 2026]

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

View a PDF of the paper titled Constraint-Aware Test-Time Scoring for LLM and VLM Candidate Selection, by Rangarajan Ramesh and 1 other authors

View PDF HTML (experimental)

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.

Comments: 25 pages, 1 figure, 7 tables

Subjects:

Artificial Intelligence (cs.AI)

Cite as: arXiv:2611.33161 [cs.AI]

(or arXiv:2611.33161v1 [cs.AI] for this version)

https://doi.org/10.48550/arXiv.2611.33161

arXiv-issued DOI via DataCite

Submission history

From: Rangarajan Ramesh [view email] [v1] Mon, 31 Aug 2026 11:25:11 UTC (54 KB)

Full-text links:

Access Paper:

View a PDF of the paper titled Constraint-Aware Test-Time Scoring for LLM and VLM Candidate Selection, by Rangarajan Ramesh and 1 other authors

View PDF

HTML (experimental)

TeX Source

view license

Additional Features

Audio Summary

Current browse context:

cs.AI

new | recent | 2026-11

Change to browse by:

cs

References & Citations

SciX

Google Scholar

Semantic Scholar

Loading...

Data provided by:

Bibliographic Tools

Bibliographic and Citation Tools

Bibliographic Explorer Toggle

Bibliographic Explorer (What is the Explorer?)

Connected Papers Toggle

Connected Papers (What is Connected Papers?)

Litmaps Toggle

Litmaps (What is Litmaps?)

scite.ai Toggle

scite Smart Citations (What are Smart Citations?)

Code, Data, Media

Code, Data and Media Associated with this Article

alphaXiv Toggle

alphaXiv (What is alphaXiv?)

Links to Code Toggle

CatalyzeX Code Finder for Papers (What is CatalyzeX?)

DagsHub Toggle

DagsHub (What is DagsHub?)

GotitPub Toggle

Gotit.pub (What is GotitPub?)

Huggingface Toggle

Hugging Face (What is Huggingface?)

ScienceCast Toggle

ScienceCast (What is ScienceCast?)

Demos

Demos

Replicate Toggle

Replicate (What is Replicate?)

Spaces Toggle

Hugging Face Spaces (What is Spaces?)

Spaces Toggle

TXYZ.AI (What is TXYZ.AI?)

Related Papers

Recommenders and Search Tools

Link to Influence Flower

Influence Flower (What are Influence Flowers?)

Core recommender toggle

CORE Recommender (What is CORE?)

Author

Venue

Institution

Topic

About arXivLabs

arXivLabs: experimental projects with community collaborators

arXivLabs is a framework that allows collaborators to develop and share new arXiv features directly on our website.

Both individuals and organizations that work with arXivLabs have embraced and accepted our values of openness, community, excellence, and user data privacy. arXiv is committed to these values and only works with partners that adhere to them.

Have an idea for a project that will add value for arXiv's community? Learn more about arXivLabs.

Which authors of this paper are endorsers? | Disable MathJax (What is MathJax?)

Key points and analysis

Article intelligence

EngineersAdvanced

Key points

  • The framework consists of a drafting model, a configuring model that selects and weights checks for each task, and scoring models that rate properties no grounded tool can compute.
  • Combining hard checks with candidate comparison lifts joint correctness and safety by up to +0.21 on retrieval-augmented QA and code-generation safety by up to +0.28 on CWEval.
  • Gains shrink to near zero or slightly negative where the first sampled answer is already strong, and the per-task layer that selects and weights softer checks adds no measurable value.

Highlights and analysis are generated automatically and may contain errors. Check the original source.