cs.PLNov 17, 2026

When Is Program Structure Required? Certificate-Grounded Calibration of Program-Induction Difficulty

Authors: Wenzhang Du

Organizations: Independent Researcher, China

Abstract

A program-induction benchmark is informative when its examples require the structure it aims to test. Yet a two-rule generator can produce demonstrations that a single rule also explains. We introduce certificate-grounded calibration, which constructs matched tasks with minimum solution lengths of one and two in a bounded string-replacement language. Complete one-rule enumeration and an executable two-rule witness certify the change before model inference. We evaluate 120 reference families with three to six shared examples, using 1,440 new model trajectories and 480 saved trajectories. Across Qwen3-8B and Olmo-3-7B-Think, displayed-task completion is 23.53-45.83 percentage points lower on certified separation tasks, while success on a wholly unshown witness pair is 8.40-13.45 points higher. These witness gains accompany lower agreement on uniformly sampled strings and 1.93-5.78% agreement on inputs that activate both reference rules. Recertification also reveals that a single unchanged example can exclude a shortcut and determine whether two rules are required. Together, these results show how the evidence supplied by examples shapes both the required solution and the programs models produce. The construction provides an executable testbed for comparing program search, final-answer delivery, and behavior on new inputs under verified task requirements.

Figures & tables

Appendix figures & tables20 assets

Supplementary material from the paper’s appendix.

Appendix

Explore similar work

CardsList
  1. Certify What You Plant: Shortcut-Free Proof Depth in Logical Reasoning Data

    Nov 24, 2026Baptiste Juran, Dimitri Kachler, Damien SileoLanguage Model Reasoning EvaluationSymbolic Reasoning in Language Models

  2. Calibration, Not Compilation: Detecting and Repairing Misspecified Probabilistic Programs Written by Language Models

    Jun 30, 2026Jian Xu, Delu Zeng, John Paisley +1Automated Program RepairBayesian Inference