Abstract:To address the difficulty of preserving the target contact-phase structure in multi-gait control of quadruped robots, which may lead to insufficient conditional responsiveness, gait mixing, and discontinuous gait transitions, this paper proposes a Gait-Consistent Wasserstein Adversarial Motion Prior method, termed GC-WAMP. The proposed method represents the foot-contact topology as an inter-leg coupling matrix to characterize the synchronous and anti-synchronous relationships among legs under different gaits. The target coupling structure is further incorporated into both the conditional Wasserstein discrimination process and the trajectory-level consistency constraint, enabling policy trajectories to not only match expert motions at the distribution level but also preserve the contact-coupling structure consistent with the target gait at the individual trajectory level. Simulation and hardware experiments demonstrate that GC-WAMP effectively mitigates condition neglect and gait-mode degradation, while improving coupling preservation, postural stability, and disturbance recovery during multi-gait transitions. Ablation studies further verify the effectiveness of inter-leg coupling modeling and trajectory-level consistency constraints.