sentence1: we regard candidate extraction as a latent variable and train the two-stage process jointly with reinforcement learning .
sentence2: therefore , we treat candidate extraction as a latent variable and train these two stages jointly with reinforcement learning ( rl ) .