Global average pooling : Keep the channel and drop the space line

Global average pooling An average of all spatial locations for each passageway, with [batch, channel, high, wide] transformed into [batch, channel] or a single case of a space axis retained.

Thematic shorts • IntroductionCollate in 2 self-measured2 First-hand sources
Start Body
Learning objectives and first steps2 objectives 2 first fixes

Try to do it after reading

  • Hand-held average channel space
  • Find out if global pool can do the location

Suggested first

  • Thrust and Matrix Operations
  • Basic neural network

Each channel is pressurized to a number

Global average pooling An average of all spatial locations for each passageway, with [batch, channel, high, wide] transformed into [batch, channel] or a single case of a space axis retained. It does not mix corridors or learn different weights for each space location. The structure is simpler than the full-scale connection, but space-ordered information is lost.

The two channels were [[1,3], [5,7] and [[0,0, [4,4], respectively, for export to [4,2]. Reorder the four elements of the first channel arbitrarily, with an average value of 4. Therefore, this vector alone cannot distinguish whether the same activation occurs to the upper left or lower right.

This aggregation may be appropriate if the classification of images is concerned only with whether a certain category of characteristics is present in general; If the task requires a box location, contour or key point, the global average does not provide sufficient positioning in itself. The output dimension cannot be fixed and all visual tasks can be connected to a pool head.

Meaning of parameters and gradients

Pooling itself usually does not have learning parameters. A gradient of 8/4 = 2 for each position of 8,2 x 2 for the upper average value of a channel. When you enter a resolution change, the gradient scale varies with the number of participating positions. sum pooling Different.

The padding area is diluted to activate if it is mixed to average. (b) The different size images are filled before the global pool, and the weighting of the effective area needs to be checked; The common average count does not necessarily know which cells come from completion. The image scaling and completion strategy should be consistent with training.

When the global pool is connected to a linear classifier, access weights may constitute active interpretations of certain categories with spatial characteristics, but such maps cannot automatically be equated with strict causal contributions. The spatial resolution, negative weights and non-linearity may affect the interpretation, and it is necessary to indicate which approximations are displayed.

Basis of this section CS231n and Network In Network Original paper, mean value [4,2] and gradient 2 is synthetic. The fixed output length facilitates and does not automatically maintain performance at input scales.

Is the global mean different from the same channel top-to-left-down active?

No, the mean value is not saved, which means it's lost the space information.

2 x 2 mean upper gradient 8 and what gradient per position?

Each position is 2, and four contributions are added to 8.

If the image has a valid area mask, the molecules should accumulate to be active and the denominator should be the number of active pixels. Samples of different image sizes are still available on a batch layer, with the average pixels being described separately from the average sample at two levels of attribution.

Sources and reconciliations

Definitions, methods and interfaces are available.

  1. CS231n — Convolutional Neural Networks
  2. Network In Network

Figures and calculations are reorganized according to this chapter. Mathematical measurements, framework operations and real business effects are described separately in the body of the text.

← Back to the knowledge directory
Ask Max Ask about this site
Ask Max ↗

Opening the assistant…

Paper figure

Photo comments

LEAVE A NOTE

About this photograph

Connecting to the discussion board…

    Comments become public after moderation. You can delete your own comments from this browser.
    No email is required. Clearing cookies prevents this browser from claiming earlier comments.

    MAX WANG / INDEX

    Find something

    Enter a keyword, or explore the directory below.