research

New AI Scoring System Improves Answer Quality by Adding Hard Checks

Summarized by AI from reporting by ArXiv cs.AI, published under our editorial policy.

Researchers developed a new scoring system for AI models that combines strict checks with flexible scoring to pick better answers. This method significantly improves safety and correctness in tasks like coding and robotics.

A diagram illustrating the new AI scoring framework, highlighting the combination of hard and soft checks.

Key takeaways

  • The new scoring framework combines hard checks with flexible scoring to improve AI answer selection.
  • The method improves joint correctness-and-safety by up to +0.21 in retrieval-augmented QA (HotpotQA).
  • The largest gains come from combining hard checks with candidate comparison, especially in tasks where the first sample is often broken or unsafe.
  • The per-task layer that selects and weights softer checks added no measurable value over simpler alternatives.

Researchers from an unspecified institution released a new scoring framework for AI models that improves the selection of the best candidate answers. The system combines strict checks with flexible scoring to ensure answers meet both hard and soft criteria. This approach addresses longstanding issues in AI-generated content, where answers can be fluent but insecure, mathematically plausible but physically infeasible, or highly rated by a judge while still breaking task requirements.

The Problem with Current AI Answer Selection

When AI models like large language models (LLMs) or vision-language models (VLMs) generate multiple candidate answers, they typically rely on the model's own confidence, a learned judge model, or domain-specific checks. However, these methods have known weaknesses: answers can be fluent but insecure, mathematically plausible but physically infeasible, or highly rated by a judge while still breaking task requirements. For example, an AI might generate code that runs correctly but contains security vulnerabilities, or a robot might plan a manipulation that is mathematically sound but physically unsafe.

How the New Scoring Framework Works

The proposed scoring framework consists of three main 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. The framework combines a small set of hard checks that every answer must pass with a wider set of softer checks whose scores are blended into one number per candidate. This adaptive scoring framework ensures that answers meet both strict and flexible criteria, providing a more comprehensive evaluation.

The researchers applied this method to four tasks: writing secure code (CWEval), generating robot manipulation plans (LIBERO with added safety variants), passing competitive-programming hidden tests (LiveCodeBench), and answering questions from retrieved documents (HotpotQA). The results showed significant improvements in tasks where the first sampled answer was often broken or unsafe. For example, the method improved joint correctness-and-safety by up to +0.21 in retrieval-augmented QA and code-generation safety by up to +0.28 in CWEval. The per-task layer that selects and weights the softer checks added no measurable value over simpler alternatives, indicating that the grounded hard checks are the primary source of the gain.

Why This Matters for Everyday Users

This new scoring system could lead to more reliable and safer AI-generated answers in various applications. For instance, in coding, it ensures that the generated code is not only correct but also secure. In robotics, it helps generate manipulation plans that are both effective and safe. For everyday users, this means AI assistants and tools will provide more accurate and trustworthy responses, reducing the risk of errors or security vulnerabilities. This is particularly important in fields like healthcare, finance, and education, where the accuracy and safety of AI-generated content are critical.

What You Can Do Today

While this research is still in the experimental phase, you can stay informed about advancements in AI safety and reliability. If you use AI tools for coding, robotics, or other tasks, keep an eye out for updates from the developers of these tools. Ask your AI provider if they are implementing similar scoring frameworks to improve answer quality and safety. Additionally, you can explore AI tools that already incorporate robust safety checks, such as GitHub's Copilot for secure code generation or specialized robotics planning software that emphasizes safety.

Frequently asked

Is this scoring framework available for public use?
The framework is still in the research phase and not yet available for public use.
How does this framework improve safety in AI-generated answers?
By combining strict checks with flexible scoring, the framework ensures that answers meet both hard and soft criteria, reducing the risk of errors or security vulnerabilities.
Which tasks have shown the most improvement with this framework?
The framework has shown significant improvements in tasks like writing secure code (CWEval) and generating robot manipulation plans (LIBERO with added safety variants).