I'd like to use Mathematica to visualize the receptive field (RF) of given neuron in a given layer. I'd like to know if there is any built in functionality in version 11 to achieve this?
This paper by Torralba describes the RF and how they are computed in detail:
This is what the RF looks like for particular neurons from different layers of AlexNet:
And here's a link to Matlab code that computes receptive fields of units: http://places.csail.mit.edu/
Instead of having each neuron receive connections from all neurons in the previous layer, CNNs use a receptive field-like layout in which each neuron receives connections only from a subset of neurons in the previous (lower) layer. The receptive field of a neuron in one of the lower layers encompasses only a small area of the image, while the receptive field of a neuron in subsequent (higher) layers involves a combination of receptive fields from several (but not all) neurons in the layer before (i. e. a neuron in a higher layer "looks" at a larger portion of the image than does a neuron in a lower layer). In this way, each successive layer is capable of learning increasingly abstract features of the original image. The use of receptive fields in this fashion is thought to give CNNs an advantage in recognizing visual patterns when compared to other types of neural networks.