All models

indexnet_matting

Encoder-decoder matting network whose pooling and upsampling are guided by indices learned from the feature map.

Segmentation · 17 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 (24 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
39.1K
Operations
17
Framework
PyTorch
Recurrent
No
Published
ICCV (arXiv 2019)
Cited by
11 (as of 5 October 2026)
Authors
Hao Lü, Yutong Dai, Chunhua Shen, Songcen Xu
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
m11929
Graph hash
849ba21e01bda76a47a2f2027aee3c1c34845ce73316bfd3dc5876e411be7b6e
Skeleton hash
c36cd467abe908deb4742d9698edb73c76d02b0767ebdb90f22c6663f867b4db
Architecture hash
b49b6c5f3be0bcf292ca73b0003d82579a8e88b5c3813fe1a2c1615ef3f77c88
Diagram SHA-256
3f94da61405def1de4e46195ad9a1882cf888d53943f6d867f122950fc8ac8f7
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.indexnet_matting:build_indexnet_matting: build({})

What it is

IndexNet Matting is an index-guided encoder-decoder network, demonstrated on natural image matting, where the quality of its learned indices can be seen in the predicted alpha mattes. It grew out of an observation about decoding in deep image matting: indices-guided unpooling recovers boundary details much better than other upsampling operators such as bilinear interpolation.

The paper argues that max unpooling, bilinear interpolation and other upsampling operators are all forms of index functions, so the indices can be learned. A fully convolutional module called IndexNet generates the indices dynamically from the feature map, without supervision. Two operators then use them: indexed pooling guides downsampling and indexed upsampling guides upsampling. Max pooling and average pooling are both special cases of indexed pooling, and the framework as a whole is described as a natural generalization of SegNet.

The paper builds its matting model on MobileNetv2 with slight modifications, chosen because this lightweight model can infer high-resolution images on a GPU. Its 4-channel input concatenates the RGB image and its trimap. On the Composition-1k matting dataset, the paper reports at least 16.1% improvement over the VGG-16 based deep matting baseline, with less training data and lower model capacity.

Key idea. The paper models upsampling indices as a learnable function of the feature map and uses the predicted indices to guide both pooling and upsampling in an encoder-decoder.

  • IndexNet
  • IndexNet Matting
  • Indices Matter
  • learning to index
  • image matting
  • deep image matting
  • alpha matte
  • indexed pooling
  • indexed upsampling
  • learned upsampling

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

Cite the paper

@misc{lu2019indicesmatterlearningindex,
      title={Indices Matter: Learning to Index for Deep Image Matting}, 
      author={Hao Lu and Yutong Dai and Chunhua Shen and Songcen Xu},
      year={2019},
      eprint={1908.00672},
      archivePrefix={arXiv},
      primaryClass={cs.CV},
      url={https://arxiv.org/abs/1908.00672}, 
}