Generation of Geodesics with Actor-Critic Reinforcement Learning to Predict Midpoints (JMLR, 2026)