# Certification from Examples is Hard for Circuits and Transformers under Minimal Overparametrization

*Artur Back de Luca, Kimon Fountoulakis*

[NeurIPS page](https://neurips.cc/virtual/2026/poster/150529) · [OpenReview](https://openreview.net/forum?id=hRqL7vRChh) · [alphaXiv](https://www.alphaxiv.org/abs/2605.22964) · [Open on the map](../papers.html#p150529)

Category: [Interpretability & Model Adaptation](../pcat/15.md) › [Sparse Constrained Neural Architectures](../pgroup/613.md) · Type: theory · Keywords: certification hardness, overparametrization, threshold circuits, Transformers, binary addition, verification

Areas: [Evaluation & Benchmarks](../areas/evaluation.md) › Language Model and Agent Benchmarks › System Reliability and Auditing

## Summary
The paper shows that even minimal overparametrization makes exact certification exponentially hard for threshold circuits and Transformers, and that approximate certification also requires exponentially large certificates, while constant relative-error guarantees can hide exponentially many failures.

## Explained to a 5-year-old
We want to make sure a computer program always does the right thing. To check this, we look at a few examples and try to prove it works everywhere. The paper shows that even if we only add a tiny extra part to the program, it becomes super hard to prove it works. This is true for both simple circuits and big language models. So we need a lot of examples to be safe.

## Explained to a 5-year-old, longer
Imagine you have a toy that should always give the right answer. We try to check it by testing a few things and then saying it works for everything. The paper looks at two kinds of toys: little circuits and big brain-like models. It says that even if we only add one tiny piece to either toy, it becomes really hard to be sure it always works. This means we need a huge number of tests to be confident. The authors also study what happens if we allow a few mistakes. Even then, we still need a lot of tests. They also find that if we only want the toy to be almost right, it can hide many hidden errors. In experiments, they train the toys to do binary addition and see that bad toys can trick us unless we have a massive set of examples. So the message is that making sure AI is safe needs a lot of checking, especially when models are just a bit bigger than needed.

## For a technical reader
The paper investigates how hard it is to certify that a learned model exactly matches its target using only a small set of examples. It proves that even a minimal increase in model size-adding a single gate to threshold circuits or a constant overhead to Transformers-forces the required certificate size to grow exponentially with input dimension. The results extend to approximate certification, showing that allowing polynomially many errors still demands exponentially large certificates, while constant relative-error guarantees can conceal exponentially many failures. Empirically, the authors evaluate binary addition models and observe that imperfect models can evade detection unless the certificate is exponentially large. These findings highlight fundamental limits on verification for overparametrized neural systems.

## Problem
Certifying that a learned hypothesis exactly matches the target function from a small set of examples is computationally hard when models are minimally overparametrized.

## Method
The authors provide theoretical analysis establishing exponential lower bounds on certificate size for threshold circuits and Transformers under minimal overparametrization, and complement this with empirical evaluations on binary addition tasks.

## Results
Certificate sizes become exponential in input dimension for threshold circuits and Transformers with minimal overparametrization, and even approximate certification with polynomially many errors still demands exponentially large certificates, while constant relative-error guarantees can conceal exponentially many failures.

## Contributions
The work establishes exponential hardness of exact and approximate certification under minimal overparametrization for both threshold circuits and Transformers, and provides empirical evidence on binary addition tasks showing evasion unless certificates are exponentially large.

This page was written by language models from the title and abstract of each paper, and the answers were checked by two other models. It can be wrong: check the paper itself. [Suggest a correction](../feedback/?on=p/150529)
