Papers › Training Non-Differentiable Networks via Optimal Transport

Training Non-Differentiable Networks via Optimal Transport

3 May 2026arXiv:2605.01928added by Syntology

An T. Le

Title, abstract, authors and date from arXiv's metadata (CC0); this paper is not in the Papers with Code archive (frozen 2025-07-28).

We optimize losses that jump: spiking thresholds, quantized layers, and discrete routing put jumps in the forward pass, where backpropagation does not apply. Finite differences fail: at a derivative-estimating radius, 99.5% of probe pairs on a quantized network leave the loss bit-identical, against 1.6% on a smooth control. At a jump, Clarke and conservative stationarity are undefined, and any radius-h smoothing steepens like 1/h, so no vanishing radius defines a derivative. Fixed-resolution stationarity survives. PolyStep attains it from forward passes alone, ranking probe points on a rotated polytope and stepping along a softmax-weighted average of their directions, the λ=0 endpoint of a KL-penalized transport program. A second impossibility fixes the frame: on a plateau wider than the probes reach, every rule that reweights one cost row freezes, softmax included, and only the column constraint escapes. In expectation, the cost-weighted average of the probed directions is exactly a gradient step on a smoothed loss, for every bounded measurable objective, with no probe asked to clear the jump set. Over T steps it reaches subspace stationarity at rate O(T^(-(1/2-γ))) up to a bias floor with an interior optimal probe radius, upgrading to Goldstein stationarity where the loss is Lipschitz. At matched optimizer steps, PolyStep leads all 36 comparisons of six architectures against six gradient-free baselines. It reaches 93.0% on hard LIF spiking networks against 79.6% for the best tuned baseline, and satisfies 92.6% of clauses on million-variable MAX-SAT against an 87.5% random floor. Matching total evaluations instead reverses argmax attention and one MAX-SAT size, and levels hard MoE. A step costs one forward pass per subspace dimension, leaving PolyStep at chance at 4.2M parameters from scratch; where gradients exist Adam is faster and more accurate.

PaperPDFCode Syntology ran

In Syntology For agents, Syntology's MCP tool lists every function and class Syntology harvested from this paper and whether it ran (how to connect): get_harvested_code_for_paper(arxiv_id="2605.01928")

Code

Syntology Ran 26 of 34 code samples harvested from 1 repository linked to this paper; 8 have no recorded run. Of those that ran: 10 ran · honoured contract; 2 ran · violated contract; 6 ran · our draft was wrong; 4 ran · fixture could not drive it; 4 ran with no contract checked.

By repository: found in paper text by Syntology: 34 samples from 1 repository, 26 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

anindex/polystep found in paper text by Syntology report

Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

Code Syntology ran Syntology

34 samples harvested; 26 ran; 10 honoured the contract we drafted; 8 have no recorded run. Read from Syntology's graph 2026-09-24; that is when this build read the record, not when the samples ran.

10ran · honoured contract
2ran · violated contract
6ran · our draft was wrong
4ran · fixture could not drive it
4ran
8unverified

Licence: 0 of the 34 samples are pointer only, meaning Syntology does not serve that copy's text. This page shows no code text for any sample; each one links to its file in the repository.

Harvested from anindex/polystep. “Ran” means the sample executed on a synthesized input. It does not mean the output is correct, and nothing here reproduces the paper's results. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself; “our draft was wrong” and “fixture could not drive it” are failures of Syntology's instrument, not of the code.

Each sample ends with its code_sha256, Syntology's identity for that exact code. An agent fetches the stored sample with Syntology's MCP tool get_code(code_sha256="…") (how to connect); click an identity to copy that call.

Repository labels, per sample. official repository: The archive marks this repository official for the paper. named in the paper: The archive records that the paper mentions this repository; it is not marked official. community (archive-listed): In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper. found in paper text by Syntology: Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted. community: Not in the archive's code links for this paper; a community repository Syntology harvested. Samples from a repository marked official are listed first. Licence labels name the repository's licence as recorded at harvest. “Pointer only” means Syntology does not serve that copy's text, for one of four reasons: no licence file was found; the licence was not identified; the licence is recorded as permissive but that copy's record is not marked cleared; or the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar). Some licences outside that list permit redistribution, such as WTFPL, and GPL-3.0 under its conditions; they are simply not on the list. Hover a licence label for the reason. File links open the file on GitHub at the default branch, which may have changed since the harvest.

