From Parameter Scaling to Sandbox Scaling: How LLMs Are Unlocking New Coding and Cybersecurity Capabilities

    Recent model releases are challenging the long-held assumption that larger parameters always mean better performance. A roughly 700B-parameter model has reportedly surpassed a competitor nearly twice its size on long-horizon coding agent benchmarks and cybersecurity tasks. This article examines the shift from pure parameter scaling to post-training innovations, introducing the concept of "Sandbox Scaling Law"—where the scale of execution environments, rather than model size, drives capability gains. It explores how reinforcement learning in diverse sandbox environments enables emergent programming and security abilities, the role of self-adaptive optimization, and what this paradigm shift means for developers and enterprises evaluating and deploying AI models.

    Introduction: When Smaller Models Outperform Larger Ones

    Over the past year, the AI industry has largely operated under a fixed assumption: model capability must scale with parameter count. More parameters, more training data, and longer training runs formed what many considered the “iron triangle” of capability improvement. A wave of recent model releases, however, is beginning to unsettle this belief.

    One striking example: a model with roughly 700 billion parameters has outperformed a competitor with approximately twice that parameter count—even though the larger model employs a newer architecture—on several challenging agent-based evaluation benchmarks. The gap is particularly pronounced in long-horizon coding agent tasks and cybersecurity offense/defense simulations.

    This raises a critical question: Do smaller models truly have no ceiling? Has Scaling Law stopped working? This article explores the technical pathways behind this shift to provide some answers.

    Rethinking Scaling Law: It Hasn’t Disappeared—It Has Changed Form

    Diminishing Returns on Parameter Scaling

    First, it is important to clarify that parameter-based Scaling Law has not actually failed. It has entered a phase of diminishing marginal returns. As the quality and quantity of pretraining data approach the practical limits of public human text, the capability gains from simply adding more parameters become increasingly limited. Meanwhile, inference costs rise nearly linearly with parameter count, making “bigger” no longer a sufficient condition for “better.”

    Post-Training Becomes the New Frontier

    What has changed is the primary arena for capability improvement: the focus has shifted from the pretraining stage to the post-training stage. Post-training includes supervised fine-tuning (SFT) and reinforcement learning (RL) based on human or environmental feedback. Recent practice shows that, on top of an established base model, a well-designed RL pipeline can yield capability gains far exceeding what parameter expansion alone would provide.

    This trajectory echoes the development of game-playing AI. After supervised learning hit its ceiling, pure RL with self-play produced a qualitative leap—even completely discarding human game records. The LLM field now appears to be replaying that moment: when the environment provides rich feedback and precise reward signals, models can, through massive self-trial-and-error, acquire capabilities that supervised data simply cannot cover.

    Sandbox Scaling Law: Environment Scale as a New Variable

    A new kind of scaling law is emerging. If parameter count has not increased substantially, where is the “scale” growth that drives this capability jump? The answer lies in the quantity and diversity of sandbox execution environments.

    Reports indicate that the model’s training used dozens of times more sandbox environments than previous efforts. These sandboxes provide real code execution, compilation, testing, and debugging feedback, giving the model dense and reliable reward signals during RL. We can call this the Sandbox Scaling Law:

    • Environment Quantity: More parallel sandboxes mean more trial-and-error trajectories per unit of time;
    • Environment Diversity: Broader coverage of programming languages, frameworks, dependency combinations, and failure modes;
    • Feedback Authenticity: Real execution results (compile errors, test failures, timeouts, security alerts) are more reliable than any manual annotation.

    The training loop can be abstracted as follows:

    1. # Pseudocode illustrating the RL training loop
    2. for step in range(training_steps):
    3. tasks = sample_tasks(task_pool) # Sample coding/security tasks
    4. trajectories = []
    5. for env in sandbox_pool.acquire(len(tasks)): # Acquire sandboxes in parallel
    6. trajectory = agent.rollout(task=tasks.pop(), env=env)
    7. # The model executes in the sandbox: write code -> run -> observe errors -> fix
    8. trajectories.append(trajectory)
    9. sandbox_pool.release(env)
    10. rewards = compute_rewards(trajectories) # Compute rewards from test/attack results
    11. policy.update(trajectories, rewards) # Update policy

    The core insight of this paradigm: compute investment is shifting from “training larger models” to “building larger training grounds for models.”

    The Leap in Programming Capability: From Code Completion to Long-Horizon Agents

    Upgraded Evaluation Dimensions

    Early code capability evaluations focused on single-function generation—for instance, completing an implementation from a function signature. Current cutting-edge benchmarks have shifted to long-horizon agent tasks: models must understand context within a real codebase, locate defects, modify files across multiple paths, run tests, and iteratively fix issues. The entire workflow may span dozens of interaction rounds. These tasks test planning, long-context memory, and error recovery—capabilities that cannot be achieved by relying on pretraining knowledge alone.

    Reinforcement Learning Drives Qualitative Change

    Post-training advantages are amplified precisely in these long-horizon tasks. Through RL on large-scale real-world repository repair tasks, the model learns not just “how to write code,” but “how to work like an engineer”: read code, write a minimal reproduction, form hypotheses, verify them, then modify. This procedural workflow capability is difficult to acquire through static corpus supervision, yet it is naturally suited to trial-and-error learning in sandbox environments.

    The Emergence of Cybersecurity Capabilities: The Most Notable “Unexpected Gain”

    Emergence Rather Than Dedicated Training

    The most widely discussed outcome is the model’s performance on cybersecurity offense/defense benchmarks—specifically vulnerability discovery and exploitation tasks in simulated target environments. What stands out is that this capability is largely emergent: the code comprehension, system interaction, and multi-step reasoning acquired through coding agent training transferred naturally to security scenarios.

    The mechanism is not hard to understand. Vulnerability hunting fundamentally requires the model to read code like an attacker, craft inputs, observe system behavior, and iterate on exploitation chains—a cognitive structure highly isomorphic to debugging code. When a model has honed the “hypothesize-verify-correct” loop in programming sandboxes, applying it to CTF-style target environments follows naturally.

    Dual-Edged Effects and Governance Considerations

    The emergence of cybersecurity capability is a double-edged sword. On one hand, it enables defensive applications such as automated vulnerability scanning, code security auditing, and assisted penetration testing. Enterprises can use these capabilities to surface security issues early in the development stage. On the other hand, the same capabilities could be misused for automated attacks. This calls for strict capability tiering, access control, and usage auditing mechanisms on the part of model providers. It also reminds the security community that defensive systems must evolve at the same pace as model capabilities.

    Self-Adaptive Optimization: Another Piece of the Training Paradigm

    From Static Curriculum to Dynamic Curriculum

    Beyond sandbox scale, self-adaptive optimization is another technical thread worth attention. The core idea parallels curriculum design in game AI: training task difficulty should not be statically preset but dynamically adjusted to the model’s current capability level—keeping the model training in the “challenging but achievable” zone.

    Why Adaptive Optimization Works

    • Avoids overfitting on easy tasks: If tasks are too simple, reward signals saturate and gradient information approaches zero;
    • Prevents failure on overly hard tasks: If tasks far exceed current capability, the model rarely receives positive reward and learns little;
    • Maximizes information efficiency: Dynamic difficulty matching ensures every training trajectory carries maximum learning signal, yielding higher capability gains under the same compute budget.

    This aligns with the “zone of proximal development” concept in educational psychology and explains why training methodology innovation can continue to squeeze out meaningful capability improvements even when parameter count remains unchanged.

    Implications for Developers and Enterprises

    Evaluation Paradigms Must Be Updated

    Evaluating a model should no longer rely on the “paper strength” of parameter count. Instead, the focus should be on: how much RL compute was invested in post-training, how realistic and diverse the training environments were, and what measured data exists on agent tasks in target scenarios. Parameter size is only the starting point—the training ground is where the real differentiation happens.

    Engineering Recommendations for Deployment

    For teams seeking to apply these models, several practical points are worth attention:

    1. Prioritize scenarios with verifiable feedback: Programming, data processing, and security auditing naturally lend themselves to automated verification (test cases, scan reports) and are best suited to leveraging agentic capabilities;
    2. Build your own sandbox and evaluation pipeline: Even at the application layer, teams should set up code execution sandboxes and regression evaluation sets, using objective metrics to track model performance on their specific business scenarios;
    3. Pay attention to cost structure changes: Stronger small-parameter models mean lower inference costs and higher concurrency. In agent scenarios that require multiple rounds of invocation, this cost advantage is further amplified;
    4. Establish safe usage boundaries: When security offense/defense capabilities are involved, always operate within authorized scope and maintain complete audit logs of usage.

    At the infrastructure level, teams can leverage container platforms, logging services, and monitoring and alerting capabilities from general-purpose cloud providers to quickly set up the sandbox and evaluation systems described above, avoiding the need to build everything from scratch.

    Conclusion

    The recent leap in model capability conveys a straightforward lesson: Scaling Law is not dead—it has migrated from the parameter dimension to the environment and feedback dimension. As post-training RL paradigms mature, sandbox environments continue to scale, and adaptive curriculum mechanisms improve, models can keep evolving without significantly increasing parameter count. The deepening of programming capabilities and the emergence of cybersecurity abilities are only the first fruits of this paradigm shift. The real competitive moat in the future may not lie in who has the larger model, but in who can build the better training ground.