All models

Bjorck-Orthonormal-Network

A fully connected 1-Lipschitz network with Björck-orthonormalized weights and GroupSort activations.

926 operations Checked

100%

Showing the top corner; full diagram not loaded yetShowing a small copy; full diagram not loaded yetLarge diagram, not loaded yet

Open SVG

Loading diagram (28 KB)

Open in a new tab

Click or tap a spot to read it up close. Scroll or drag inside the diagram to move through it. Zoom with + and − or Ctrl and scroll. Press 0 for the whole graph. Swipe inside the diagram to move through it. Use + and − to zoom.

At a glance

Parameters
362.2K
Operations
926
Framework
PyTorch
Recurrent
No
Published
ICML 2019
Cited by
89 (as of 29 October 2026)
Authors
Cem Anil, James Lucas, Roger Grosse
Checked
Passed: the trace was replayed operation by operation and matched the model's own output for this input.

Files

The diagram is a drawing of a TorchLens trace of the source code. It contains no code or weights.

Details
Stable ID
m14956
Graph hash
0ff51f798aaeae6db2d0a6ee8c54be8a2baaa205eb2ad368bf4f650669097009
Skeleton hash
56617ee11f4f43d37ba98b3a956ed8a9a6640dde84628200e1c1714c38737b53
Architecture hash
ec025a39cb68bbcb1c430421fe898ec1d87d470bfacfe9ff6eef46358d8854bf
Diagram SHA-256
74ae25900f27cc00500e063912f3b2b91b92cdc4885d067374f04c4e7f58a019
TorchLens version
2.36.0
Renderer
graphviz 2.43.0+pyvips 3.2.0+libvips 8.18.7+render-opts@06c1f0d3
Check
Forward pass replayed in PyTorch

What it is

A Lipschitz constraint bounds how much a network's output can change in proportion to a change in its input. This fully connected network enforces the constraint layer by layer, since composing 1-Lipschitz affine transformations and activations gives a 1-Lipschitz network. It comes from the repository's experiment on approximating high dimensional cones, a Wasserstein distance estimation task.

The paper argues that such a network keeps its expressive power only if every layer preserves the gradient norm during backpropagation, which ReLU does only when its activations are positive. Two components meet that condition here. The activation is GroupSort, which separates the pre-activations into groups and sorts each group into ascending order. The weight matrices are kept orthonormal by Björck orthonormalization, an iterative algorithm that finds the closest orthonormal matrix, so all singular values are exactly 1 and not merely bounded by 1. The algorithm is differentiable and runs in the forward pass, and the authors found 2-3 iterations per forward pass enough during training.

The paper shows that norm-constrained GroupSort architectures are universal Lipschitz function approximators. It reports tighter estimates of Wasserstein distance from these networks than from their ReLU counterparts.

Key idea. The paper combines the gradient norm preserving GroupSort activation with norm-constrained weight matrices and shows that such networks are universal Lipschitz function approximators.

  • Bjorck orthonormal network
  • LNets
  • GroupSort
  • MaxMin
  • Lipschitz network
  • Sorting Out Lipschitz Function Approximation
  • Björck orthonormalization
  • 1-Lipschitz
  • Wasserstein distance estimation

AI-written summary, based on the paper and checked automatically against it; not reviewed by a person. Corrections welcome.

Cite the paper

@misc{anil2019sortinglipschitzfunctionapproximation,
      title={Sorting out Lipschitz function approximation}, 
      author={Cem Anil and James Lucas and Roger Grosse},
      year={2019},
      eprint={1811.05381},
      archivePrefix={arXiv},
      primaryClass={cs.LG},
      url={https://arxiv.org/abs/1811.05381}, 
}