A method for operating a learning device comprises the steps of: determining a query type of word tokens extracted so far in a query generation process for a document and a correct answer; determining, from among a plurality of query generation models, a specific query generation model of a different type from the determined query type as a model for generating a next word token; obtaining, from input information of the specific query generation model, a probability distribution predicted for vocabulary; and generating the probability distribution as a normalized label for the input information, and training a new query generation model by using the input information and the normalized label.
LEARNING METHOD AND DEVICE FOR UNSUPERVISED QUERY GENERATION MODEL