Computationally efficient decoupled momentum optimization algorithm for medical imaging models