Group convolution : Which tunnels never meet directly

The group volume divides the input and output channels into groups, each calculated separately.

• Step by stepCollate in 2 self-measured2 First-hand sources
Start Body
Learning objectives and first steps2 objectives 2 first fixes

Try to do it after reading

  • Draws a grouping of channel connections matrix
  • Explain the need for a subsequent hybrid layer

Suggested first

  • Thrust and Matrix Operations
  • Basic neural network

Group to limit the input seen for each output

The group volume divides the input and output channels into groups, each calculated separately. groups =1 is a normal volume, groups = input channel numbers and output compatibility closes to depthwise. Group number control connection mode is not just a parameter that makes the multiplication faster.

Sets input 4 channels, output 4 channels, groups = 2, nuclear 1 x 1. The first two outputs are only for input 1 and 2, while the last two are for input 3 and 4. The weight is 4 x (4/2) = 8, while the normal 1 x 1 volume is 16. The connecting matrix is two diagonal blocks, with no weighting over group positions.

Enter the nominal channel value [1,2,10,20] for each group to produce a full weight of one in two rows, which is available [3,3,30,30]. No ordinary full access to the 33th channel will be found. This fixed example allows for an examination of the actual cluster axes and weighting layouts, without relying on large network inferences.

Multiple layers of the same group will remain isolated

Exchange of information between the two groups is still not possible if the same groups are used on successive layers and no other channels interact with each other. Extension of depth does not automatically break connection limits. Normal 1x1, rehearsing or different group designs may be used, but these should be clearly drawn and cannot simply be described as “natural integration after stacking”.

The number of passages is usually required to meet the block number division conditions. Enter 4, groups3 does not constitute a rule equality and the interface may be rejected directly. Changes to the width multiplier are made, inter alia, to check the channel and the number of groups and not to look at the output spatial dimensions alone.

Clustering can also affect regionalization and hardware utilization. The volume of the cluster is similar to that of GroupNorm, which limits the learning connection, and the latter, which defines the statistical unit as a homogenous group, which does not necessarily have to be the same or the same concept. The names are mixed to make the model image misleading.

This section draws on the PyTorch2 public group interface and the original ResNeXt paper, which is synthesized with 8, 16 and [3,3,30,30]. Arithmetic decreases due to increased group numbers should be validated with expressions and actual delays.

Four to four passages, groups2, 1x1 nuclear, how much weight?

Only 2 inputs per output, 4 x 2 = 8, regardless of bias.

Can the same cluster layer of consecutives automatically communicate with each other through all channels?

No, segregation still exists without cross-group operations, requiring a visible mix or re-allocation mechanism.

A minimum connection test is to activate only group 1 input, confirming that group 2 remains zero when it is neutral and there are no other hybrid paths. If the output is not 0, the path line, weight grouping or the existence of a faulty side road shall be checked and the calculation shall not be judged immediately for error.

Sources and reconciliations

Definitions, methods and interfaces are available.

  1. PyTorch — Conv2d
  2. Aggregated Residual Transformations for Deep Neural Networks

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.