Introduction
Most contemporary chatbots are constrained by the static knowledge they were initialized with, rendering them brittle when encountering novel topics or entities. This paper introduces LiLi (Lifelong Interactive Learning and Inference), a framework designed to enable chatbots to continuously expand their knowledge bases. By interacting with users and performing "open-world" reasoning, LiLi fills knowledge gaps on the fly.
Traditional chatbots typically rely on static Knowledge Bases (KBs). While Knowledge Base Completion (KBC) is often used to predict missing links, it usually operates under a "closed-world assumption," assuming all entities and relations are already present. In real-world conversations, users frequently introduce new entities. LiLi addresses Open-World Knowledge Base Completion (OKBC), where the system must recognize its own ignorance and actively seek information to learn new concepts.
Methods and Framework
LiLi integrates Reinforcement Learning (RL) with Lifelong Learning to manage the complexity of open-world knowledge acquisition.
Interactive Dialogue Strategy
The core of LiLi is its ability to engage in targeted information-seeking dialogues. When the system encounters an unknown relation or entity, it initiates a sequence of questions to bridge the gap between its current knowledge and the user's query.
Reinforcement Learning for Action Selection
LiLi utilizes a Deep Q-Network (DQN) to determine the optimal sequence of actions. These actions are categorized into processing actions (e.g., searching the KB) and interactive actions (e.g., asking for a clue).
The framework includes several key components:
- Lifelong Prediction Model: To prevent "catastrophic forgetting," LiLi uses a lifelong learning approach. When learning a new relation, it transfers weights from similar, previously mastered relations, accelerating the learning process.
- Contextual Path-Ranking (C-PR): The system performs inference by identifying relational paths between entities. If a path is incomplete, LiLi can specifically ask the user for the missing link.
- Guessing Mechanism: In scenarios where a user cannot provide an answer, LiLi employs contextual similarity via word embeddings to make informed guesses.
Evaluation
The researchers evaluated LiLi using modified versions of the Freebase (FB15k) and WordNet benchmarks to simulate an open-world environment. Portions of these datasets were hidden to represent "unknown" knowledge, and a simulated user was employed to provide answers to the bot's queries.
Key Results
LiLi demonstrated significant performance gains over static baselines:
- Strategy Success: In complex settings, LiLi achieved a 1.0 Coverage score, indicating it successfully formulated a winning strategy for every query.
- Predictive Accuracy: On the Freebase dataset, LiLi reached an F1 score of 0.5789, outperforming models that lacked lifelong learning or interactive capabilities.
- Robustness: The system remained effective even with "unhelpful" simulated users, maintaining an F1 score of 0.57 on FB through its internal guessing mechanism.
Discussion and Insights
A pivotal concept in LiLi is Self-Realization as Reward. Unlike standard RL agents that require external scoring, LiLi generates internal rewards when a strategy leads to a verifiable inference. This internal motivation mimics human problem-solving. Furthermore, the system's Knowledge Store ensures that once a relation (e.g., "CitizenOf") is learned, it is retained for all future interactions, making the learning process truly lifelong.
Limitations and Future Work
Despite its success, LiLi currently focuses on objective facts and uses template-based natural language generation. Future iterations aim to handle subjective beliefs and integrate more fluid, natural dialogue. While the results are promising, further improvements in open-world inference accuracy are necessary for mission-critical deployment.
Summary updated