Forgetting and consolidation for incremental and cumulative knowledge acquisition systems

Fernando Martínez-Plumed, César Ferri, José Hernández-Orallo, M. José Ramírez-QuintanaarXiv 2015

Introduction

In the pursuit of artificial general intelligence, systems must possess the capability for incremental learning—the ability to continuously acquire and refine knowledge over time. A fundamental challenge in this domain is the Stability-Plasticity dilemma: an agent must be plastic enough to integrate new information while remaining stable enough to prevent the catastrophic forgetting of previously learned concepts.

Traditional AI systems often struggle with this balance, either accumulating data indefinitely (leading to computational bloat) or overwriting old knowledge with new. This paper proposes a framework inspired by human cognitive processes, specifically consolidation (the transfer of reliable information to long-term memory) and oblivion (the strategic forgetting of redundant or low-utility data).

System Architecture

The proposed architecture functions as a meta-layer atop standard inductive and deductive engines. It manages a dynamic knowledge base through several key components: a Working Space, a Knowledge Quality Analyser, and dedicated procedures for consolidation and oblivion.

The modular architecture of the lifelong learning system, highlighting the interplay between the coverage graph and memory management procedures.

The Deductive Engine validates existing rules against new problems, while the Inductive Engine generates new hypotheses when current knowledge is insufficient. The central repository for this process is the Working Space, which organizes knowledge into a structured format known as a Coverage Graph.

The Coverage Graph and MML Principle

Knowledge within the system is represented as a Directed Acyclic Graph (DAG) called a Coverage Graph. In this graph, nodes represent rules or specific examples, and directed edges signify a "coverage" relationship—for instance, a general rule covering a more specific rule or a direct example.

An example of a Coverage Graph where nodes represent rules (numbered) and edges represent coverage relations, used to calculate rule optimality.

To evaluate the quality of knowledge, the authors adapt the Minimum Message Length (MML) principle. MML serves as a Bayesian implementation of Occam's Razor, favoring the simplest model that provides the best compression of the data. By calculating metrics such as Support (the amount of information a rule explains) and Optimality (a measure of purity and utility), the system can quantitatively decide which rules are worth keeping and which are candidates for promotion or deletion.

Mechanisms of Memory: Consolidation and Oblivion

The system employs two primary cognitive-inspired loops:

  1. Consolidation: Rules that consistently demonstrate high optimality are "promoted" from the short-term working space to a consolidated knowledge base. This mimics the human transition of information into long-term memory.
  2. Oblivion (Forgetting): When the working space reaches its capacity, the system invokes an oblivion procedure. It identifies rules with the lowest Permanence—a metric derived from MML—and deletes them.

A critical innovation is the use of residual support. When a specific example is forgotten to save space, its contribution to the support of its parent rules is preserved. This allows the system to maintain high confidence in general abstractions even after the original evidence has been purged.

Experimental Evaluation and Results

The framework was tested on two domains: family relations (a standard logic programming task) and chess rule learning. In the chess domain, the system was tasked with learning legal moves for various pieces from a stream of examples.

The results highlight significant advantages of the "forgetting" approach:

  • Efficiency: The system achieved a 10x speedup in execution time by maintaining a lean working space.
  • Accuracy and Plasticity: Counter-intuitively, the system that practiced oblivion outperformed the one that kept all data. By pruning redundant rules, the system remained "plastic," allowing the inductive engine to eventually discover more optimal, general rules (such as complex knight moves) that the non-forgetting system failed to learn due to memory stagnation.
  • Stability: The number of consolidated rules eventually stabilized, indicating the system had successfully captured the underlying logic of the domain.

Conclusion

By treating forgetting as a feature rather than a failure, this framework enables AI to achieve higher levels of abstraction and efficiency. The integration of MML-based metrics with consolidation and oblivion procedures provides a robust path toward solving the stability-plasticity dilemma in lifelong learning systems.

Summary updated

Abstract

The application of cognitive mechanisms to support knowledge acquisition is, from our point of view, crucial for making the resulting models coherent, efficient, credible, easy to use and understandable. In particular, there are two characteristic features of intelligence that are essential for knowledge development: forgetting and consolidation. Both plays an important role in knowledge bases and learning systems to avoid possible information overflow and redundancy, and in order to preserve and strengthen important or frequently used rules and remove (or forget) useless ones. We present an incremental, long-life view of knowledge acquisition which tries to improve task after task by determining what to keep, what to consolidate and what to forget, overcoming The Stability-Plasticity dilemma. In order to do that, we rate rules by introducing several metrics through the first adaptation, to our knowledge, of the Minimum Message Length (MML) principle to a coverage graph, a hierarchical assessment structure which treats evidence and rules in a unified way. The metrics are not only used to forget some of the worst rules, but also to set a consolidation process to promote those selected rules to the knowledge base, which is also mirrored by a demotion system. We evaluate the framework with a series of tasks in a chess rule learning domain.
BibTeX
@misc{martinezplumed2015forgetting,
  author = {Fernando Martínez-Plumed and César Ferri and José Hernández-Orallo and M. José Ramírez-Quintana},
  title = {{Forgetting and consolidation for incremental and cumulative knowledge acquisition systems}},
  year = {2015},
  eprint = {1502.05615},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1502.05615},
}
Figure