Based on the interference between two-photon and two-photon processes, we have studied the ultrafast modulation spectroscopy(UMS) in a four-level system. The possibility of using UMS in a four-level system to measure the energy difference with Doppler-free precision has been demonstrated.