It is shown that data from frequency sweeps of photodiode (PD) second-order intermodulation distortion products, parameterised on the applied bias voltage and average photocurrent, enables optimisation of the in situ PD's non-linear performance by adaptively changing the bias voltage in response to system changes in optical input power and required system bandwidth.