All models

Sphynx-crypto

A CIFAR-100 classifier built from searched convolutional cells that use few ReLUs, for private inference.

Image classification · 393 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 (26 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
15.5M
Operations
393
Framework
PyTorch
Recurrent
No
Published
IEEE Security & Privacy (arXiv 2021)
Cited by
5 (as of 28 October 2026)
Authors
Minsu Cho, Zahra Ghodsi, Brandon Reagen and others
License
MIT
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
m20558
Graph hash
3664c3f183623b634ba68cc9cae275b93796f69e824a7e03674231d363de74e2
Skeleton hash
38c21850a596375d48af356a3179331b66b1ed0dc8ce11b45da96e3d82eb734d
Architecture hash
1a0b30d50bad4b4c6e0f7ce4a53f2668c2022c61041beb1fc4d36f2883d44d33
Diagram SHA-256
d9b4385f7116cc224c497caf0e771a1b91ebd050373a84b02b3e06e2e286ecc5
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

Sphynx is a method for designing convolutional networks that use few ReLUs, based on searching for convolutional cells. It targets private inference, in which a user's data sample is run through a service provider's model under cryptographic protection, and where non-linear operations such as ReLUs cause most of the latency.

The method changes the DARTS search space. Each ReLU-Conv-BN sequence becomes a Conv-BN sequence, and separable convolutions are replaced with vanilla convolutions. Max-pooling is removed, while average pooling stays because it is linear. The only non-linearity in the search space is at the output of each cell. There a Conv1×1-BN-ReLU sequence is used so that the ReLU operates on a tensor with 4× fewer channels. Sphynx also chooses where the reduce cells go, since the authors found their location critical for accuracy under a ReLU limit.

This model uses the settings the repository labels SPHYNX-ReLU 100K for CIFAR-100: 10 initial channels, 10 layers and reduce cells at positions 0 and 5. On CIFAR-100 the paper reports 66.13% test accuracy with 2.3× faster online latency than CryptoNAS models at 63.60%.

Key idea. Sphynx redefines the cell search space so that cells contain no ReLUs or max-pooling, and it learns where to place reduce cells to maximize accuracy under a ReLU budget.

  • sphynx
  • sphynx-crypto
  • private inference
  • relu-efficient network
  • neural architecture search
  • relu budget
  • cryptographic inference
  • cifar-100

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

Cite the paper

@misc{cho2021sphynxreluefficientnetworkdesign,
      title={Sphynx: ReLU-Efficient Network Design for Private Inference}, 
      author={Minsu Cho and Zahra Ghodsi and Brandon Reagen and Siddharth Garg and Chinmay Hegde},
      year={2021},
      eprint={2106.11755},
      archivePrefix={arXiv},
      primaryClass={cs.CR},
      doi={https://doi.org/10.1109/MSEC.2022.3165475},
      url={https://arxiv.org/abs/2106.11755}, 
}