hamishfromatech/my-personal-skills-library/head-fl-adaptive-dp-homomorphic-aggregation
Claude Code and agent skill by hamishfromatech/my-personal-skills-library
- community
Checking that the SKILL.md file is still in the repository.
Secure federated learning framework combining adaptive differential privacy (RDP-based) with verifiable homomorphic aggregation and FedAvg communication efficiency. Use when designing privacy-preserving FL systems needing both statistical and cryptographic guarantees, or deploying FL in bandwidth-constrained privacy-sensitive environments. NOT for centralized learning or non-FL contexts.
Install
npx vskill@latest install hamishfromatech/my-personal-skills-library/head-fl-adaptive-dp-homomorphic-aggregationSKILL.md
The same SKILL.md was published earlier as hamishfromatech/my-personal-skills-library/head-fl-adaptive-dp-homomorphic-aggregation.
HEAD-FL Adaptive DP Homomorphic Aggregation
Overview
HEAD-FL integrates round-adaptive differential privacy (analyzed under RDP) with verifiable homomorphic aggregation, using FedAvg to reduce communication overhead. Provides both formal statistical privacy guarantees and cryptographic security while remaining suitable for bandwidth-constrained deployments.
When to Use
- Designing privacy-preserving federated learning systems
- Requiring both statistical (DP) and cryptographic (homomorphic) privacy guarantees
- Deploying FL in bandwidth-constrained environments
- Needing verifiable aggregation with formal privacy accounting
- NOT for centralized machine learning
- NOT for non-federated learning contexts
Core Process / Workflow
1. Implement Round-Adaptive Gaussian Perturbation
- Analyze under Rényi Differential Privacy (RDP) framework
- Enable tight cumulative privacy accounting across rounds
- Convert RDP to explicit (ε,δ)-DP guarantees
- Adapt noise based on round progression (not fixed noise)
2. Add Verifiable Homomorphic Aggregation
- Cryptographic verification of aggregation correctness
- Homomorphic computation on encrypted/protected updates
- Preserves confidentiality during aggregation
- Provides verifiability without revealing individual updates
3. Use FedAvg for Communication Efficiency
- Model averaging instead of gradient-based aggregation
- Significantly reduces communication overhead
- Preserves confidentiality, verifiability, and robustness
- Handles client dropouts gracefully
4. Compare Against Alternatives
| Approach | Statistical Privacy | Cryptographic Security | Communication | Verifiability | |
|---|---|---|---|---|---|
| Fixed-noise DP | Yes (suboptimal) | No | Standard | No | |
| Secure aggregation only | No | Yes | Higher overhead | Varies | |
| HEAD-FL | Yes (RDP-optimized) | Yes (homomorphic) | Reduced (FedAvg) | Yes |
References
- See references/seeydi-2026-head-fl.md for full paper details.
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingprivacy-and-trust/head-fl-adaptive-dp-homomorphic-aggregation/SKILL.md
Popularity
- 7-day trend score
- 5
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/hamishfromatech/my-personal-skills-library/head-fl-adaptive-dp-homomorphic-aggregation)