SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2608.17070 · 2026

Certified but Private: Scalable Zero-Knowledge Proofs for Neural Network Guarantees

Timos Antonopoulos, Ruzica Piskac, Youwei Zhong, Ben Merbaum, Ning Luo, Charalampos Papamanthou, Katerina Sotiraki

arXiv · PDF · Open in the Atlas

Code that ran

11 of 18 samples (functions and classes) lifted from this paper's linked repositories executed on a synthesized input in Syntology's jail (0 of them constructed an object rather than computing a result; 0 honoured the contract we drafted, 3 violated it and 0 have no contract verdict; 8 failures of our instrument; 7 no recorded run), measured 2026-11-23; bodies inline only under a permissive licence as GitHub detects it. Not a reproduction of the paper's results.

"Ran" means the function executed on a synthesized input and returned a value. It is not a reproduction of the paper's results. This record, dated, as JSON: /api/ran/2608.17070.json · badge: /api/ran/2608.17070.svg

Each repository's role is a label: a classifier's output recorded on the link, or, where no role is recorded, what the Papers with Code archive marked. The line under it names its basis. Neither says who wrote the code.

RepositoryRoleRan
youweizhong/PANDA canonical (classifier label)
classifier basis: census
11 ran · 7 no recorded run
FunctionStatusWhere it lives
chunk_of Ran
ran; our contract draft was wrong, not the code
youweizhong/PANDA/evaluation/crown_bin_search/runner.py
code served (permissive licence) · get_code("49a56c1f2fd02e12")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned str. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch

