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 ranMethod as code

In Syntology View this paper on Syntology, its page in Syntology's graph. That page adds which of its functions are also present in other papers' code Syntology holds, with dates, and its dated run record as JSON and a README badge. It also lists the repositories linked to the paper, the abstract and the calls for agents.

For agents, on Syntology's MCP service (how to connect):

Code

Syntology 34 code samples harvested from 1 repository linked to this paper: 26 ran (of which 3 constructed an object rather than computing a result; 16 with no instrument failure: 10 honoured, 2 violated, 4 with no contract checked; 10 where Syntology's instrument failed) · 8 unverified. Where Syntology's instrument failed: 6 where our contract draft was wrong; 4 where the contract check could not run; failures of Syntology's instrument, not of the code.

By repository: found in paper text by Syntology: 34 samples from 1 repository, 26 ran (16 with no instrument failure; 10 where Syntology's instrument failed). The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

Levels written between 2026-09-22 and 2026-09-24 (UTC): the dates Syntology's graph wrote each sample's verification level, not when the code executed.

anindex/polystep found in paper text by SyntologySyntology: 34 samples, 26 ran (10 instrument-failed) · 8 unverified 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 (of which 3 constructed an object rather than computing a result; 16 with no instrument failure: 10 honoured, 2 violated, 4 with no contract checked; 10 where Syntology's instrument failed) · 8 unverified. “Where Syntology's instrument failed” counts failures of Syntology's instrument, not of the code. Syntology's record for this page last changed ; when this build read Syntology's graph is in the build record. That date is not when the samples ran.

10ran · honoured contract
2ran · violated contract
6ran · our draft was wrong
4ran; the contract check could not run
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. A line beginning “fixture:” under a sample that ran gives the arguments Syntology's fixture called the sample with, each as name:type/rank/element kind (? where none was recorded), and the type of what the fixture's run returned, exactly as the harness recorded them; the arguments and the returned type were recorded by two separate runs of the same fixture. No output value is shown, and a returned type says nothing about whether the output was right. “Level recorded” gives the UTC date when Syntology's graph wrote the sample's verification level, not when the code executed; where the level was written before Syntology's graph kept that date, the row says “level recorded, date not recorded”. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself. “Our draft was wrong” and “the contract check could not run” are failures of Syntology's instrument, not of the code: the sample ran on Syntology's synthesized input, and then the drafted contract did not describe it, or the check itself raised an error (RAISES), lacked a dependency (DEP_MISSING) or ran out of time (TIMEOUT); hover the label for which. A metamorphic tier, where shown, is evidence of the output's shape, not that the sample implements the method.

Each sample ends with its code_sha256. A sample's code_sha256 is Syntology's identity for that exact code. It is printed in full (16 hexadecimal characters for every sample in this build), and get_code(code_sha256="…") takes it exactly as printed. An agent calls it on Syntology's MCP service (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 are grouped by repository: a repository marked official first, then by how directly the repository is tied to the paper, then in the archive's order; never by how many ran. 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 six 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; the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar); this paper's copy was not located, so its licence is not recorded; or this paper's copy is cleared, but the stored copy of the same code that Syntology serves is not. 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.

anindex/polystep found in paper text by Syntology 34 samples, 26 ran (10 instrument-failed) · 8 unverified
MinCostGreedySolver src/polystep/_step_monolithic.py ran Apache-2.0 (permissive) · b9faad5d34c5079d · report fixture: signature cost_matrix:Tensor/2/float, a:NoneType/0/?, b:NoneType/0/?, init_f:NoneType/0/?, init_g:NoneType/0/?, scale_cost:NoneType/0/? · returned SolverResult · level recorded 2026-09-24
ProgressiveEpsilon src/polystep/_step_monolithic.py ran · metamorphic tier: deterministic Apache-2.0 (permissive) · 68b8e09fcb53bc3a · report fixture: returned ProgressiveEpsilon · level recorded 2026-09-22
SolverResult src/polystep/_step_monolithic.py ran · metamorphic tier: deterministic Apache-2.0 (permissive) · 9a4d72458f2b2c6b · report fixture: returned SolverResult · level recorded 2026-09-22
TopKMeanSolver src/polystep/_step_monolithic.py ran · metamorphic tier: deterministic Apache-2.0 (permissive) · 2d2c9f0cd2eae481 · report fixture: returned TopKMeanSolver · level recorded 2026-09-22
_chunk_spans src/polystep/_step_monolithic.py ran · our draft was wrong Apache-2.0 (permissive) · 56a7cb48e8a95093 · report fixture: signature n_cand:int/0/int, chunk:int/0/int, bounds:list/1/int · returned generator · level recorded 2026-09-22
_fill_screened_losses src/polystep/_step_monolithic.py ran · our draft was wrong Apache-2.0 (permissive) · 123203a24ce96c1c · report fixture: signature screen_cost:Tensor/2/float, kept:Tensor/1/float, sel_idx:Tensor/1/int, keep_mask:Tensor/2/bool, P_active:int/0/int, V:int/0/int, K_eff:int/0/int, mask_dropped:bool/0/bool · returned Tensor · level recorded 2026-09-22
_rotation_due src/polystep/_step_monolithic.py ran · violated contract Apache-2.0 (permissive) · fb9c130562f2ddd7 · report fixture: signature adaptive_sub:AdaptiveSubstitution/0/?, iteration:int/0/int · returned bool · level recorded 2026-09-22
align_marginal src/polystep/_step_monolithic.py ran · honoured contract Apache-2.0 (permissive) · 70774a9e79964002 · report fixture: signature a:NoneType/0/?, n:int/0/int, device:device/0/?, dtype:dtype/0/?, name:str/0/str · returned Tensor · level recorded 2026-09-22
apply_biased_rotation src/polystep/_step_monolithic.py ran; the contract check could not run (RAISES) · metamorphic tier: invariant fingerprinted Apache-2.0 (permissive) · a135a9156ab015ff · report fixture: signature rot_mats:Tensor/3/float, bias_dir:Tensor/2/float · returned Tensor · level recorded 2026-09-22
apply_momentum src/polystep/_step_monolithic.py ran · honoured contract fingerprinted Apache-2.0 (permissive) · ac58fecd780d1907 · report fixture: signature X_old:Tensor/2/float, X_barycentric:Tensor/2/float, velocity:Tensor/2/float, beta:float/0/float, velocity_lr:float/0/float · returned tuple · level recorded 2026-09-22
compute_momentum_coefficient src/polystep/_step_monolithic.py ran · honoured contract fingerprinted Apache-2.0 (permissive) · d69d529aa0f75380 · report fixture: signature iteration:int/0/int, max_iterations:int/0/int, momentum_init:float/0/float, momentum_final:float/0/float · returned float · level recorded 2026-09-22
get_random_rotation_matrices src/polystep/_step_monolithic.py ran · honoured contract Apache-2.0 (permissive) · 4b1eb26b6c4687f6 · report fixture: signature batch:int/0/int, dim:int/0/int, device:device/0/?, dtype:dtype/0/?, generator:Generator/0/? · returned Tensor · level recorded 2026-09-22
get_rotation_matrix_2d src/polystep/_step_monolithic.py ran · violated contract fingerprinted Apache-2.0 (permissive) · afa570bfb71557ed · report fixture: signature theta:Tensor/1/float · returned Tensor · level recorded 2026-09-22
loss_buffer_dtype src/polystep/_step_monolithic.py ran · our draft was wrong Apache-2.0 (permissive) · b9dbb895f49cf1c6 · report fixture: signature particle_dtype:dtype/0/? · returned dtype · level recorded 2026-09-22
maintain_per_layer_subspace src/polystep/_step_monolithic.py ran · our draft was wrong Apache-2.0 (permissive) · 1901beb4b7afb4e0 · report fixture: signature opt:MockOptimizer/0/?, state:MockState/0/?, cost_mean:float/0/float, pre_step_sub_coords:Tensor/1/float · returned bool · level recorded 2026-09-22
radius_epsilon_factor src/polystep/_step_monolithic.py ran · honoured contract fingerprinted Apache-2.0 (permissive) · e98d8df39439ee16 · report fixture: signature radius:float/0/float, epsilon:float/0/float · returned float · level recorded 2026-09-22
recenter_cost src/polystep/_step_monolithic.py ran · our draft was wrong fingerprinted Apache-2.0 (permissive) · 4f1278829c2ee385 · report fixture: signature cost_matrix:Tensor/2/float · returned tuple · level recorded 2026-09-22
resolve_cost_scale src/polystep/_step_monolithic.py ran; the contract check could not run (RAISES) · metamorphic tier: invariant fingerprinted Apache-2.0 (permissive) · 5b768bee84d5e5b7 · report fixture: signature cost_matrix:Tensor/2/float, scale_cost:NoneType/0/? · returned Tensor · level recorded 2026-09-22
sanitize_cost src/polystep/_step_monolithic.py ran · honoured contract fingerprinted Apache-2.0 (permissive) · 5c17c93b4e4f0184 · report fixture: signature cost_matrix:Tensor/2/float · returned Tensor · level recorded 2026-09-22
scale_cost_matrix src/polystep/_step_monolithic.py ran; the contract check could not run (RAISES) · metamorphic tier: invariant fingerprinted Apache-2.0 (permissive) · 68cadb48ed27a625 · report fixture: signature cost_matrix:Tensor/2/float, scale_cost:NoneType/0/? · returned Tensor · level recorded 2026-09-22
single_thread_cpu src/polystep/_step_monolithic.py ran · our draft was wrong Apache-2.0 (permissive) · e384ee405d2311d5 · report fixture: signature device:device/0/? · returned _GeneratorContextManager · level recorded 2026-09-22
solver_health src/polystep/_step_monolithic.py ran; the contract check could not run (RAISES) · metamorphic tier: invariant fingerprinted Apache-2.0 (permissive) · aa328c2355f135e0 · report fixture: signature transport:Tensor/2/float, displacement:Tensor/2/float, step_radius:float/0/float · returned tuple · level recorded 2026-09-22
thin_qr src/polystep/_step_monolithic.py ran · honoured contract fingerprinted Apache-2.0 (permissive) · e9a534b3eced5922 · report fixture: signature matrix:Tensor/2/float · returned linalg_qr · level recorded 2026-09-22
update_radius_multiplier src/polystep/_step_monolithic.py ran · honoured contract fingerprinted Apache-2.0 (permissive) · dbaa1a2ea73f6bd4 · report fixture: signature current_loss:float/0/float, prev_loss:float/0/float, stagnation_count:int/0/int, radius_multiplier:float/0/float, stagnation_patience:int/0/int, radius_increase:float/0/float, radius_decrease:float/0/float, radius_min:float/0/float, radius_max:float/0/float · returned tuple · level recorded 2026-09-22
update_stagnation src/polystep/_step_monolithic.py ran · honoured contract fingerprinted Apache-2.0 (permissive) · c4c932f909737589 · report fixture: signature current_loss:float/0/float, prev_loss:float/0/float, stagnation_count:int/0/int, stagnation_threshold:float/0/float · returned tuple · level recorded 2026-09-22
validate_cost_shape src/polystep/_step_monolithic.py ran · honoured contract fingerprinted Apache-2.0 (permissive) · 7b4998095a2b0c8e · report fixture: signature cost_matrix:Tensor/2/float, solver:str/0/str · returned tuple · level recorded 2026-09-22
feed_solver_stats src/polystep/_step_monolithic.py unverified Apache-2.0 (permissive) · f48d8ceb1b663160 · report
invalidate_for_basis_change src/polystep/_step_monolithic.py unverified Apache-2.0 (permissive) · da431ecc8ded467a · report
record_displacement src/polystep/_step_monolithic.py unverified Apache-2.0 (permissive) · 9cf24beedcf4e9b3 · report
record_saturation src/polystep/_step_monolithic.py unverified Apache-2.0 (permissive) · 9573c27938e60433 · report
step_monolithic src/polystep/_step_monolithic.py unverified Apache-2.0 (permissive) · c4eea73878116bae · report
update_amortized_direction src/polystep/_step_monolithic.py unverified Apache-2.0 (permissive) · 058ecf46079254b3 · report
update_stagnation_and_radius src/polystep/_step_monolithic.py unverified Apache-2.0 (permissive) · 133247c1b31f1ea0 · report
warn_all_nonfinite src/polystep/_step_monolithic.py unverified Apache-2.0 (permissive) · e2eb52c97e464152 · report

Method as code Syntology

What Syntology's graph records as this paper's claimed method, lifted into code: each assembly names its bricks (functions and classes), each with its own role and its own verification level. An assembly is not a check that the code implements the method correctly or reproduces the paper's results. Levels are each brick's own verification level in Syntology's graph (level 0: no recorded run), listed brick by brick and never combined into one level; “ran” means the brick executed on a synthesized input, not that its output is correct, and the instrument figure counts failures of Syntology's instrument, not of the code. Where a model read the code against the paper's claim, each assembly's label verdict is one model's judgement, kept in this page's JSON twin; it is not calibrated, so no card prints it.

1 assembly on this paper: 1 harvested, 0 generated.

harvested Assembly for PolyStep (graph method: PolyStep). 34 bricks; individually on a fixture: 26 ran (of which 3 constructed an object rather than computing a result; 16 with no instrument failure: 10 honoured, 2 violated, 4 with no contract checked; 10 where Syntology's instrument failed) · 8 unverified. The assembly has not been run end-to-end.

  1. step_monolithic entry · level 0 · unverified · c4eea73878116bae
  2. MinCostGreedySolver helper · level 1 · ran · b9faad5d34c5079d
  3. SolverResult helper · level 1 · ran · 9a4d72458f2b2c6b
  4. TopKMeanSolver helper · level 1 · ran · 2d2c9f0cd2eae481
  5. _chunk_spans helper · level 1 · ran · our draft was wrong · 56a7cb48e8a95093
  6. _fill_screened_losses helper · level 1 · ran · our draft was wrong · 123203a24ce96c1c
  7. _rotation_due helper · level 1 · ran · violated contract · fb9c130562f2ddd7
  8. apply_biased_rotation helper · level 1 · ran; the contract check could not run (RAISES) · a135a9156ab015ff
  9. apply_momentum helper · level 1 · ran · honoured contract · ac58fecd780d1907
  10. compute_momentum_coefficient helper · level 1 · ran · honoured contract · d69d529aa0f75380
  11. feed_solver_stats helper · level 0 · unverified · f48d8ceb1b663160
  12. get_random_rotation_matrices helper · level 1 · ran · honoured contract · 4b1eb26b6c4687f6
  13. invalidate_for_basis_change helper · level 0 · unverified · da431ecc8ded467a
  14. loss_buffer_dtype helper · level 1 · ran · our draft was wrong · b9dbb895f49cf1c6
  15. maintain_per_layer_subspace helper · level 1 · ran · our draft was wrong · 1901beb4b7afb4e0
  16. radius_epsilon_factor helper · level 1 · ran · honoured contract · e98d8df39439ee16
  17. recenter_cost helper · level 1 · ran · our draft was wrong · 4f1278829c2ee385
  18. record_displacement helper · level 0 · unverified · 9cf24beedcf4e9b3
  19. record_saturation helper · level 0 · unverified · 9573c27938e60433
  20. sanitize_cost helper · level 1 · ran · honoured contract · 5c17c93b4e4f0184
  21. scale_cost_matrix helper · level 1 · ran; the contract check could not run (RAISES) · 68cadb48ed27a625
  22. solver_health helper · level 1 · ran; the contract check could not run (RAISES) · aa328c2355f135e0
  23. update_amortized_direction helper · level 0 · unverified · 058ecf46079254b3
  24. update_stagnation_and_radius helper · level 0 · unverified · 133247c1b31f1ea0
  25. warn_all_nonfinite helper · level 0 · unverified · e2eb52c97e464152
  26. align_marginal helper · level 1 · ran · honoured contract · 70774a9e79964002
  27. validate_cost_shape helper · level 1 · ran · honoured contract · 7b4998095a2b0c8e
  28. ProgressiveEpsilon helper · level 1 · ran · 68b8e09fcb53bc3a
  29. get_rotation_matrix_2d helper · level 1 · ran · violated contract · afa570bfb71557ed
  30. single_thread_cpu helper · level 1 · ran · our draft was wrong · e384ee405d2311d5
  31. thin_qr helper · level 1 · ran · honoured contract · e9a534b3eced5922
  32. resolve_cost_scale helper · level 1 · ran; the contract check could not run (RAISES) · 5b768bee84d5e5b7
  33. update_radius_multiplier helper · level 1 · ran · honoured contract · dbaa1a2ea73f6bd4
  34. update_stagnation helper · level 1 · ran · honoured contract · c4c932f909737589

Each brick ends with its code_sha256, Syntology's identity for that exact code; click one to copy the get_code call that returns it. For agents, on Syntology's MCP service: assembly(arxiv_id="2605.01928") returns these assemblies with each brick's role and wiring (how to connect).

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.

Placed on leaderboards by Syntology Syntology

Syntology's extractor, the model Claude Sonnet 4.5, judged this paper's tables to report on 1 leaderboard (a model's judgement, not a result) and has not placed the paper on it: Image Classification · MNIST (refused by a rule: the model gave no value to check against the cell). What is not shown.

Syntology has checked 8,886 of the 18,637 papers on this site that are newer than the archive (for 3,717 of them no archive leaderboard matched the paper's tables, so there was nothing further to check); 733 were read and have nothing to place (arXiv has no HTML version of the paper, or that version has no tables), 41 could not be read (the extractor's reply could not be parsed), and results from the other 8,977 appear after they are checked.

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