potentialpaper

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

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

NeurIPS 2026

Edit this page

Or clone it with git

Run in a terminal:

Needs Git LFS. To push, use an API key from your profile as the password.

Or let your agent set it up

It checks and sets up everything: signing in, git, the clone, credentials and an SSH key.

TL;DR. We propose a semantic-statistical prior bank that combines protected cross-client statistics with local support data for low-shot intrusion detection under non-IID client distributions.

Abstract. Federated intrusion detection must adapt to rare attacks from only a few labeled flows per client, while client distributions are highly non-IID and raw traffic cannot be centralized. Cross-client class statistics can help estimate local class distributions from these limited samples, but standard parameter aggregation does not directly provide such information. We therefore propose a semantic-statistical prior bank that makes these statistics reusable for local low-shot adaptation. After federated representation learning, clients submit protected class-wise moment statistics through secure aggregation. The server uses these aggregated statistics to construct a global prior bank without accessing raw traffic. During local episodic adaptation, each client uses the exact class prior when available and retrieves a related prior through label-phrase embeddings otherwise. The selected prior is combined with scarce support statistics through maximum a posteriori (MAP) shrinkage in the feature space. The adapted class distributions are then used to train lightweight episode-specific classifiers on each client. Experiments on CICIDS2017 and CICDDoS2019 under 5-way 1-shot and 5-shot non-IID settings show consistent improvements over FedAvg and backbone-matched baselines, with the largest gains appearing in 1-shot and highly skewed client distributions. With ResNet1D, the proposed adaptation improves 1-shot F1 from 92.97 to 95.55 on CICIDS2017 and from 82.13 to 88.25 on CICDDoS2019.

Are you an author? Claim this paper to see who's reading it, with views and other statistics, and to write about it here.

Claim this paper
How does this paper connect to your work? Write how you built on it, compared with it or reproduced it, or add a summary, a critique or errata.
Or make it interactive:
Start writing

edit · history

DateVersionSubmitted toPDFEvidence
27 Apr 2026NeurIPS 2026submittedNeurIPS 2026Accept (poster)reviews ↓[1]PDF[1]
Missing a version?

NeurIPS 2026

Accept (poster) · 3 reviews · OpenReview

Updated 25 Nov 2026, 03:49 UTC.

Program Chairs · DecisionOpenReview ↗
Decision
Accept (poster)
Read decision
Meta-review

I'm mainly concerned by the following weakness mentioned by reviewers:

  1. Limited Methodological Novelty & Uncited Related Work Reviewers (Reviewer Y4Tg, Reviewer RrNo) point out that the core components—modeling feature distributions as Gaussians, sampling synthetic features, and training linear classifiers—are heavily borrowed from existing distribution calibration and federated feature sampling literature (e.g., Free Lunch for Few-Shot Learning [Yang et al., ICLR 2021], CCVR [Luo et al., NeurIPS 2021], FedPFT [2024]). The submission does not cite, differentiate from, or compare against these seminal works.

  2. Insufficient Baseline Comparisons The experimental validation is largely confined to comparing the proposed method against its own backbone without priors (FedAvg w/ prior vs. FedAvg w/o prior). No established federated few-shot learning algorithms (e.g., FedProto, FedProx, or federated few-shot IDS methods cited in related work) are benchmarked.

  3. Unvalidated Semantic Retrieval Module Reviewer RrNo and Reviewer Y4Tg highlight that Section 4.2 specifies semantic retrieval is only executed when an exact class prior is missing in the prior bank. However, in all evaluated experimental setups, exact priors are constructed for all target classes. Consequently, the semantic retrieval module appears to be unexercised in the reported benchmarks, leaving its actual utility unverified.

Minor issue:

  1. Lack of Detailed Privacy Accounting and Noise Sensitivity Analysis While the method employs clipping and Gaussian noise, it lacks formal differential privacy accounting (e.g., privacy budget ϵ,δ\epsilon, \delta) or empirical analysis of how varying noise levels impact detection accuracy (Reviewer Y4Tg, Reviewer AY6u).
Final justification

This paper addresses low-shot intrusion detection in federated environments by introducing a semantic-statistical prior bank and MAP-based feature adaptation. The authors provided a very strong rebuttal that resolved reviewers' concerns regarding baseline comparisons, the validation of the semantic retrieval module, and privacy sensitivity. Reviewers reached a positive consensus that the system-level integration acts as a solid Use-Inspired contribution to the field. Therefore I would recommend acceptance.

Area Chair Pdkw · Meta-reviewOpenReview ↗
Read meta-review
Meta-review