MinCostGreedySolver anindex/polystep/src/polystep/_step_monolithic.py found in paper text by Syntology ran Apache-2.0 (permissive) · b9faad5d34c5079d · report
ProgressiveEpsilon anindex/polystep/src/polystep/_step_monolithic.py found in paper text by Syntology ran · metamorphic tier: deterministic Apache-2.0 (permissive) · 68b8e09fcb53bc3a · report
SolverResult anindex/polystep/src/polystep/_step_monolithic.py found in paper text by Syntology ran · metamorphic tier: deterministic Apache-2.0 (permissive) · 9a4d72458f2b2c6b · report
TopKMeanSolver anindex/polystep/src/polystep/_step_monolithic.py found in paper text by Syntology ran · metamorphic tier: deterministic Apache-2.0 (permissive) · 2d2c9f0cd2eae481 · report
_chunk_spans anindex/polystep/src/polystep/_step_monolithic.py found in paper text by Syntology ran · our draft was wrong Apache-2.0 (permissive) · 56a7cb48e8a95093 · report
_fill_screened_losses anindex/polystep/src/polystep/_step_monolithic.py found in paper text by Syntology ran · our draft was wrong Apache-2.0 (permissive) · 123203a24ce96c1c · report
_rotation_due anindex/polystep/src/polystep/_step_monolithic.py found in paper text by Syntology ran · violated contract Apache-2.0 (permissive) · fb9c130562f2ddd7 · report
align_marginal anindex/polystep/src/polystep/_step_monolithic.py found in paper text by Syntology ran · honoured contract Apache-2.0 (permissive) · 70774a9e79964002 · report
apply_biased_rotation anindex/polystep/src/polystep/_step_monolithic.py found in paper text by Syntology ran · fixture could not drive it fingerprinted Apache-2.0 (permissive) · a135a9156ab015ff · report
apply_momentum anindex/polystep/src/polystep/_step_monolithic.py found in paper text by Syntology ran · honoured contract fingerprinted Apache-2.0 (permissive) · ac58fecd780d1907 · report
compute_momentum_coefficient anindex/polystep/src/polystep/_step_monolithic.py found in paper text by Syntology ran · honoured contract fingerprinted Apache-2.0 (permissive) · d69d529aa0f75380 · report
get_random_rotation_matrices anindex/polystep/src/polystep/_step_monolithic.py found in paper text by Syntology ran · honoured contract Apache-2.0 (permissive) · 4b1eb26b6c4687f6 · report
get_rotation_matrix_2d anindex/polystep/src/polystep/_step_monolithic.py found in paper text by Syntology ran · violated contract fingerprinted Apache-2.0 (permissive) · afa570bfb71557ed · report
loss_buffer_dtype anindex/polystep/src/polystep/_step_monolithic.py found in paper text by Syntology ran · our draft was wrong Apache-2.0 (permissive) · b9dbb895f49cf1c6 · report
maintain_per_layer_subspace anindex/polystep/src/polystep/_step_monolithic.py found in paper text by Syntology ran · our draft was wrong Apache-2.0 (permissive) · 1901beb4b7afb4e0 · report
radius_epsilon_factor anindex/polystep/src/polystep/_step_monolithic.py found in paper text by Syntology ran · honoured contract fingerprinted Apache-2.0 (permissive) · e98d8df39439ee16 · report
recenter_cost anindex/polystep/src/polystep/_step_monolithic.py found in paper text by Syntology ran · our draft was wrong fingerprinted Apache-2.0 (permissive) · 4f1278829c2ee385 · report
resolve_cost_scale anindex/polystep/src/polystep/_step_monolithic.py found in paper text by Syntology ran · fixture could not drive it fingerprinted Apache-2.0 (permissive) · 5b768bee84d5e5b7 · report
sanitize_cost anindex/polystep/src/polystep/_step_monolithic.py found in paper text by Syntology ran · honoured contract fingerprinted Apache-2.0 (permissive) · 5c17c93b4e4f0184 · report
scale_cost_matrix anindex/polystep/src/polystep/_step_monolithic.py found in paper text by Syntology ran · fixture could not drive it fingerprinted Apache-2.0 (permissive) · 68cadb48ed27a625 · report
single_thread_cpu anindex/polystep/src/polystep/_step_monolithic.py found in paper text by Syntology ran · our draft was wrong Apache-2.0 (permissive) · e384ee405d2311d5 · report
solver_health anindex/polystep/src/polystep/_step_monolithic.py found in paper text by Syntology ran · fixture could not drive it fingerprinted Apache-2.0 (permissive) · aa328c2355f135e0 · report
thin_qr anindex/polystep/src/polystep/_step_monolithic.py found in paper text by Syntology ran · honoured contract fingerprinted Apache-2.0 (permissive) · e9a534b3eced5922 · report
update_radius_multiplier anindex/polystep/src/polystep/_step_monolithic.py found in paper text by Syntology ran · honoured contract fingerprinted Apache-2.0 (permissive) · dbaa1a2ea73f6bd4 · report
update_stagnation anindex/polystep/src/polystep/_step_monolithic.py found in paper text by Syntology ran · honoured contract fingerprinted Apache-2.0 (permissive) · c4c932f909737589 · report
validate_cost_shape anindex/polystep/src/polystep/_step_monolithic.py found in paper text by Syntology ran · honoured contract fingerprinted Apache-2.0 (permissive) · 7b4998095a2b0c8e · report
feed_solver_stats anindex/polystep/src/polystep/_step_monolithic.py found in paper text by Syntology unverified Apache-2.0 (permissive) · f48d8ceb1b663160 · report
invalidate_for_basis_change anindex/polystep/src/polystep/_step_monolithic.py found in paper text by Syntology unverified Apache-2.0 (permissive) · da431ecc8ded467a · report
record_displacement anindex/polystep/src/polystep/_step_monolithic.py found in paper text by Syntology unverified Apache-2.0 (permissive) · 9cf24beedcf4e9b3 · report
record_saturation anindex/polystep/src/polystep/_step_monolithic.py found in paper text by Syntology unverified Apache-2.0 (permissive) · 9573c27938e60433 · report
step_monolithic anindex/polystep/src/polystep/_step_monolithic.py found in paper text by Syntology unverified Apache-2.0 (permissive) · c4eea73878116bae · report
update_amortized_direction anindex/polystep/src/polystep/_step_monolithic.py found in paper text by Syntology unverified Apache-2.0 (permissive) · 058ecf46079254b3 · report
update_stagnation_and_radius anindex/polystep/src/polystep/_step_monolithic.py found in paper text by Syntology unverified Apache-2.0 (permissive) · 133247c1b31f1ea0 · report
warn_all_nonfinite anindex/polystep/src/polystep/_step_monolithic.py found in paper text by Syntology unverified Apache-2.0 (permissive) · e2eb52c97e464152 · report

Results from the paper

The Papers with Code archive ends with its 2025-07-28 snapshot. This paper's arXiv identifier, 2605.01928, was issued in May 2026, after that date, so the archive has no leaderboard rows for it.

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections