{"pub_number":"US12373671B2","doc_number":"12373671","country":"US","kind_code":"B2","patent_type":"utility","status":"active","title":"Method and apparatus for generating Q and A model by using adversarial learning","abstract_text":"A method of generating a question-answer learning model through adversarial learning may include: sampling a latent variable based on constraints in an input passage; generating an answer based on the latent variable; generating a question based on the answer; and machine-learning the question-answer learning model using a dataset of the generated question and answer, wherein the constraints are controlled so that the latent variable is present in a data manifold while increasing a loss of the question-answer learning model.","claims":[{"number":1,"text":"A method of generating a question-answer dataset for adversarial learning of a question-answer learning model, comprising: accessing an input passage; generating a machine-readable data representation for each word in the input passage using the input passage and an encoder, the data representation comprising a pair of key and value; sampling a latent variable based on the data representation with reference to constraints using the data representation and the encoder; generating a weighted sum vector of the data representation using the latent variable, the pair of key and value and an answer decoder; generating an answer using the weighted sum vector and the answer decoder; generating a plurality of questions in different types associated to the answer using the answer and a question decoder; storing a plurality of question-answer datasets consisting of the answer and each of the plurality of questions in a memory; and correcting a decision boundary of a machine learning model by trai","independent":true},{"number":2,"text":"The method of claim 1, wherein the data representation comprises information about a meaning represented by a word, and wherein as the latent variable becomes distant from a distribution of a previously learned latent variable, a penalty is given to the latent variable.","independent":false,"depends_on":[1]},{"number":3,"text":"The method of claim 1, wherein the generating of the weighted sum vector includes: obtaining a key from the pair of key and value comprised in the data representation; obtaining a similarity between the latent variable and the key; reflecting the similarity to a value of the pair of key and value comprised in the data representation; and generating the weighted sum vector based on the value to which the similarity is reflected.","independent":false,"depends_on":[1]},{"number":4,"text":"The method of claim 1, wherein the input passage is generated by structuring infobox data extracted from data crawled from a website.","independent":false,"depends_on":[1]},{"number":5,"text":"The method of claim 1, wherein the input passage is generated by recognizing a table based on column recognition from data crawled from a website and structuring data based on a data frequency in the table.","independent":false,"depends_on":[1]},{"number":6,"text":"The method of claim 1, wherein the input passage is data for which machine translation is completed, and wherein the method further comprises evaluating a quality of the machine translation by evaluating accuracy of an answer based on the plurality of question-answer datasets.","independent":false,"depends_on":[1]},{"number":7,"text":"An apparatus of generating a question-answer dataset for adversarial learning of a question-answer learning model, comprising: one or more processors; and one or more memories in which instructions, when executed by the one or more processors, causing the one or more processors to perform an operation are stored, wherein the operation performed by the one or more processors includes: an operation of generating a machine-readable data representation for each word in an input passage using the input passage and an encoder, the data representation comprises a pair of key and value; an operation of sampling a latent variable based on the data representation with reference to constraints using the data representation and the encoder; an operation of generating a weighted sum vector of the data representation using the latent variable, the pair of key and value and an answer decoder; an operation of generating an answer using the weighted sum vector and the answer decoder; and an operation o","independent":true},{"number":8,"text":"The apparatus of claim 7, wherein the data representation comprises information about a meaning represented by a word, and wherein as the latent variable become distant from distribution of a previously learned latent variable, a penalty is given to the latent variable.","independent":false,"depends_on":[7]}],"description":"CROSS-REFERENCE TO RELATED APPLICATIONS\nThis application is a Continuation Application of U.S. application Ser. No. 16/699,443 filed Nov. 29, 2019, the disclosure of which is incorporated herein by reference in its entirety.\nBACKGROUND OF THE INVENTION\nThe present invention discloses a method and apparatus of generating a question-answer learning model through adversarial learning. More specifically, the present invention discloses a method of simultaneously generating and learning a question-answer pair that may be generated in one passage and improving performance of a question-answer model by generating and learning various data sets for which a correct answer cannot be guessed by a current question-answer learning model.\nDue to the recent development of technology, various question-answer systems using deep learning technology have been developed. Recently, a system that gives an answer appropriate for a question using a question-answer (QA) model when a user gives a question in a natural language to the system has been demonstrated. However, since such a deep learning-based QA model requires a large amount of learning data, it could not but automatically give only answers for some specific fields or topics. Furthermore, there was a problem that it takes a significant amount of time and cost to manually construct such learning data.\nIn addition, in a case of a recent question-answer learning model, performance is already significantly high because a preliminary training is performed using a language model objective or the like in a large amount of corpus. Therefore, even though more data are simply used for learning, performance of the question-answer model are not dramatically improved. Therefore, it is very important to secure new sample data in order to improve performance of machine learning.\nSUMMARY OF THE INVENTION\nAn object of the present invention is to provide a method and an apparatus of generating a question-answer generating model that simultaneously","inventors":[{"name":"Dong Hwan Kim","slug":"dong-hwan-kim","city":"Seoul","country":"KR"},{"name":"Woo Tae Jeong","slug":"woo-tae-jeong","city":"Seongnam-si","country":"KR"},{"name":"Seanie Lee","slug":"seanie-lee","city":"Seongnam-si","country":"KR"},{"name":"Gilje Seong","slug":"gilje-seong","city":"Seoul","country":"KR"}],"assignees":[{"name":"42Maru Inc.","slug":"42maru-inc","country":"KR"}],"examiners":[],"cpc_codes":["G06F 16/3329","G06F 16/3334","G06F 16/3347","G06N 20/00","G06N 3/045","G06N 3/0455","G06N 3/08","G06N 3/088","G06N 3/094"],"ipc_codes":["G06F 16/3329","G06F 16/3332","G06F 16/334","G06N 20/00","G06N 3/04","G06N 3/045","G06N 3/0455","G06N 3/08","G06N 3/088","G06N 3/094"],"filing_date":"2023-06-26","pub_date":"2025-07-29","grant_date":"2025-07-29","expiration_date":"2043-06-26","family_members":[],"citations_made":[{"pub_number":"US10152970B1","category":"applicant"},{"pub_number":"US11710046B2","category":"examiner"},{"pub_number":"US20180357240A1","category":"examiner"},{"pub_number":"US20190130221A1","category":"applicant"},{"pub_number":"US20190220977A1","category":"applicant"},{"pub_number":"US20190236139A1","category":"examiner"},{"pub_number":"US20190392304A1","category":"applicant"},{"pub_number":"US20200090049A1","category":"applicant"},{"pub_number":"US20200097554A1","category":"applicant"},{"pub_number":"US20200104357A1","category":"applicant"},{"pub_number":"US20200213354A1","category":"examiner"},{"pub_number":"US20200226475A1","category":"applicant"},{"pub_number":"US20200242444A1","category":"examiner"},{"pub_number":"US20200285939A1","category":"applicant"},{"pub_number":"US20200365166A1","category":"examiner"},{"pub_number":"US20200372369A1","category":"applicant"},{"pub_number":"US20210065066A1","category":"applicant"},{"pub_number":"US20210097372A1","category":"applicant"},{"pub_number":"US20210117842A1","category":"applicant"},{"pub_number":"US20210124999A1","category":"applicant"},{"pub_number":"US20210142181A1","category":"examiner"},{"pub_number":"US20210397797A1","category":"applicant"},{"pub_number":"US20220165417A1","category":"applicant"},{"pub_number":"US20220383985A1","category":"examiner"},{"pub_number":"KR1020190076452","category":"applicant"}],"non_patent_literature":["Su et al.,","“","Learning Visual Knowledge Memory Networks for Visual Question Answering","”","Jun. 13, 2018, arXiv: 1806.04860v1, pp. 1-10. (Year: 2018).","Gu et al.,","“","DialogWAE: Multimodal Response Generation with conditional Wasserstein Auto-Encoder","”","Feb. 26, 2019, arXiv: 1805.12352v2, pp. 1-11. (Year: 2019)."],"drawings_count":0,"source_id":"uspto_patent_grants","upstream_forward_citations":0,"metrics":{"forward_citations":0,"indexed_forward_citations":0,"backward_citations":25,"npl_citations":10,"citations_per_year":0.0,"pagerank":0.0,"citation_rank":3483716,"pagerank_rank":3483716,"velocity_rank":3483716,"family_citations":0}}