hamishfromatech/my-personal-skills-library/head-fl-adaptive-dp-homomorphic-aggregation

Claude Code and agent skill by hamishfromatech/my-personal-skills-library

Trust tier 3
  • community
Source check pending

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-aggregation

SKILL.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
ApproachStatistical PrivacyCryptographic SecurityCommunicationVerifiability
Fixed-noise DPYes (suboptimal)NoStandardNo
Secure aggregation onlyNoYesHigher overheadVaries
HEAD-FLYes (RDP-optimized)Yes (homomorphic)Reduced (FedAvg)Yes

References

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

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
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/hamishfromatech/my-personal-skills-library/head-fl-adaptive-dp-homomorphic-aggregation/badge)](https://verified-skill.com/skills/hamishfromatech/my-personal-skills-library/head-fl-adaptive-dp-homomorphic-aggregation)

Something wrong with this skill or its page? Tell us.