A six-layer chain has local slopes 0.5, 0.25, 0.5, 0.25, 0.5 and 0.25, read from the loss end to the input. A gradient of 1 arrives at the loss end. What gradient reaches the input? Give the answer to five decimal places.
Worked solution
Start at 1. After the first layer the gradient is . After the second, . After the third, . After the fourth, . After the fifth, . After the sixth, . The shortcut groups the six slopes into three pairs of , and . Rounded to five decimal places, the input sees 0.00195. The last layer receives the full 1 and the first receives about two thousandths of it, so the first layer moves about five hundred times more slowly. This is the vanishing case of section 20.1, produced by a product of factors below one rather than by a bug.