I'm mainly concerned by the following weakness mentioned by reviewers:

  1. Limited Methodological Novelty & Uncited Related Work Reviewers (Reviewer Y4Tg, Reviewer RrNo) point out that the core components—modeling feature distributions as Gaussians, sampling synthetic features, and training linear classifiers—are heavily borrowed from existing distribution calibration and federated feature sampling literature (e.g., Free Lunch for Few-Shot Learning [Yang et al., ICLR 2021], CCVR [Luo et al., NeurIPS 2021], FedPFT [2024]). The submission does not cite, differentiate from, or compare against these seminal works.

  2. Insufficient Baseline Comparisons The experimental validation is largely confined to comparing the proposed method against its own backbone without priors (FedAvg w/ prior vs. FedAvg w/o prior). No established federated few-shot learning algorithms (e.g., FedProto, FedProx, or federated few-shot IDS methods cited in related work) are benchmarked.

  3. Unvalidated Semantic Retrieval Module Reviewer RrNo and Reviewer Y4Tg highlight that Section 4.2 specifies semantic retrieval is only executed when an exact class prior is missing in the prior bank. However, in all evaluated experimental setups, exact priors are constructed for all target classes. Consequently, the semantic retrieval module appears to be unexercised in the reported benchmarks, leaving its actual utility unverified.

Minor issue:

  1. Lack of Detailed Privacy Accounting and Noise Sensitivity Analysis While the method employs clipping and Gaussian noise, it lacks formal differential privacy accounting (e.g., privacy budget ϵ,δ\epsilon, \delta) or empirical analysis of how varying noise levels impact detection accuracy (Reviewer Y4Tg, Reviewer AY6u).
Final justification

This paper addresses low-shot intrusion detection in federated environments by introducing a semantic-statistical prior bank and MAP-based feature adaptation. The authors provided a very strong rebuttal that resolved reviewers' concerns regarding baseline comparisons, the validation of the semantic retrieval module, and privacy sensitivity. Reviewers reached a positive consensus that the system-level integration acts as a solid Use-Inspired contribution to the field. Therefore I would recommend acceptance.

Reviewer AY6uOpenReview ↗
Rating
5/6
Confidence
5/5
Quality
3/4
Clarity
3/4
Significance
3/4
Originality
3/4
Contribution type
use_inspired
Ethical concerns
NO or VERY MINOR ethics concerns only
Read review
Summary

In this paper, the authors focus on federated low-shot intrusion detection under non-IID client distributions. This paper proposes a semantic-statistical prior bank, where clients participate in federated representation learning and then contribute protected class-wise feature statistics through secure aggregation. During local low-shot adaptation, each client retrieves relevant priors using label-phrase embeddings and combines them with scarce support statistics through MAP-based shrinkage. The adapted class distributions are then used to train lightweight episode-specific classifiers locally. Experiments show solid improvements over FedAvg and backbone-matched baselines.

Strengths and weaknesses

The paper addresses a significant and practical problem, namely low-shot intrusion detection in federated environments. In this case, the clients have non-IID data and rare attack samples cannot be centralized. The main strengths are listed below. S1. The motivation is clear. Standard FedAvg mainly aggregates model parameters and does not explicitly provide class-level statistics for local low-shot adaptation. The proposed prior bank is a reasonable and useful solution to this issue. S2. The MAP-based shrinkage formulation is simple, interpretable, and well matched to the low-shot setting. It clearly explains how local support statistics and global prior statistics are balanced. S3. The method is privacy-aware in design. Raw traffic, support samples, and query samples remain on local clients, while only protected class-wise statistics are used to build the global prior bank. S4. The experiments are substantial. The authors evaluate the method on two public IDS datasets, multiple backbones, 1-shot and 5-shot protocols, different non-IID settings, and training-size sensitivity analysis. The results consistently support the usefulness of prior-guided feature adaptation.

Weaknesses are shown below. W1. The method is mainly an integration of several existing ideas, including federated learning, class-wise statistical priors, semantic label embeddings, MAP shrinkage, and synthetic feature sampling. The individual components are not entirely new, but their combination is meaningful for this task. W2. Although the paper uses clipping, Gaussian noise, and secure aggregation, the privacy guarantee would be stronger if a formal privacy accountant or privacy budget were provided. W3. The semantic retrieval step depends on the quality of label phrases. More analysis of phrase sensitivity would make the method more convincing. W4. The current evaluation is based on two IDS datasets. More experiments under traffic drift or newly emerging attack categories would further strengthen the practical claim.

Questions

Q1. Please provide more details about the privacy setting, especially the noise scale, clipping threshold, and possible privacy budget. This could make the privacy claim clearer.

Q2. How sensitive is the semantic retrieval module to different label phrases? A small experiment with alternative phrases would be useful.

Limitations

It has discussed several limitations, including traffic drift, privacy accounting, and so on. But a more detailed discussion of formal privacy guarantees and online prior-bank updating would further improve the paper.

Final justification

