ij) to0. Otherwise,
we compute their similarity using the following equation:
wsm
ij= exp (Dij
sm) (2)
whereDijdenotes the difference in softmax output values corresponding to the most likely object class for pixels
iandj, andsmis a smoothing parameter. Then we can
write the ﬁnal afﬁnity measure as:
wij= exp (wsm
ij)wsb
ij (3)
We exponentiate the term corresponding to the objectlevel afﬁnity because our boundary-based afﬁnity may be
too aggressive in declaring two pixels as dissimilar. To address this issue, we increase the importance of the objectlevel afﬁnity in (3) using the exponential function. However, in the experimental results section, we demonstrate
that most of the beneﬁt from modeling pairwise potentials
comes from wsb
ijrather thanwsm
ij.We then use this pairwise pixel afﬁnity measure to build
a global afﬁnity matrix Wthat encodes relationships between pixels in the entire image. For a given pixel, we
sample10% of points in the neighborhood of radius 20
around that pixel, and store the resulting afﬁnities into W.
The state-of-the-art in semantic segmentation is currently represented by
fully convolutional networks (FCNs). However, FCNs use large receptive fields
and many pooling layers, both of which cause blurring and low spatial
resolution in the deep layers. As a result FCNs tend to produce segmentations
that are poorly localized around object boundaries. Prior work has attempted to
address this issue in post-processing steps, for example using a color-based
CRF on top of the FCN predictions. However, these approaches require additional
parameters and low-level features that are difficult to tune and integrate into
the original network architecture. Additionally, most CRFs use color-based
pixel affinities, which are not well suited for semantic segmentation and lead
to spatially disjoint predictions.
  To overcome these problems, we introduce a Boundary Neural Field (BNF), which
is a global energy model integrating FCN predictions with boundary cues. The
boundary information is used to enhance semantic segment coherence and to
improve object localization. Specifically, we first show that the convolutional
filters of semantic FCNs provide good features for boundary detection. We then
employ the predicted boundaries to define pairwise potentials in our energy.
Finally, we show that our energy decomposes semantic segmentation into multiple
binary problems, which can be relaxed for efficient global optimization. We
report extensive experiments demonstrating that minimization of our global
boundary-based energy yields results superior to prior globalization methods,
both quantitatively as well as qualitatively.
Gedas Bertasius Jianbo Shi Lorenzo Torresani