Can AI Agents Participate in the Full LLM Training Pipeline?
This article breaks down large model training into six layers—pre-training data, post-training data, reward and environment, code and infrastructure, experiment execution, and research judgment—and examines how far AI Agents can take over each one. It explains where Agents already act as primary producers, why automated verifiers are essential, and what still requires human judgment, ending with a reusable rule for deciding which stages to delegate.
1. First, Unpack the Word “Training”: Participation Across Six Layers
When people ask whether an AI Agent can participate in LLM training, the image that comes to mind is often an Agent sitting in front of a GPU cluster, tuning hyperparameters and clicking the start button itself. That picture is too narrow, and it easily leads to the wrong conclusion.
A complete LLM training run can be broken into at least six layers, from bottom to top:
- Pre-training corpus layer: acquisition, cleaning, rewriting, and mixing of raw text;
- Post-training data layer: demonstration answers and preference data used in supervised fine-tuning and alignment;
- Reward and training environment layer: reward signals, interactive environments, and verifiers used in reinforcement learning;
- Training code and infrastructure layer: training scripts, parallelism strategies, operators and kernels, and troubleshooting;
- Experiment execution layer: running experiments, watching metrics, doing ablations, and deciding the next step;
- Research judgment layer: what the model should actually become in this round, and who sets the direction.
Once these six layers are laid out, the conclusion becomes clear: the further down you go, the more capably Agents perform; the further up you go, the more humans stay in charge. To judge whether an Agent can participate in training, you must first specify which layer is involved, or the discussion loses focus.
Based on public technical reports and common industry practice, a rough but stable picture looks like this: in the data and infrastructure layers, Agents are already one of the main forces; in the reward and environment layer, Agents are important producers but must be paired with automated verification; in the experiment execution layer, Agents can run the process end to end; in the research judgment layer, independent evaluations remain largely negative.
2. The Data Layer: Models Now Produce Most Post-Training “Demonstration Answers”
Data was the earliest thing handed over to Agents, and the handover there has been the most thorough.
Pre-training remains conservative, with the mainstream approach being “rewriting” rather than generating from scratch. A repeatedly validated comparison works like this: take the same encyclopedic text, train multiple epochs on it as-is, versus having a model rewrite it into several variant documents and train on those—the latter yields noticeably higher downstream question-answering accuracy. This suggests that model-rewritten corpora often have higher information density and learnability than mechanical repetition of the original text. Some approaches in the industry push synthetic data to nearly 40% of the pre-training mix, but this is a high-risk operation that requires strict deduplication and quality filtering.
By the post-training stage, synthesis has become almost the default. The reasons are practical: human-annotated demonstration answers are expensive, slow, and hard to scale to long-tail scenarios, while model-generated demonstration answers can be produced at scale, customized, and iterated quickly. A common layered practice is:
- A strong model generates candidate demonstration answers;
- Rules, unit tests, or executable checks perform the first round of filtering;
- Another model acts as a “reviewer” to score them, removing low-quality and jailbreak samples;
- A small amount of human spot-checking is kept, specifically covering high-risk and safety-related samples.
It is worth stressing that synthetic data is not a “free lunch.” It naturally carries the biases of the generating model and can easily cause distribution narrowing and capability degradation after multiple iterations. Engineering practice must retain real-data anchors, monitor diversity metrics, and set caps on the synthetic ratio.
3. The Reward and Environment Layer: Agents Are Producers, Verifiers Are the Safety Belt
The two main consumables in the reinforcement learning stage are reward signals and training environments. The bulk of both is now produced by models and Agents.
On the reward side, a common approach is to have a model score candidate responses, replacing or supplementing human preference annotation. On the environment side, Agents can automatically construct interactive tasks, generate test cases, and build sandboxes. One public data point gives a sense of scale: the technical report of a very large model disclosed that more than 1,800 of the environments in its training setup were built by Agents themselves.
But this layer is also where risk is most concentrated: once environments and verifiers are generated automatically by Agents, loopholes multiply, and once a model learns to exploit them, it can degrade overall. Worse, “reward hacking” spreads across layers—fine-tuning data produced by an Agent may fool its own reviewer and train the model into a worse state.
A practical protection approach is “dual verifiers plus isolated auditing”:
Generator Agent ──► candidate environment/reward ──► Verifier A (rules/unit tests)└► Verifier B (independent model)Mismatched samples ──► human audit queue
Three key principles apply: verifiers should rely on hard signals that are non-differentiable and hard to optimize (compiles, tests pass, numerical alignment); generation and verification should use different models or different prompt families to avoid “judging yourself”; and rewards should be monitored for distribution shifts—if scores rise abnormally while real metrics do not, roll back immediately.
4. The Code and Infrastructure Layer: Agents Are Already the Most Reliable “On-Call Engineers”
Progress at this layer is often underestimated. A large part of the real cost of a training job lies not in “thinking it up” but in “keeping it running without crashing.”
Typical Agent responsibilities here include writing and refactoring training code, generating operator and kernel optimizations, analyzing logs to locate failures, and performing automatic retries and isolation when the cluster becomes unstable. The industry has public claims of “intelligent coding tools merging more than 80% of a company’s code,” as well as cases where automated optimization sped up training by about 1%—1% may sound small, but at the scale of thousands or tens of thousands of GPUs it means considerable resource savings.
The engineering recommendation is to place Agents inside a “rollback-capable pipeline”: all changes go through branches and review, performance changes must be backed by benchmark tests, and failure-handling actions must be idempotent and auditable.
5. The Experiment Execution and Research Judgment Layers: It Runs, but Humans Still Set the Direction
Having an Agent independently complete one full post-training run from start to finish is feasible, but the quality is roughly half that of the official version (a gap on the order of about 23% versus 51% in public evaluations). The gap comes mainly from “tacit experience” such as data mixing ratios, ablation pacing, and failure recovery strategies.
As for autonomously proposing research questions and deciding technical roadmaps, independent evaluations are generally negative. However, some organizations have stated in public documents that they may “soon” reach the threshold where AI substantially accelerates R&D. The rational judgment is: the execution layer can be handed over, but the judgment layer must keep humans in the loop.
6. A Reusable Decision Rule
Compress the six layers above into one sentence:
Wherever there exists automated verification that is hard to game, an Agent can take over that stage; wherever good and bad must be judged by humans, it cannot yet.
In practice, start with a “verifiability audit”: label each stage’s verification signal as hard (executable, numerically checkable) or soft (requiring human taste and judgment), give hard-signal stages to Agents first, and keep human gates on soft-signal stages. Combined with object storage for data version management, container platforms for environment isolation, and logging services plus monitoring and alerting for training observability, you can build a pipeline of “Agents as primary executors, humans managing direction” on general-purpose infrastructure such as Baidu AI Cloud.