I have evaluated this paper as a Use-Inspired contribution. I find the paper technically sound, practically relevant, and meaningful as a Use-Inspired contribution. The paper addresses a meaningful real-world problem, low-shot intrusion detection across organizations whose traffic data are heterogeneous, contain few examples of rare attacks, and cannot be directly centralized. Based on all the responses to the questions in the rebuttal, the authors have addressed my concerns and clarified the scope of the current evaluation. The current evaluation still leaves a gap between controlled client partitions and deployment across real organizations. Therefore, I maintain my recommendation of 5.

Formatting concerns

There are no major formatting or anonymity concerns. This paper is generally readable. Some figures and tables are slightly dense, but it does not affect the overall evaluation.

3 comments
Authors · RebuttalOpenReview ↗
Rebuttal

We thank the reviewer for the positive assessment and for identifying two points that require clearer evidence.

Q1. What clipping thresholds and noise scales are used, and is there a formal privacy budget?

Noise is applied before secure aggregation to each client’s first- and second-order class sums, not directly to the final mean or covariance. Each sum is clipped using thresholds C1 and C2 and then perturbed with independent zero-mean Gaussian noise with standard deviations sigma1 and sigma2. The server computes the mean and diagonal covariance from the aggregated perturbed sums. Class counts are protected by secure aggregation but are not noised.

With 10 clients, ResNet1D, and 500 prior-construction examples per class, C1 and C2 are set to the 95th percentile of client-class sum norms. The values are 12,700 and 30,800 on CICDDoS2019, and 12,800 and 24,400 on CICIDS2017. We report normalized noise using m1 = sigma1/C1 and m2 = sigma2/C2; the symmetric sweep uses m1 = m2 = m.

On CICDDoS2019 1-shot, Accuracy/F1 changes as follows:

  • m = 0: 91.7 / 91.3
  • m = 0.01: 91.2 / 90.3
  • m = 0.05: 88.8 / 88.1
  • m = 0.10: 85.2 / 84.0
  • m = 0.25: 82.8 / 81.0
  • m = 1.00: 74.0 / 70.9

The support-only F1 is 84.0 in this controlled setting. Thus, at m = 0.05 the prior-guided model remains 4.1 F1 points above support-only, whereas at m = 0.10 the gain disappears. Separate asymmetric sweeps also show that increasing either first-order or second-order noise reduces Accuracy.

This is a privacy-utility analysis, not a formal end-to-end differential-privacy guarantee. Because class counts are unnoised and repeated class-wise releases require composition, we do not claim an (epsilon, delta)-DP budget. We will report C1, C2, sigma1, and sigma2, add the noise-sensitivity results, and consistently use “privacy-aware” rather than imply formal differential privacy.

Q2. How sensitive is semantic retrieval to alternative label phrases?

The main tables use exact class priors, so phrase wording does not affect those results and the Sentence-BERT fallback is not activated. To test phrase sensitivity directly, we hide the correct prior entry and retrieve from the remaining bank on CICDDoS2019.

The results for raw attack labels, short descriptions, and paraphrased descriptions are:

  • Raw labels: 1-shot Accuracy/F1 58.5/55.7; 5-shot 63.9/62.3
  • Short descriptions: 53.6/51.4; 60.8/59.6
  • Paraphrases: 50.8/48.8; 57.1/56.3

For context, random retrieval obtains 45.3/56.3 F1 in 1-shot/5-shot, feature-space nearest-statistics obtains 71.1/75.8, and the exact-prior oracle obtains 88.3/89.4. Thus, phrase choice has a noticeable effect. Raw labels perform best among the three Sentence-BERT variants, but all remain below feature-statistical retrieval.

This behavior is understandable for CICDDoS2019: many class descriptions share almost the same sentence and differ only in the target service, such as DNS, LDAP, MSSQL, NTP, or SNMP. Sentence-BERT captures natural-language relatedness, which need not match similarity between network-traffic distributions. We will report this experiment, separate the exact-prior main setting from the missing-prior fallback, and soften the semantic-retrieval claim. Improving retrieval alignment and updating the prior bank under traffic drift remain important future directions.

We thank the reviewer again for these constructive suggestions.

Reviewer AY6u · CommentOpenReview ↗

Thanks for your response. I still have several questions. Q1. Please clarify the practical threat model and privacy setting. In particular, what information is visible to the server or potentially colluding clients, and what privacy guarantee is provided by clipping, Gaussian noise, and secure aggregation? If differential privacy is intended, please report the corresponding privacy budget. Q2. How are the non-IID client partitions constructed, and to what extent do they represent heterogeneity between real organizations? Results under temporal traffic drift or newly emerging attack categories would materially strengthen the practical claim.

Authors · CommentOpenReview ↗

Clarification on Threat Model and Non-IID Scope

We thank the reviewer for the follow-up. The key clarification is that our privacy claim concerns the prior-bank exchange introduced by this work, and our non-IID claim concerns label/prevalence heterogeneity rather than every possible organizational shift.

Q1. Practical threat model and privacy setting.

