All models

mmagic_liif

Continuous image representation that predicts the RGB value at any coordinate, for super-resolution at arbitrary scale.

Diffusion and generative · 23 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 (30 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
23
Framework
PyTorch
Recurrent
No
Published
CVPR 2021
Cited by
811 (as of 30 October 2026)
Authors
Yinbo Chen, Sifei Liu, Xiaolong Wang
License
BSD-3-Clause
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
m6244
Graph hash
77d3f8e119bbf828e4b150e7a7832f435defcf0989d5a926799e6ea07bdb5f3d
Skeleton hash
c9a38ec498bb5b3acf4efbb4a090f71c81497b6aec02bdc8905df54a1022a6ca
Architecture hash
3cebdfc08edc5a1a704770ec7f6c96d5a1dca1caf9f9d12127ec691c61457743
Diagram SHA-256
3817ef10310b897ed5f61c77133627b1e23cf9c54d37de2c506fc0d66dbb7c04
TorchLens version
2.35.3
Renderer
graphviz 2.43.0+pyvips 3.2.0+libvips 8.18.7+render-opts@06c1f0d3
Check
Forward pass replayed in PyTorch

How this diagram was made

menagerie.classics.dreimpl_3_openmmlab:build_liif: build({})

What it is

LIIF, the Local Implicit Image Function, represents an image as a continuous function instead of a fixed grid of pixels, so the same representation can be presented at arbitrary resolution. The function takes an image coordinate and the 2D deep features around that coordinate and predicts the RGB value there. The paper says the idea was inspired by implicit neural representations used in 3D reconstruction.

In LIIF an image becomes a set of latent codes distributed over the spatial dimensions, produced by an encoder. The paper uses EDSR-baseline or RDN, without their up-sampling modules, as that encoder. The decoding function is a 5-layer MLP with ReLU activation and hidden dimensions of 256. A local ensemble lets four neighboring latent codes each predict the value at a coordinate, and the four predictions are merged. Cell decoding also gives the decoding function the shape of the query pixel as an additional input.

The encoder is trained with the LIIF representation on a self-supervised super-resolution task. The paper reports that the representation extrapolates to ×30 higher resolution, a scale not presented during training. For scales outside the training range, where EDSR-baseline and RDN cannot be applied directly, the paper reports that LIIF outperforms MetaSR.

Key idea. LIIF represents an image as latent codes decoded by a shared function of continuous coordinates, so one trained model can present the image at arbitrary resolution.

  • LIIF
  • Local Implicit Image Function
  • continuous image representation
  • arbitrary-scale super-resolution
  • implicit neural representation
  • image super-resolution
  • implicit image function

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

Cite the paper

@misc{chen2021learningcontinuousimagerepresentation,
      title={Learning Continuous Image Representation with Local Implicit Image Function}, 
      author={Yinbo Chen and Sifei Liu and Xiaolong Wang},
      year={2021},
      eprint={2012.09161},
      archivePrefix={arXiv},
      primaryClass={cs.CV},
      url={https://arxiv.org/abs/2012.09161}, 
}