All models

Sparse-IFT

A ResNet-18 whose dense layers are replaced by Sparse-IFT layers that keep the dense model's FLOPs.

Image classification · 74 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 (31 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
112.8M
Operations
74
Framework
PyTorch
Recurrent
No
Published
ICML 2024
Cited by
0 (as of 24 October 2026)
Authors
Vithursan Thangarasa, Shreyas Saxena, Abhay Gupta, Sean Lie
License
Apache-2.0
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
m20518
Graph hash
acc9998620c24be63419d9604531bfee754759cd39a8112d1c11ea9a1a1be312
Skeleton hash
2d163fd18f763d291c33b15023c7fa8c942c31401f4f897573c466441de54eac
Architecture hash
43f18b4439a2725e5c5cfcbb3406b14534a82fc0e6a2efebaa6c30156a359c8a
Diagram SHA-256
b81a16222a86a611272aa707c6712e11dbc1ca7eb18554c673ef6acc42d29f95
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

Sparse-IFT, short for Sparse Iso-FLOP Transformations, is a set of sparse layers that replace the dense layers of an existing network. Weight sparsity is usually studied as a way to reduce FLOPs during training. Sparse-IFT instead uses sparsity to improve accuracy while keeping the FLOPs of the dense model.

Every transformation is controlled by a single hyperparameter, the sparsity level. The paper trains the resulting models with dynamic sparse training, which it says navigates the larger space of sparse masks and weights effectively. The authors' code applies the transformations to ResNet-18 on ImageNet with the dynamic sparsity algorithm RigL.

Without adjusting any training hyperparameters, the paper reports a +3.5% gain for ResNet-18 on ImageNet and +0.9% for GPT-3 Small on the Open LLM leaderboard.

Key idea. Sparse-IFT replaces dense layers with sparse transformations of equal FLOPs, using sparsity to raise accuracy instead of lowering compute.

  • Sparse-IFT
  • Sparse Iso-FLOP Transformations
  • sparse iso-flop
  • sparse training
  • dynamic sparse training
  • weight sparsity
  • sparse wide
  • training efficiency

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

Cite the paper

@misc{thangarasa2024sparseiftsparseisofloptransformations,
      title={Sparse-IFT: Sparse Iso-FLOP Transformations for Maximizing Training Efficiency}, 
      author={Vithursan Thangarasa and Shreyas Saxena and Abhay Gupta and Sean Lie},
      year={2024},
      eprint={2303.11525},
      archivePrefix={arXiv},
      primaryClass={cs.LG},
      url={https://arxiv.org/abs/2303.11525}, 
}