A guide to convolution arithmetic for deep learning. Dumoulin, V & Visin, F ArXiv e-prints, March, 2016.
A guide to convolution arithmetic for deep learning [link]Paper  bibtex   
@article{Dumoulin:2016tc,
author = {Dumoulin, V and Visin, F},
title = {{A guide to convolution arithmetic for deep learning}},
journal = {ArXiv e-prints},
year = {2016},
volume = {stat.ML},
month = mar,
annote = {good guide for computing output size in convolutional neural networks. You can check <http://deeplearning.net/software/theano_versions/dev/tutorial/conv_arithmetic.html> for some real code.

> Finally note that it is always possible to emulate a transposed convolution with a direct convolution. The disadvantage is that it usually involves adding many columns and rows of zeros to the input, resulting in a much less efficient implementation.

no idea how to emulate deconv with conv (maybe by adding zeros into the input, making it larger?). But since this is not the usual approach to deal with it, ignore it.


> One way to understand the logic behind zero padding is to consider the connectivity pattern of the transposed convolution and use it to guide the design of the equivalent convolution.

Essentially, a convolution defines a matrix $C$ of size output x input. When doing convolution, we perform efficient matrix multiplication, by focusing on nonzero elements for each output. When doing transpose convolution, we focus on nonzero elements for each input. In the case of relationship 8, it happens to be the case that nonzero elements for any input can be confined in a k by k kernel. Maybe not true in general.

Well in general, this is still true. This is due to locality of kernels. As each output only depends on few inputs, each input only depends on few spatially close outputs.

The reason we only need to consider 2D case is because we can decompose 3D convolution used in computer vision into 2D cases. Consider convolving a $D_1$ channel blob to a $D_2$ channel blob. Then we can break down the overall matrix multiplication into $D_2 \times D_1$ blocks. Such block structure is also there we doing transpose deconvolution.

> Like for convolution arithmetic, the dissertation about transposed convolution arithmetic is simplified by the fact that transposed convolution properties don{\textquoteright}t interact across axes.

this is more like talking about whether output shape, strides etc. are affect across axes. But this is different from whether we can decompose computations across channels.


From relationship 8 on, when saying "tranposed convolution described by ...", what's after "described by" is always formulated in terms of the equivalent convolution for the transpose.

Section 4.4 The intuition is that, after adding padding, each input is responsible for more output, thus making the equivalent padding smaller.

In these realtionships, if we convolve a $o'$-sized input with parameters $s, k, p$, we get the output, of size $i'$, which is the tranposed conv's input.

If we convolve a $i'$-sized input, with parameters $k', s', p'$, then we get the $o'$-sized input above.

So let's verify this on Relationship 9.

convolve on $o'$: we get output size as 

$o'' = o' + 2*p - k + 1$, and we have $o'' = i'$.

convolve on $i'$: we get output size as 

$i'' = i' + 2p' - k' + 1 = i' + 2k - 2p -1 - k = i' + k - 1 = 2p$, and we have $i''=o'$.

Relationship 9 and 11 are kind of two opposites, more (less) you pad in the input, less (more) you pad when getting back.

If I remember correctly, in these equivalent convolutions, you need to tranpose the filter.



},
keywords = {deep learning},
read = {Yes},
rating = {4},
date-added = {2017-03-06T23:33:50GMT},
date-modified = {2017-03-07T15:31:47GMT},
url = {http://arxiv.org/abs/1603.07285},
local-url = {file://localhost/Users/yimengzh/Documents/Papers3_revised/Library.papers3/Articles/2016/Dumoulin/arXiv%202016%20Dumoulin.pdf},
file = {{arXiv 2016 Dumoulin.pdf:/Users/yimengzh/Documents/Papers3_revised/Library.papers3/Articles/2016/Dumoulin/arXiv 2016 Dumoulin.pdf:application/pdf}},
uri = {\url{papers3://publication/uuid/7F3F87A1-007B-47CC-9193-6AD3D8A50879}}
}

Downloads: 0