Certification from Examples is Hard for Circuits and Transformers under Minimal Overparametrization
Artur Back de Luca, Kimon Fountoulakis
NeurIPS 2026
TL;DR. Minimal overparametrization can require exponentially many labelled examples to certify that circuits or Transformers learned the correct target.
Abstract. As state-of-the-art neural networks are deployed on reasoning and algorithmic tasks, exactness guarantees become increasingly important. However, high average-case accuracy can still mask incorrect behaviors. This motivates exact certification, which asks for the smallest set of labeled examples needed to certify that a learned hypothesis equals the target. We show that while some hypotheses are easy to certify, even minimal overparametrization can make certification exponentially hard across several hypothesis classes. For threshold circuits of depth , adding a single extra gate can force certificate sizes exponential in the input dimension. We show an analogous hardness result for log-precision Transformers with only constant architectural overhead. We also characterize approximate certification, showing that allowing only polynomially many mistakes still requires exponentially large certificates, whereas constant relative-error guarantees can hide exponentially many failures. Empirically, we study binary-addition recognition using threshold circuits and Transformers trained with strong supervision. We find that incorrect models can survive extensive checks, with errors that often occur on different inputs and are difficult to detect through uniform sampling.
Are you an author? Claim this paper to see who's reading it, with views and other statistics, and to write about it here.
Claim this paperedit · history
NeurIPS 2026
Accept (poster) · 3 reviews · OpenReview
Updated 25 Nov 2026, 03:47 UTC.
- Decision
- Accept (poster)
Read decision
Meta-review
The paper studies the question of certifying a neural network/transformer from given examples (certificate): that it computes the precisely the function/task (it was trained for). The results are mostly negative: with slight overparametrization, one needs exponentially more examples.
The paper is viewed positively and it is in the accept regime: the theory is definitely the most prominent, but even the experiments are appreciated. The results are deemed significant and original. The main weakness cited is its writing as per reviewers' comments. The authors should address reviewers' comments.
Final justification
Overall the paper is considered to score highly on originality and interest to the community, notwithstanding the writing/presentation. Based on that the paper is a solid accept.
Read meta-review
Meta-review
The paper studies the question of certifying a neural network/transformer from given examples (certificate): that it computes the precisely the function/task (it was trained for). The results are mostly negative: with slight overparametrization, one needs exponentially more examples.
The paper is viewed positively and it is in the accept regime: the theory is definitely the most prominent, but even the experiments are appreciated. The results are deemed significant and original. The main weakness cited is its writing as per reviewers' comments. The authors should address reviewers' comments.
Final justification
Overall the paper is considered to score highly on originality and interest to the community, notwithstanding the writing/presentation. Based on that the paper is a solid accept.
- Rating
- 5/6
- Confidence
- 3/5
- Quality
- 3/4
- Clarity
- 2/4
- Significance
- 3/4
- Originality
- 4/4
- Contribution type
- theory
- Ethical concerns
- NO or VERY MINOR ethics concerns only
Read review
Summary
The paper shows that certification by examples in an overparametrized hypothesis class is a hard problem – i.e. requires exponentially many examples to prove equality to an intended target. This holds even for relaxed versions of the problem, e.g. when allowing polynomially many mistakes. Moreover, the authors prove that this property does not arise only for problems that are “hard” but also for problems that are easily certifiable in a non-overparametrized hypothesis class. They give constructions for different classes of overparametrized circuits and idealized transformers that attain the stated difficulty for certification. They illustrate the consequences of these findings for a simple circuit with one more gate than required and experimentally validate this for a family of Transformer models trained to recognize 10bit addition.
Strengths and weaknesses
Strengths:
- The authors state a problem and answer it in a complete manner.
- Non trivial technical contribution necessary to prove the claim
Weaknesses:
- The impact and context in the current field of AI could be at least touched on: what does this imply for AI models that need to do algorithmic work or reasoning
- The paper is not trivial to follow and read. Outlining the intuition behind proofs beforehand could help the reader.
Questions
Limitations
yes
Final justification
The paper pose an interesting problem and solve it in a complete manner with a non trivial technical contribution.
Formatting concerns
.
2 comments
Thanks for the clarifications
Thank you for the response. An updated discussion of the broader context and improved clarity for the reader will certainly help make this is stronger paper.
- Rating
- 5/6
- Confidence
- 3/5
- Quality
- 4/4
- Clarity
- 4/4
- Significance
- 3/4
- Originality
- 4/4
- Contribution type
- theory
- Ethical concerns
- NO or VERY MINOR ethics concerns only
Read review
Summary
This paper covers the topic of certification hardness for circuits in , , and ; as well as certification hardness for transformers. The authors provide results in this area for both the exact and approximate setting; where certification hardness in the exact setting is defined as the minimum size of a certificate for a hypothesis class and a target function, and in the approximate setting is defined as the minimum size certificate relative to both it's exact and approximate errors. The authors also provide experimental validation of their bounds, performing experiments on both threshold circuits and encoder-only transformers to validate their theoretical results.
Strengths and weaknesses
Strengths The paper provides excellent results proving lower bounds on the size of certificates for a number of circuit classes, immediately extending this work to transformers and the approximate case makes the work all the more impactful. The techniques used and writing is very clear, and the authors do a great job presenting both their results and the importance of the results. I believe that this work would be very interesting to the community.
Weaknesses The proof sketches at times are a bit light on details, though all details are addressed in the appendix. The slight adjustment of explicitly stating some simple things, for example, defining explicitly in the proof sketch and would make it faster to parse.
Questions
- If we consider a different circuit classes should we expect similar techniques to hold for lower bounds? Or is the construction of the deceiver substantially more difficult?
- For your approximation results, could more be done by allowing for approximation with probability ? Something analogous to the unreliable threshold circuits defined [1]. (also I believe your result may apply to the class defined in that work.)
[1] Hajnal, András, et al. "Threshold circuits of bounded depth." Journal of Computer and System Sciences 46.2 (1993): 129-154.
Limitations
yes
Formatting concerns
N/A
2 comments
Rebuttal
Dear Reviewer NL5S,
Thank you for reviewing our manuscript and for the thoughtful comments and questions.
Regarding the clarity in the proof sketches, we agree that some simple identifications should make the arguments faster to parse. For the particular case of Proposition 4.1, we will define and state that before invoking the proposition. We will make similar small clarifications throughout the proof sketches when necessary while retaining the full details in the appendix. Thank you for that feedback.
We now address the reviewer's questions.
(1) Extension to other circuit classes. Although the combinatorial argument is class-independent, constructing the deceivers requires two class-specific operations: detecting the trigger pattern and conditionally overriding the target output. In , trigger detection has constant cost, while a general override typically requires an additional layer. In bounded-fan-in classes such as , detecting a length- trigger requires gates and depth, while the final override has constant cost. Other representations can instead make the override step expensive. Thus, we expect the technique to extend whenever both operations can be implemented efficiently, with the resulting lower bound determined by their resource costs.
(2) Approximation with probability . In the model of Hajnal et al., deterministic threshold circuits can be treated as a special case that ignores the random inputs. Thus, under matching size and weight conventions, this suggests that our block deceivers are also available in that class. However, a precise finite-budget certification result would still require defining how consistency is assessed for randomized hypotheses.
The unreliable-gate model introduces a further issue through a pointwise execution-error probability, in addition to the number or fraction of inputs on which the desired guarantee fails. A formal extension would need to specify how these errors interact, whether the certifier can use repeated executions, and how reliability and circuit-resource overheads are tracked. Hajnal et al. also obtain different behavior for threshold and Boolean gate bases. We therefore believe that probabilistic certification deserves a separate treatment and will mention it as an interesting direction for follow-up work. Thank you for pointing out this interesting connection.
Once again, we appreciate the reviewer's feedback/questions and hope that the responses above provide useful clarification.
Thank you for the response. I will maintain my score.
- Rating
- 4/6
- Confidence
- 3/5
- Quality
- 3/4
- Clarity
- 2/4
- Significance
- 4/4
- Originality
- 4/4
- Contribution type
- theory
- Ethical concerns
- NO or VERY MINOR ethics concerns only
Read review
Summary
The paper shows that expanding the class of alternatives in computational learning theory ever so slightly can lead to an exponential increase in the (required) complexity of certification. The term "certification" is understood in the sense of "teaching" as in "teaching dimension": we certify that the object at hand is different from all other objects from the class (alternatives). The phenomenon is shown for several classes of Boolean circuits and a class of log-precision Transformers.
Strengths and weaknesses
Significance: The size of smallest certificates, which is the teaching dimension in classical learning theory, is a well-studied concept but one that is important for today's ML technology. How do we know that a function implemented by a neural network is the "correct" one? Can we certify that failures (incorrect output labels) are non-existent or few? Thus the study of how overparamaterization may influence certificate size is very relevant and I find the results significant.
Originality: At the heart of the paper's construction lies the simple combinatorial principle that appears already in Angluin's famous "Queries and concept learning" paper from the 1980s. I am however, impressed, how the authors of the present paper exploit this principle to their advantage. The application is not difficult but theoretically meaningful, and I am not aware of prior work that draws these conclusions. So in my opinion the submission scores highly on this criterion.
Clarity: I do not appreciate at all that the definition of the Transformer class is not present in the paper. Page 5 refers to Section C in the Appendix but there is no self-contained definition even there. Other material is presented well and the paper is a pleasant read.
Quality and correctness: I have no doubts about the mathematical material except for the text on Transformers, which I did not study in any detail for the reason mentioned above.
Minor comments:
Please (re)move the sentence in Line 248 in the statement of Proposition 4.2 (approximate certification lower bound). It does not belong in the statement of the proposition.
I am not sure the text in Lines 269 to 272 adds much. Perhaps it is unnecessary.
The notation in Lines 122 and 123 is not good, because there is no way to tell the epsilon version from the R version after real values are substituted for these parameters.
Questions
-
Why do you need the square in the inequality in Line 174?
-
In the description of experiments, do the words "independent survival events" refer to independent and uniform choices for all x in Q?
Limitations
yes
Formatting concerns
No concerns.
3 comments
Rebuttal
Dear Reviewer 4WbC,
Thank you for reviewing our manuscript and for the thoughtful comments and questions.
Regarding clarity, we agree that the paper could benefit from a definition of the Transformer class in the main paper and that its presentation in Appendix C could also be improved. In the revision, we will include a self-contained definition of the Transformer class in the main paper and reorganize Appendix C so that the full definition is presented clearly in a dedicated subsection.
We will also address the other minor presentation points. In particular, we will move the sentence in Line 248 from the proposition statement to the proof, revise the discussion in Lines 269–272 for concision, and introduce distinct notation for the relative and absolute error certificate sizes.
We now address the reviewer's questions.
(1) Why is the square needed in the bound? Let denote the number of distinct Boolean linear threshold functions on inputs. The Boolean inputs induce hyperplanes in the -dimensional weight-and-threshold parameter space. The standard hyperplane-arrangement bound gives
Thus, the square comes from bounding the number of regions by . Since each gate has access to at most Boolean signals, multiplying over the gates gives $ |\mathrm{TC}^0_{d,s}|\leq 2^{O(s(n+s)^2)}.$ We will add this clarification together with the precise reference to the standard threshold-function counting bound in [6] mentioned in Appendix B.1.
(2) Meaning of "independent survival events"? By this phrase, we meant independence across different hypotheses evaluated on the same sampled certificate, not independent selection of points in . The hypotheses may have overlapping error sets, so their survival events can be correlated. However, the expected number of survivors is still the sum of the individual survival probabilities by linearity of expectation. We will revise the wording to make this clear.
Once again, we appreciate the reviewer's careful comments and hope that the clarifications above resolve the concerns raised.
[6] Baldi and Vershynin (2019). Polynomial threshold functions, hyperplane arrangements, and random tensors.
Thank you for your response.
I'd say the statement "its presentation [i.e., the presentation of the definition of the Transformer class] in Appendix C could also be improved" is a misrepresentation.
The paper states (Line 199), "The formal definition of the class and ... are given in Section C." But there is no formal definition of the class in Appendix C.
P.S. Your explanation of "independent survival events" would be useful to include in the text of the paper. In connection with this, note that in Line 281 the notation is neither defined nor explained.
Thank you for the follow-up. The intent of our previous message was unclear, and we apologize. By "improving the presentation", we meant adding a standalone formal definition of the Transformer class and referencing it across the results. The reviewer is correct that Appendix C does not currently contain such a definition. The components are described across Sections C.2 and C.4.1, but they are not combined in a formal definition of the class. We will add this definition in a dedicated subsection and include a concise version in the main text.
We also agree regarding L281. We will make the source of randomness explicit by taking uniformly from the size- subsets of . For each realization of , we can define the number of surviving hypotheses by $$ and replace the current notation with $$ where is the probability that survives the sampled certificate. We will explain that this is the expected number of surviving hypotheses and that the equality follows from linearity of expectation without requiring the survival events to be independent.
Once again, thank you for all the helpful comments.
From OpenReview, CC BY 4.0. Authors as signed there; shown unedited.
Loading the discussion…
Rebuttal
Dear Reviewer WJ39,
Thank you for reviewing our manuscript and for the thoughtful comments.
Regarding the broader AI context, we agree that the implications for models performing algorithmic or reasoning tasks could be stated more explicitly. We will strengthen the introduction by explaining that our results identify a limitation of passive input-output testing. A model may perform correctly on many examples while still differing from the target computation on an untested region. For tasks where exactness is crucial, this motivates stronger forms of evaluation beyond average accuracy.
Regarding readability, we agree that some arguments could be easier to follow. As described in our responses to the other reviewers, we will improve the Transformer definition, make simple identifications in the proof sketches explicit, and clarify parts of the notation and discussion. We would also welcome any further indication of passages that could be clearer.
Once again, we appreciate the reviewer's comments.