# Indices Matter: Learning to Index for Deep Image Matting

Source: [Indices Matter: Learning to Index for Deep Image Matting](<https://www.sota2.com/research/paper/68fa66211e209131cea0e916>)

Collection index: [llms.txt](<https://www.sota2.com/research/llms.txt>)

Data updated: 2026-01-04T03:08:52.821Z

Authors: Hao Lu, Yutong Dai, Chunhua Shen, Songcen Xu

Published: 2019-08-02T01:10:42.000Z

## Abstract

We show that existing upsampling operators can be unified with the notion of the index function. This notion is inspired by an observation in the decoding process of deep image matting where indices-guided unpooling can recover boundary details much better than other upsampling operators such as bilinear interpolation. By looking at the indices as a function of the feature map, we introduce the concept of learning to index, and present a novel index-guided encoder-decoder framework where indices are self-learned adaptively from data and are used to guide the pooling and upsampling operators, without the need of supervision. At the core of this framework is a flexible network module, termed IndexNet, which dynamically predicts indices given an input. Due to its flexibility, IndexNet can be used as a plug-in applying to any off-the-shelf convolutional networks that have coupled downsampling and upsampling stages.   We demonstrate the effectiveness of IndexNet on the task of natural image matting where the quality of learned indices can be visually observed from predicted alpha mattes. Results on the Composition-1k matting dataset show that our model built on MobileNetv2 exhibits at least $16.1\\%$ improvement over the seminal VGG-16 based deep matting baseline, with less training data and lower model capacity. Code and models has been made available at: https://tinyurl.com/IndexNetV1

## Recorded benchmark results

A research result applies to its stated dataset, split, metric and evaluation configuration. Compare like-for-like settings, preserve the metric's unit and direction, and distinguish paper-reported results from independent reproduction. The best result recorded here is not a claim of exhaustive, current global coverage.

- [Portrait Matting on PPM-100 (test)](<https://www.sota2.com/research/sota/portrait-matting-on-ppm-100-test.md>): Portrait Matting; PPM-100 (test); MSE: 0.0015.

- [Portrait Matting on AMD portrait foregrounds (val)](<https://www.sota2.com/research/sota/portrait-matting-on-amd-portrait-foregrounds-val.md>): Portrait Matting; AMD portrait foregrounds (val); MSE: 0.0013.

- [Alpha Matting on Adobe Dataset synthetic-composite (held-out)](<https://www.sota2.com/research/sota/alpha-matting-on-adobe-dataset-synthetic-composite-held-out.md>): Alpha Matting; Adobe Dataset synthetic-composite (held-out); SAD: 1.92.

- [Image Matting on alphamatting.com online benchmark current (test)](<https://www.sota2.com/research/sota/image-matting-on-alphamatting-com-online-benchmark-current-test.md>): Image Matting; alphamatting.com online benchmark current (test); Average Rank (Overall): 9.

- [Matting on 10 real world videos fixed camera](<https://www.sota2.com/research/sota/matting-on-10-real-world-videos-fixed-camera.md>): Matting; 10 real world videos fixed camera; Subjective Score: Much Better: 25.8.

- [Matting on 10 real world videos handheld](<https://www.sota2.com/research/sota/matting-on-10-real-world-videos-handheld.md>): Matting; 10 real world videos handheld; Count (Much Better): 34.2.

- [Video Matting on composited (test)](<https://www.sota2.com/research/sota/video-matting-on-composited-test.md>): Video Matting; composited (test); SAD: 53.68.

- [Image Matting on CIOM (test)](<https://www.sota2.com/research/sota/image-matting-on-ciom-test.md>): Image Matting; CIOM (test); SAD: 32.5.

- [Matting on alphamatting.com online benchmark (test)](<https://www.sota2.com/research/sota/matting-on-alphamatting-com-online-benchmark-test.md>): Matting; alphamatting.com online benchmark (test); MSE (Overall): 22.9.

- [Image Matting on Distinctions-646](<https://www.sota2.com/research/sota/image-matting-on-distinctions-646.md>): Image Matting; Distinctions-646; SAD: 44.93.

- [Interactive Matting on HIM-100K (test)](<https://www.sota2.com/research/sota/interactive-matting-on-him-100k-test.md>): Interactive Matting; HIM-100K (test); MSE: 0.1277.

- [Object Detection on MS COCO 1x (train)](<https://www.sota2.com/research/sota/object-detection-on-ms-coco-1x-train.md>): Object Detection; MS COCO 1x (train); AP: 37.6.

- [Image Matting on SIMDour (test)](<https://www.sota2.com/research/sota/image-matting-on-simdour-test.md>): Matting; SIMDour (test); SAD: 92.45.

- [Semantic Image Matting Dataset (test)](<https://www.sota2.com/research/sota/semantic-image-matting-dataset-test.md>): Semantic Image Matting; Semantic Image Matting Dataset (test); SAD: 51.29.

- [Matting on AIM-500 (test)](<https://www.sota2.com/research/sota/matting-on-aim-500-test.md>): Matting; AIM-500 (test); SAD: 28.49.

- [Matting on Distinction-646 (test)](<https://www.sota2.com/research/sota/matting-on-distinction-646-test.md>): Matting; Distinction-646 (test); SAD: 42.64.

- [Semantic Segmentation on ADE20K](<https://www.sota2.com/research/sota/semantic-segmentation-on-ade20k.md>): Semantic segmentation; ADE20K; mIoU: 54.71.

- [Image Matting on Composition-1K (test)](<https://www.sota2.com/research/sota/image-matting-on-composition-1k-test.md>): Image Matting; Composition-1K (test); SAD: 33.36.

- [Depth Estimation on NYU v2 (test)](<https://www.sota2.com/research/sota/depth-estimation-on-nyu-v2-test.md>): Depth Estimation; NYU v2 (test); Threshold Accuracy (delta \< 1.25): 86.6.

- [Panoptic Segmentation on COCO 2017 (val)](<https://www.sota2.com/research/sota/panoptic-segmentation-on-coco-2017-val.md>): Panoptic Segmentation; COCO 2017 (val); PQ: 40.2.

- [Monocular Depth Estimation on NYU v2 (test)](<https://www.sota2.com/research/sota/monocular-depth-estimation-on-nyu-v2-test.md>): Monocular Depth Estimation; NYU v2 (test); Abs Rel: 0.117.

- [Semantic Segmentation on ADE20K (val)](<https://www.sota2.com/research/sota/semantic-segmentation-on-ade20k-val.md>): Semantic segmentation; ADE20K (val); mIoU: 49.73.

- [Instance Segmentation on COCO 2017 (val)](<https://www.sota2.com/research/sota/instance-segmentation-on-coco-2017-val.md>): Instance Segmentation; COCO 2017 (val); APm: not recorded.

- [Object Detection on MS-COCO 2017 (val)](<https://www.sota2.com/research/sota/object-detection-on-ms-coco-2017-val.md>): Object Detection; MS-COCO 2017 (val); mAP: not recorded.

## Original sources and implementation

[Original paper](<https://arxiv.org/abs/1908.00672>)

[PDF](<https://arxiv.org/pdf/1908.00672.pdf>)

[Implementation](<https://tinyurl.com/IndexNetV1>)
