Environmentally adaptive hydrogels that are capable of reconfiguration in response to external stimuli have shown great potential toward bioinspired actuation and soft robotics. Previous efforts have focused mainly on either the sophisticated design of heterogeneously structured hydrogels or the complex manipulation of external stimuli, and achieving self-regulated reversal shape deformation in homogenous hydrogels under a constant stimulus has been challenging. Here, we report the molecular design of structurally homogenous hydrogels containing simultaneously two spiropyrans that exhibit self-regulated transient deformation reversal when subjected to constant illumination. The deformation reversal mechanism originates from the molecular sequential descending-ascending charge variation of two coexisting spiropyrans upon irradiation, resulting in a macroscale volumetric contraction-expansion of the hydrogels. Hydrogel film actuators were developed to display complex temporary bidirectional shape transformations and self-regulated reversal rolling under constant illumination. Our work represents an innovative strategy for programming complex shape transformations of homogeneous hydrogels using a single constant stimulus.