\input{figures/figure-theme.tex}
\begin{center}
\begin{tikzpicture}[aml figure,scale=0.45]
\amlfigurepalette


%-----small lr
\begin{scope}[xshift=0cm]
 \foreach \a/\y in {0.5/0, 1/0.08, 1.6/0.15, 2.4/0.3, 3/0.34, 4/0.5, 5/0.7}{
\draw[FigureLine,rotate=25,line width=0.7pt] (0,\y) ellipse ({\a} and {\a*0.5});
}

\coordinate (n1) at (-4.4,-2);
\coordinate (n2) at (-4,-1.5);
\coordinate (n3) at (-3.4,-1.8);
\coordinate (n4) at (-3.3,-1.4);
\coordinate (n5) at (-2.8,-1.6);
\coordinate (n6) at (-2.7,-1.3);
\coordinate (n7) at (-2.3,-1.4);
\coordinate (n8) at (-2.2,-1.12);
\coordinate (n9) at (-1.85,-1.25);
\coordinate (n10) at (-1.65,-1.04);
\coordinate (n11) at (-1.25,-1.05);

\foreach \i in {1,...,10}{
\draw[-stealth,FigureGold,line width=0.75pt] ([xshift=0.06em]n\i) -- (n\the\numexpr\i+1\relax);
}

\draw[color=FigureInk,fill=FigureInk,rotate=25] (0,0) ellipse (0.1 and 0.05);
\node[anchor=center] (l1) at (-0.5,-4){(a) 学习率过小};
\end{scope}

%-----large lr
\begin{scope}[xshift=10.5cm]
  \foreach \a/\y in {0.5/0, 1/0.08, 1.6/0.15, 2.4/0.3, 3/0.34, 4/0.5, 5/0.7}{
\draw[FigureLine,rotate=25,line width=0.7pt] (0,\y) ellipse ({\a} and {\a*0.5});
}

\coordinate (n1) at (-4.4,-2);
\coordinate (n2) at (-3,0.1);
\coordinate (n3) at (-1.5,-1.6);
\coordinate (n4) at (-1.1,0.8);
\coordinate (n5) at (0,-1.1);
\coordinate (n6) at (-0.5,0.9);
\coordinate (n7) at (0.2,-1);
\coordinate (n8) at (-0.3,0.9);
\coordinate (n9) at (0.3,-0.9);
\coordinate (n10) at (-0.1,0.9);

\foreach \i in {1,...,9}{
\draw[-stealth,FigureCoral,line width=0.75pt] ([xshift=0.06em]n\i) -- (n\the\numexpr\i+1\relax);
}

\draw[color=FigureInk,fill=FigureInk,rotate=25] (0,0) ellipse (0.1 and 0.05);
\node[anchor=center] (l2) at (-0.5,-4){(b) 学习率过大};
\end{scope}

%-----proper lr
\begin{scope}[xshift=21cm]
  \foreach \a/\y in {0.5/0, 1/0.08, 1.6/0.15, 2.4/0.3, 3/0.34, 4/0.5, 5/0.7}{
\draw[FigureLine,rotate=25,line width=0.7pt] (0,\y) ellipse ({\a} and {\a*0.5});
}

\coordinate (n1) at (-4.4,-2);
\coordinate (n2) at (-3.6,-1);
\coordinate (n3) at (-2.4,-1.4);
\coordinate (n4) at (-2.1,-0.6);
\coordinate (n5) at (-1.4,-0.9);
\coordinate (n6) at (-1.3,-0.4);
\coordinate (n7) at (-0.92,-0.6);
\coordinate (n8) at (-0.74,-0.3);
\coordinate (n9) at (-0.46,-0.4);
\coordinate (n10) at (-0.28,-0.2);

\foreach \i in {1,...,9}{
\draw[-stealth,FigureTeal,line width=0.75pt] ([xshift=0.06em]n\i) -- (n\the\numexpr\i+1\relax);
}

\draw[color=FigureInk,fill=FigureInk,rotate=25] (0,0) ellipse (0.1 and 0.05);
\node[anchor=center] (l3) at (-0.5,-4){(c) 学习率合适};
\end{scope}

\end{tikzpicture}
\end{center}
