---
title: "DEL: Deep Embedding Learning for Efficient Image Segmentation"
authors:
  - "Yun Liu"
  - "Peng-Tao Jiang"
  - "Vahan Petrosyan"
  - "Shi-Jie Li"
  - "Jiawang Bian"
  - "Le Zhang"
  - "Ming-Ming Cheng"
doi: "10.24963/ijcai.2018/120"
url: "https://ijcai.org/proceedings/2018/120"
pdf: "https://ijcai.org/proceedings/2018/0120.pdf"
venue: "Proceedings of the Twenty-Seventh International Joint Conference on Artificial Intelligence"
year: 2018
pages: "864-870"
track: "Main track"
keywords:
  - "Computer Vision: Computer Vision"
  - "Computer Vision: 2D and 3D Computer Vision"
---

# DEL: Deep Embedding Learning for Efficient Image Segmentation

Yun Liu, Peng-Tao Jiang, Vahan Petrosyan, Shi-Jie Li, Jiawang Bian, Le Zhang, Ming-Ming Cheng

*Proceedings of the Twenty-Seventh International Joint Conference on Artificial Intelligence*, pages 864-870. DOI: [10.24963/ijcai.2018/120](https://doi.org/10.24963/ijcai.2018/120)

## Abstract

Image
segmentation has been explored for many years and still remains a
crucial vision problem. Some efficient or accurate segmentation
algorithms have been widely used in many vision applications.
However, it is difficult to design a both efficient and accurate
image segmenter. In this paper, we propose a novel method called DEL
(deep embedding learning) which can efficiently transform superpixels
into image segmentation. Starting with the SLIC superpixels, we train
a fully convolutional network to learn the feature embedding space
for each superpixel. The learned feature embedding corresponds to a
similarity measure that measures the similarity between two adjacent
superpixels. With the deep similarities, we can directly merge the
superpixels into large segments. The evaluation results on BSDS500
and PASCAL Context demonstrate that our approach achieves a good
trade-off between efficiency and effectiveness. Specifically, our DEL
algorithm can achieve comparable segments when compared with MCG but
is much faster than it, i.e. 11.4fps vs. 0.07fps.

## Full text

## 1 Introduction

Image segmentation aims to partition an image into large perceptual regions, where pixels within each region usually belong to the same visual object, object part or large background region with tiny feature difference, e.g. color, gradient, texture, and intensity. Image segmentation has been widely used in mid-level and high-level vision tasks, such as object proposal generation [Pont-Tuset et al., 2017; Zhang et al., 2017], tracking [Wang et al., 2011], object detection/recognition [Juneja et al., 2013], semantic segmentation [Farabet et al., 2013], and so on. This technique has been studied for many years, but still remains a main challenge in computer vision.

In general, image segmentation addresses two aspects, the reliability of segmentation results and efficiency for applications. An appropriate segmented image can be used as input to significantly improve the performance of many vision tasks. Furthermore, the computational time and memory consumption determine whether it is suitable for many practical applications or not, because image segmentation is often used as a preprocessing step in other vision applications. However, it is difficult for existing methods to balance the segmentation accuracy and computational time. Although MCG [PontTuset et al., 2017] and gPb [Arbel´aez et al., 2011] can generate high-quality segments, they are too slow to be applied in time-sensitive tasks. The running time of EGB [Felzenszwalb and Huttenlocher, 2004] is nearly proportional to the number of image pixels, so it is very fast. But it suffers poor accuracy especially on the region evaluation metric and thus can not satisfy today's vision tasks. HFS [Cheng et al., 2016] can perform real-time segmentation. However, the segmentation results are not satisfactory, especially on the region evaluation metric. It is difficult to design an ideal algorithm that can simultaneously satisfy the requirements of effectiveness and efficiency.

∗M.M. Cheng is the corresponding author.

Similar but slightly different from image segmentation, superpixel generation usually refers to an oversegmentation. It segments an input image into small, regular and compact regions, which is distinct from the large perceptual regions generated by image segmentation techniques. Oversegmentation usually has strong boundary coherence, and the number of produced superpixels can be easy to control. Since superpixel methods are usually designed to generate small segments, it is inappropriate to directly use them to generate large regions. However, superpixel algorithms provide a good start for image segmentation.

In this paper, we aim to design an image segmentation algorithm that can make a good trade-off between efficiency and effectiveness. Considering the efficiency, our effort starts with a fast superpixel generation method, the GPU version of SLIC [Achanta et al., 2012; Ren et al., 2015]. In the past few years, convolutional neural networks have pushed the boundaries of many computer vision tasks. Since deep features can represent much richer information than hand-crafted features, we train a fully convolutional network to learn the deep feature embedding space that encodes the deep representation of each superpixel. We introduce a deep embedding metric that converts the feature embedding vectors of adjacent superpixels to a similarity value. Each similarity value represents the probability that two adjacent superpixels belong to the same region. By this way, we can train the deep embedding space end-to-end to learn the similarity between each pair of superpixels. A novel network that combines the features of fine details from bottom sides and high-level information from top sides is proposed for the embedding learning. We merge the adjacent superpixels into large image segments if the learned similarities between them are larger than a threshold. This simple merging operation can achieve better performance than HFS's hierarchical merging due to the powerful representation of deep features.

We conduct extensive experiments on BSDS500 [Arbel´aez et al., 2011] and PASCAL Context [Mottaghi et al., 2014] datasets to evaluate the proposed image segmentation algorithm. To evaluate our algorithm in applications, we apply our segmentation results to object proposal generation on the PASCAL VOC2007 dataset [Everingham et al., 2007]. The evaluation results demonstrate that our algorithm achieves a good trade-off between efficiency and effectiveness. Specifically, our proposed DEL can achieve comparable segmentation results when compared with state-of-the-art methods, while much faster than them, e.g. 11.4fps of DEL vs. 0.07fps of MCG. This means DEL has the potential to be used in many practical applications. The code of this paper is available at https://github.com/yun-liu/del.

## 1.1 RelatedWork

In the past several decades, researchers have contributed lots of useful works to this field. Due to the limitation of space, we only review some typical algorithms here. Shi et al. [2000] viewed image segmentation as a graph partitioning problem. A novel Normalized Cut criterion was proposed to measure both the total similarity within each segment and the total dissimilarity between different segments. Comaniciu et al. [2002] proposed Mean Shift, based on the old pattern recognition procedure of mean shift. Felzenszwalb et al. [2004] proposed an efficient graph based algorithm, EGB. The edge-based method, gPb [Arbel´aez et al., 2011], combines multiscale local features and spectral clustering to predict edges and then converts these edges to a segmentation using an oriented watershed transform algorithm. Pont-Tuset et al. [2017] combined multiscale hierarchical regions to acquire accurate segmentation (MCG).

With the development of superpixel generation [Achanta et al., 2012], some methods attempt to start with superpixels and then merge these superpixels into perceptual regions. ISCRA [Ren and Shakhnarovich, 2013] uses gPb to generate highquality superpixels. A dissimilarity score is learned for adjacent superpixels using various features, including color, texture, geometric context, SIFT, shape, and boundary. Cheng et al. [2016] firstly built a real-time image segmentation system by a hierarchical merging of superpixels using carefully selected parallelizable features. The combination weights of selected features are retrained at each merging stage. Our proposed method falls into this category, too. But our method uses a deep convolutional neural network to extract powerful deep representation for this task, and thus can obtain better perceptual regions. We will introduce our method in detail in the next section.

## 2 Our Approach

Our approach starts with SLIC [Achanta et al., 2012] superpixels. We first train a deep network to learn similarities between neighboring superpixels, and then directly merge them using the learned similarities. In this section, we will describe our algorithm's five components in detail, which are superpixel generation, feature embedding learning, network architecture, superpixel merging, and implementation details in order.

## 2.1 Superpixel Generation

Image segmentation algorithms group pixels into large perceptual regions, where pixels in the same region have greater similarities than pixels in different regions. However, when grouping pixels using similarity distance metrics, the algorithms usually consume too much time because the running time of the algorithm is highly related to the number of pixels in an image. Furthermore, the algorithm lacks robustness when directly merging pixels. Considering these two aspects, our algorithm starts with a fast superpixel generation method, SLIC [Achanta et al., 2012], which is based on the k-means clustering algorithm. The number of superpixels is much less than the original pixels, so this makes it possible to improve efficiency. One superpixel is a small region, and thus more robust than single pixels.

In general, superpixel algorithms cannot be directly applied to image segmentation because large perceptual regions are usually not regular and related to the global information in an image, unlike superpixels. Inspired by HFS that starts with superpixels and uses carefully designed features to merge them hierarchically, our algorithm learns a similarity metric between adjacent superpixels. SLIC is one widely used superpixel algorithm among many state-of-the-art algorithms due to its simplicity and efficiency. We choose the GPU version of SLIC, gSLIC[Ren et al., 2015], as the start of our method. In order to balance the running time and the boundary adherence of the generated superpixels, we control each superpixel to contain about 64 pixels. Suppose we have M superpixels for an image I now. The set of generated superpixels is denoted as S = {S1, S2, · · · , SM}, Si = {1, 2, · · · , |I|}|Si| .

## 2.2 Feature Embedding Learning

After generating superpixels, we start to train a deep convolutional neural network to learn the feature embedding space. As shown in Figure 1, we perform pooling operation on the feature embedding space to get feature vectors ⃗v = {⃗v1,⃗v2,⃗v3, · · · ,⃗vM} corresponding to the superpixels. Each feature vector is the average of the learned deep feature maps in the corresponding region of the superpixel. It can be formulated as follows:⃗vi = 1

<!-- formula-not-decoded -->

where ⃗xk denotes the feature vector within the region of the ith superpixel. We call this pooling operation superpixel pooling. Each feature embedding vector ⃗vi has 64 dimensions in our design. The backwards function of the superpixel pooling layer with respect to input ⃗xk can be written as

Figure 1: The pipeline of our DEL image segmentation algorithm.

![Image](https://ijcai.org/proceedings/2018/fulltext/120/image_000000_0e593cbed414cee226a279ebeee9e12a6e00206f9a5c2c27dbeeea7ae4cb148e.png)

<!-- formula-not-decoded -->

in which 1{k∈Si} is an indicator function.

We design a distance metric to measure the similarities between adjacent superpixels. The proposed distance metric can be formulated as

<!-- formula-not-decoded -->

The similarity di,j ranges in [0, 1]. It is close to 1 when vi and vj are similar, and is close to 0 when vi and vj are extremely different. Since the distance metric is established, we consider the similarity loss function as follows:

<!-- formula-not-decoded -->

where lij = 1 denotes vi and vj belongs to the same region, and lij = 0 denotes vi and vj belongs to different regions. R is the set of adjacent superpixels of the superpixel Si. α = |Y+|/|Y |, denotes the proportion of the pairs of superpixels belonging to the same regions in the ground truth. We use this parameter to balance the positive samples and negative samples.

Using this similarity loss, we can learn the feature embedding space in an end-to-end manner. The similarities between the pairs of superpixels in the same ground truth segments are expected to be larger than the similarities of the pairs of superpixels belonging to different segments. In the next step, we will use the learned similarity distance metric to merge these superpixels.

## 2.3 Network Architecture

In this section, we introduce our network architecture which is used to learn the feature embedding space. Our network is built based on the VGG16 net [Simonyan and Zisserman, 2014] and inspired by recent works [Liu et al., 2017; 2018]. The convolutional layers in VGG16 can be divided into five convolution stages by the pooling layers. As shown in Figure 2, we cut the pool5 layer and the fully connected layers of the VGG16 Net. Because of the low resolution of the side output from the conv5 stage, we modify the stride of pool4 from 2 to 1. The hole algorithm [Chen et al., 2015a] is used to keep receptive field sizes of convolutional layers in the fifth stage the same as the original VGG16 network. We consider that the learned features become coarser and coarser when the network goes deep. The fine features contain more detail information meanwhile the coarse features represent global information. The features from five stages are concatenated to combine the coarse and global information with the fine and local information.

Figure 2: The network architecture for feature embedding learning.

![Image](https://ijcai.org/proceedings/2018/fulltext/120/image_000001_d58908154f77b327f67c99848db89bd0f4f9aafd878eb4e71cb2a81231c03715.png)

Specifically, we connect a 3 × 3 convolution layer on side1-5 with 32, 64, 128, 256, 256 output channels, respectively. After the 3×3 convolution layer, a 1×1 convolution layer is connected with 32, 64, 64, 128, 128 output channels for side1-5, respectively. Since the feature scales of different convolution stages are different, direct concatenating features from multiple stages will make features from some stages no sense. Therefore, we normalize the responses of different stages using the L2 normalization technique introduced in [Liu et al., 2016]. After the normalization, we concatenate the feature maps from all sides and a 3 × 3 convolution layer with 256 output channels is followed. Finally, we get the 64-dimension feature embedding space using a convolutional layer with kernel size 1×1. As illustrated in section3.2, we pool the feature embeddings to feature vectors corresponding to the superpixels, then use the proposed similarity loss to train the network.

## 2.4 Superpixel Merging

The dissimilarities between adjacent superpixels learned by the deep neural network are used to merge the superpixels into perceptual regions. A threshold is set to determine whether two adjacent superpixels should be merged or not. The pseudo code of superpixel merging is displayed in Algorithm 1. For the efficiency of merging, we use the data structure of universe in EGB [Felzenszwalb and Huttenlocher, 2004]. Unlike the hierarchical merging strategy in HFS [Cheng et al., 2016], we perform merging operation only once. HFS uses a linear combination of some low-level features and retrains the combinatorial weights at each merging stage. The single-stage merging of DEL can also outperform HFS by a large margin. We will show the details in the experiment part.

## Algorithm 1 Superpixel merging algorithm of DEL

```
Input: Image I, dissimilarity f = (1 - d), threshold T, superpixels S = {S1, S2, · · · , SM} Construct R = {R1,R2, · · · ,RM}, in which Ri is the set of adjacent superpixels of Si for each Si ∈ S do for each Sj ∈ Ri do if fi,j < T : then Si ← Si ∪ Sj , S ← S\Sj Update R end if end for end for Output: Segmentation S
```

## 2.5 Implementation Details

Our network is based on Caffe, which is a widely used deep learning framework. Generally speaking, the segmented regions usually refer to the visual objects, object parts or the partial background. Therefore, we firstly pretrain our network for the semantic segmentation task on the SBD [Hariharan et al., 2011] dataset to acquire semantic information for the network. The network is tuned by replacing the feature embedding space with a classification layer for semantic segmentation task.

We then fine-tune the pretrained model for the feature embedding space. We use the stochastic gradient descent (SGD) technique to optimize the neural network. The basic learning rate is set to 1e-5. We use a weight decay of 0.0002 and batch size of 5. The learning rate policy of step is used, and we totally run SGD for 10000 iterations with step size of 8000. The learning rate of the feature embedding layer is set larger than the basic convolutional layers as suggested in deep metric learning.

Data augmentation has been proven to be important for deep learning. When training our feature embedding model on the BSDS500 dataset [Arbel´aez et al., 2011] that consists of 300 trainval images and 200 test images, we augment the trainval set. The images are rotated to 16 direction angles and also flipped at each angle. We then crop the largest rectangle from the transformed images, resulting in 9600 training images. When training on the PASCAL Context dataset that is divided into 7605 trainval images and 2498 test images, we only flip the trainval images for training because the number of images in this set is adequate.

Table 1: The ablation study on BSDS500 dataset.

| Methods   |   Boundary - ODS |   Boundary - OIS |   Region - ODS |   Region - OIS |   Time (s) |
|-----------|------------------|------------------|----------------|----------------|------------|
| DEL-Max   |            0.703 |            0.738 |          0.323 |          0.389 |      0.088 |
| DEL-conv5 |            0.667 |            0.695 |          0.278 |          0.343 |      0.070 |
| DEL-EGB   |            0.662 |            0.686 |          0.305 |          0.325 |      0.091 |
| DEL       |            0.704 |            0.738 |          0.326 |          0.397 |      0.088 |
| DEL-C     |            0.715 |            0.745 |          0.333 |          0.402 |      0.165 |

## 3 Experiments

In this section, we first evaluate our DEL method on the BSDS500 dataset [Arbel´aez et al., 2011] and the PASCAL Context dataset [Mottaghi et al., 2014] for image segmentation. In order to evaluate the segmentation quality in applications, we use the segmented regions to generate object proposals on the PASCAL VOC2007 dataset [Everingham et al., 2007]. For the evaluation of image segmentation, we use the publicly available benchmark SEISM [Pont-Tuset and Marques, 2016]. Optimal dataset scale (ODS) usually refers to the best performance when selecting optimal parameters for the whole dataset, while optimal image scale (OIS) refers to the best performance when selecting special parameters for each image. We report the boundary F-measure (Fb) and region F-measure (Fop) at ODS and OIS. For the evaluation of object proposals, we report the detection recall (DR) when varying the number of proposals. We compare our DEL with some state-of-the-art segmentation algorithms, including EGB [Felzenszwalb and Huttenlocher, 2004], Mean Shift [Comaniciu and Meer, 2002], NCuts [Cour et al., 2005], gPbUCM [Arbel´aez et al., 2011], MCG [Pont-Tuset et al., 2017], SLIC [Achanta et al., 2012], GPU-SLIC [Ren et al., 2015], and HFS [Cheng et al., 2016]. In addition to the GPU version of SLIC, we also use the CPU version of SLIC to generate superpixels for DEL, and we call this variant DEL-C.

## 3.1 Ablation Study

BSDS500 [Arbel´aez et al., 2011] is the standard benchmark for image segmentation, oversegmentation, and edge detection. We use this dataset to evaluate the different choices of each DEL's component. The first variant, which is denoted as DEL-Max, replaces the average operation with maximum operation in superpixel pooling while keeping other components as the same with DEL. The second variant, DEL-conv5, only uses the final convolutional layer (conv5) of VGG16 net. The third variant, DEL-EGB, applies the merging strategy of EGB by viewing each superpixel as a node in the graph partitioning problem.

The evaluation results are summarized in Table 1. Compared with the original DEL, these variants achieve worse performance. It demonstrates the initial choices of the DEL's components are reasonable. For example, our proposed network architecture in DEL can capture both fine-level and coarse-level information, while the naive design of DELconv5 only uses coarse-level information. Thus DEL is much Time in Seconds Time in Seconds Time in Seconds better than DEL-conv5. Moreover, EGB seems to be useless for superpixel merging. Maximum pooling is slightly worse than average pooling. It conforms to our intuition that maximum and average pooling usually have similar effects.

![Image](https://ijcai.org/proceedings/2018/fulltext/120/image_000002_0e897bf620bda06432d1e873ce0bf2d06bec8ec2eba9e6524fdb05abcf7e97c2.png)

![Image](https://ijcai.org/proceedings/2018/fulltext/120/image_000003_2bcdf4dcb0be3611195c4f5df75b44144da40585785af0484db7543e68bc5075.png)

Figure 3: The evaluation results on BSDS500 dataset. Left: Boundary measure. Right: Region measure.

![Image](https://ijcai.org/proceedings/2018/fulltext/120/image_000004_122506ee84e71ac6e5ac193b8dfcfa5217272d0137dd21da2a7f8d56eafe3b91.png)

![Image](https://ijcai.org/proceedings/2018/fulltext/120/image_000005_35312df471a0c669c5f5e796e721dec4f17463c73d9e5bf61b40eb81a2847513.png)

Figure 4: The evaluation results on PASCAL Context dataset. Left: Boundary measure. Right: Region measure.

## 3.2 Evaluation on BSDS500 Dataset

Since ODS F-measure is the most important metric for segmentation, we show the ODS F-measure vs. running time in Figure 3. Although our proposed DEL does not achieve the best performance, it achieves a good trade-off between efficiency and effectiveness. Among these methods, the fastest one is HFS [Cheng et al., 2016] which can run at real time. However, it suffers poor performance, especially for the region evaluation metric. Thus it can not satisfy today's vision tasks despite its high speed. SLIC [Achanta et al., 2012] and GPU-SLIC [Ren et al., 2015] seem to struggle on image segmentation. It fits our intuition that oversegmentation methods are not suitable for image segmentation. The improvement from GPU-SLIC/SLIC to DEL/DEL-C demonstrates the effectiveness of our deep embedding feature learning paradigm. It is interesting to find that GPU-SLIC performs slightly worse than SLIC, and DEL also performs slightly worse than DEL-C. But we choose DEL as the default setting because of the efficiency of GPU-SLIC despite its poor performance.

Table 2: The evaluation results on BSDS500 dataset.

| Methods   |   Boundary - ODS |   Boundary - OIS |   Region - ODS |   Region - OIS |   Time (s) |
|-----------|------------------|------------------|----------------|----------------|------------|
| HFS       |            0.652 |            0.686 |          0.249 |          0.272 |      0.024 |
| EGB       |            0.636 |            0.674 |          0.158 |          0.240 |      0.108 |
| SLIC      |            0.529 |            0.565 |          0.146 |          0.182 |      0.085 |
| GPU-SLIC  |            0.522 |            0.547 |          0.085 |          0.132 |      0.007 |
| MShift    |            0.601 |            0.644 |          0.229 |          0.292 |       4.95 |
| NCuts     |            0.641 |            0.674 |          0.213 |          0.270 |       23.2 |
| gPb-UCM   |            0.726 |            0.760 |          0.348 |          0.385 |       86.4 |
| MCG       |            0.747 |            0.779 |          0.380 |          0.433 |       14.5 |
| DEL       |            0.704 |            0.738 |          0.326 |          0.397 |      0.088 |
| DEL-C     |            0.715 |            0.745 |          0.333 |          0.402 |      0.165 |

Replacing SLIC with more accurate superpixel generation methods may lead to better performance. DEL provides a converter from superpixels to segmentation. New superpixel techniques will benefit image segmentation in this way. Although MCG [Pont-Tuset et al., 2017] achieves accurate results, their low speeds limit their application in many vision tasks. Note that there is no straightforward GPU implementation of MCG, because MCG is not a parallelizable algorithm.

The numeric comparison is summarized in Table 2. The ODS Fb and Fop of DEL is 5.2% and 7.7% higher than HFS, respectively. For speed, HFS achieves 41.7fps compared with the 11.4fps of DEL. The accuracy improvement from HFS to DEL is important for many applications. Compared with EGB, DEL achieves better performance both in accuracy and speed. DEL can generate comparable results with state-ofthe-art performance, but is much faster. Thus DEL achieves a good trade-off between effectiveness and efficiency. This makes DEL suitable for many high-level vision tasks. We display some qualitative comparisons in Figure 6. We can see that DEL can adapt to complex scenarios and produce more accurate and regular segmented regions.

Table 3: The evaluation results on PASCAL Context dataset.

| Methods   |   Boundary - ODS |   Boundary - OIS |   Region - ODS |   Region - OIS |   Time (s) |
|-----------|------------------|------------------|----------------|----------------|------------|
| HFS       |            0.472 |            0.495 |          0.223 |          0.231 |      0.026 |
| EGB       |            0.432 |            0.454 |          0.198 |          0.203 |      0.116 |
| SLIC      |            0.359 |            0.409 |          0.149 |          0.160 |      0.099 |
| GPU-SLIC  |            0.322 |            0.340 |          0.133 |          0.157 |      0.010 |
| MShift    |            0.397 |            0.406 |          0.204 |          0.214 |       5.32 |
| NCuts     |            0.380 |            0.429 |          0.219 |          0.285 |       33.4 |
| MCG       |            0.554 |            0.609 |          0.356 |          0.419 |      17.05 |
| DEL       |            0.563 |            0.623 |          0.349 |          0.420 |      0.108 |
| DEL-C     |            0.570 |            0.631 |          0.359 |          0.429 |      0.193 |

## 3.3 Evaluation on PASCAL Context Dataset

PASCAL Context dataset [Mottaghi et al., 2014] contains 540 categories for semantic segmentation. Due to the pixel-wise labeling of the whole image, it can be used to evaluate image segmentation methods. The semantic labeling is converted to ground truth segmentation regions by connectivity labeling. We train our model on the trainval set and test on the test set. Since there are more test images, this dataset is more challenging than BSDS500.

We summarize the evaluation results in Figure 4. DEL and DEL-C achieve better performance than MCG. Moreover, DEL is about 160 times faster than MCG. One can see that DEL has a good trade-off between accuracy and runtime. We list numeric results in Table 3. DEL is 9.1% and 12.6% higher than HFS on boundary metric and region metric, respectively. This indicates that our learned deep features are more effective than the hand-crafted features used in HFS. Thus this work is a good start to adopt deep features for generic image segmentation.

## 3.4 Object Proposal Generation

Object proposal generation is necessary for a series of midlevel and high-level vision tasks such as object detection [Girshick, 2015] and instance semantic segmentation [Arnab and Torr, 2017]. Many proposal generation algorithms have been presented, and a considerable portion of these methods are based on image segmentation. To evaluate our proposed DEL in practical applications, we apply it to object proposal generation. MTSE [Chen et al., 2015b] uses the segmented regions of EGB to refine the locations of existing proposals generated by other proposal generation methods. As shown in [Chen et al., 2015b], the BING algorithm [Cheng et al., 2014] has the most significant improvement in performance when MTSE is used as a post-processing step. Thus we replace EGB in MTSE with our DEL to refine the bounding boxes produced by BING. We show the detection recall with IoU overlap 0.7 versus the number of proposals in Figure 5. One can see that MTSE has significant improvement with our DEL segmentation. More experiments of applications are out of scope of this paper, but the proposal evaluation demonstrates the effectiveness of DEL in practical applications.

Figure 5: The evaluation of object proposals on PASCAL VOC2007 dataset.

![Image](https://ijcai.org/proceedings/2018/fulltext/120/image_000006_56788ca84d2b7879ef0c4dece93d35b3d6126de99ec13031306cd28f09493745.png)

Figure 6: Some qualitative comparisons. The first column displays original images fromBSDS500 dataset. The last four columns show the results generated by EGB, HFS, MCG, and our DEL method, respectively.

![Image](https://ijcai.org/proceedings/2018/fulltext/120/image_000007_34efb244f5421770522311dd92339890a13d0bb3eacefde8be282407a8ce4edc.png)

## 4 Conclusion

In this paper, we propose a deep learning based image segmentation algorithm. Specifically, We first use the fast SLIC algorithm to generate superpixels of an input image. Then, the deep embedding feature space that encodes high-level and low-level representation of each superpixel is learned. We propose a similarity metric to convert the learned embedding vector to a similarity value. A simple superpixel merging is performed to obtain perceptual regions according to the similarity values. Our proposed DEL method achieves a good trade-off between efficiency and effectiveness. It makes DEL have the potential to be applied to many vision tasks. Applying DEL to object proposal generation, the quality of generated proposals is significantly improved. In the future, we plan to explore DEL in other applications such as [Pont-Tuset et al., 2017; Wang et al., 2011; Juneja et al., 2013].

## Acknowledgments

This research was supported by NSFC (NO. 61620106008, 61572264), Huawei Innovation Research Program, and Fundamental Research Funds for the Central Universities.

## References

1. [Achanta et al., 2012] Radhakrishna Achanta, Appu Shaji, Kevin Smith, Aurelien Lucchi, Pascal Fua, and Sabine Süsstrunk. SLIC superpixels compared to state-of-the- art superpixel methods. IEEE TPAMI, 34(11):2274-2282, 2012.
2. [Arbeláez et al., 2011] Pablo Arbeláez, Michael Maire, Charless Fowlkes, and Jitendra Malik. Contour detec- tion and hierarchical image segmentation. IEEE TPAMI, 33(5):898-916, 2011.
3. [Arnab and Torr, 2017] Anurag Arnab and Philip HS Torr. Pixelwise instance segmentation with a dynamically in- stantiated network. In IEEE CVPR, pages 441-450, 2017.
4. [Chen et al., 2015a] Liang-Chieh Chen, George Papandreou, Iasonas Kokkinos, Kevin Murphy, and Alan L Yuille. Se- mantic image segmentation with deep convolutional nets and fully connected CRFs. In ICLR, 2015.
5. [Chen et al., 2015b] Xiaozhi Chen, Huimin Ma, Xiang Wang, and Zhichen Zhao. Improving object proposals with multi-thresholding straddling expansion. In IEEE CVPR, pages 2587-2595, 2015.
6. [Cheng et al., 2014] Ming-Ming Cheng, Ziming Zhang, Wen-Yan Lin, and Philip Torr. BING: Binarized normed gradients for objectness estimation at 300fps. In IEEE CVPR, pages 3286-3293, 2014.
7. [Cheng et al., 2016] Ming-Ming Cheng, Yun Liu, Qibin Hou, Jiawang Bian, Philip Torr, Shi-Min Hu, and Zhuowen Tu. HFS: Hierarchical feature selection for ef- ficient image segmentation. In ECCV, pages 867-882. Springer, 2016.
8. [Comaniciu and Meer, 2002] Dorin Comaniciu and Peter Meer. Mean Shift: A robust approach toward feature space analysis. IEEE TPAMI, 24(5):603-619, 2002.
9. [Cour et al., 2005] Timothee Cour, Florence Benezit, and Jianbo Shi. Spectral segmentation with multiscale graph decomposition. In IEEE CVPR, volume 2, pages 1124- 1131. IEEE, 2005.
10. [Everingham et al., 2007] M. Everingham, L. Van Gool, C. K. I. Williams, J. Winn, and A. Zisserman. The PAS- CAL Visual Object Classes Challenge 2007 (VOC2007) Results, 2007.
11. [Farabet et al., 2013] Clement Farabet, Camille Couprie, Laurent Najman, and Yann LeCun. Learning hierarchi- cal features for scene labeling. IEEE TPAMI, 35(8):1915- 1929, 2013.
12. [Felzenszwalb and Huttenlocher, 2004] Pedro F Felzen- szwalb and Daniel P Huttenlocher. Efficient graph-based image segmentation. IJCV, 59(2):167-181, 2004.
13. [Girshick, 2015] Ross Girshick. Fast R-CNN. In IEEE ICCV, pages 1440-1448, 2015.
14. [Hariharan et al., 2011] Bharath Hariharan, Pablo Arbeláez, Lubomir Bourdev, Subhransu Maji, and Jitendra Malik. Semantic contours from inverse detectors. In IEEE ICCV, pages 991-998. IEEE, 2011.
15. [Juneja et al., 2013] Mayank Juneja, Andrea Vedaldi, CV Jawahar, and Andrew Zisserman. Blocks that shout: Distinctive parts for scene classification. In CVPR, pages 923-930, 2013.
16. [Liu et al., 2016] Wei Liu, Andrew Rabinovich, and Alexan- der C Berg. ParseNet: Looking wider to see better. In ICLR, 2016.
17. [Liu et al., 2017] Yun Liu, Ming-Ming Cheng, Xiaowei Hu, Kai Wang, and Xiang Bai. Richer convolutional features for edge detection. In IEEE CVPR, pages 3000-3009. IEEE, 2017.
18. [Liu et al., 2018] Yun Liu, Ming-Ming Cheng, JiaWang Bian, Le Zhang, Peng-Tao Jiang, and Yang Cao. Seman- tic edge detection with diverse deep supervision. arXiv preprint arXiv:1804.02864, 2018.
19. [Mottaghi et al., 2014] Roozbeh Mottaghi, Xianjie Chen, Xiaobai Liu, Nam-Gyu Cho, Seong-Whan Lee, Sanja Fi- dler, Raquel Urtasun, and Alan Yuille. The role of context for object detection and semantic segmentation in the wild. In IEEE CVPR, pages 891-898, 2014.
20. [Pont-Tuset and Marques, 2016] Jordi Pont-Tuset and Fer- ran Marques. Supervised evaluation of image segmen- tation and object proposal techniques. IEEE TPAMI, 38(7):1465-1478, 2016.
21. [Pont-Tuset et al., 2017] Jordi Pont-Tuset, Pablo Arbeláez, Jonathan T Barron, Ferran Marques, and Jitendra Ma- lik. Multiscale combinatorial grouping for image seg- mentation and object proposal generation. IEEE TPAMI, 39(1):128-140, 2017.
22. [Ren and Shakhnarovich, 2013] Zhile Ren and Gregory Shakhnarovich. Image segmentation by cascaded region agglomeration. In IEEE CVPR, pages 2011-2018, 2013.
23. [Ren et al., 2015] Carl Yuheng Ren, Victor Adrian Prisacariu, and Ian D Reid. gSLICr: SLIC super- pixels at over 250hz. arXiv preprint arXiv:1509.04232, 2015.
24. [Shi and Malik, 2000] Jianbo Shi and Jitendra Malik. Nor- malized cuts and image segmentation. IEEE TPAMI, 22(8):888-905, 2000.
25. [Simonyan and Zisserman, 2014] K. Simonyan and A. Zis- serman. Very deep convolutional networks for large-scale image recognition. CoRR, abs/1409.1556, 2014.
26. [Wang et al., 2011] Shu Wang, Huchuan Lu, Fan Yang, and Ming-Hsuan Yang. Superpixel tracking. In IEEE ICCV, pages 1323-1330. IEEE, 2011.
27. [Zhang et al., 2017] Ziming Zhang, Yun Liu, Xi Chen, Yan- jun Zhu, Ming-Ming Cheng, Venkatesh Saligrama, and Philip HS Torr. Sequential optimization for efficient high- quality object proposal generation. IEEE TPAMI, 2017.
