Is it true that an additive bias term b in a linear or convolutional layer immediately followed by batch normalisation is redundant, and why?

Deep learning, Normalisation
Level L2 Elementary. Length One-liner. Nature Th Theoretical.

What's being asked

Whether you notice that mean-subtraction in batch normalisation cancels any constant per-channel shift before it.

Key idea

Yes, it is true: adding b shifts every example in the batch by b, so the batch mean μB also increases by b and (xi+b)−(μB+b)=xi−μB cancels b completely, while batch normalisation’s own β parameter already supplies the learnable shift.

Steps

  1. State yes. Batch normalisation subtracts the batch mean from each value (then divides by the standard deviation and applies a learnable scale γ and shift β). So if zi=Wxi+b, then μB(z)=μB(Wx)+b, so zi−μB(z)=Wxi−μB(Wx) and the variance is unchanged too.
  2. Note the practical consequence: modern architectures (such as ResNets) disable the bias in convolutional and linear layers right before batch norm, because batch norm’s learnable β replaces b.

Common mistakes

How long your answer should be

One or two sentences.

Read this

Previous in Deep learning: Why are bias vectors and normalisation scale/shift parameters (γ,β) usually excluded from L2 weight decay in deep neural networks?
Next in Deep learning: What are the Huber loss Lδ(r) for residual r=y^−y with threshold δ>0 and its derivative Lδ′(r)? For δ=1, what are Lδ(r) and Lδ′(r) at r=0.5 and r=4, and why does Huber loss combine the benefits of MSE and MAE?