Add technical architecture documentation for cognitive defence system#2
Draft
Add technical architecture documentation for cognitive defence system#2
Conversation
Created TECHNICAL_ARCHITECTURE.md covering: - System architecture with 4-layer design - Non-IID data distribution using Dirichlet - Experiment execution methodology - Cognitive defence (OODA loop + MAPE-K) details - In-depth comparison with Krum, Trimmed Mean, and FedAvg - Attack simulation framework - Evaluation methodology and metrics Co-authored-by: self1am <117443069+self1am@users.noreply.github.com>
Co-authored-by: self1am <117443069+self1am@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Add technical writeup on defence architecture
Add technical architecture documentation for cognitive defence system
Dec 24, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Provides comprehensive technical writeup of the federated learning cognitive defence architecture for academic presentation, covering data distribution methodology, experiment execution, and defence strategy comparisons.
Created Document:
TECHNICAL_ARCHITECTURE.md24KB technical writeup (678 lines) structured as:
Core Architecture
Data Distribution Strategy
Dir(α × [1,...,1])with α=0.5Experiment Methodology
Cognitive Defence (OODA + MAPE-K)
Four-phase cycle:
Z_i = (||Δθ_i|| - μ) / σ, threshold at 2.0θ_global = Σ(reputation_i × n_i × Δθ_i) / Σ(reputation_i × n_i)Key differentiators: historical context (100-round window), gradual trust adjustment, explainable decisions with evidence
Strategy Comparison
Robustness analysis: Cognitive defence provides soft aggregation vs. Krum's binary selection and Trimmed Mean's fixed trimming. Maintains client identity tracking absent in stateless methods. Lower computational cost than Krum (O(nd) vs O(n²d)).
Attack Coverage
Additional Documentation
Original prompt
✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.