regularization terms optimization