PCEN (Per-Channel Energy Normalization) is a process that divides mel filterbank outputs by the recent magnitude of each channel and then applies root compression. It replaces the log compression used in log mel spectrograms. Wang et al. at Google proposed it in 2017 for keyword spotting, the mechanism that listens for keywords such as "OK Google" on smartphones and other devices.
In deep-learning speech recognition, the standard input is a log mel spectrogram, obtained by applying a log to mel filterbank energies. However, the original paper points out three problems with log compression.
- It diverges at 0: the logarithm of 0 is undefined, so a small value must be added or the input clipped at a floor, and there is no principled way to choose that value.
- It spends much of its range on quiet parts: it greatly magnifies differences among small, nearly uninformative values such as silence.
- Its values change with loudness: even for the same words, a speaker far from the microphone is recorded more quietly, and the entire log output shifts downward.
PCEN cancels loudness changes by dividing by the recent magnitude (automatic gain control), then narrows the value range with root compression. Its main benefit is that it becomes robust to speech spoken from far away and speech in noisy places. In addition, every computation is differentiable, so its parameters can be learned together with the acoustic model.

