< oryx

evolution strategies with delayed feedback

overview

Evolution strategies (ES) is an extremely simple training paradigm: noise your weights, see how well the noised version does, then update the weights in fitter directions. ES only needs inference (we don't need to compute gradients), fitness scores can be single bits, and it actually works (albeit much slower than standard training algorithms).

You might note that recomputing full weights for each noisy sample can be annoying: every member is effectively its own full copy of the model (the GPU can't batch matmuls), and each member needs a fresh full-size noise matrix per layer. Following EGGROLL, we can just make our noise rank-1 so every inference engine shares a single set of weights and can cheaply apply noise:

let's experiment

Let's imagine a scenario: we have a swarm of inference engines all running EGGROLL. The users have some complicated reward function that we can't optimize on directly, so they simply 'thumbs-up' or 'thumbs-down' the model to provide one bit of feedback for any given weights.

One coordinator holds the 'real weights' and is the only thing updating weights. Each device serves its own users with the current weights and its own seeded rank-1 noise. Devices simply send back (seed, round, bit) as users send feedback.

The coordinator can regenerate the noise from the seed, combine all feedback into one update, and broadcast new weights. This way, devices can run inference only and the outbound network footprint is low.

Broadcasting full weights every round is still about 1.2 GB per device for a 0.6B model in bf16. But the update is fully determined by the round's (seed, bit) list, so the coordinator can broadcast just that and let each device replay the update locally. Then inbound traffic is tiny too.

We simulate this architecture in our toy example. The 'complicated reward function' is actually quite trivial: users want answers to end in Answer: <number>. Our users notice a missing answer line 80% of the time, misclick 5% of the time, and don't check whether the answer is actually correct. Each round, 64 members each answer the same 8 GSM8K questions, every answer gets a bit of feedback, and the coordinator takes one step. We run 150 rounds on Qwen3-0.6B.

late answers

How late can feedback arrive in a real deployment? We simulate having a fraction of the feedback bits arrive K rounds late and measure how it affects final format compliance.

y-axis: format compliance on the 200 GSM8K questions.
"before ES": unperturbed Qwen3-0.6B format compliance.
"wrong noise": feedback is 10 rounds late and paired with the current round's noise instead of the one that was actually applied.
"realistic mix": late bits have a spread of delays.

notes

Slight delays seem to not hurt. Note that the example here is extremely trivial - in reality, nobody cares about the tested format compliance and 'complex reward functions' look much different. Next steps would be to test on larger models, but I don't have the compute for that.