The identification of an undermodeled transfer function from input-output data is stated as a constrained optimization problem. The constraints determine the identification procedure, the residual error and whether on average the magnitude of the frequency response is L2-overbiased, L2-underbiased or L2-unbiased, as measured by a certain weighted L2-bias integral. The L2-unbiased solutions are linear combinations of L2-overbiased and L2-underbiased solutions, which are precisely the classical least squares estimates. They can be obtained from the solution of certain eigenvalue problems.
Demoor, B., Gevers, M., & Goodwin, GC. (1994). L(2)-overbiased, L(2)-underbiased and L(2)-unbiased Estimation of Transfer-functions. Automatica, 30(5), 893-898. https://doi.org/10.1016/0005-1098(94)90179-1 (Original work published 1994)