# Prescribed-Performance Event-Triggered Federated Training

- ID: 1807
- Canonical URL: https://synthcore.org/idea/1807/prescribed-performance-event-triggered-federated-training
- API JSON: https://synthcore.org/api/idea/1807.json
- API Markdown: https://synthcore.org/api/idea/1807.md
- Verification status: failed_benchmark
- Source: [arXiv:2608.04743](https://arxiv.org/abs/2608.04743)
- Category: dynamics
- Solves: stability, scalability, speedup
- ML areas: optimizer, federated, training-dynamics, mlp
- Math tags: control-theory, dynamical-systems, optimization, graph-theory, stochastic-processes
- Ratings: usefulness 8/10; difficulty 6/10; novelty 8/10

## Idea description

Replace periodic all-reduce in federated or distributed training with local broadcasts triggered by a prescribed parameter-disagreement envelope. Each worker maintains held copies of the latest parameters received from neighbors and applies a consensus correction to its local optimizer update. After an asynchronous reception causes a discontinuous change in sampled disagreement, a receiver-side exponentially decaying correction temporarily enlarges the allowable envelope, preventing false trigger cascades while preserving an explicit bound on inter-worker disagreement.

## Mathematical statement

Let worker i have parameter vector \(\theta_i\in\mathbb{R}^d\), reference or leader parameters \(\theta_0\), directed edge weights \(a_{ij}\ge 0\), leader weights \(b_i\ge 0\), and W be the corresponding grounded graph matrix. The continuous disagreement is \(e_i=\sum_j a_{ij}(\theta_i-\theta_j)+b_i(\theta_i-\theta_0)\). Worker i broadcasts when the difference between its current parameter and its last broadcast \(\hat\theta_i\) consumes a local budget, for example \(\|\theta_i-\hat\theta_i\|_2\ge \sigma_i\rho_i(t)\), where \(0<\sigma_i<1\) and \(\rho_i(t)=\rho_{i,\infty}+(\rho_{i,0}-\rho_{i,\infty})e^{-\alpha_i t}\) is a positive decreasing envelope. Between receptions, neighbors use held values \(\hat\theta_j\), producing sampled disagreement \(\hat e_i=\sum_j a_{ij}(\theta_i-\hat\theta_j)+b_i(\theta_i-\hat\theta_0)\). Following a reception at time \(t_r\), define an enlarged receiver envelope \(\rho_i^r(t)=\rho_i(t)+\Delta_i e^{-\beta_i(t-t_r)}\), where \(\Delta_i\) is the magnitude of the sampled-error jump and \(\beta_i>0\). The normalized error \(q_i=\|e_i\|_2/\rho_i^r(t)\) is kept below one by a barrier-transformed consensus correction \(c_i=-k_i\operatorname{atanh}(q_i)e_i/(\|e_i\|_2+\varepsilon)\). The envelope contracts at rate \(\alpha_i\), while reception-induced jumps are absorbed by the transient term and decay at rate \(\beta_i\).

## Key formulas

- $$e_i=\sum_{j=1}^{N}a_{ij}(\theta_i-\theta_j)+b_i(\theta_i-\theta_0),\qquad \hat e_i=\sum_{j=1}^{N}a_{ij}(\theta_i-\hat\theta_j)+b_i(\theta_i-\hat\theta_0).$$
- $$\rho_i(t)=\rho_{i,\infty}+(\rho_{i,0}-\rho_{i,\infty})e^{-\alpha_i t},\qquad \rho_i^r(t)=\rho_i(t)+\Delta_i e^{-\beta_i(t-t_r)},\quad t\ge t_r.$$
- $$q_i=\frac{\|e_i\|_2}{\rho_i^r(t)},\qquad c_i=-k_i\operatorname{atanh}(q_i)\frac{e_i}{\|e_i\|_2+\varepsilon},\qquad \dot\theta_i=-\eta g_i+c_i,$$
- $$\|\theta_i(t)-\theta_0(t)\|_2<\rho_i^r(t)\ \Longrightarrow\ \limsup_{t\to\infty}\|\theta_i(t)-\theta_0(t)\|_2\le \rho_{i,\infty},\qquad \Delta_i=\|\hat e_i(t_r^+)-\hat e_i(t_r^-)\|_2.$$

## Implementation notes

Integrate this at the worker-update layer of a small federated-learning system, before the optimizer step is applied. Worker i stores current parameters theta_i, its last transmitted copy hat_theta_i, and held neighbor copies hat_theta_j. At every minibatch, compute the local gradient g_i and the sampled disagreement hat_e_i. Use this pseudocode: compute rho=rho_inf+(rho_0-rho_inf)*exp(-alpha*t); compute e_hat from held neighbor models; set q=min(||e_hat||/(rho+receiver_margin),1-eps); compute c=-k*atanh(q)*e_hat/(||e_hat||+eps); update theta_i with the ordinary optimizer step and add h*c, where h is the update interval; broadcast theta_i only if ||theta_i-hat_theta_i|| >= sigma*rho or a maximum timeout is reached; on reception, measure Delta=||e_hat_after-e_hat_before|| and set receiver_margin=Delta; decay receiver_margin by exp(-beta*elapsed_time). The paper contributes the prescribed envelope and reception correction; Adam, gradient clipping, vector norms, and graph weights are implementation choices. Estimate alpha, beta, k, and sigma by a short sweep, initially using alpha=0.01, beta=0.1, sigma=0.2, and h*k below 0.1. First experiment: train a 2-layer MLP on MNIST with 8 non-IID workers, comparing periodic FedAvg, event-triggered FedAvg without correction, and this method. Log disagreement, envelope violations, broadcasts, and accuracy. The quantitative prediction is that post-reception excess disagreement decays approximately as exp(-beta*t), while the baseline envelope contracts as exp(-alpha*t). Broadcasts should decline after transients, and violations should be substantially lower than without receiver correction. Vary sigma to test the trigger boundary: as sigma approaches zero, broadcasts should become frequent; near one, the first transmission should occur close to ||theta_i-hat_theta_i||=sigma*rho.

## Verification

- Status: failed_benchmark
- Mechanism evidence: yes
- Mechanism confirmed: no
- Practical verdict: harms
- Verdict: Built a NumPy event-triggered federated training prototype with held neighbor parameters, barrier consensus correction, receiver-side exponentially decaying margins, trigger logic, and reproducible toy sweeps. The math mechanism manifested: margin/envelope fitted decay rates equaled beta/alpha to floating-point precision, and trigger times matched analytic envelope-crossing roots within 0.0002 time units. In the small quadratic federated test, correction reduced mean disagreement from 2.3614 to 1.6445 and broadcasts from 120 to 92 versus event-triggering without correction, but sampled-envelope violations remained high (634 versus 638) and local objective loss worsened; this is not evidence of an end-to-end training win.

### Mechanism check

- Verdict: Built a NumPy event-triggered federated training prototype with held neighbor parameters, barrier consensus correction, receiver-side exponentially decaying margins, trigger logic, and reproducible toy sweeps. The math mechanism manifested: margin/envelope fitted decay rates equaled beta/alpha to floating-point precision, and trigger times matched analytic envelope-crossing roots within 0.0002 time units. In the small quadratic federated test, correction reduced mean disagreement from 2.3614 to 1.6445 and broadcasts from 120 to 92 versus event-triggering without correction, but sampled-envelope violations remained high (634 versus 638) and local objective loss worsened; this is not evidence of an end-to-end training win.
- Confidence: 7/10
- Limitations: This is a small NumPy quadratic-objective proxy, not MNIST or a neural-network/FedAvg benchmark. It uses synchronous round iteration with simulated held-copy broadcasts rather than genuinely asynchronous networking, does not sweep optimizer/hyperparameters or random seeds, and the barrier correction was not tuned to guarantee low discrete-time sampled-error violations. The exact decay checks validate the prescribed formulas directly, not a formal stability theorem.

### Practical benchmark

- Paired seeds: 8
- Baseline mean: 0
- Idea mean: 0
- p-value: 0.0081
- Paired wins: 0/8
- Benchmark verdict: idea worse (significant)

## Artifacts

- [bench_event_fed.py](https://synthcore.org/code/649/bench_event_fed.py)
- [bench_report.json](https://synthcore.org/code/649/bench_report.json)
- [event_triggered_federated.py](https://synthcore.org/code/649/event_triggered_federated.py)
- [report.md](https://synthcore.org/code/649/report.md)
- [report_bench_2026-08-31T205840.md](https://synthcore.org/code/649/report_bench_2026-08-31T205840.md)
- [results.json](https://synthcore.org/code/649/results.json)
- [Download all files as ZIP](https://synthcore.org/download/649)

## Disclaimer

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