8
$\begingroup$

I was reading the U-Nets paper and there is a mention of some "overlap-tile strategy" in it that I am not quite familiar with. Here is the paragraph from the paper where it has been introduced:

Overlap-tile strategy in U-Nets

What do they mean by "only us[ing] the valid part of each convolution"? I looked this up and from what I have understood I think they mean that their convolution operations do not involve any padding. Instead of having padded-convolutons to maintain the spatial size of the feature maps, they pad the original image by mirroring the borders and forward the pre-padded image through the network, where it gets downsampled at every convolution and the final output comes out downsampled to the same spatial dimension as the original image. If this strategy really is better than padded-convolutions, why is this not being used everywhere? If not, what is it that makes it worse?

Also, what is the overlap-tile strategy? And how does it allow the "seamless segmentation of arbitrarily large images"? The Figure 2 they are referring to is this, but I am finding it difficult to see what the figure is trying to depict.

overlap-tile strategy depiction

$\endgroup$
1
  • $\begingroup$ Can this technique be used with smaller images? It seems it is usually used with satellite images (remote sensing), so I am wondering if it can be used with NOT so big images; either to accelerate training or increase accuracy. $\endgroup$
    – Aizzaac
    Commented Feb 10, 2022 at 18:26

3 Answers 3

8
$\begingroup$

On the "overlap-tile strategy" specifically:

The blue box in Fig 2 (left) shows the input to the network. Because they're using valid convolutions, the output is the smaller yellow box (right). Sounds like you understand this part already.

They're trying to show that the image that they want to predict on is bigger than the input to the network (e.g. perhaps the GPU memory is not big enough to hold the whole thing). So they have to run inference several times using different subsets of the input.

On the right side, imagine shifting the yellow box down so that the two squares are right next to each other (bottom side of original square touches top of shifted square). Do that a bunch of times to "tile" your output space. Now, you need a bigger region of the input (blue) for inference. For non-overlapping yellow boxes (in the output) you will need overlapping blue boxes (for the input).

(If its still not clear I can try drawing a picture)

$\endgroup$
1
  • $\begingroup$ That already made a lot of things clear, but a drawing would definitely help. Thank you very much! $\endgroup$
    – Wololo
    Commented Jul 3, 2020 at 3:09
1
$\begingroup$

Yeah their description is a bit confusing. I agree with your interpretation.

This paper has 15k citations, so if that strategy is effective, it's probably pretty commonly used. Otherwise, my only guess could be that other techniques in the paper were more important. I'm not familiar with biomedical computer vision research though.

$\endgroup$
2
  • $\begingroup$ Thank you very much for answering! By the way, any idea about "overlap-tile strategy"? I can't quite get me head around it. $\endgroup$
    – Wololo
    Commented Jul 2, 2020 at 17:22
  • $\begingroup$ Your description of the strategy in the question you wrote is the correct understanding, as far as I can tell. $\endgroup$ Commented Jul 2, 2020 at 17:25
0
$\begingroup$

Instead of having padded convolutions to maintain the spatial size of the feature maps, they pad the original image by mirroring the borders and forward the pre-padded image through the network

I agree with @bogovicj 's explanation.

What do they mean by "only us[ing] the valid part of each convolution"?

Based on your understanding of @bogovicj 's explanation, suppose that the 2nd patches under the 1st one within the yellow box, the 2nd one does not need mirror padding for the border between 1st and 2nd ones, just add the left padding.

the upper border of the 2nd patch is inside the 1st one, the author does not make mirror padding for the 2nd patch, and just picks the part from the 1st area. This is the 'valid part of each convolution'.

Thus, the input map is cut into several patches and belongs to the same image, the border they share is the 'valid part of each convolution' because this border is not produced by mirror padding.

$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.