Paper commentary
Enhanced-alignment Measure for Binary Foreground Map Evaluation
E-measure scores binary foreground maps by combining pixel matches with image-level statistics
- Problem Existing binary foreground map measures score each pixel position almost independently, so they miss image-level statistics. Human vision is sensitive to both global information and local details, which these measures do not capture together.
- Method E-measure subtracts each map's mean, multiplies the centered maps so that matching signs count as agreement, then averages.
- Results In the image retrieval ranking test on PASCAL-S, E-measure scored a θ of 0.247, versus 0.307 for IOU/F1/JI.
Why pixel-wise scores rank noise too high
Binary foreground maps are compared with human-labelled ground truth in tasks such as image segmentation, retrieval and salient object detection. The usual choices, IOU, F1 and the Jaccard Index, along with the newer Fbw and VQ, can rank a random Gaussian noise map above a map from a state-of-the-art model.
The F-beta measure combines precision and recall, both built from true positive, false positive and false negative counts, and β sets the balance between them. Setting β to 1 gives F1, and the Jaccard Index equals \( JI = \frac{TP}{TP+FN+FP} \). The authors argue that these count-based scores treat each pixel position almost independently and ignore image-level information.
That blind spot accounts for the poor handling of noise, structure errors and shape differences in the paper's examples.
The contour mapping (CM) measure considers both region and contour, but it is sensitive to noise. S-measure, from Fan et al., models structure through region-level similarity on a 2×2 grid and through object-level terms, but it was built for non-binary maps. Its luminance, contrast and uniform-distribution parts assume that values act as probabilities, which binary maps don't satisfy.
How centered maps become one score
The key idea is to subtract each map's mean from its pixels, then multiply the two centered maps so that agreement in sign counts as a match. Because the mean comes from the whole image, one term sees local matching and image-level statistics at once. The authors expected this to suit binary maps, whose properties are well defined, unlike the continuous assumptions behind S-measure.
For a map I, the bias matrix is \( \phi_I = I - \mu_I \cdot A \), where \( \mu_I \) is the global mean and A is a matrix of ones with the same size as I. The authors compute one bias matrix for the ground truth and one for the foreground map, and they treat the subtraction as signal centering. Removing the mean also removes intrinsic offsets and large numerical differences, so they don't dominate the comparison.
The authors also link the bias matrix to the luminance contrast term used in structural similarity work by Wang et al.
The alignment matrix multiplies the two bias matrices element by element and divides by the sum of their element-wise squares: \[ \xi_{FM} = \frac{2\,\phi_{GT} \circ \phi_{FM}}{\phi_{GT} \circ \phi_{GT} + \phi_{FM} \circ \phi_{FM}} \] Each element is positive exactly when the two maps agree in sign at that pixel, so the sign shows whether the pixel is aligned.
Because the bias matrices depend on the global means, the alignment values also carry image-level statistics.
The next step passes the alignment values through a convex mapping, the quadratic \( f(x)=\frac{1}{4}(1+x)^2 \). The authors want the mapping to damp decreases in negative regions and strengthen increases in positive ones, since making two maps more similar can push aligned values up and unaligned values down, and a raw sum doesn't reflect that.
They tried higher-order polynomials and trigonometric functions, but the quadratic gave the best results in their experiments.
The enhanced alignment matrix \( \varphi_{FM} = f(\xi_{FM}) \) is averaged over all pixels to give the score: \[ Q_{FM} = \frac{1}{w \times h}\sum_{x=1}^{w}\sum_{y=1}^{h}\varphi_{FM}(x,y) \] The paper uses ϕ for the bias matrix and φ for the enhanced alignment matrix, so the two symbols should not be confused. Because the whole map is averaged, each foreground map gets a single E-measure score.
Ranking agreement with applications and people
The authors ran ten salient object detection models, three traditional and seven deep, on PASCAL-S, ECSSD, HKU-IS and SOD. Their non-binary outputs were thresholded with an image-dependent adaptive method before evaluation. For the application test, the authors used context-based image retrieval with LIRE and CEDD, and they compared the output order against the order from ground-truth maps.
The θ measure, which is 1 minus the rank correlation ρ, gives 0 for identical orders and 2 for completely reversed orders.
Against the best prior measure, the E-measure improved application ranking by 19.65% on PASCAL, 9.08% on ECSSD, 18.42% on SOD and 9.64% on HKU. Table 2 shows the same pattern in θ: the E-measure scored 0.247 on PASCAL-S, compared to 0.307 for IOU/F1/JI. On SOD the E-measure scored 0.273, compared to 0.342 for IOU/F1/JI. The authors argue that other applications would behave similarly, but only the retrieval application was run.
For the human test, the authors built FMDatabase with 185 images and three ranked maps per image, giving 555 maps. Ten subjects ranked the maps, and only maps on which all viewers agreed were kept. On this set the E-measure scored a θ of 0.121, compared to 0.124 for IOU/F1/JI and 0.140 for S-measure. The margin over IOU/F1/JI is small, so the human result is much weaker evidence than the application result.
Noise, generic maps and switched ground truths
The SOTA vs. Random Noise test asks whether the mean score of the SOTA maps stays above the score of Gaussian random noise maps. This comparison assumes the mean is robust to one failing model, which the authors take as given. The E-measure and S-measure both had a mis-ranking rate of 0% on all four datasets, while CM's rate was 100.0% on PASCAL-S, ECSSD and HKU-IS.
The authors attribute the E-measure result to combining local pixel matching with global statistics.
In the SOTA vs. Generic Maps test, a centered circle replaces the noise, and the mis-ranking rate counts how often that generic map scores higher. On ECSSD the E-measure's rate was 0.641%, compared to 1.152% for S-measure. On SOD it was 0.571%, compared to 1.714%, and on HKU-IS it was 0.084%, compared to 0.141%. On PASCAL-S the order flips, with 3.093% for the E-measure compared to 2.353% for S-measure.
The authors attribute the PASCAL-S exception to that dataset's richer structural objects, which favors S-measure.
The Ground Truth Switch test checks whether a good map, one with an F1 of at least 0.8, scores lower when a randomly switched ground truth is used. Lower values are better here, so the E-measure's average of 0.0523% is the highest of the listed measures. It compares with 0.0014% for S-measure and 0.00515% for IOU/JI/F1. The authors describe every measure as performing well and call the E-measure's gap 0.05%.
Limitations
S-measure is slightly better on PASCAL-S, which the authors tie to that dataset's richer structural content. The application test covers only the context-based image retrieval application, and the authors assume other applications give similar results. The new dataset holds 740 maps, made up of 185 ground-truth maps and 555 human-ranked maps.
The mapping function was selected among a few forms, and the quadratic was best only in the authors' experiments. The mis-ranking tests depend on the mean score of the SOTA models being robust to a single poor model, which the authors assume. The ground truth switch test is where the E-measure's average is highest among the listed measures.
Paper info
- Authors
- Deng-Ping Fan, Cheng Gong, Yang Cao, Bo Ren, Ming-Ming Cheng, Ali Borji
- Venue
- arXiv · Preprint
- First published
- 2018-5-26
- Added
- 2026-11-12
- Updated
- 2018-7-24
- Version
- v2
- arXiv
- 1805.10421
- Category
- cs.CV
- Original paper terms
- arXiv non-exclusive 1.0
- What we show
- Paper info and commentary
AI commentary is a separate explanation from the original paper and may contain errors. The original paper and figures follow each source's terms of use and any rights noted separately.
Quote from the paper
Deng-Ping Fan, Cheng Gong, Yang Cao, Bo Ren, Ming-Ming Cheng, Ali Borji (2018). Enhanced-alignment Measure for Binary Foreground Map Evaluation. arXiv:1805.10421v2. https://arxiv.org/abs/1805.10421v2
BibTeX
@misc{fan2018enhanced,
title = {{Enhanced-alignment Measure for Binary Foreground Map Evaluation}},
author = {Deng-Ping Fan and Cheng Gong and Yang Cao and Bo Ren and Ming-Ming Cheng and Ali Borji},
year = {2018},
eprint = {1805.10421},
archivePrefix = {arXiv},
url = {https://arxiv.org/abs/1805.10421v2}
}