PBFT-Backed Semantic Voting for Multi-Agent Memory Pruning
Authors:
- FPT UniversityFUFPT University
- Bach DuongBDBach Duong
- Sun Asterisk Ai Researcher/ EngineerSESun Asterisk Ai Researcher/ Engineer
Open Access
- 30 July 2025
- journal article
- Published by Opast Group LLC in Advances in Machine Learning & Artificial Intelligence
- Vol. 6 (3) , 01-15
Abstract
The proliferation of multi-agent systems (MAS) in complex, dynamic environments necessitates robust and efficient mechanisms for managing shared knowledge. A critical challenge is ensuring that distributed memories remain synchronized, relevant, and free from the accumulation of outdated or inconsequential data—a process analogous to biological forgetting. This paper introduces the Co-Forgetting Protocol, a novel, comprehensive framework designed to address this challenge by enabling synchronized memory pruning in MAS. The protocol integrates three key components: (1) context-aware semantic voting, where agents utilize a lightweight DistilBERT model to assess the relevance of memory items based on their content and the current operational context; (2) multi-scale temporal decay functions, which assign diminishing importance to memories based on their age and access frequency across different time horizons; and (3) a Practical Byzantine Fault Tolerance (PBFT)-based consensus mechanism, ensuring that decisions to retain or discard memory items are agreed upon by a qualified and fault-tolerant majority of agents, even in the presence of up to f Byzantine (malicious or faulty) agents in a system of N ≥ 3f+1 agents. The protocol leverages gRPC for efficient interagent communication and Pinecone for scalable vector embedding storage and similarity search, with SQLite managing metadata. Experimental evaluations in a simulated MAS environment with four agents demonstrate the protocol’s efficacy, achieving a 52% reduction in memory footprint over 500 epochs, 88% voting accuracy in forgetting decisions against human-annotated benchmarks, a 92% PBFT consensus success rate under simulated Byzantine conditions, and an 82% cache hit rate for memory access. These results highlight the Co-Forgetting Protocol’s potential to significantly enhance the adaptability, resilience, and performance of knowledge-based systems operating in distributed AI settings. Code is available at https://github.com/DngBack/co-forget-protocol.Keywords
This publication has 7 references indexed in Scilit:
- UNLEARN Efficient Removal of Knowledge in Large Language Models2025
- HotStuff2019
- Continual lifelong learning with neural networks: A reviewNeural Networks, 2019
- Overcoming catastrophic forgetting in neural networksProceedings of the National Academy of Sciences of the United States of America, 2017
- DynamoACM SIGOPS Operating Systems Review, 2007
- FarsiteACM SIGOPS Operating Systems Review, 2002
- Multiagent Systems: A Survey from a Machine Learning PerspectiveAutonomous Robots, 2000