Fig. 5: Visualization of neurons using minimodels.

a Left: Schematic of the minimodel structure, including conv1 and conv2 layers, activities from each conv2 channel after pooling (Wxy), and their contributions to the predicted neural activity (wc). Right: Activity of each channel and the full model output, sorted. Maximum stimuli denoted by the black bar, are the top 16 stimuli. b Maximum stimuli for an example mouse neuron with high category variance (FECV). Left: Top 16 maximum stimuli for the full model output, masked by Wxy (see “Methods”). Right: Top 8 maximum stimuli for the top 6 channels with the largest wc values and the bottom 2 channels with the smallest wc channels. The color and intensity indicates the wc value corresponding to each channel with red signifying positive weights and blue negative weights. c–e Same as (b) for other example neurons from mouse and monkey.