AdvancedCompressionOptions
Options & Configuration · AiDotNet.Models.Options
Configuration for advanced gradient compression methods (PowerSGD, sketching, adaptive).
For Beginners
These options configure state-of-the-art compression methods
that can reduce communication bandwidth by 100-1000x compared to uncompressed gradients.
Set this on FederatedCompressionOptions when using advanced compression.
Constructors
| Constructor | Summary |
|---|---|
AdvancedCompressionOptions() |
Properties
| Property | Summary |
|---|---|
AdvancedCompressionStrategy Strategy { get; set; } |
Gets or sets the advanced compression strategy. |
bool PowerSGDWarmStart { get; set; } |
Gets or sets whether PowerSGD uses warm-start (reuses previous round’s factors). |
bool UseErrorFeedback { get; set; } |
Gets or sets whether to use error feedback (residual accumulation) with any compressor. |
double AdaptiveMaxRatio { get; set; } |
Gets or sets the maximum compression ratio for adaptive mode (ceiling). |
double AdaptiveMinRatio { get; set; } |
Gets or sets the minimum compression ratio for adaptive mode (floor). |
double FedKDTemperature { get; set; } |
Gets or sets the knowledge distillation temperature for FedKD compression. |
double SignSGDLearningRate { get; set; } |
Gets or sets the learning rate for SignSGD compression. |
int AdaptiveBandwidthWindow { get; set; } |
Gets or sets the number of recent rounds used for bandwidth estimation in adaptive mode. |
int FedDTMaxDepth { get; set; } |
Gets or sets the maximum tree depth for FedDT decision-tree compression. |
int FetchSGDTopK { get; set; } |
Gets or sets the number of top-K heavy hitters to recover from FetchSGD sketches. |
int PowerSGDRank { get; set; } |
Gets or sets the rank for PowerSGD low-rank approximation. |
int SketchDepth { get; set; } |
Gets or sets the number of hash functions for Count Sketch compression. |
int SketchTopK { get; set; } |
Gets or sets the number of top-k elements to recover from a sketch. |
int SketchWidth { get; set; } |
Gets or sets the sketch width (number of buckets per hash function). |