﻿# CoPES: evolutionary agent post-training with limited GPU memory

CoPES partitions evolutionary search across parameter groups. Its agent experiments distinguish validation gains, estimated compute and actual training feasibility.

Author: Retrivium editorial team
Updated: 2026-11-05
Canonical URL: https://retrivium.ai/journal/copes-cooperative-evolution-agent-posttraining/
Language: en

A language-model agent may search repeatedly or execute code before answering. Post-training it against the outcome of that entire trajectory consumes compute and memory: gradient methods retain information for backpropagation. In an [August 3, 2026 preprint](https://arxiv.org/abs/2608.02391), researchers proposed Cooperative Parameter-subspace Evolution Strategy, or CoPES, which updates all agent parameters without backpropagation by dividing evolutionary search among parameter subspaces. The [experimental code](https://github.com/MetaronWang/CoPES) is available.

On Qwen3.5-4B, the method approached full-parameter GRPO under a bounded budget and outperformed ordinary evolution strategies. This is an author experiment on particular tasks, rather than a guarantee for every agent. An independent reproduction was not established.

## From perturbations to model updates

In ordinary evolution strategies (ES), copies of the current model receive different random weight changes. Each performs the same tasks, and software evaluates the resulting answers. Directions associated with higher rewards contribute more strongly to the next update. No backward pass through the model or tools is needed: generation and a numerical outcome suffice. However, with a small population, each reward describes a change across an enormous parameter space, while generating many trajectories is costly. The [CoPES authors](https://arxiv.org/html/2608.02391) aim to use that budget more effectively.

Each CoPES step samples a new random partition into disjoint parameter groups. A trial changes only one group, with the remaining weights providing the full model's shared context. Rewards for all trials are standardized jointly, and their directions combine into one update across all parameters. Noise scale depends on group size: with four groups, each changed parameter receives twice the base ES noise, matching expected overall perturbation magnitude. The main configuration uses four groups and 40 perturbations, ten per group. This does not reduce model evaluations per step; it seeks a better update from the same evaluation count. [Method details](https://arxiv.org/html/2608.02391).

To conserve memory, implementation regenerates perturbations from saved seeds and processes parameters in chunks. Pretrial weights are backed up in CPU RAM and restored afterward. This ensures trials start from the same model. CoPES preserves ES's forward-only memory advantage, rather than obtaining it solely through grouping. [Implementation and costs](https://arxiv.org/html/2608.02391).

## What was measured

The main experiment post-trained Qwen3.5-4B on MATH training data and evaluated AIME 2024 and 2025, GSM8K, MATH-500, and MATH-Test. The latter two overlap: MATH-500 is a subset of MATH-Test. The agent could search Wiki18 locally and use a Python sandbox, with a 128-thousand-token context limit. Math validation used 750 held-out problems with one temperature-0 generation. Testing used temperature 0.3 and repeated sampling: 256 generations per AIME problem and 32 elsewhere. [Protocol and data](https://arxiv.org/html/2608.02391), [evaluation details](https://arxiv.org/html/2608.02391).

The authors compared methods after 16 updates and equal numbers of unique prompt batches. Validation accuracy was 49.20% for the starting model, 91.47% for full GRPO, 88.00% for CoPES, and 77.60% for ordinary ES. The approximately 92% and 67% figures describe shares of **GRPO's improvement over the starting model**, rather than absolute accuracy. CoPES's calculation is (88.00 − 49.20) / (91.47 − 49.20). [Table 1](https://arxiv.org/html/2608.02391).

Compute budgets were comparable but not identical: the authors estimate 68.65 GPU hours for 16 CoPES/ES steps and 78.61 for GRPO. These extrapolate average step costs after profiling 32 steps of representatives of the two method classes on eight RTX 5880 Ada GPUs; validation time is excluded. They are not direct complete-cost measurements for every run. The [benchmark methodology guide](/journal/inference-benchmark-method/) preserves the distinction between measurement and extrapolation. Under these conditions, AIME 2024 pass@1 was 38.39% for CoPES, 31.33% for ES, and 44.28% for full GRPO. Here pass@1 estimates success probability for one sample, rather than evaluating one fixed response per problem. [Profiling procedure](https://arxiv.org/html/2608.02391), [results](https://arxiv.org/html/2608.02391).

Four groups outperformed two and eight in the tested configuration: AIME 2024 pass@1 was 38.39%, 34.48%, and 16.61%, respectively. Merely increasing ordinary ES noise did not reproduce CoPES's gain. Each training configuration ran once, so these numbers cannot estimate variation across independent training runs. [Ablations](https://arxiv.org/html/2608.02391), [run settings](https://arxiv.org/html/2608.02391).

## Memory and practical meaning

At 128K context, the authors' theoretical accounting estimates 12.78 GB GPU memory for ES/CoPES versus 453.44 GB for full GRPO. This is a component-based calculation, rather than measured peak memory: it assumes FlashAttention and KV caching and excludes implementation-specific optimizations and overhead. Its ratio cannot be transferred as a measured fact to other runtimes. The [LoRA and QLoRA memory guide](/journal/lora-qlora-memory/) likewise separates weights from activations, optimizer state, and complete-step memory. [Calculation and assumptions](https://arxiv.org/html/2608.02391).

A separate test checked training feasibility on real hardware with available framework optimizations. With the 128K context limit, ES and CoPES trained on one 24 GB GPU; both tested GRPO variants exhausted memory through four 48 GB GPUs and succeeded on eight. This compares startup/training feasibility, rather than exact memory consumption, and does not prove GRPO impossible on another stack. [Hardware-test conditions](https://arxiv.org/html/2608.02391), [results](https://arxiv.org/html/2608.02391).

The method is relevant to researchers post-training tool-using agents with few GPUs and verifiable outcome rewards. Additional author experiments cover multi-hop answering on HotpotQA, 2Wiki, and MuSiQue, but evidence still concerns a bounded task set and one main model. Repository scripts support reproduction, while requiring environment, local search, and sandbox setup. [Experimental setup](https://arxiv.org/html/2608.02391), [repository guidance](https://github.com/MetaronWang/CoPES).

## Sources

- [Wang and colleagues, Cooperative Coevolution for Resource-Constrained Agentic LLM Post-Training](https://arxiv.org/abs/2608.02391), preprint, August 3, 2026; [full text](https://arxiv.org/html/2608.02391).
- [CoPES on GitHub](https://github.com/MetaronWang/CoPES): author code and instructions.
