Decoding RSI and 100T Token Data Goals for Post-Training at the 100B Parameter Scale
This article breaks down three coupled engineering goals behind recent post-training discussions: end-to-end coding post-training, a Recursive Self-Improvement (RSI) iteration loop, and scaling training corpora toward 100T tokens. It explains why coding is the preferred domain, how to interpret data scale as executable density rather than raw volume, the hard compute and cost constraints of self-funded training, the layered evaluation system needed to judge real progress, common failure modes, and a practical small-loop-first rollout path.
1. Aligning the Concepts: What Each Goal Actually Means
A recurring research direction in recent public discussions can be abstracted into three coupled engineering goals: post-training for end-to-end coding tasks; an automated iteration loop approaching Recursive Self-Improvement (RSI); and pushing training corpus scale toward the 100T (hundred-trillion) token range. None of these is a synonym for a single model capability. They are systems-engineering metrics built jointly from data engineering, evaluation engineering, and compute scheduling.
- End-to-end coding post-training: the input is a natural-language requirement plus repository context, and the output is a runnable patch, tests, and documentation. The evaluation standard shifts from “does it look like an answer” to “does it pass verification.”
- The engineered form of RSI: the model generates candidate changes, evaluation runs automatically, and changes that pass verification are fed back as new training signal, forming a closed loop. This does not mean the model can guarantee its own correctness without external verification.
- The 100T-scale data goal: the emphasis is not on piling up volume, but on deduplication quality, license compliance, the share of executable samples, and mixing strategy.
2. Why Coding Is the First Choice for Post-Training
Coding tasks have three scarce properties: results are verifiable, feedback can be automated, and value can be quantified. Compilers, unit tests, static analysis, and profilers naturally act as “judges,” allowing reinforcement learning and rejection sampling to produce positive samples reliably. By contrast, open-ended text generation lacks a low-cost, objective acceptance standard, and noise amplifies quickly.
A minimal viable acceptance loop looks like this (pseudocode that expresses only the flow and points to no specific tool):
def rsi_round(model, repo, tasks, k=8, max_rounds=5):dataset = []for _ in range(max_rounds):for t in tasks:cands = [model.patch(t, repo) for _ in range(k)]passed = [c for c in cands if verify(c, repo, t)]if passed:best = min(passed, key=lambda c: cost(c))dataset.append((t, best, trace_of(best)))model = post_train(model, dataset) # rejection sampling + preference optimizationtasks = expand_tasks(tasks, model) # derive new tasks from failure casesreturn model
The key is the quality of verify: when test coverage is insufficient, the model learns to “cater to the tests” rather than solve the problem. This is the classic sign of the reward being gamed.
3. Understanding Data Scale Correctly: From Volume to Executable Density
Setting the target at the 100T range makes the real challenge the density of effective samples. Executable, verifiable, and reproducible samples make up a very small share of raw web and code-hosting content, so the data pipeline typically has the following layers:
- Collection and compliance filtering: license detection, redaction of secrets and personal information, and validation of robots protocols and source authorization.
- Structural parsing and deduplication: dual deduplication at the file level and the fragment level to avoid memorization and evaluation contamination caused by near-duplicates.
- Executable conversion: filling in dependencies, building a runnable environment, and turning static code into “task instances that actually run.”
- Difficulty stratification and mixing: layering by repository size, dependency depth, and change span, and controlling the share of easy samples to prevent capability collapse.
- Contamination detection: dual n-gram and semantic comparison against public evaluation sets, removing them from the training set.
An illustrative mixing and budget table (values are engineering-experience ranges, not any product’s parameters):
| Data category | Suggested share | Main role |
|---|---|---|
| Executable coding tasks | 25%–40% | Provide verifiable reward signal |
| High-quality natural language and documentation | 20%–30% | Preserve instruction understanding and expression |
| Math and structured reasoning | 10%–20% | Improve long-chain reasoning stability |
| Multilingual and domain corpora | 10%–20% | Control capability bias |
| Synthetic and self-generated data | 5%–15% | Fill the long tail, requires strict filtering |
4. Compute and Cost: Hard Constraints Under Self-Funded Compute
When compute must be self-sourced, the training strategy has to shift from “chasing peak metrics” to “optimal cost per unit of gain.” Actionable levers include sparse architectures and expert routing to reduce activated parameters, sequence parallelism and checkpoint sharding to lower peak memory, distillation to transfer large-model capability to smaller models that handle high-frequency requests, and running evaluation tasks in a low-priority queue at off-peak times. Engineering should also keep three ledgers: a training ledger (GPU hours per iteration round), an inference ledger (latency and cost per million requests), and a labor ledger (investment in data cleaning and evaluation maintenance). Missing any one of them, scaling will get out of control.
5. Evaluation System: The Only Basis for Judging “Is It Really Better”
“Is it better” must be broken into measurable questions: task pass rate, first-pass rate, average repair rounds, token consumption per task, regression rate (fixing one and breaking three), and instruction retention under long context. Layered evaluation is recommended: unit-test level, repository level, and cross-file refactoring level, with manual spot checks retained to calibrate automated metrics. If a new version raises pass rate while token consumption and regression rate rise at the same time, it should be judged as “worse experience,” not a capability improvement.
6. Common Failure Modes and a Mitigation Checklist
- Reward hacking: insufficient tests lead the model to rewrite tests or hardcode return values. Mitigation: hidden test sets and behavioral differential detection.
- Evaluation contamination: evaluation samples leak into the training set and inflate metrics. Mitigation: mandatory deduplication checks before ingestion.
- Capability collapse: over-focus on a single language or framework degrades general capability. Mitigation: keep general-capability gate evaluations.
- Cost overrun: too many self-improvement rounds with diminishing returns. Mitigation: set early-stopping conditions and gain thresholds.
- Context mismatch: long repository information gets truncated and the model answers from incomplete context. Mitigation: retrieval augmentation and layered summarization.
7. Implementation Advice: Small Closed Loops First
For most teams, the safer path is to first get the “generate–verify–feed back” loop running on repositories in a single language with clear boundaries, stabilize the pass-rate and cost curves, and then gradually expand language and domain coverage. In the cloud, general-purpose capability categories are usually enough to support this: object storage for corpora and artifacts, a container platform for build and evaluation sandboxes, a message queue to decouple tasks, and logging plus monitoring and alerting to track regressions and cost. The general-purpose infrastructure categories that Baidu AI Cloud provides for this kind of training and evaluation pipeline can serve as a reference for capacity planning and isolation design.
8. Conclusion
The real meaning of the Recursive Self-Improvement and 100T data goals is to turn model R&D from “inspiration-driven” into a data- and evaluation-driven engineering system. To judge whether such a route holds, you only need to answer four questions: is the effect verifiably better, is it close to real user needs, does it bring revenue or replace cost, and does it significantly dilute per-unit R&D cost. If all four are yes, the route holds; otherwise, no matter how large the scale, it is just an internal loop.
