Probabilistic generative modeling and reinforcement learning extract the intrinsic features of animal behavior. (January 2022)