Our intended threat model is an honest-but-curious server and protocol-following clients, under the non-collusion assumption of secure aggregation. This scope is specific to prior-bank construction; the representation-learning phase follows the standard FL protocol and raw traffic remains local.

For prior construction, raw flows, local support/query sets, and each client's class presence, count, and exact moments are never revealed. Each client clips and perturbs its first- and second-order class sums before secure aggregation. The server observes only the aggregate noisy sums, aggregate class counts, and the resulting global priors. Other clients receive the global encoder and prior bank, not another client's submission. As with secure aggregation generally, we do not claim confidentiality if collusion exceeds the protocol's protection threshold; malicious-client poisoning is also outside the present threat model.

Clipping, Gaussian noise, and secure aggregation provide complementary protections: clipping bounds contribution magnitude, noise perturbs the released moments, and secure aggregation hides individual submissions. Our current mechanism is not formal end-to-end (epsilon, delta)-DP because class counts are unnoised and the multiple class-wise first/second-order releases require composition. We therefore do not report an epsilon budget. This is a scope clarification, not a change to the method.

The previous noise sweep shows that perturbation is not free: on CICDDoS2019 1-shot, F1 decreases from 91.3% at m=0 to 88.1% at m=0.05, 84.0% at m=0.1, and 70.9% at m=1.0; support-only is 84.0%. Thus, mild noise retains part of the prior benefit, whereas stronger noise removes it. We will state the threat model explicitly and use “privacy-aware” consistently.

Q2. Non-IID construction and organizational heterogeneity.

The experiments use 10 clients and three controlled partitions: (i) IID allocation; (ii) label-shard allocation, where clients receive restricted attack subsets; and (iii) class-wise Dirichlet allocation with alpha in {0.1, 0.3, 0.5, 1.0, 10}, where smaller alpha creates stronger class imbalance and more locally missing classes.

These partitions isolate the organizational heterogeneity most relevant to our question: different sites observe different attack prevalences and may have no local examples of some attack categories. They are not intended to model every source of covariate shift, such as different devices, network topologies, or collection periods. We will make this evaluated scope explicit rather than generalize the claim beyond label-distribution heterogeneity.

We also added a controlled emerging-class proxy: the exact prior entry is removed, and the client adapts from only 1 or 5 labeled support flows. On CICDDoS2019, random retrieval obtains 45.3/56.3% F1, nearest-statistics retrieval obtains 71.1/75.8%, and the exact-prior oracle obtains 88.3/89.4% in 1-/5-shot. This demonstrates operation without a stored exact prior while quantifying the remaining gap. It evaluates adaptation to a newly labeled class, not open-set discovery.

Temporal traffic drift is a distinct setting that additionally requires chronological splitting and online prior-bank maintenance. Such an experiment would broaden the present study rather than change the validity of the current label-skew evaluation; we will identify it as an important next step and avoid over-claiming temporal robustness.

We thank the reviewer again for the thoughtful follow-up and for helping us clarify the practical scope of the privacy and non-IID claims.

Reviewer RrNoOpenReview ↗
Rating
4/6
Confidence
3/5
Quality
3/4
Clarity
3/4
Significance
2/4
Originality
2/4
Contribution type
use_inspired
Ethical concerns
NO or VERY MINOR ethics concerns only
Read review
Summary

This paper studies federated low-shot intrusion detection under non-IID client distributions, where each client has only a few labeled samples for rare attack classes and raw traffic cannot be centralized. The paper proposes a semantic-statistical prior bank framework, in which clients first perform federated representation learning and submit protected class-wise feature statistics through secure aggregation. The server constructs a global prior bank without accessing raw traffic. EWach client performs semantic prior retrieval using label phrases followed by MAP-based feature adaptation to combine the retrieved prior with local support statistics. The adapted class distributions are then used to generate synthetic features and train an episode-specific linear classifier locally. Experiments on CICIDS2017 and CICDDoS2019 report consistent improvements over FedAvg across multiple backbones.

Strengths and weaknesses

Strengths

  • The paper addresses a relevant problem federated low-shot intrusion detection under non-IID clients with privacy constraints.
  • The framework integrates federated representation learning, protected statistics aggregation, semantic prior retrieval, MAP-based adaptation, and episodic classification.
  • Using global class statistics for MAP adaptation is intuitive and helps stabilize estimation in low-shot settings.
  • Experiments cover multiple datasets, backbones, and non-IID settings, with additional analyses.

weakness

1.Method

1.1 The methodological novelty is limited. The proposed framework primarily combines existing components, including federated representation learning, semantic label embeddings, MAP-based feature adaptation, and synthetic feature generation. While the integration is reasonable, the paper does not clearly articulate what fundamentally distinguishes the proposed method from prior work on distribution calibration, semantic prior selection, and federated prototype learning. Also lack of ablation study.

2.Experiments

