GCNet icon indicating copy to clipboard operation
GCNet copied to clipboard

why non-local block learns a query-independent attention map in detection task

Open yaoqi-zd opened this issue 6 years ago • 7 comments
trafficstars

Hi, can you explain why non-local block learns a query-independent attention map in object detection task? Since in segmentation task, both OCNet and DANet have shown that spatial attention module (same as non-local block) can learn attention maps that concentrated on pixels with the same category as the query one, rather than query-independent.

yaoqi-zd avatar May 08 '19 12:05 yaoqi-zd

Curious too.

MendelXu avatar May 10 '19 02:05 MendelXu

Curious too. It can be sparse to query why totally independent ???

lxtGH avatar May 11 '19 10:05 lxtGH

I have the same question, and could you offer the visualization code?

PangYunsheng8 avatar May 15 '19 16:05 PangYunsheng8

Curious too. And should we replace the softmax activation with sigmoid? As implied by many works like Mask R-CNN, SE net, that not competing is better.

zhujiagang avatar May 22 '19 06:05 zhujiagang

Curious too.

Hxwinchina avatar Jun 06 '19 13:06 Hxwinchina

Sorry for the late reply. One possible explanation is that non-local block in semantics segmentation is usually inserted closed to classification layer, where the feature map is highly correlated to segmentation map. However, in the detection/instance segmentation the non-local block is inserted into backbone. We would provide semantics segmentation results in the future.

xvjiarui avatar Jul 03 '19 04:07 xvjiarui

A new work is released in Disentangled Non-Local Neural Networks.

mangoyuan avatar Jun 12 '20 04:06 mangoyuan