The most reliable systems every built were engineered by treating failure as feedback
There is a category of knowledge that the computing world systematically throws away. Not because it is uninformative, but because it is inconvenient.
Every time a machine learning model fails to generalize, every time a verification tool finds a path through code that a developer swore could not exist, every time a test suite surfaces the one input that breaks everything, the field produces something genuinely rare: concrete, specific evidence about the structure of a problem. Then, almost universally, it discards that evidence and publishes what worked instead. A cross-disciplinary analysis of more than 4,600 papers found the share of publications reporting positive results exceeded 88 percent by the mid-2000s. A 2024 review in Nature Machine Intelligence of machine learning applied to fluid dynamics found that 93 percent of papers claimed victory over a standard baseline, while zero percent reported only negative findings.
The bias has a practical cost. When researchers and engineers cannot see what failed, they repeat failures, optimize against benchmarks that have already been gamed, and deploy systems without a complete picture of where those systems break down. The argument that negative results are somehow less scientifically valuable than positive ones collapses under scrutiny: a precisely characterized failure narrows a search space in exactly the way a success does. The difference is that the field's infrastructure, its publication venues, reward systems, and career incentives, was built to celebrate one kind of knowledge and quietly bury the other.
The word "failure" is misleading. In the technical language of computer science, a counterexample is not evidence that something went wrong; it is evidence that something was learned. Specifically, a counterexample is a proof: it demonstrates that a property a system was assumed to have does not hold, and it does so by constructing a concrete case where the assumption breaks. That is not noise. That is signal of the most useful kind, because unlike a vague intuition that something might be wrong, a counterexample is actionable and precise.
Property-based testing makes this concrete. Instead of writing test cases by hand, a developer states a property her code should satisfy, and a framework generates thousands of random inputs to probe whether that property holds. When one fails, the framework runs a procedure called shrinking: it strips away complexity from the failing input until only the essential structure of the failure remains. QuickCheck, the Haskell library that pioneered the approach, famously reduces a failing list with hundreds of elements to something as small as two numbers. The minimal counterexample does not just reveal a bug; it reveals the logical shape of the assumption that turned out to be false. That is a different epistemological posture than debugging: rather than building confidence through confirmation, it builds understanding through refutation.
The most reliable software ever formally verified was not built by getting things right the first time. It was built by getting things wrong in a disciplined, iterative way. The technique at the center of this is Counterexample-Guided Abstraction Refinement, or CEGAR, the engine behind model checking and the field that earned computer science one of its few Turing Awards. The basic idea is almost paradoxical: to prove a system is correct, you search for a proof that it is not.
Model checking exhaustively explores a system's possible states against a property. Because real systems have astronomical numbers of states, CEGAR starts with a drastically simplified abstraction, small enough to verify completely. When the abstraction fails, the checker produces a counterexample: a specific execution path that violates the property. The loop then asks a critical question: is this counterexample real, or is it an artifact of the simplification? If spurious, the failure still carries information, because its structure reveals exactly how the abstraction needs to be refined. When Intel's Pentium processor shipped with a division bug in 1994, the incident cost the company $475 million to address. The failure was a counterexample in the most literal sense, and it galvanized the adoption of formal verification across hardware design precisely because it made clear that confidence built on positive test results could be catastrophically incomplete.
In 2013, researchers at Google Brain discovered that an imperceptible perturbation added to an image, invisible to any human observer, could flip a state-of-the-art classifier's output with full confidence. A panda became a gibbon. The failures, which came to be called adversarial examples, were disturbing because they implied that neural networks were not learning what their benchmark scores suggested. The initial interpretation was that adversarial examples were a bug, an artifact of flawed training that better techniques would eventually fix.
That interpretation held for several years. Then, in 2019, a team at MIT published a paper with a deliberately provocative title: "Adversarial Examples Are Not Bugs, They Are Features." Neural networks, the authors showed, exploit patterns in data that are genuinely predictive but incomprehensible to humans. Adversarial examples are counterexamples that expose this structure. They are not revealing a mistake in the model; they are revealing a truth about what the model actually learned, and about the gap between what the data contains and what we wanted the model to extract from it. This reframing turned a nuisance into a scientific instrument. Neurosymbolic AI has since begun wiring this insight directly into its architecture, using formal verifiers to generate counterexamples that discipline neural components the same way CEGAR disciplines an abstraction, creating a closed loop between symbolic correctness checking and learned representation.
A hand-drawn infographic on a research lab glass board captures the core argument: a two-column comparison between what gets published and what gets discarded, and a looping arrow diagram showing how failure, properly handled, becomes the engine of refinement.
If counterexamples carry this much information, the question is why the computing world does not treat them as assets to be curated, versioned, and shared the way code is. The answer is partly cultural: publishing a benchmark score requires a benchmark, while publishing a counterexample requires defending a claim about what it means, and that claim is harder to make in a field that rewards incremental improvement over established metrics. But the argument for counterexample infrastructure is ultimately practical. Failures that are documented become regression tests. Failures that are shared become a collective map of a problem space.
A handful of efforts have quietly built something like this. Google's OSS-Fuzz continuously fuzzes open-source software, maintaining the crashing inputs it finds as a living corpus; as of mid-2025, it had surfaced more than 13,000 vulnerabilities and 50,000 bugs across more than 1,000 projects. SV-COMP, run by the Software Systems Lab at LMU Munich, maintains a community-contributed repository of software verification tasks that grew to 36,402 entries by 2026. VNN-COMP does the same for neural network verifiers. Meta's Dynabench puts humans in a loop specifically to find inputs that break state-of-the-art models, and those model-breaking examples become the next generation of training and test data. What these projects share is a conviction that the most valuable thing a benchmark can do is not measure what works but characterize what breaks. The field has spent decades building infrastructure for positive results. The argument is that it needs to build the complementary infrastructure with equal seriousness: shared archives of counterexamples, repositories of adversarial inputs, and venues where a precisely characterized failure earns the same recognition as a new high score.
Key references: Fanelli, D., "Negative results are disappearing from most disciplines and countries," Scientometrics, 2012. McGreivy, N. and Hakim, A., "Increasing air quality-of-life: Avoiding common mistakes in machine learning applications to physical sciences," Nature Machine Intelligence, 2024. Clarke, E.M., Grumberg, O. and Peled, D.A., Model Checking, MIT Press, 1999. Clarke, E.M. et al., "Counterexample-guided abstraction refinement," CAV 2000. Solar-Lezama, A. et al., "Combinatorial sketching for finite programs," ASPLOS 2006 (CEGIS). Szegedy, C. et al., "Intriguing properties of neural networks," ICLR 2014. Goodfellow, I. et al., "Explaining and harnessing adversarial examples," ICLR 2015. Ilyas, A. et al., "Adversarial Examples Are Not Bugs, They Are Features," NeurIPS 2019. Katz, G. et al., "Reluplex: An efficient SMT solver for verifying deep neural networks," CAV 2017. McCoy, R.T. et al., "Right for the wrong reasons: Diagnosing syntactic heuristics in natural language inference," ACL 2019 (HANS). Nie, W. et al., "Dynabench: Rethinking benchmarking in NLP," NAACL 2021. Croce, F. and Hein, M., "RobustBench: a standardized adversarial robustness benchmark," NeurIPS 2021. SV-COMP 2026 report, Dirk Beyer, LMU Munich. OSS-Fuzz project statistics, Google, 2025.
Daice Labs Inc.
Brookline, MA, USA
Roll the "daice"–exploration & programmable adaptation.