Socialized Learning: Making Each Other Better Through Multi-Agent Collaboration

Xinjie Yao, Yu Wang, Pengfei Zhu, Wanyu Lin, Jialu Li, Weihao Li, Qinghua Hu

In our rapidly changing world, humans do not learn in isolation; we leverage collective intelligence to culturally evolve and acquire new abilities. However, artificial intelligence models typically struggle to replicate this collaborative growth. This paper introduces Socialized Learning (SL), a novel paradigm where multi-agent systems mimic human cultural evolution to acquire new skills through collaboration, without sacrificing their original expertise.

The Problem: The Tug-of-War in AI Learning

Currently, AI models face two conflicting goals when trying to expand their knowledge base:

  1. Continual Learning (CL): An individual agent attempts to learn new tasks sequentially. Unfortunately, this often leads to "catastrophic forgetting," where acquiring new knowledge overwrites the old, causing a sharp drop in performance on original tasks.
  2. Federated Learning (FL): Multiple agents share knowledge (usually via parameter updates) to build a global model. However, these systems are highly sensitive to data heterogeneity. When agents try to learn from each other, they often fail to preserve the specialized "expert" knowledge of individual nodes, leading to a homogenized but less capable system.

The authors identify a critical gap: How can we build a system where agents learn from one another at a low communication cost, acquire a broad range of new abilities, and yet remain superior experts in their original specialized tasks?

Comparison of Continual, Federated, and Socialized Learning paradigms.

The Solution: Multi-Agent Socialized Collaboration (MASC)

To achieve Socialized Learning, the authors propose the MASC (Multi-Agent Socialized Collaboration) framework. Inspired by cognitive science and population genetics, MASC operates through two primary modules to ensure agents become "generalists" while directionally maintaining their status as "experts."

1. Collective Collaboration (CC)

In this phase, a "vanilla" student agent interacts with multiple "teacher" agents, each an expert in a different field. Through a combination of cross-entropy loss and knowledge distillation, the student absorbs this collective intelligence and evolves into a Generalist capable of handling all classes.

2. Reciprocal Altruism (RA)

To complete the learning cycle, the newly knowledgeable student "gives back" to the teachers. The teachers learn new general classes from the student while keeping their original expert parameters stable. This avoids the "dimensional collapse" often seen in Federated Learning when models are too different.

3. Energy-Based Inference

To solve the "which brain do I use?" problem, the authors employ Helmholtz Free Energy (HFE). During prediction, an agent calculates the HFE for both its "expert" head and its "generalist" head. It chooses the one with the higher energy, ensuring that if a sample belongs to its original domain, it relies on its most refined, expert knowledge.

4. Data-Driven Distillation

To avoid the high communication costs and privacy risks of sharing raw data, agents share task-specific "calibrated statistics" (mean and variance). These statistics are used to generate synthetic training samples, allowing effective knowledge transfer without exposing sensitive information.

Key Insights and Performance

The fundamental "aha moment" of MASC is that learning shouldn't be a zero-sum game. While most models trade off stability for plasticity, MASC argues for directional growth—agents should get better at everything, but they must stay the absolute best at their "major."

The framework was rigorously evaluated on partitioned versions of standard image recognition benchmarks (CIFAR-10 and CIFAR-100) designed to simulate distinct agent expertise. MASC consistently outperformed state-of-the-art CL and FL methods (like DER, iCaRL, and FedAvg):

  • Expert Retention: On CIFAR-10, while CL methods saw expert accuracy plummet to ~64% due to catastrophic forgetting, MASC maintained a staggering 93.40% expert accuracy.
  • Generalist Acquisition: MASC achieved a general class accuracy of 81.04%, significantly higher than FL methods (which hovered around 63-75%) and CL methods.
  • Overall Performance: In terms of average accuracy across all classes, MASC reached 87.22% on CIFAR-10, beating the best FL competitor (FedDecorr) by nearly 4%.

Furthermore, the authors provide a theoretical proof using information theory, demonstrating that "Sociability Information" (the mutual information shared between agents) directly reduces the Bayes error rate, mathematically justifying why this collaborative approach is superior to individual learning.

Limitations and Future Directions

While MASC presents a massive leap forward, the authors note a few areas for future exploration:

  • Dynamic Relationships: The current model assumes a relatively static teacher-student structure. Future iterations could explore dynamic relationships where agents' roles shift fluidly based on the task at hand.
  • Multi-Modality: The current study focuses on image classification. Expanding this framework to multi-modal learning (e.g., agents sharing knowledge across text, image, and sensor data) is a logical next step.
  • Massive Scalability: While tested with up to 5 agents, real-world "social" systems involve thousands of nodes. Testing the communication overhead and coordination at a massive scale remains an open challenge for the field.

Summary updated

BibTeX
@inproceedings{yao2024socialized,
  author = {Xinjie Yao and Yu Wang and Pengfei Zhu and Wanyu Lin and Jialu Li and Weihao Li and Qinghua Hu},
  title = {{Socialized Learning: Making Each Other Better Through Multi-Agent Collaboration}},
  booktitle = {International Conference on Machine Learning},
  year = {2024},
  url = {https://openreview.net/forum?id=aaeJpJw5Ur},
}
Figure