The same given filter is reused at two different windows, and both output sums are recomputed exactly from the visible patches.
Keep the filter unchanged
Use the same pinned 2 by 2 filter at two visible windows. The filter weights are not rewritten between landings.
same 2 × 2 filter at two windows \text{same }2\times2\text{ filter at two windows} same 2 × 2 filter at two windows
Shared Filter, Same Weights The same 2x2 filter is reused at two visible windows. shared-filter demo image c1 c2 c3 c4 c5 1 0 2 0 3 0 1 0 1 0 2 0 1 0 2 0 1 0 1 0 3 0 2 0 1 same 2x2 filter c1 c2 1 0 0 1 unchanged for both windows shared filter, same weights landing visible patch same-filter arithmetic sum window 1 start (0,0) [1, 0; 0, 1] 1*1 + 0*0 + 0*0 + 1*1 2 window 2 start (0,2) [2, 0; 0, 1] 1*2 + 0*0 + 0*0 + 1*1 3 same filter weights reused; sums 2 and 3 same 2x2 filter; two exact window sums one exact shared-weight mechanic; head softmax is NAMED NOT training; NOT learning; NOT generalization NOT accuracy; NOT calibration; NOT probability truth NOT feature quality; NOT model quality; NOT learned real CNN filter
First window sum
At start (0,0), the shared filter gives 1·1 + 0·0 + 0·0 + 1·1 = 2.
1 ⋅ 1 + 0 ⋅ 0 + 0 ⋅ 0 + 1 ⋅ 1 = 2 1\cdot1 + 0\cdot0 + 0\cdot0 + 1\cdot1 = 2 1 ⋅ 1 + 0 ⋅ 0 + 0 ⋅ 0 + 1 ⋅ 1 = 2
Shared Filter, Same Weights The same 2x2 filter is reused at two visible windows. shared-filter demo image c1 c2 c3 c4 c5 1 0 2 0 3 0 1 0 1 0 2 0 1 0 2 0 1 0 1 0 3 0 2 0 1 same 2x2 filter c1 c2 1 0 0 1 unchanged for both windows shared filter, same weights landing visible patch same-filter arithmetic sum window 1 start (0,0) [1, 0; 0, 1] 1*1 + 0*0 + 0*0 + 1*1 2 window 2 start (0,2) [2, 0; 0, 1] 1*2 + 0*0 + 0*0 + 1*1 3 same filter weights reused; sums 2 and 3 same 2x2 filter; two exact window sums one exact shared-weight mechanic; head softmax is NAMED NOT training; NOT learning; NOT generalization NOT accuracy; NOT calibration; NOT probability truth NOT feature quality; NOT model quality; NOT learned real CNN filter
Second window sum
At start (0,2), the filter is still the same. The exact sum is 1·2 + 0·0 + 0·0 + 1·1 = 3.
1 ⋅ 2 + 0 ⋅ 0 + 0 ⋅ 0 + 1 ⋅ 1 = 3 1\cdot2 + 0\cdot0 + 0\cdot0 + 1\cdot1 = 3 1 ⋅ 2 + 0 ⋅ 0 + 0 ⋅ 0 + 1 ⋅ 1 = 3
Shared Filter, Same Weights The same 2x2 filter is reused at two visible windows. shared-filter demo image c1 c2 c3 c4 c5 1 0 2 0 3 0 1 0 1 0 2 0 1 0 2 0 1 0 1 0 3 0 2 0 1 same 2x2 filter c1 c2 1 0 0 1 unchanged for both windows shared filter, same weights landing visible patch same-filter arithmetic sum window 1 start (0,0) [1, 0; 0, 1] 1*1 + 0*0 + 0*0 + 1*1 2 window 2 start (0,2) [2, 0; 0, 1] 1*2 + 0*0 + 0*0 + 1*1 3 same filter weights reused; sums 2 and 3 same 2x2 filter; two exact window sums one exact shared-weight mechanic; head softmax is NAMED NOT training; NOT learning; NOT generalization NOT accuracy; NOT calibration; NOT probability truth NOT feature quality; NOT model quality; NOT learned real CNN filter
What this mechanic says
This is one exact shared-weight convolution mechanic. It is NOT training, NOT learning, NOT generalization, NOT accuracy, NOT calibration, NOT probability truth, NOT feature quality, NOT model quality, and NOT a learned real CNN filter.
same filter; recomputed exact sums 2 and 3 \text{same filter; recomputed exact sums }2\text{ and }3 same filter; recomputed exact sums 2 and 3
Shared Filter, Same Weights The same 2x2 filter is reused at two visible windows. shared-filter demo image c1 c2 c3 c4 c5 1 0 2 0 3 0 1 0 1 0 2 0 1 0 2 0 1 0 1 0 3 0 2 0 1 same 2x2 filter c1 c2 1 0 0 1 unchanged for both windows shared filter, same weights landing visible patch same-filter arithmetic sum window 1 start (0,0) [1, 0; 0, 1] 1*1 + 0*0 + 0*0 + 1*1 2 window 2 start (0,2) [2, 0; 0, 1] 1*2 + 0*0 + 0*0 + 1*1 3 same filter weights reused; sums 2 and 3 same 2x2 filter; two exact window sums one exact shared-weight mechanic; head softmax is NAMED NOT training; NOT learning; NOT generalization NOT accuracy; NOT calibration; NOT probability truth NOT feature quality; NOT model quality; NOT learned real CNN filter