2.1 The experimental comparison is primarily limited to FedAvg with and without the proposed prior module (Section 5.1-5.3). It would strengthen the empirical validation to include stronger federated learning baselines (e.g., FedProx, FedProto, or other federated few-shot methods) to demonstrate that the proposed framework provides advantages beyond improving a FedAvg backbone.

2.2 The contribution of the semantic retrieval module is not clearly reported. Section 4.2 specifies that semantic retrieval is only used when an exact class prior is unavailable. However, in Section 5.1, the experiments construct priors for all evaluation classes, making it unclear whether the semantic retrieval branch is actually exercised or contributes to the reported improvements.

Questions

Novelty

  • Please discuss your novelty compared to "Free Lunch for Few-shot Learning: Distribution Calibration"(ICLR21), especially on Distribution Calibration / Gaussian Prior. My understanding is that this paper uses federated prior instead of base class statics, plus a logistic classifier instead of linear classifier.
  • Please discuss your novelty of MAP Bayesian, it looks like posterior mean to me.
  • Please discuss your novelty of Semantic Prior, Federated Prior, it is not new (e.g in No Fear of Heterogeneity: Classifier Calibration for Federated Learning with Non-IID Data,nips21), also Federated Few-shot schema.

Generally the paper combines several existing techniques into a unified framework, but it remains unclear which component is essential and what fundamentally distinguishes the proposed framework from existing distribution calibration, semantic prior selection, and classifier calibration methods,etc.

Experiments

  • The proposed semantic prior retrieval appears to be not tested in the current experiments. In Section 4.2, semantic retrieval is only invoked when an exact class prior is unavailable, whereas the evaluated datasets construct priors for all classes, making it unclear whether the semantic retrieval mechanism is ever exercised or contributes to the reported performance.
  • Explain why FedAvg is chosen as the primary comparison and discuss how the proposed method relates to stronger federated baselines.
  • The ablation study is relatively limited. The current analysis primarily compares the full method with and without the prior module, making it being unclear of the individual contributions of semantic prior retrieval, MAP-based adaptation, and synthetic feature generation,etc.
Limitations

The paper discusses several important limitations, including the use of only two public datasets, the absence of formal privacy accounting, and the dependence of semantic retrieval on label phrasing. These limitations are claimed.

  • The rebuttal clearly distinguishes established components (Gaussian modeling, MAP shrinkage, semantic embeddings) from the system‑level contribution.
  • The added FedProto and CCVR‑style baselines provide controlled comparisons .
  • The rebuttal acknowledges that semantic retrieval is not activated in the main closed‑set experiments and provides a dedicated missing‑prior evaluation.
  • The added noise‑sweep experiment quantifies the utility cost of perturbation and clarifies that the mechanism is privacy‑aware rather than a formal DP guarantee. This resolves my earlier request for sensitivity analysis.
Final justification

After reading the authors’ rebuttal and the additional experiments, I have updated my assessment under the Use‑Inspired contribution type. The authors have substantially addressed my main concerns

Formatting concerns

N/A

2 comments
Authors · RebuttalOpenReview ↗
Rebuttal

We thank the reviewer for the careful assessment. We agree that the original submission did not sufficiently separate established components from our system-level contribution, and that stronger controlled baselines and component ablations are needed.

Q1. What is novel relative to Free Lunch, CCVR, MAP estimation, and prior-based federated methods?

We agree that class-wise Gaussian modeling, feature sampling, semantic embeddings, and the Gaussian posterior mean are not new in isolation. We will revise the paper to state this explicitly.

Free Lunch transfers statistics from nearby many-shot base classes to a novel class, samples features from the calibrated Gaussian, and trains a logistic-regression classifier. Our softmax linear head belongs to essentially the same classifier family, so the distinction is not “logistic versus linear,” and we do not claim classifier choice as novel.

CCVR also estimates class Gaussians from federated client statistics and samples virtual features. Its goal and execution point differ: CCVR retrains one global classifier at the server after federated training, whereas our method uses the global bank as a reusable prior and performs support-conditioned, N-way episodic adaptation locally on each client. In addition, our server receives clipped and noised class sums only through secure aggregation, rather than observing each client’s class Gaussian.

The MAP rule is the standard Gaussian shrinkage estimator. We do not claim a new Bayesian estimator. The contribution is the way this estimator is placed between a protected cross-client prior bank and the current client’s 1- or 5-shot support statistics. We will therefore reposition the novelty as: (i) protected construction of a reusable class-statistics bank under non-IID clients; (ii) client-local episodic fusion of that bank with the current support set; and (iii) explicit treatment of the missing-prior case. We will also add Free Lunch and CCVR to Related Work and temper any wording suggesting that Gaussian sampling or MAP is independently novel.

Q2. Why is FedAvg the primary comparison, and how does the method compare with stronger federated baselines?

