Social Hippocampus Memory Learning

Liping Yi, Zhiming Zhao, Qinghua Hu

TL;DR

The paper introduces SoHip (Social Hippocampus Memory Learning), a novel framework for heterogeneous federated learning that replaces traditional model or representation sharing with lightweight, abstracted "memory" sharing. Inspired by the human brain's hippocampus, SoHip consolidates local short-term experiences into long-term memories and aggregates them globally, achieving up to an 8.78% accuracy improvement while intrinsically safeguarding data and model privacy.

What Problem Does This Paper Address?

Federated Learning (FL) allows multiple decentralized clients (or agents) to collaboratively train machine learning models without sharing their raw, private data. However, real-world deployments face a massive hurdle: heterogeneity. Agents often possess entirely different model architectures (model heterogeneity) and distinct, non-identically distributed local datasets (data heterogeneity).

Existing approaches to bridge this gap usually rely on sharing aligned subsets of model parameters, exchanging intermediate feature representations, or training additional auxiliary models. Unfortunately, these strategies come with heavy costs: they incur significant communication overhead, restrict model autonomy, and can inadvertently expose sensitive model behaviors or data semantics to privacy attacks.

The authors address this challenge by asking: How can highly heterogeneous agents collaborate effectively and securely without ever sharing their models, features, or raw data?

Figure 1. Memory-centric social machine learning framework.

Methods

SoHip shifts the collaboration paradigm from model sharing to memory sharing, drawing inspiration from behavioral social learning and cognitive psychology. The framework operates through four sequential modules executed at each communication round:

  1. Individual Short-Term Memory Abstraction: Each agent processes local data through its unique feature extractor. These latent representations are projected into a standardized, shared memory space via a lightweight encoder. An attention gate ($G_S$) filters out noise and redundancy, distilling recent experiences into a compact short-term memory.
  2. Hippocampus-Inspired Memory Consolidation: Mimicking how the human brain's hippocampus transfers memories, SoHip uses a gated mechanism (comprising Input $G_{in}$, Forget $G_f$, and Output $G_o$ gates) to blend the new short-term memory with historical local knowledge, updating the agent's individual long-term memory.
  3. Individual–Collective Memory Fusion: To benefit from group knowledge, the agent integrates its individual long-term memory with the collective long-term memory received from the server. A fusion gate ($G_G$) ensures the agent selectively absorbs only the globally aggregated knowledge relevant to its local context. This complete memory is decoded back into the local feature space to enhance predictions via a residual connection.
  4. Collective Memory Aggregation: On the server side, the updated individual long-term memories from all participating agents are aggregated (weighted by local data size) to form a refined collective long-term memory for the next round.
Figure 2. Overview of SoHip. SoHip operates sequentially by (1) abstracting individual short-term memory from local representations, (2) consolidating it into individual long-term memory via a hippocampus-inspired mechanism, (3) fusing it with collective long-term memory for enhanced prediction, and (4) aggregating updated individual long-term memories to form an updated collective memory.

Datasets

The authors evaluated SoHip on two widely recognized image classification benchmarks, modified to simulate extreme, pathological non-IID (non-identically distributed) data splits:

  • CIFAR-100: 100 classes, where each agent is randomly assigned data from only 10 classes.
  • Tiny-ImageNet: 200 classes, where each agent is randomly assigned data from only 20 classes.

Key Insights and Ideas

  • Decoupling via Universal Knowledge Carriers: By utilizing a dimension-reduced memory space, SoHip completely decouples the collaboration process from specific neural network architectures. Memory acts as a universal language that any model type can encode to or decode from.
  • Biological Memory Consolidation for Non-IID Data: The gated short-to-long term memory conversion allows agents to retain stable historical knowledge while safely incorporating new, potentially volatile local experiences. This prevents the "catastrophic forgetting" common in highly skewed data environments.
  • Structural Privacy by Design: Because the transmitted memory vectors are dimension-reduced, non-linear (gated), and temporally aggregated across batches, reversing them to reconstruct raw data or model parameters is mathematically ill-posed. This provides intrinsic privacy without the heavy computational tax of cryptographic methods.

Key Results

SoHip was tested against seven prominent baselines (including Standalone training, FedProto, FedMRL, and pFedES) across varying numbers of agents ($N = 100, 200, 300$).

  • Superior Accuracy: SoHip consistently outperformed all baselines. Notably, on Tiny-ImageNet ($N=100$), it achieved a 46.20% accuracy, outperforming the best competing baseline (FedMRL at 37.42%) by 8.78%. On CIFAR-100 ($N=200$), it improved accuracy by 5.56% over the best baseline.
  • Faster Convergence: As shown in the training dynamics, SoHip reaches a higher accuracy plateau significantly faster than alternative methods, maintaining its lead throughout the entire training lifecycle.
  • Hyperparameter Robustness: Performance remained stable across various choices of the memory dimension ($m$), proving that the framework does not require tedious hyperparameter fine-tuning to be effective.

Limitations and Future Work

The authors observed a mild decreasing trend in test accuracy as the agent participation rate ($C$) approaches 100%. This occurs because a higher volume of simultaneous updates introduces more heterogeneous and potentially conflicting local memories within a single round, making global consolidation more challenging.

Future work could explore advanced conflict-resolution mechanisms during server-side aggregation to better handle massive scales of concurrent agent participation.

Summary updated

BibTeX
@inproceedings{yi2026social,
  author = {Liping Yi and Zhiming Zhao and Qinghua Hu},
  title = {{Social Hippocampus Memory Learning}},
  booktitle = {International Conference on Machine Learning},
  year = {2026},
  url = {https://openreview.net/forum?id=TxHOT32Maj},
}
Figure