Questions about example/

I am reading the mass_spring example code and have some questions. I see that the actuation signal is optimized on top of sine waves. I tried to train it from scratch without sine waves, which performed much worse than the example. What is the rationale behind the sine waves? Is there any reference about this design? Thanks!