FedAvg is used to learn the shared encoder. The original with-prior and without-prior comparison keeps the data split, backbone, communication schedule, and local optimization identical, so it isolates the post-training prior module. We agree that this controlled comparison alone is insufficient.

We therefore added protocol-matched FedProto and CCVR-style baselines using the same ResNet1D encoder and the same 600 test episodes. F1 results are reported in the order Support-only / FedProto / CCVR-style / Ours:

  • CICIDS2017 1-shot: 93.0 / 94.8 / 94.3 / 95.6
  • CICIDS2017 5-shot: 94.5 / 94.9 / 95.3 / 96.0
  • CICDDoS2019 1-shot: 82.1 / 87.2 / 86.2 / 88.3
  • CICDDoS2019 5-shot: 87.7 / 88.4 / 88.3 / 89.4

Thus, local support-conditioned adaptation improves over both prototype aggregation and server-style Gaussian calibration, with the largest margin over CCVR-style calibration on CICDDoS2019 1-shot. FedProx addresses optimization drift during representation learning, while our module addresses post-training low-shot adaptation; the two are complementary rather than substitutes. We will clarify this distinction and expand the baseline discussion.

Q3. Is semantic retrieval actually exercised, and how sensitive is it?

The reviewer is correct: the main closed-set tables contain an exact prior for every episode class, so the Sentence-BERT fallback is not activated. We will separate “exact-prior adaptation,” which produces the main results, from “missing-prior retrieval.”

We added a missing-prior experiment on CICDDoS2019 by hiding the correct bank entry. The 1-shot/5-shot F1 scores are:

  • Random: 45.3 / 56.3
  • Sentence-BERT with raw labels: 55.7 / 62.3
  • Sentence-BERT with descriptive phrases: 51.4 / 59.6
  • Sentence-BERT with paraphrases: 48.8 / 56.3
  • Nearest statistics in feature space: 71.1 / 75.8
  • Exact-prior oracle: 88.3 / 89.4

Sentence-BERT is better than random, but clearly weaker than feature-statistical matching. CICDDoS2019 contains many labels whose descriptions differ mainly by the target service, such as DNS, LDAP, MSSQL, NTP, and SNMP. These phrases are close in natural-language space, but textual similarity does not imply similarity of network-traffic means and variances. We will therefore present semantic retrieval as an optional cold-start fallback, not as the source of the main-table gains.

Q4. What are the individual contributions of the prior, MAP fusion, and synthetic features?

We added exact-prior component ablations under ResNet1D 1-shot:

  • Support-only: 82.1 F1 on CICDDoS2019; 93.0 on CICIDS2017
  • Exact global prior mean used directly: 87.1; 94.2
  • Support-conditioned MAP-updated mean: 87.3; 93.1
  • Full adapted distribution with synthetic-feature training: 88.3; 95.6

These results show that the stable global prior is the main source of improvement, while MAP fusion provides a smaller, dataset-dependent effect. Synthetic feature generation is also necessary in our current classifier pipeline: setting R = 0 reduces CICDDoS2019 1-shot F1 to 82.1, the support-only result. Increasing R from 100 to 300 and 600 improves F1 from 86.8 to 88.0 and 88.3, respectively.

We will add a dedicated ablation table, distinguish exact-prior and missing-prior settings, and revise the claims so that the essential contributions are stated accurately rather than attributed broadly to semantic retrieval or MAP alone.

We thank the reviewer again for helping us improve the positioning and empirical analysis.

Area Chair Pdkw · CommentOpenReview ↗

Dear Reviewer,

Thank you for your time and effort in reviewing for NeurIPS 2026.

As we move into the discussion phase, I noticed that you haven't yet responded to the authors' rebuttal here yet. Could you please read their response and other reviewers' comments, then share your thoughts?

Thank you again for your hard work and contribution to the conference!

Reviewer Y4TgOpenReview ↗
Rating
4/6
Confidence
2/5
Quality
3/4
Clarity
3/4
Significance
3/4
Originality
3/4
Contribution type
use_inspired
Ethical concerns
NO or VERY MINOR ethics concerns only
Read review
Summary

The paper studies low-shot intrusion detection in a federated, non-IID setting where each client holds only a few labeled flows per attack class and raw traffic cannot be centralized. After standard FedAvg representation learning, each client computes class-wise first and second order feature statistics, protects them with clipping, Gaussian noise, and secure aggregation, and the server assembles a global per-class Gaussian prior bank without seeing raw data or per-client class presence. During a local episode, the client encodes a short natural-language description of each attack label with a frozen Sentence-BERT model, retrieves the matching prior by cosine similarity, and fuses it with its scarce support statistics through a closed-form MAP shrinkage estimator in feature space. It then samples synthetic features from the adapted Gaussian, adds them to the real support features, and trains a lightweight per-episode linear classifier. Experiments on CICIDS2017 and CICDDoS2019 under 5-way 1-shot and 5-shot non-IID partitions report consistent gains over the no-prior variant across MLP, CNN1D, and ResNet1D backbones, largest in the 1-shot regime (for example ResNet1D F1 from 92.97 to 95.55 on CICIDS2017 and from 82.13 to 88.25 on CICDDoS2019).

