Abstract
Nonlinear least squares (NLS) problems arise in many applications. The common solvers require to compute and store the corresponding Jacobian matrix explicitly, which is too expensive for large problems. Recently, some Jacobian-free (or matrix free) methods were proposed, but most of these methods are not really Jacobian free since the full or partial Jacobian matrix still needs to be computed in some iteration steps. In this paper, we propose an effective real Jacobian free method especially for large NLS problems, which is realized by the novel combination of using automatic differentiation for \(J(\mathbf{x})\mathbf{v}\) and \(J(\mathbf{x})^T\mathbf{v}\) along with the implicit iterative preconditioning ideas. Together, they yield a new and effective three-level iterative approach. In the outer level, the dogleg/trust region method is employed to solve the NLS problem. At each iteration of the dogleg method, we adopt the iterative linear least squares (LLS) solvers, CGLS or BA-GMRES method, to solve the LLS problem generated at each step of the dogleg method as the middle iteration. In order to accelerate the convergence of the iterative LLS solver, we propose an implicit inner iteration preconditioner based on the weighted Jacobi method. Compared to the existing Jacobian-free methods, our proposed three-level method need not compute any part of the Jacobian matrix explicitly in any iteration step. Furthermore, our method does not rely on the sparsity or structure pattern of the Jacobian, gradient or Hessian matrix. In other words, our method also works well for dense Jacobian matrices. Numerical experiments show the superiority of our proposed method.






