Thompson Sampling Efficiently Learns to Control Diffusion Processes