Strengths and weaknesses

Strengths. The pipeline is clean and the writing is easy to follow. The privacy framing, sharing class-wise moments rather than raw flows with clipping, noise, and secure aggregation, is appropriate for the IDS setting. Reproducibility detail is reasonable: datasets, preprocessing, episode protocol, optimizer, backbones, and federated schedule are stated. The MAP shrinkage is presented cleanly, the per-dimension weighting has a sensible interpretation, and the L=1 case is handled explicitly. Clarity is the relative strength of the paper.

Weaknesses. My main worry is novelty. The main idea, modeling each class as a Gaussian in feature space, sampling fake features, and training a simple classifier on them, is basically the same as "Free Lunch for Few-Shot Learning" (Yang et al., ICLR 2021). In the federated case, CCVR (Luo et al., NeurIPS 2021) already samples features from a Gaussian to fix the classifier without sending raw features, and FedPFT (2024) sends class Gaussians and trains the classifier on generated features. None of these are cited or compared. After accounting for them, what is left is the IDS use case, the Sentence-BERT retrieval, and the privacy packaging, which is a fine combination but smaller than the paper suggests. On evaluation, the experiments are mostly just "with prior" versus "without prior". No real federated few-shot IDS method is compared, even though the related work cites several, so most of the gain is over their own weaker version rather than a competing method.

Questions
  1. How is this different from Free Lunch (Yang et al., ICLR 2021), CCVR (Luo et al., NeurIPS 2021), and FedPFT? Adding at least one as a baseline would help a lot. This is my main point, and a good result here would raise my Originality and Significance scores.

  2. Can you compare against a real federated few-shot IDS method, not just prior versus no prior? A win, or a clear reason it is not possible.

  3. What noise level do you use, and how does accuracy change with it? A simple accuracy versus noise plot would show whether the privacy is real or basically free

  4. Does the semantic retrieval actually help? An ablation comparing Sentence-BERT retrieval to random or nearest-statistics selection would show if it adds anything beyond the shrinkage, especially on CICDDoS2019.

Limitations

Mostly yes. The authors have a limitations section and an impact section and are honest about dataset scope, the missing privacy budget, and the reliance on label wording.

Final justification

Thank you for the detailed rebuttal. The additional FedProto and CCVR-style comparisons address my main concern regarding the lack of competitive federated baselines and provide useful evidence that the local MAP adaptation contributes beyond Gaussian feature sampling alone. The privacy-utility analysis also clarifies the practical effect of the noise mechanism, and the missing-prior ablation gives a much clearer and appropriately nuanced account of the role of semantic retrieval. Overall, the rebuttal has substantially addressed my concerns, and I have updated my assessment accordingly.

Formatting concerns

No major formatting or anonymity issues. Page length and template look fine.

2 comments
Authors · RebuttalOpenReview ↗
Rebuttal

We thank the reviewer for the careful evaluation and constructive comments. We appreciate the concerns regarding novelty, competitive baselines, privacy--utility trade-offs, and the role of semantic retrieval.

Q1. How is this different from Free Lunch, CCVR, and FedPFT?

We agree that Gaussian feature modeling, synthetic feature sampling, and linear-classifier training are established ingredients and should not be presented as isolated novelties. Free Lunch performs centralized base-to-novel distribution calibration by transferring statistics from visually similar base classes. CCVR uses class-wise Gaussian statistics to generate virtual representations and recalibrate a single global classifier at the server. FedPFT transfers per-client GMMs in one-shot FL with a fixed foundation-model encoder and trains a global classifier head from generated features.

Our contribution is instead the combination of: (i) a reusable prior bank constructed from clipped and securely aggregated cross-client moments under non-IID data; and (ii) client-local episodic MAP adaptation, which combines the global prior with the current 1- or 5-shot support statistics before training an episode-specific classifier. The MAP expression is the standard Gaussian posterior mean; we do not claim the estimator itself as novel.

We added a protocol-matched CCVR-style baseline that samples from the global class Gaussian but omits local MAP adaptation, together with FedProto. Under the same ResNet1D encoder and 600 episodes, Support-only/FedProto/CCVR-style/Ours achieve 93.0/94.8/94.3/95.6% F1 on CICIDS2017 1-shot, 94.5/94.9/95.3/96.0% on CICIDS2017 5-shot, 82.1/87.2/86.2/88.3% on CICDDoS2019 1-shot, and 87.7/88.4/88.3/89.4% on CICDDoS2019 5-shot. Thus, local MAP adaptation consistently improves over both FedProto and CCVR-style calibration, with the largest gain over CCVR-style on the harder 1-shot DDoS setting.

