Provided is a memory-based reinforcement learning method and system capable of storing optional information in streaming data. A question-answering (QA) method using memory-based reinforcement learning method includes receiving, in an episodic memory reader (EMR), streaming data about an input context that is input from a user; analyzing, in the EMR, the received streaming data and storing preset semantic information used for QA in an external memory; and, in response to an input of a question from the user, determining, in a pretrained QA model, an answer to the input question based on sematic information stored in the external memory.
MEMORY-BASED REINFORCEMENT LEARNING METHOD FOR STORING OPTIONAL INFORMATION IN STREAMING DATA AND SYSTEM THEREFORE