Original source

Author(s): Feng He, Hejia Wang, Linghao Meng, Ming Gao, Qiankun Li
Title: Verification Trap: Understanding Test-Time Selection Failures under False Premises in Code Generation
Published in: ACL Anthology
Date: 2026-10-01
Original: https://aclanthology.org/2026.emnlp-main.157/

This is a plain-text archive kept so the wiki’s notes can be checked against the source. Images, scripts and embedded media were removed. All rights stay with the original author(s); read and cite the original at the link above.

Notes on this source: Source note Themes: Loop engineering, Evals and agent quality Why it was archived: per-question verification lift brittleness and verifier selection

Archived text

@inproceedings{he-etal-2026-verification,

title = "Verification Trap: Understanding Test-Time Selection Failures under False Premises in Code Generation",

author = "He, Feng  and

  Wang, Hejia  and

  Meng, Linghao  and

  Gao, Ming  and

  Li, Qiankun",

editor = "Lee, Hung-Yi  and

  Dev, Sunipa  and

  Li, Junyi Jessy  and

  Elliott, Desmond",

booktitle = "Proceedings of the 2026 Conference on Empirical Methods in Natural Language Processing",

month = oct,

year = "2026",

address = "Budapest, Hungary",

publisher = "Association for Computational Linguistics",

url = "https://aclanthology.org/2026.emnlp-main.157/",

doi = "10.18653/2026.emnlp-main.157",

pages = "3613--3637",

ISBN = "979-8-89176-459-0",

abstract = "Test-time compute has become a central way to improve code generation: systems sample multiple candidate programs and use verifier-visible evidence to select the final output. This paradigm implicitly assumes that the verifier provides a corrective signal independent from the generator. We challenge this assumption under misleading task premises. When the generator and verifier share a false premise, they become coupled through a mistaken belief: the generator produces premise-consistent shortcuts, while the verifier supplies evidence that fails to expose them. Consequently, the selector may choose a hidden-test-wrong candidate even when a hidden-test-correct program exists in the pool. We call this failure mode Verification Trap. Across three code-generation benchmarks and five code models, false premises consistently degrade first-sample correctness, reduce selector-chosen correctness after 64-sample test-time selection, and amplify recoverable mis-selection. Mechanistically, verifier-written tests inherit the premise-level blind spot, reshaping verifier-visible candidate space away from hidden-test correctness. These traces make Verification Trap predictable before hidden execution: a lightweight gold-free predictor using verifier-visible features reaches 0.846 AUROC. Our results identify decoupled evidence as a key mitigation axis: coupled scaling provides limited recovery, whereas premise-agnostic robustness auditors recover substantial oracle headroom."

}<?xml version=“1.0” encoding=“UTF-8”?>

    Verification Trap: Understanding Test-Time Selection Failures under False Premises in Code Generation


    Feng

    He
    
        author
    


    Hejia

    Wang
    
        author
    


    Linghao

    Meng
    
        author
    


    Ming

    Gao
    
        author
    


    Qiankun

    Li
    
        author
    


    2026-10

text

    
        Proceedings of the 2026 Conference on Empirical Methods in Natural Language Processing
    
    
        Hung-Yi

        Lee
        
            editor
        
    
    
        Sunipa

        Dev
        
            editor
        
    
    
        Junyi

        Jessy

        Li
        
            editor
        
    
    
        Desmond

        Elliott
        
            editor
        
    
    
        Association for Computational Linguistics
        
            Budapest, Hungary
        
    
    conference publication

    979-8-89176-459-0

Test-time compute has become a central way to improve code generation: systems sample multiple candidate programs and use verifier-visible evidence to select the final output. This paradigm implicitly assumes that the verifier provides a corrective signal independent from the generator. We challenge this assumption under misleading task premises. When the generator and verifier share a false premise, they become coupled through a mistaken belief: the generator produces premise-consistent shortcuts, while the verifier supplies evidence that fails to expose them. Consequently, the selector may choose a hidden-test-wrong candidate even when a hidden-test-correct program exists in the pool. We call this failure mode Verification Trap. Across three code-generation benchmarks and five code models, false premises consistently degrade first-sample correctness, reduce selector-chosen correctness after 64-sample test-time selection, and amplify recoverable mis-selection. Mechanistically, verifier-written tests inherit the premise-level blind spot, reshaping verifier-visible candidate space away from hidden-test correctness. These traces make Verification Trap predictable before hidden execution: a lightweight gold-free predictor using verifier-visible features reaches 0.846 AUROC. Our results identify decoupled evidence as a key mitigation axis: coupled scaling provides limited recovery, whereas premise-agnostic robustness auditors recover substantial oracle headroom.

he-etal-2026-verification

10.18653/2026.emnlp-main.157

    https://aclanthology.org/2026.emnlp-main.157/


    2026-10
    
        3613

        3637
    

%0 Conference Proceedings

%T Verification Trap: Understanding Test-Time Selection Failures under False Premises in Code Generation

%A He, Feng

%A Wang, Hejia

%A Meng, Linghao

%A Gao, Ming

%A Li, Qiankun

%Y Lee, Hung-Yi

%Y Dev, Sunipa

%Y Li, Junyi Jessy

%Y Elliott, Desmond

%S Proceedings of the 2026 Conference on Empirical Methods in Natural Language Processing

%D 2026

%8 October

%I Association for Computational Linguistics

%C Budapest, Hungary

%@ 979-8-89176-459-0

%F he-etal-2026-verification

%X Test-time compute has become a central way to improve code generation: systems sample multiple candidate programs and use verifier-visible evidence to select the final output. This paradigm implicitly assumes that the verifier provides a corrective signal independent from the generator. We challenge this assumption under misleading task premises. When the generator and verifier share a false premise, they become coupled through a mistaken belief: the generator produces premise-consistent shortcuts, while the verifier supplies evidence that fails to expose them. Consequently, the selector may choose a hidden-test-wrong candidate even when a hidden-test-correct program exists in the pool. We call this failure mode Verification Trap. Across three code-generation benchmarks and five code models, false premises consistently degrade first-sample correctness, reduce selector-chosen correctness after 64-sample test-time selection, and amplify recoverable mis-selection. Mechanistically, verifier-written tests inherit the premise-level blind spot, reshaping verifier-visible candidate space away from hidden-test correctness. These traces make Verification Trap predictable before hidden execution: a lightweight gold-free predictor using verifier-visible features reaches 0.846 AUROC. Our results identify decoupled evidence as a key mitigation axis: coupled scaling provides limited recovery, whereas premise-agnostic robustness auditors recover substantial oracle headroom.

%R 10.18653/2026.emnlp-main.157

%U https://aclanthology.org/2026.emnlp-main.157/

%U https://doi.org/10.18653/2026.emnlp-main.157

%P 3613-3637

Markdown (Informal)

Verification Trap: Understanding Test-Time Selection Failures under False Premises in Code Generation (He et al., EMNLP 2026)

ACL