Command Palette
Search for a command to run...
PiCANet: Learning Pixel-wise Contextual Attention for Saliency Detection
Nian Liu; Junwei Han; Ming-Hsuan Yang

Abstract
Contexts play an important role in the saliency detection task. However, given a context region, not all contextual information is helpful for the final task. In this paper, we propose a novel pixel-wise contextual attention network, i.e., the PiCANet, to learn to selectively attend to informative context locations for each pixel. Specifically, for each pixel, it can generate an attention map in which each attention weight corresponds to the contextual relevance at each context location. An attended contextual feature can then be constructed by selectively aggregating the contextual information. We formulate the proposed PiCANet in both global and local forms to attend to global and local contexts, respectively. Both models are fully differentiable and can be embedded into CNNs for joint training. We also incorporate the proposed models with the U-Net architecture to detect salient objects. Extensive experiments show that the proposed PiCANets can consistently improve saliency detection performance. The global and local PiCANets facilitate learning global contrast and homogeneousness, respectively. As a result, our saliency model can detect salient objects more accurately and uniformly, thus performing favorably against the state-of-the-art methods.
Code Repositories
Benchmarks
| Benchmark | Methodology | Metrics |
|---|---|---|
| salient-object-detection-on-duts-te | PiCANet | MAE: 0.050 S-Measure: 0.842 max F-measure: 0.863 mean E-Measure: 0.853 mean F-Measure: 0.757 |
| salient-object-detection-on-soc | PiCANet | Average MAE: 0.133 S-Measure: 0.801 mean E-Measure: 0.810 |
Build AI with AI
From idea to launch — accelerate your AI development with free AI co-coding, out-of-the-box environment and best price of GPUs.