# Abstract
Task-oriented dialog systems must effectively integrate conversational context with external knowledge. Traditional end-to-end models often struggle with this integration, treating dialog history an d database facts as a single, undifferentiate d memory source. This paper presents * WMM2Seq *, a novel architecture inspire d by the human working memory model. By separating episodic memory (dialog history) from semantic memory (worl d knowledge) an d utilizing a central exec utive "working memory" to coordinate retrieval, WMM2Seq achieves state-of-the-art performance. Experimental results on bAbI Dialog ue an d DSTC2 benchmarks demonstrate the model's superior ability to handle complex reasoning an d generalize to out-of-vocabulary (OOV) entities.
# Introduction
Developing effective task-oriented dialog systems—such as those use d for restaurant booking s or technical support—require s managing two distinct types of information: the immediate conversational flow an d external factual data. Most curren t models "confoun d" these sources into a share d memory structure, whic h become s increasingly noisy as the knowledge base grows. This lack of structural distinction limits the model's reasoning capabilities an d its ability to generalize to unsee n entities.
Inspire d by cognitive psychology, specific ally the Baddeley an d Hitc h working memory model, the author s propose WMM2Seq. This architecture introduc es a cognitive inductive bias by treating "what happene d" (episodic) an d "what is true" (semantic) as distinct data types, simplifying the reasoning task for the neural network.
# Methodology
The WMM2Seq architecture consists of three primary components designe d to mimic human cognitive processes:
1.
-
Separate d Long-Term Memories : The model maintains a n * Episodic Memory (E-MemN N) * for dialog history an d a * Semantic Memory (S-MemN N)* * for worl d knowledge (KB tuples). 2.
-
Perceptual Process *: Before entering episodic memory, dialog history undergoes a context-sensitive transformation using CNN s or biGRUs. This "perceptual" layer helps the model represen t tokens base d on their surroun dings, whic h is vital for processing Out-of-Vocabulary (OOV) words. 3.
-
Working Memory (WM) Decoder : Acting as a "Central Exec utive," this componen t use s a GR U-base d Attention Controller to dynami cally query both long-term memories. Activate d information is move d into a * Short-Term Storage (STS)* * system for immediate use in response generation.
The final wor d selection strategy employs a rule-base d mechanism to decide whether to generate a wor d from the standar d vocabulary or copy a n entity directly from on e of the memory mod ules.
# Experiments an d Results
The model was evaluate d on the * bAbI Dialog ue * dataset (focusing on OOV task s) an d the * DSTC2 * restaurant booking dataset.
# # Performance an d OOV Robustness
WMM2Seq consistently outperforme d previous state-of-the-art models lik e Mem2Seq an d GLM P. A key highligh t is the model's robustness in OOV scenarios. On the most complex bAbI task (Task 5) under OOV settings, WMM2Seq achieve d a per-response accuracy of 92.56%, a signific an t improvemen t over the 84.5% achieve d by Mem2Seq.
# # Entity Accuracy an d Human Evaluation
On the DSTC2 dataset, the model reache d a n Entity F1 score of approximately 80.73%. This indicate s a high profic iency in correctly identifying an d inserting restauran t names or addresses from the database into the conversation. Further more, human evaluation s rate d WMM2Seq's response s as more appro priate an d "human-lik e" than baselin e models.
# Conclusion
WMM2Seq demonstrate s that architectural separation of memory types provide s a powerful inductive bias for task-oriented dialog. By mimic king human working memory, the model achieves better reasoning an d generalizetion, partic ularly for unsee n entities. Future work will explore memory transferability across differen t domains an d the implementation of full y learnable gating mechanisms for wor d selection.
Summary updated