# Semantic-Statistical Prior Banks for Federated Low-Shot Learning under Non-IID Clients

*Jiaying Wu, Can Gao, Lei Shi, Jia Luo, Dongmei Wei, Feifei Yang, Pengfei Zhang, Feifei Kou, Zhaoman Zhong*

[NeurIPS page](https://neurips.cc/virtual/2026/poster/148708) · [OpenReview](https://openreview.net/forum?id=veIkEKipOB) · [Open on the map](../papers.html#p148708)

Category: [Optimization & Federated Learning](../pcat/13.md) › [Federated Heterogeneity Mitigation](../pgroup/119.md) · Type: new method · Keywords: federated learning, low-shot learning, intrusion detection, privacy-preserving statistics, class prior bank

Areas: [Safety & Security](../areas/safety.md) › Cybersecurity › Vulnerability Detection; [Continual Learning & Adaptation](../areas/continual-adaptation.md) › Catastrophic Forgetting and Unlearning › Federated Continual Adaptation; [Privacy & Federated Learning](../areas/privacy-federated.md) › Federated Privacy Methods › Federated Continual Learning

## Summary
A semantic-statistical prior bank enables federated low-shot intrusion detection by aggregating protected class-wise statistics across clients and using them for local episodic adaptation.

## Explained to a 5-year-old
In a network, computers watch for bad activity like a guard watches for thieves. Sometimes the thieves use new tricks that nobody has seen before. If each computer keeps its own secret list of what it has seen, they cannot help each other because they cannot share data. This paper makes a safe place where each computer can send a summary of what it knows without revealing the real data. All the summaries are combined into a big shared memory that everyone can look at.

## Explained to a 5-year-old, longer
In a network, computers watch for bad activity like a guard watches for thieves. Sometimes the thieves use new tricks that nobody has seen before. If each computer keeps its own secret list of what it has seen, they cannot help each other because they cannot share data. This paper makes a safe place where each computer can send a summary of what it knows without revealing the real data. All the summaries are combined into a big shared memory that everyone can look at. When a new trick appears, a computer can look at the shared memory to remember similar tricks it has seen before. It also uses the few examples it has of the new trick to learn how to spot it. The computer then builds a tiny detector that works just for that trick. By using both the shared memory and the few examples, the detector becomes good at catching rare attacks. This way, many computers can improve their security while keeping their private information safe. It helps protect networks without breaking privacy rules.

## For a technical reader
The work addresses federated low-shot intrusion detection by allowing clients to contribute statistical summaries of their class distributions without sharing raw traffic. The server aggregates these summaries into a global prior bank that can be retrieved during local episodic adaptation. Using label-phrase embeddings, relevant priors are combined with the client’s few labeled examples via a MAP shrinkage estimator, yielding adapted class distributions for lightweight per-client classifiers. This approach improves detection of rare attacks while respecting privacy constraints. The method is evaluated on two benchmark intrusion datasets, showing consistent gains especially under highly heterogeneous client data.

## Problem
Adapting intrusion detection models in federated settings to rare attacks using only a few labeled examples per client, when client data distributions are heterogeneous and raw data cannot be shared.

## Method
Clients first learn shared representations via federated training, then send protected class-wise moment statistics to the server, which builds a global prior bank. During local adaptation, label-phrase embeddings retrieve relevant priors, which are combined with scarce support statistics using a MAP shrinkage estimator in the feature space, and lightweight episode-specific classifiers are trained on each client.

## Results
The approach raises 1-shot F1 scores from 92.97 to 95.55 on CICIDS2017 and from 82.13 to 88.25 on CICDDoS2019 using ResNet1D.

## Contributions
A privacy-preserving way to share class statistics across clients, enabling low-shot adaptation via a MAP shrinkage estimator and lightweight per-client classifiers.

## Practical relevance
Enables organizations to collaboratively improve intrusion detection for rare attacks without sharing sensitive traffic data.

This page was written by language models from the title and abstract of each paper, and the answers were checked by two other models. It can be wrong: check the paper itself. [Suggest a correction](../feedback/?on=p/148708)
