All models

XLSR

Very small x3 super-resolution CNN designed to stay accurate after uint8 quantization on mobile hardware.

50 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 (49 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
21.9K
Operations
50
Framework
PyTorch
Recurrent
No
Published
CVPR 2021 Workshops (Mobile AI)
Cited by
86 (as of 29 October 2026)
Authors
Mustafa Ayazoglu
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
m21534
Graph hash
4c897c6505453188640024734e76bd9f92fa0b9caf932f4b5c05dd7b59e43b48
Skeleton hash
4db3f7cfc260282cee05f72e9e31a000891ff42289d1a1ef0af1d648c32696c7
Architecture hash
974b7c7b29910c49d4e96102ee2b2d05c35edad3f2f874b9b58ff7daaf9e3307
Diagram SHA-256
51a0232acfd8e946d0ca7768e707b2966466b1d0a1ec5f0b621a2fa8a1d3eaf0
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

XLSR is a very small convolutional network for single-image super resolution (SISR), designed to run in real time on mobile hardware. The paper's parameter table lists it at 22K parameters, next to 668K for VDSR and 43M for EDSR, assuming RGB input and x3 scaling. It was the author's submission to the Mobile AI 2021 Real-Time Single Image Super Resolution Challenge, which required full uint8 quantization of the model and ran on the Synaptics Dolphin NPU.

The building block is inspired by root modules from image classification: a channel split, a 3x3 convolution with ReLU on each part, a concatenation and a 1x1 convolution. Because element-wise operations are not optimized on the deployment hardware, the network avoids all addition and scaling operations and uses concatenation when necessary. Depthwise convolutions were considered for the block, but the paper notes they can cause large quantization error.

To make the model robust to quantization, the last layer uses a Clipped ReLU, max(0, min(x, 1)), instead of a linear activation. On the Div2K validation set the paper reports a PSNR drop after uint8 quantization of 0.28 dB with Clipped ReLU and 5.39 dB with a linear output. This model comes from a PyTorch implementation of the paper.

Key idea. XLSR combines convolution blocks inspired by root modules with a Clipped ReLU at the last layer, so a very small super-resolution network stays accurate after uint8 quantization.

  • XLSR
  • single-image super resolution
  • SISR
  • super-resolution
  • real-time super resolution
  • mobile super resolution
  • quantization robust
  • uint8 quantization
  • Clipped ReLU
  • Mobile AI 2021

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

Cite the paper

@misc{ayazoglu2021extremelylightweightquantizationrobust,
      title={Extremely Lightweight Quantization Robust Real-Time Single-Image Super Resolution for Mobile Devices}, 
      author={Mustafa Ayazoglu},
      year={2021},
      eprint={2105.10288},
      archivePrefix={arXiv},
      primaryClass={cs.CV},
      url={https://arxiv.org/abs/2105.10288}, 
}