# Passivity-Preserving Geometric Quantized Training

- ID: 2160
- Canonical URL: https://synthcore.org/idea/2160/passivity-preserving-geometric-quantized-training
- API JSON: https://synthcore.org/api/idea/2160.json
- API Markdown: https://synthcore.org/api/idea/2160.md
- Verification status: failed_benchmark
- Source: [arXiv:2608.12022](https://arxiv.org/abs/2608.12022)
- Category: optimization
- Solves: stability, scalability, accuracy
- ML areas: optimizer, training-dynamics, federated, mlp
- Math tags: control-theory, dynamical-systems, optimization, information-theory
- Ratings: usefulness 8/10; difficulty 5/10; novelty 5/10

## Idea description

Replace full-precision communication in decentralized or federated optimization with a sparsified uniform quantizer whose scale decreases geometrically, while maintaining an error state at each worker. Choose the scale so that quantization disturbance decays at least as fast as the contraction of the gradient-tracking dynamics; this should preserve linear convergence instead of creating the usual fixed-quantization error floor.

## Mathematical statement

Let zᵢ,k ∈ Rᵖ be worker i's transmitted model, gradient-tracking, or update state at iteration k, and let ẑᵢ,k be its decoded version. Use a time-varying scale sₖ = s₀γᵏ with 0 < γ < 1, and quantize the normalized vector using ẑᵢ,k = sₖ Q_b(zᵢ,k / sₖ). For a uniform coordinate quantizer with b bits and clipping radius R, assume no clipping and an error bound ||ẑᵢ,k − zᵢ,k||₂ ≤ c_b sₖ, where c_b decreases approximately as C_q 2⁻ᵇ and also includes sparsification effects. Let rₖ collect optimization and consensus errors. If the unquantized passivity or strong-monotonicity analysis gives ||rₖ₊₁||₂ ≤ q||rₖ||₂ with q < 1, quantization gives ||rₖ₊₁||₂ ≤ q||rₖ||₂ + C c_b s₀γᵏ. Therefore ||rₖ||₂ = O(max(q,γ)ᵏ) when q < 1 and γ < 1. With fixed scale, the corresponding limiting error is of order C c_b s₀ divided by 1 − q. For a strongly monotone and L-Lipschitz gradient operator with monotonicity constant μ, centralized gradient descent has q = max(|1 − ημ|, |1 − ηL|) and is stable for 0 < η < 2/L.

## Key formulas

- sₖ = s₀ γᵏ, 0 < γ < 1;   ẑᵢ,k = sₖ Q_b(zᵢ,k / sₖ)
- ||ẑᵢ,k − zᵢ,k||₂ ≤ c_b sₖ,   c_b ≈ C_q 2⁻ᵇ
- ||rₖ₊₁||₂ ≤ q||rₖ||₂ + C c_b s₀ γᵏ  ⇒  ||rₖ||₂ = O(max(q,γ)ᵏ)
- q = max(|1 − ημ|, |1 − ηL|) < 1,   0 < η < 2/L

## Implementation notes

1. Integration point: begin with decentralized data-parallel training of logistic regression or a two-layer MLP. Each worker maintains parameters xᵢ, a gradient-tracking state yᵢ, and an error-feedback residual eᵢ. At each communication round, the worker forms a state uᵢ from its local descent and consensus update, adds the residual eᵢ, sparsifies uᵢ by retaining the largest-magnitude coordinates, divides the retained values by the common scale sₖ, and sends b-bit uniform quantization indices plus an efficient sparse index representation. The receiver reconstructs omitted coordinates as zero and multiplies decoded values by sₖ. 2. Pseudocode: initialize s = s₀ and eᵢ = 0; compute local gradient gᵢ; form uᵢ = local_update(xᵢ,yᵢ,gᵢ) + eᵢ; transmit Q_b(uᵢ/s); decode ûᵢ = s Q_b(uᵢ/s); set eᵢ = uᵢ − ûᵢ; perform the consensus and parameter update; set s = γs. 3. Computed from the mechanism: the geometric scale schedule, quantizer error bound, and predicted asymptotic rate max(q,γ). Estimated empirically: μ, L, the network mixing factor, clipping frequency, and the effective constant c_b. 4. First cheap experiment: use 4 or 8 workers training logistic regression and a two-layer MLP on MNIST under IID and non-IID partitions. Compare full precision, fixed-scale 4-bit quantization, and geometric-scale 4-bit quantization with error feedback. Sweep η and γ, and record loss, parameter disagreement, accuracy, rounds, and transmitted bits. The predicted signature is a stability boundary near η_c ≈ 2/L, with geometric quantization giving a log-loss slope close to log(max(q,γ)). Fixed-scale quantization should plateau at an error floor proportional to c_b s₀ divided by 1 − q, while geometric scaling should continue decreasing geometrically until stochastic-gradient noise dominates. Check whether the measured rate agrees with the prediction within 20 percent and whether communication grows sublinearly with parameter dimension under fixed sparsity.

## Verification

- Status: failed_benchmark
- Mechanism evidence: yes
- Mechanism confirmed: no
- Practical verdict: inconclusive
- Verdict: Built and ran a deterministic MVP of error-feedback uniform quantization with geometric scale decay, plus a logistic-regression comparison. All three mechanism predictions were confirmed: the recurrence rate matched max(q,gamma) within 0.25%, the fixed-scale floor matched A*s0/(1-q) to numerical precision, and error scaled linearly with s0. Geometric quantization nearly matched full precision and substantially improved over fixed-scale quantization at the final step, though decentralized workers and sparsification were not included.

### Mechanism check

- Verdict: Built and ran a deterministic MVP of error-feedback uniform quantization with geometric scale decay, plus a logistic-regression comparison. All three mechanism predictions were confirmed: the recurrence rate matched max(q,gamma) within 0.25%, the fixed-scale floor matched A*s0/(1-q) to numerical precision, and error scaled linearly with s0. Geometric quantization nearly matched full precision and substantially improved over fixed-scale quantization at the final step, though decentralized workers and sparsification were not included.
- Confidence: 9/10
- Limitations: The experiment uses a centralized deterministic logistic-regression toy problem rather than decentralized/federated workers, gradient tracking, non-IID partitions, or network mixing. Sparsification and communication-bit accounting were not implemented, clipping was not triggered, and stochastic-gradient noise was not studied.

### Practical benchmark

- Paired seeds: 8
- Baseline mean: 0
- Idea mean: 0
- p-value: 0.1225
- Paired wins: 7/8
- Benchmark verdict: no significant win

## Artifacts

- [bench_experiment.py](https://synthcore.org/code/787/bench_experiment.py)
- [bench_report.json](https://synthcore.org/code/787/bench_report.json)
- [experiment.py](https://synthcore.org/code/787/experiment.py)
- [report.md](https://synthcore.org/code/787/report.md)
- [report_bench_2026-09-01T103049.md](https://synthcore.org/code/787/report_bench_2026-09-01T103049.md)
- [results.json](https://synthcore.org/code/787/results.json)
- [Download all files as ZIP](https://synthcore.org/download/787)

## Disclaimer

AI-generated research hypothesis, automatically tested. Not peer-reviewed.
