# Can the size of a pooling layer be learned?

As far as I understood it, the pooling layer doesn't learn anything. It has several parameters, most important its pool_size and stride (see Lasagne documentation for more), but none of those is learned.

Is it possible to learn these two (or one of those) parameters? Are there papers about it?

(I would guess that it is not possible to add this to the objective function in a meaningful way... but I'd like to see if people thought about it.)

• The fundamental issue with this is that changing the pool_size affects the dimensionality of the output from that layer. Therefore weights learned above that layer would have to be either re-initialized to be of the same dimension, or up/downsampled to match its size. Nov 16 '15 at 14:14