A rational obstruction to three-step unit conjugate-gradient termination
An exact first line search followed by two unit steps cannot guarantee that the traditional conjugate-gradient recurrence reaches the minimiser of every strictly convex quadratic in two dimensions. One quadratic with rational coefficients defeats every pair of real momentum coefficients, even if both are chosen with full knowledge of the quadratic and its minimiser. Let \(q(x)=\tfrac12 x^{\top}Ax+b^{\top}x\), where \(A\in\mathbb R^{2\times2}\) is symmetric positive definite and \(b,x_0\in\mathbb R^2\). Write \(g_k=Ax_k+b\) and \(x_*=-A^{-1}b\), so that \(g_k=0\) exactly when \(x_k=x_*\). If \(g_0\ne0\), the Cauchy step uses \(d_0=-g_0\) and \(x_1=x_0+\alpha_0d_0\), with \(\alpha_0=g_0^{\top}g_0/(g_0^{\top}Ag_0)>0\). Liu, Ni, Liu and Sun's Theorem 2.1 guarantees \(g_j=0\) for some \(j\in\{0,1,2,3\}\) for their subspace method, which uses directions of the form \(u_kg_k+v_k(x_k-x_{k-1})\) with real coefficients and scaling parameter \(\tau=1\). Their preprint asks whether the same guarantee holds with \(d_k=-g_k+\beta_kd_{k-1}\) and \(x_{k+1}=x_k+d_k\) for \(k=1,2\) whenever another step is needed. The counterexample answers that question in the negative for arbitrary real \(\beta_1,\beta_2\). Liu, Ni, Liu and Sun's preprint, Section 2.1, Remark 3 For any instance with \(g_0,g_1\ne0\), a scalar equation decides whether termination by the third step is possible. For each candidate \(\beta_1\), set \(d_1=-g_1+\beta_1d_0\), \(x_2=x_1+d_1\) and \(w=(I-A)(x_2-x_*)\), where \(I\) is the identity matrix. The last step gives \(x_3-x_*=w+\beta_2d_1\). Since the exact Cauchy step makes \(g_1\) perpendicular to \(d_0\), the direction \(d_1\) is nonzero. Varying \(\beta_2\) can cancel only the component along \(d_1\). Thus a real root of \(\det(d_1,w)=0\), with the vectors taken as columns, is necessary and sufficient for termination by the third step. At a root, \(\beta_2=-d_1^{\top}w/(d_1^{\top}d_1)\) reaches \(x_*\) if a third step is needed. If \(x_2=x_*\), then \(w=0\) and the same test records termination at the second step. The counterexample takes \(b=0\), \(A=\begin{pmatrix}2&1/2\1/2&1/2\end{pmatrix}\) and \(x_0=(2/3,-2/3)^{\top}\). The leading principal minors are \(2\) and \(3/4\), so \(A\) is positive definite. Here \(g_0=(1,0)^{\top}\), \(\alpha_0=1/2\), \(x_1=(1/6,-2/3)^{\top}\) and \(g_1=(0,-1/4)^{\top}\). For \(t=-\beta_1\), the next direction and iterate are \(d_1=(t,1/4)^{\top}\) and \(x_2=(1/6+t,-5/12)^{\top}\). In particular, \(x_0,x_1,x_2\) all differ from \(x_*=0\). With \(w=(1/24-t,-7/24-t/2)^{\top}\), the deciding determinant is \[\det(d_1,w)=-\frac12\left[\left(t+\frac1{24}\right)^2+\frac{11}{576}\right]<0\qquad\text{for every }t\in\mathbb R. \] The determinant is unchanged by adding \(\beta_2d_1\) to \(w\), so the third iterate also misses the minimiser for every real \(\beta_2\). The determinant polynomial has a negative discriminant and a nonzero leading coefficient, so the obstruction persists under sufficiently small perturbations of the quadratic and starting point within the stated class. Liu, Ni, Liu and Sun's journal version already states the impossibility and illustrates it with a numerical Fletcher–Reeves comparison. The rational example certifies the assertion over all real coefficients for the two post-Cauchy unit steps. Journal version, Remark 3
Authors
- Zixuan He
Institutions
- University of Glasgow (GB)
Publication Details
- Journal
- Zenodo (CERN European Organization for Nuclear Research)
- Published
- 2026-12-03
- DOI
- https://doi.org/10.5281/zenodo.24766035
- Primary Topic
- Advanced Optimization Algorithms Research
- Type
- preprint