A full FedPFT reimplementation would require changing our multi-round learned-encoder protocol to one-shot FL with a fixed foundation encoder. We therefore discuss FedPFT as closely related work rather than report a non-faithful comparison. We will add these citations and temper wording that could imply Gaussian sampling alone is novel.

Q2. Can you compare against a real federated few-shot IDS method?

FedAvg was originally used as a controlled shared representation learner: the with-prior and without-prior variants use identical data partitions, backbones, communication rounds, and local training, so their difference isolates prior-based adaptation. We agree that this comparison alone is insufficient.

We therefore add FedProto as a protocol-matched federated few-shot baseline and the CCVR-style baseline above. Our method exceeds FedProto by 0.8/1.1 F1 points on CICIDS2017 and by 1.1/1.0 points on CICDDoS2019 under 1-/5-shot evaluation. It also exceeds CCVR-style calibration by 1.3/0.7 and 2.1/1.1 points, respectively.

The federated IDS methods cited in the paper use different class subsets, preprocessing, client partitions, and mostly non-episodic full-data evaluation. Their published numbers are therefore not directly comparable to our 5-way support--query protocol, and a faithful comparison would require reimplementing their complete training pipelines. We will make this limitation explicit rather than mix incompatible published results. FedProto and CCVR-style provide controlled federated comparisons under exactly the same encoder and episodic protocol.

Q3. What noise level is used, and how does accuracy change with it?

Following the mechanism described in the paper, noise is not added directly to the final mean or covariance. Each client first clips its first- and second-order class sums using thresholds C1 and C2, respectively, and then adds independent zero-mean Gaussian noise with standard deviations σ1 and σ2 before secure aggregation. The server computes the class mean and diagonal covariance from the aggregated perturbed sums. Class counts are protected by secure aggregation only and are not noised.

For 10 clients with ResNet1D and 500 prior-construction examples per class, C1 and C2 are set to the 95th percentile of the client-class sum norms. Their values are 12,700 and 30,800 on CICDDoS2019, and 12,800 and 24,400 on CICIDS2017. We define the normalized noise multipliers as m1 = σ1/C1 and m2 = σ2/C2. In the symmetric sweep, m1 = m2 = m.

In a separate controlled CICDDoS2019 1-shot sensitivity experiment with 500 examples per class, Accuracy/F1 changes from 91.7/91.3% at m = 0, to 91.2/90.3% at m = 0.01, 88.8/88.1% at m = 0.05, 85.2/84.0% at m = 0.1, 82.8/81.0% at m = 0.25, and 74.0/70.9% at m = 1.0. The support-only F1 in this setting is 84.0%.

Thus, perturbation has a clear utility cost: performance decreases steadily as the noise increases. Nevertheless, at m = 0.05, prior-guided adaptation remains 4.1 F1 points above support-only. At m = 0.1, this gain is eliminated.

Separate asymmetric sweeps also show the same trend. Increasing m1 while fixing m2 = 0.1 reduces Accuracy, and increasing m2 while fixing m1 = 0.1 also reduces Accuracy. Therefore, perturbing either the first- or second-order statistics affects utility.

This experiment quantifies the utility cost of the privacy-aware mechanism, but it does not establish an end-to-end differential-privacy guarantee. Because class counts are unnoised and multiple class-wise releases require privacy composition, we do not claim a formal (ε, δ)-DP budget. This is consistent with the limitation already stated in the paper.

We will report C1, C2, σ1, and σ2, add the Accuracy/F1-noise curve, and clarify the scope of the privacy claim.

Q4. Does semantic retrieval actually help?

The reviewer is correct that the main closed-set experiments use exact class priors; therefore, Sentence-BERT retrieval is not activated in the main tables and does not explain their gains. We added a missing-prior protocol in which the exact bank entry is masked and the client must select another prior.

On CICDDoS2019, Random/Sentence-BERT/Nearest-statistics/Exact-prior-oracle achieve 45.3/55.7/71.1/88.3% F1 in 1-shot and 56.3/62.3/75.8/89.4% in 5-shot. Sentence-BERT is better than random selection, but substantially weaker than feature-statistical retrieval. This is plausible because many CICDDoS2019 labels differ mainly by the target service, while linguistic similarity need not align with similarity between network-traffic feature distributions.

We will therefore clearly separate exact-prior adaptation from missing-prior retrieval, report this ablation, and soften any claim that Sentence-BERT drives the main improvements. The main empirical gains come from the protected statistical prior bank and local MAP adaptation; semantic retrieval is a fallback whose alignment requires further improvement.

We thank the reviewer again.

Reviewer Y4Tg · CommentOpenReview ↗

Thank you for the detailed response. My main questions have been addressed, and I have no further questions at this stage. I have updated my assessment accordingly.

From OpenReview, CC BY 4.0. Authors as signed there; shown unedited.

Missing a submission?

Loading the discussion…