ARGS = {
    'stem': 'mnist_2layer_relu_20_best'
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type str — a str output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a str output the recorded ndim 0 and dtype family float describe that coercion, not the output, and are not stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
crown_record_verified Ran
ran, violated the contract we drafted
youweizhong/PANDA/evaluation/reporting/table_common.py
code served (permissive licence) · get_code("d9c3de0945f352a6")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned bool, ndim 0, dtype family float, shape () as a later run recorded it. The image it ran in was not recorded. If your copy returns the same type, ndim and shape on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch
import numpy as np

torch.manual_seed(0)

# Based on the function signature and body:
# - float_raw: dict with optional 'float_upper_bound' and 'float_lower_bound' keys
# - side: str | None indicating which bound to check ('upper' or 'lower')
# 
# The function checks:
# - If side == 'upper': all upper bounds < 0.0
# - Otherwise: all lower bounds > 0.0
# - Returns None if the relevant bound key is missing or empty

# Test case 1: Lower-side spec that certifies (all lower bounds > 0)
float_raw_lower_certifies = {
    'float_lower_bound': [0.5, 1.2, 0.1, 2.0]
}

# Test case 2: Upper-side spec that certifies (all upper bounds < 0)
float_raw_upper_certifies = {
    'float_upper_bound': [-0.5, -1.2, -0.1, -2.0]
}

# Use the lower-side case for the example
ARGS = {
    'float_raw': float_raw_lower_certifies,
    'side': None  # None defaults to lower-side behavior
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy, torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type bool, ndim 0, dtype family float, shape () — shape () as a later run recorded it
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
discover_model_files Ran
ran; our contract draft was wrong, not the code
youweizhong/PANDA/evaluation/crown_bin_search/runner.py
code served (permissive licence) · get_code("d66aaf57f80ba912")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned list, ndim 1, dtype family float; no output shape is stated. The image it ran in was not recorded. If your copy returns the same type and ndim on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

from pathlib import Path
import tempfile
import os

# Create a temporary directory with some model JSON files for testing
temp_dir = tempfile.mkdtemp()
models_dir = Path(temp_dir)

# Create some sample model JSON files with different naming patterns
model_files = [
    'mnist_2layer_relu_20_best.json',
    'mnist_2layer_relu_30_best.json',
    'mnist_3layer_relu_40_best.json',
    'crown_model_v1.json',
    'crown_model_v2.json',
    'resnet50_base.json',
    'resnet50_quantized__q8.json',
    'vgg16_standard.json',
]

for filename in model_files:
    (models_dir / filename).touch()

# Define arguments for discover_model_files
ARGS = {
    'models_dir': models_dir,
    'target': 'mnist',
    'extra_filters': None,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
none outside the standard library — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type list, ndim 1, dtype family float — a list output has no array shape of its own; none is stated
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
fixture_id Ran
ran; our contract draft was wrong, not the code
youweizhong/PANDA/evaluation/run_panda.py
code served (permissive licence) · get_code("68a2700514064df3")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned str. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

from pathlib import Path

# Create a temporary root directory structure for testing
test_root = Path('/tmp/test_fixtures')
test_root.mkdir(exist_ok=True)

# Create a test fixture path
fixture_path = test_root / 'mnist_3layer_relu_20' / 'property_000.json'
fixture_path.parent.mkdir(parents=True, exist_ok=True)

# Define arguments for the fixture_id function
ARGS = {
    'path': fixture_path,
    'root': test_root,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
none outside the standard library — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type str — a str output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a str output the recorded ndim 0 and dtype family float describe that coercion, not the output, and are not stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
fixture_root Ran
ran; our contract draft was wrong, not the code
youweizhong/PANDA/evaluation/reporting/final_report.py
code served (permissive licence) · get_code("01886fc6cd768cff")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned PosixPath. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch
from pathlib import Path

# Mock the ROOT and BENCHMARKS paths
ROOT = Path('/mock/root')
BENCHMARKS = ROOT / 'evaluation/benchmarks'

# Define ARGS with all parameters for fixture_root
ARGS = {
    'model': 'mnist_cnn',
    'policy': 'random'
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type PosixPath — a PosixPath output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a PosixPath output the recorded ndim 0 and dtype family float describe that coercion, not the output, and are not stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
fmt Ran
ran; our contract draft was wrong, not the code
youweizhong/PANDA/evaluation/reporting/component_report.py
code served (permissive licence) · get_code("f4b95b988ca47e28")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned str. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch

torch.manual_seed(0)

ARGS = {
    'mu': 3.14159,
    'decimals': 2
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type str — a str output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a str output the recorded ndim 0 and dtype family float describe that coercion, not the output, and are not stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
is_fixture Ran
ran, violated the contract we drafted
youweizhong/PANDA/evaluation/run_panda.py
code served (permissive licence) · get_code("7079ca28d758db51")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned bool, ndim 0, dtype family float, shape () as a later run recorded it. The image it ran in was not recorded. If your copy returns the same type, ndim and shape on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import json
from pathlib import Path
import tempfile

# Create a temporary directory and file with valid fixture data
temp_dir = tempfile.TemporaryDirectory()
temp_path = Path(temp_dir.name)

fixture_data = {
    'activations': [0.1, 0.2, 0.3],
    'weights': [[1.0, 2.0], [3.0, 4.0]],
    'biases': [0.5, 0.6],
    'x_lower': [-1.0, -2.0],
    'x_upper': [1.0, 2.0],
    'spec_c': [[1, 0], [0, 1]],
    'spec_d': [0.0, 1.0],
    'side': 'lower'
}

fixture_file = temp_path / "fixture.json"
fixture_file.write_text(json.dumps(fixture_data))

ARGS = {
    'path': fixture_file
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
none outside the standard library — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type bool, ndim 0, dtype family float, shape () — shape () as a later run recorded it
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
load_part Ran
ran; our contract draft was wrong, not the code
youweizhong/PANDA/evaluation/reporting/final_report.py
code served (permissive licence) · get_code("e661938fa46ca1d3")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned dict. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import json
from pathlib import Path
import tempfile
import torch

# Create a temporary directory for testing
temp_dir = tempfile.TemporaryDirectory()
directory = Path(temp_dir.name)

# Create a valid JSON file for successful loading
valid_json_file = directory / "valid.json"
test_data = {"key": "value", "number": 42}
with open(valid_json_file, "w") as f:
    json.dump(test_data, f)

# Define a loader function that reads JSON and returns parsed data
def json_loader(path):
    """Load and parse JSON from a file."""
    with open(path, "r") as f:
        return json.load(f)

ARGS = {
    "directory": directory,
    "stem": "valid",
    "loader": json_loader,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type dict — a dict output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a dict output the recorded ndim 0 and dtype family float describe that coercion, not the output, and are not stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
model_matches Ran
ran, violated the contract we drafted
youweizhong/PANDA/evaluation/crown_bin_search/runner.py
code served (permissive licence) · get_code("223c5cbcd2b37e7a")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned bool, ndim 0, dtype family float, shape () as a later run recorded it. The image it ran in was not recorded. If your copy returns the same type, ndim and shape on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch

torch.manual_seed(0)

# Test cases for model_matches function
# The function takes stem (str) and target (str) as parameters

ARGS = {
    'stem': 'mnist_2layer_relu_20_best',
    'target': 'mnist'
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type bool, ndim 0, dtype family float, shape () — shape () as a later run recorded it
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
mu_sd Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
youweizhong/PANDA/evaluation/reporting/component_report.py
code served (permissive licence) · get_code("04e59bb69f56102a")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned tuple, ndim 1, dtype family float; no output shape is stated. The image it ran in was not recorded. If your copy returns the same type and ndim on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import statistics

def mu_sd(xs: list[float]) -> tuple[float | None, float | None]:
    if not xs:
        return (None, None)
    return (statistics.fmean(xs), statistics.stdev(xs) if len(xs) > 1 else None)

ARGS = {
    "xs": [1.5, 2.3, 3.7, 4.1, 5.2]
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
none outside the standard library — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type tuple, ndim 1, dtype family float — a tuple output has no array shape of its own; none is stated
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
prefixed_name Ran
ran; our contract draft was wrong, not the code
youweizhong/PANDA/evaluation/reporting/table_common.py
code served (permissive licence) · get_code("abd8b0172794e702")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned str. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch

torch.manual_seed(0)

ARGS = {
    "name": "model_weights",
    "prefix": "baseline"
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type str — a str output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a str output the recorded ndim 0 and dtype family float describe that coercion, not the output, and are not stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
crown_bin_search_params_for Not yet run
unverified (harvested, no recorded run)
youweizhong/PANDA/evaluation/config.py
code served (permissive licence) · get_code("225f798b181da1bd")
How it ran

no invocation recorded.

expected_fixtures Not yet run
unverified (harvested, no recorded run)
youweizhong/PANDA/evaluation/reporting/final_report.py
code served (permissive licence) · get_code("c08abf60bdfbc564")
How it ran

no invocation recorded.

get_chunk Not yet run
unverified (harvested, no recorded run)
youweizhong/PANDA/evaluation/config.py
code served (permissive licence) · get_code("c39616a6f06d7a49")
How it ran

no invocation recorded.

get_suite Not yet run
unverified (harvested, no recorded run)
youweizhong/PANDA/evaluation/config.py
code served (permissive licence) · get_code("74a198fb436cb5cb")
How it ran

no invocation recorded.

parse_output Not yet run
unverified (harvested, no recorded run)
youweizhong/PANDA/evaluation/run_panda.py
code served (permissive licence) · get_code("1f4bb09ed2b3b4bc")
How it ran

no invocation recorded.

row_values Not yet run
unverified (harvested, no recorded run)
youweizhong/PANDA/evaluation/reporting/component_report.py
code served (permissive licence) · get_code("e924e20924d71f6f")
How it ran

no invocation recorded.

run_one Not yet run
unverified (harvested, no recorded run)
youweizhong/PANDA/evaluation/run_float_crown.py
code served (permissive licence) · get_code("b732abe0dd736158")
How it ran

no invocation recorded.

Also present in other papers' code

Of 18 samples lifted from this paper's linked repositories, 18 carry a function identity and 0 do not. Of the 18 distinct functions with an identity, 0 are also present in other papers whose code we hold (0 with at least one paper dated earlier, 0 the same month, 0 later) and 18 are only here among the 52,977 papers whose code Syntology holds (as of 2026-09-26).

Only here means: among the 52,977 papers whose code Syntology holds (51,887 with lifted samples, 1,090 through their assemblies only), as of 2026-09-26, no other paper's lifted samples or current assembly bricks contain an identical function body after normalisation.

Presence, not direction: an identical function body in two papers' repositories does not say who wrote it, which came from which, or that either paper's method rests on it. Matching is exact after normalisation, so a renamed or edited function is not matched. Dates are when papers appeared, not when code was written. Only .py files the harvester lifted are covered; notebooks are not read. A new-style arXiv id YYMM.NNNN dates a paper to the month 20YY-MM; otherwise Paper.year dates it to the year; otherwise it is undated. Dates are when the paper appeared, not when the code was written. Read 2026-11-23.

Repositories linked to this paper

Some links come from the archived Papers with Code dataset (CC BY-SA 4.0): attribution and licence.

Abstract

With the growing deployment of machine learning models, formal guarantees of the robustness and fairness of these models have become increasingly important in safety-critical and legal-compliance settings. However, model parameters are often commercial secrets that cannot be disclosed to auditors or end users. To this end, we present PANDA, a scalable system that uses zero-knowledge proofs (ZKPs) to prove the robustness and fairness properties of a model without revealing its private parameters. PANDA is built on top of CROWN, an efficient robustness certification framework that is used in many state-of-the-art formal verification tools for neural networks. The core contribution of PANDA is a novel algorithm for proving linear relaxation bounds for non-linear activation layers, yielding simple, lightweight proofs. Remarkably, our system can generate proofs of local robustness for neural networks with more than 2.9M parameters in 5 minutes, and can verify them in 10 seconds. Prior ZKP-based robustness system rely on exponential-time algorithms that cannot scale to nontrivial networks. In contrast, PANDA scales polynomially in the number of neurons in a network, allowing us to support neural networks 4 orders of magnitude larger than previous approaches with significantly reduced prover overhead.

For agents

The same record, over MCP at https://syntology.ai/mcp:

get_harvested_code_for_paper("2608.17070")
get_code_for_paper("2608.17070")
have("2608.17070")

The run record, dated, one paper per request, free:

curl https://syntology.ai/api/ran/2608.17070.json

A badge for a README (the split and the date, never a ratio):

[![Syntology run record](https://syntology.ai/api/ran/2608.17070.svg)](https://syntology.ai/paper/2608.17070)

Connect an agent — have() is free.