Similar content being viewed by others
References
Bellavia, S., Bertaccini, D., Morini, B.: Nonsymmetric preconditioner updates in Newton-Krylov methods for nonlinear systems. SIAM J. Sci. Comput. 33, 2595–2619 (2011)
Bellavia, S., De Simone, V., Serafino, D., Morini, B.: Efficient preconditioner updates for shifted linear systems. SIAM J. Sci. Comput. 33, 1785–1809 (2011)
Bellavia, S., Gondzio, J., Morini, B.: A matrix-free preconditioner for sparse symmetric positive definite systems and least-squares problems. SIAM J. Sci. Comput. 35, A192–A211 (2013)
Björck, A.: Numerical methods for least squares problems. SIAM, Philadelphia, PA (1996)
Bru, R., Marin, J., Mas, J., Tuma, M.: Preconditioned iterative methods for solving linear least squares problems. SIAM J Sci. Comput. 36, A2002–A2022 (2014)
Cayuga Research Associates, LLC, ADMAT-2.0 User’s Guide, Cayuga Research Associates, New York (2009)
Chen, Y., Shen, C.: A Jacobian-free Newton-GMRES(m) with adaptive preconditioners and its application for power flow calculations. IEEE Trans. Power Syst. 21, 1096–1103 (2006)
Coleman, T.F., Li, Y., Verma, A.: Reconstructing the unknown local volatility function. J. Comput. Finance 2, 77–102 (1999)
Coleman, T.F., Xu, W.: Fast (structured) Newton computations. SIAM Sci. Comput. 31, 1175–1191 (2008)
Dennis, J.E., Schnabel, R.B.: Numerical methods for unconstrained optimization and nonlinear equations. SIAM, Philadelphia, PA (1996)
Dixon, L.C.W., Price, R.C.: Truncated Newton method for sparse unconstrained optimization using automatic differentiation. J. Optim. Theory Appl. 60, 261–275 (1989)
Golub, G.H., Van Loan, C.F.: Matrix computations, 3rd edn. Johns Hopkins University Press, Baltimore, MD (1996)
Griewank, A., Walther, A.: Evaluating derivatives: principles, and techniques of algorithmic differentiation, 2nd edn. SIAM, Philadelphia, PA (2008)
Hayami, K., Yin, J.-F., Ito, T.: GMRES methods for least squares problems. SIAM J. Matrix Anal. Appl. 31, 2400–2430 (2010)
Hestenes, M.K., Stiefel, E.: Methods of conjugate gradient for solving linear systems. J. Res. Natl. Bur. Stand. 49, 409–436 (1952)
Imakura, A., Sakurai, T., Sumiyoshi, K., Matsufuru, H.: An auto-tuning technique of the weighted Jacobi-type iteration used for preconditioners of Krylov subspace methods. In: 2012 IEEE 6th international symposium on embeded multicore SoCs, pp. 183–190 (2012)
Knoll, D.A., Keyes, D.E.: Jacobian-free Newton+-Krylov methods: a survey of approaches and applications. J. Comput. Phys. 193, 357–397 (2004)
Madsen, K., Nielsen, H.B.: Introduction to optimization and data fitting, IMM, Technical University of Denmark, 2010. http://www2.imm.dtu.dk/pubdb/p.php?5938
Morales, J., Nocedal, J.: Automatic preconditioning by limited memory Quasi-Newton updating. SIAM J. Optim. 10, 1079–1096 (2000)
Morikuni, K., Hayami, K.: Inner-iteration Krylov subspace methods for least squares problems. SIAM J. Matrix Anal. Appl. 34, 1–22 (2013)
Morikuni, K., Hayami, K.: Convergence of inner-iteration GMRES methods for rank-deficient least squares problems. SIAM J. Matrix Anal. Appl. 36, 225–250 (2015)
Nash, S.G.: Preconditioning of truncated-Newton methods. SIAM J. Sci. Stat. Comput. 6, 599–616 (1985)
Pawlowski, R.P., Simonis, J.P., Walker, H.F., Shadid, J.N.: Inexact Newton dogleg methods. SIAM J. Numer. Anal. 46(4), 2112–2132 (2008)
Powell, M.J.D.: A hybrid method for nonlinear equations. In: Rabinowitz, P. (ed.) Numerical methods for nonlinear algebraic equations, pp. 87–114. Gordon and Breach, London (1970)
Saad, Y.: Iterative methods for sparse linear systems, 2nd edn. SIAM, Philadelphia (2003)
Saad, Y., Schultz, M.: GMRES: a generalized minimal residual algorithm for solving nonsymmetric linear systems. SIMA J. Sci. Stat. Comput. 7, 856–869 (1986)
Sonneveld, P., Van Gijzen, M.B.: IDR(s): a family of simple and fast algorithms for solving large nonsymmetric systems of linear equations. SIAM J. Sci. Comput. 31, 1035–1062 (2008)
Tebbens, J.D., Túma, M.: Efficient preconditioning of sequences of nonsymmetric linear systems. SIAM J. Sci. Comput. 29, 1918–1941 (2007)
Duintjer Tebbens, J., Túma, M.: Preconditioner updates for solving sequences of linear systems in matrix-free environment. Numer. Linear Algebra Appl. 17, 997–1019 (2010)
Van der Sluis, A.: Condition numbers and equilibration of matrices. Numer. Math. 14, 14–23 (1969)
www.autodiff.org (2012)
Xu, W., Chen, X., Coleman, T.F.: The efficient application of automatic differentiation for computing gradients in financial applications. J. Comput. Finance (2014)
Xu, W., Coleman, T.F., Liu, G.: A secant method for nonlinear least squares minimization. J. Comput. Optim. Appl. 51, 159–173 (2012)
Xu, W., Coleman, T.: Efficient (partial) determination of derivative matrices via automatic differentiation. SIAM J. Sci. Comput. 35, A1398–A1416 (2013)
Xu, W., Coleman, T.: Solving nonlinear equations with the Newton-Krylov method based on automatic differentiation. Optim. Methods Softw. 29, 88–101 (2014)
Xu, W., Li, W.: Efficient preconditioners for Newton-GMRES method with application to power flow study. IEEE Trans. Power Syst. 28, 4173–4180 (2013)
Acknowledgments
We would like to thank Dr. Keiichi Morikuni and Mr. Kota Sugihara for useful discussions and Prof. Thomas Coleman for valuable comments.
Author information
Authors and Affiliations
Corresponding author
Additional information
This work was supported by the Fundamental Research Funds for the Central Universities in China and the MOU Grant of the National Institute of Informatics, Japan, and the Grant-in-Aid for Scientific Research (C) of the Ministry of Education, Culture, Sports, Science and Technology, Japan.
Rights and permissions
About this article
Cite this article
Xu, W., Zheng, N. & Hayami, K. Jacobian-Free Implicit Inner-Iteration Preconditioner for Nonlinear Least Squares Problems. J Sci Comput 68, 1055–1081 (2016). https://doi.org/10.1007/s10915-016-0167-z
Received:
Revised:
Accepted:
Published:
Issue Date:
DOI: https://doi.org/10.1007/s10915-016-0167-z