Skip to main content

Crate rvf_federation

Crate rvf_federation 

Source
Expand description

Federated RVF transfer learning.

This crate implements the federation protocol described in ADR-057:

  • PII stripping: Three-stage pipeline (detect, redact, attest)
  • Differential privacy: Gaussian/Laplace noise, RDP accountant, gradient clipping
  • Federation protocol: Export builder, import merger, version-aware conflict resolution
  • Federated aggregation: FedAvg, FedProx, Byzantine-tolerant weighted averaging
  • Segment types: FederatedManifest, DiffPrivacyProof, RedactionLog, AggregateWeights

Re-exports§

pub use error::FederationError;
pub use pii_strip::PiiStripper;
pub use diff_privacy::DiffPrivacyEngine;
pub use diff_privacy::PrivacyAccountant;
pub use federation::ExportBuilder;
pub use federation::ImportMerger;
pub use aggregate::FederatedAggregator;
pub use aggregate::AggregationStrategy;
pub use policy::FederationPolicy;
pub use types::*;

Modules§

aggregate
Federated aggregation: FedAvg, FedProx, Byzantine-tolerant weighted averaging.
diff_privacy
Differential privacy primitives for federated learning.
error
Federation error types.
federation
Federation protocol: export builder, import merger, version-aware conflict resolution.
pii_strip
Three-stage PII stripping pipeline.
policy
Federation policy for selective sharing.
types
Federation segment payload types.