SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2511.10859 · NeurIPS · 2025

Private Zeroth-Order Optimization with Public Data

Tian Li, Xuchen Gong

arXiv · PDF · Open in the Atlas

Code that ran

6 of 12 samples (functions and classes) lifted from this paper's linked repositories executed on a synthesized input in Syntology's jail (4 of them constructed an object rather than computing a result; 0 honoured the contract we drafted, 0 violated it and 4 have no contract verdict; 2 failures of our instrument; 6 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/2511.10859.json · badge: /api/ran/2511.10859.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
xuchengong/pazo community
Papers with Code archive
6 ran · 6 no recorded run
FunctionStatusWhere it lives
Bottleneck Ran
ran on a synthesized input · constructed an object; no result was computed
xuchengong/pazo/experiments/pazo-p.py
code served (permissive licence) · get_code("aa1279770d7dd34e")
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 an instance of its own class, Bottleneck: the run constructed the object and did not call it, so no result was computed. 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
import torch.nn as nn

torch.manual_seed(0)

# Build a minimal downsample module that the Bottleneck might use
downsample_module = nn.Sequential(
    nn.Conv2d(64, 256, kernel_size=1, stride=2, bias=False),
    nn.Identity()  # placeholder for normalization if needed
)

# Define ARGS dict with all Bottleneck parameters
ARGS = {
    'inplanes': 64,
    'planes': 64,
    'stride': 2,
    'downsample': downsample_module,
    'groups': 1,
    'base_width': 64,
    'dilation': 1,
    'alpha': 0.2,
    'beta': 1.0,
    'activation': 'relu',
    'base_conv': nn.Conv2d
}
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 Bottleneck — the run constructed an instance of its own class and did not call it; no shape is stated — the instrument coerces any output to an array; for a Bottleneck 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
Cutout Ran
ran on a synthesized input · constructed an object; no result was computed
xuchengong/pazo/experiments/pazo-p.py
code served (permissive licence) · get_code("c4a55cd7cc278463")
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 an instance of its own class, Cutout: the run constructed the object and did not call it, so no result was computed. 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
import numpy as np

torch.manual_seed(0)
np.random.seed(0)

# Create a sample image tensor: (channels, height, width)
# Using shape (3, 8, 8) to have enough space for cutout
img = torch.randn(3, 8, 8)

ARGS = {
    "crop_size": 2,
    "fill": (0.5, 0.5, 0.5)
}
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 Cutout — the run constructed an instance of its own class and did not call it; no shape is stated — the instrument coerces any output to an array; for a Cutout 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
LSTM Ran
ran on a synthesized input · constructed an object; no result was computed
xuchengong/pazo/experiments/pazo-p.py
code served (permissive licence) · get_code("812de59c5613a862")
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 an instance of its own class, LSTM: the run constructed the object and did not call it, so no result was computed. 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
import torch.nn as nn

torch.manual_seed(0)

# The LSTM class expects:
# - vocab_size: int (vocabulary size for embedding layer)
# - embedding_dim: int (dimension of embeddings, default 128)
# - hidden_dim: int (dimension of LSTM hidden state, default 64)
# - dropout: float (dropout rate, default 0.2)

ARGS = {
    'vocab_size': 100,
    'embedding_dim': 128,
    'hidden_dim': 64,
    'dropout': 0.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 LSTM — the run constructed an instance of its own class and did not call it; no shape is stated — the instrument coerces any output to an array; for a LSTM 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
ScaledStdConv2d Ran
ran on a synthesized input · constructed an object; no result was computed
xuchengong/pazo/experiments/pazo-p.py
code served (permissive licence) · get_code("5e3ca92687cc9e6b")
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 an instance of its own class, ScaledStdConv2d: the run constructed the object and did not call it, so no result was computed. 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
import torch.nn as nn

torch.manual_seed(0)

ARGS = {
    'in_channels': 3,
    'out_channels': 16,
    'kernel_size': 3,
    'stride': 1,
    'padding': 1,
    'dilation': 1,
    'groups': 1,
    'bias': True,
    'gain': True,
    'gamma': 1.0,
    'eps': 1e-05,
    'use_layernorm': False,
}
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 ScaledStdConv2d — the run constructed an instance of its own class and did not call it; no shape is stated — the instrument coerces any output to an array; for a ScaledStdConv2d 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
conv1x1 Ran
ran; our contract draft was wrong, not the code
xuchengong/pazo/experiments/pazo-p.py
code served (permissive licence) · get_code("c5a09cd86a04da20")
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 Conv2d. 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
import torch.nn as nn

torch.manual_seed(0)

ARGS = {
    'in_planes': 3,
    'out_planes': 64,
    'stride': 1,
    'base_conv': nn.Conv2d,
}
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 Conv2d — a Conv2d output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a Conv2d 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
conv3x3 Ran
ran; our contract draft was wrong, not the code
xuchengong/pazo/experiments/pazo-p.py
code served (permissive licence) · get_code("3cf6280fecab1854")
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 Conv2d. 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
import torch.nn as nn

torch.manual_seed(0)

# Define arguments for conv3x3 function
ARGS = {
    'in_planes': 3,
    'out_planes': 64,
    'stride': 1,
    'groups': 1,
    'dilation': 1,
    'base_conv': nn.Conv2d
}
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 Conv2d — a Conv2d output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a Conv2d 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
BaseTrainer Not yet run
unverified (harvested, no recorded run)
xuchengong/pazo/experiments/pazo-p.py
code served (permissive licence) · get_code("bd6d028a5f2b25c7")
How it ran

no invocation recorded.

BasicBlock Not yet run
unverified (harvested, no recorded run)
xuchengong/pazo/experiments/pazo-p.py
code served (permissive licence) · get_code("6c219d098ab44a81")
How it ran

no invocation recorded.

NFResNet Not yet run
unverified (harvested, no recorded run)
xuchengong/pazo/experiments/pazo-p.py
code served (permissive licence) · get_code("bbf057eaac35b882")
How it ran

no invocation recorded.

Trainer Not yet run
unverified (harvested, no recorded run)
xuchengong/pazo/experiments/pazo-p.py
code served (permissive licence) · get_code("0acf3c7299bb3a83")
How it ran

no invocation recorded.

_nf_resnet Not yet run
unverified (harvested, no recorded run)
xuchengong/pazo/experiments/pazo-p.py
code served (permissive licence) · get_code("6fe61162bb6aaebe")
How it ran

no invocation recorded.

nf_resnet18 Not yet run
unverified (harvested, no recorded run)
xuchengong/pazo/experiments/pazo-p.py
code served (permissive licence) · get_code("df6780f71caeec08")
How it ran

no invocation recorded.

Also present in other papers' code

Of 12 samples lifted from this paper's linked repositories, 12 carry a function identity and 0 do not. Of the 12 distinct functions with an identity, 2 are also present in other papers whose code we hold (2 with at least one paper dated earlier, 0 the same month, 0 later) and 10 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.

FunctionAlso present inEarliest-datedOthers named
conv1x1
brick of this paper's assembly: helper
1 other paper
1 dated earlier
aaai_29368 (2024 (year only))
FedLF: Layer-Wise Fair Federated Learning
conv3x3
brick of this paper's assembly: helper
1 other paper
1 dated earlier
aaai_29368 (2024 (year only))
FedLF: Layer-Wise Fair Federated Learning

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

One of the major bottlenecks for deploying popular first-order differentially private (DP) machine learning algorithms (e.g., DP-SGD) lies in their high computation and memory cost, despite the existence of optimized implementations. Zerothorder methods have promise in mitigating the overhead, as they leverage function evaluations to approximate the gradients, hence significantly easier to privatize. While recent works have explored zeroth-order approaches in both private and non-private settings, they still suffer from relatively low utilities compared with DP-SGD, and have only been evaluated in limited application domains. In this work, we propose to leverage public information to guide and improve gradient approximation of private zeroth-order algorithms. We explore a suite of publicdata-assisted zeroth-order optimizers (PAZO) with minimal overhead. We provide theoretical analyses of the PAZO framework under an assumption of the similarity between public and private data. Empirically, we demonstrate that PAZO achieves superior privacy/utility tradeoffs across vision and text tasks in both pre-training and fine-tuning settings, outperforming the best first-order baselines (with public data) especially in highly private regimes, while offering up to 16× runtime speedup.

For agents

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

get_harvested_code_for_paper("2511.10859")
get_code_for_paper("2511.10859")
have("2511.10859")

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

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

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

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

Connect an agent — have() is free.