Large Model Development Retrospective: Balancing Scale, Data, and Cost-Effectiveness in Engineering

    This article reviews the engineering lessons from rebuilding large model infrastructure and shipping two models in quick succession. It explains three core principles—systematic capability coverage, evaluation grounded in real tasks, and cost-aware tiered routing—along with why scaling laws still hold without guaranteeing intelligence, how to treat data quality as an experiment rather than a slogan, and how to fold safety evaluation into release gates. A practical checklist for technical teams is included.

    1. Background: Rebuilding Infrastructure in Nine Months, Shipping Two Models in Two

    A public technical Q&A ran for two hours, with the team answering nearly a hundred questions spanning model scale, architectural trade-offs, and safety evaluation. The value of such a session is not the conclusions themselves, but that it breaks “where model capability comes from” into a verifiable engineering chain.

    The timeline is worth noting: counting from the rebuild of pretraining and reinforcement learning infrastructure, it took nine months for the flagship model to enter the ranks of the world’s strongest open-source models; a little over a week later, the team shipped a cost-efficiency version aimed at everyday tasks, at roughly one-twentieth the per-task cost of the flagship. In third-party evaluations, the flagship ranked among the top domestic models on a composite intelligence index and first among open-source models on agentic competition leaderboards.

    The takeaway for engineering teams: the ceiling on model iteration speed is usually set by infrastructure maturity, not by algorithmic inspiration.

    2. What the Three Principles Mean in Practice

    2.1 Systematic capability: no weak subjects

    A model with weak subjects typically looks good on leaderboards but fails in production: strong reasoning but poor tool calling, strong long-context handling but unstable structured output. A systematic approach decomposes capability into dimensions (knowledge, reasoning, code, instruction following, tool use, multi-turn consistency), sets a minimum acceptable threshold for each, and blocks release if any dimension falls short.

    2.2 Evaluation authenticity: test on real tasks

    Leaderboard scores are proxy metrics; real tasks are the target metric. The executable approach is to sample real online requests, anonymize them, and turn them into a regression suite, while keeping a portion permanently excluded from training as a holdout set to prevent evaluation contamination.

    1. # Minimal structure of a real-task regression suite
    2. regression_suite = {
    3. "holdout": [...], # Never enters training; acceptance only before release
    4. "online_sampled": [...], # Anonymized online samples, weighted by business distribution
    5. "adversarial": [...], # Safety, privilege escalation, prompt injection, and other adversarial cases
    6. }
    7. def gate(model, suite, thresholds):
    8. report = {name: evaluate(model, cases) for name, cases in suite.items()}
    9. return all(report[k] >= v for k, v in thresholds.items()), report

    2.3 Cost-effectiveness: make intelligence affordable

    Cost is not a single dimension. It includes at least per-task cost, time to first token, throughput, and the hidden overhead of retries. The mature practice is tiered routing: simple requests go to a small model, complex requests escalate to a large model.

    1. def route(request):
    2. if request.estimated_difficulty < 0.4:
    3. return small_model(request) # Covers most everyday tasks
    4. return large_model(request) # Complex reasoning and long-chain tasks

    3. Scaling Laws Still Hold, but Bigger Does Not Mean Smarter

    The most easily misread point in the Q&A was this: a well-built small model can beat a larger one. This does not mean scale is ineffective; it means scaling gains can be masked by data quality, training recipe, and post-training sufficiency. A small-to-mid model that is fully trained on clean data can well outperform an undertrained large model on real tasks.

    The sensible strategy is therefore two-track: keep training larger models to preserve the capability ceiling, while pushing existing models to their limit through post-training (supervised fine-tuning, preference optimization, reinforcement learning with verifiable rewards). The marginal return of post-training is usually far higher than blindly adding parameters, and the cost is more controllable.

    4. There Is No Universal Standard for Data Quality; Only Experiments Decide

    “High-quality data” is the concept most easily reduced to a slogan. The actionable alternative is to treat data as a hypothesis that needs experiments:

    • Build data lineage and a mixture manifest, so any mixture change is traceable and rollback-able;
    • Run small-scale proxy experiments, comparing mixture gains on a fixed evaluation set;
    • Focus on deduplication, denoising, difficulty stratification, and domain mixture rather than simply piling up volume;
    • Preserve a human taste stage: experienced researchers judge whether a sample is “worth learning,” then experiments confirm it.

    Human judgment proposes hypotheses; experiments falsify them. Neither can be missing.

    5. Safety Evaluation and Architectural Trade-Offs

    Safety evaluation should be moved earlier, into the data and post-training stages, covering privilege escalation, prompt injection, harmful content, and privacy leakage, and be included in the release gate. On architectural trade-offs, there is no universal optimum for the combination of attention variants, sparsification, context length, and inference cost; the only reliable criterion remains the effect and cost curve on real tasks. If training and inference run in the cloud, general-purpose capabilities (container platform, object storage, message queue, logging service, monitoring and alerting) can be used to build elastic clusters and a full-chain observability system, turning resource utilization and failure rate into metrics that can be continuously optimized.

    6. A Practical Checklist for Technical Teams

    1. Define the capability matrix and minimum thresholds first, then discuss model scale;
    2. Build a holdout evaluation set that is never contaminated; release must pass the gate;
    3. Control cost with tiered routing, reserving the flagship model for high-value requests;
    4. Route every data mixture change through a small experiment, and write the conclusion into documentation;
    5. Give safety evaluation equal weight with effectiveness evaluation; block release if either fails;
    6. Turn every Q&A and retrospective into a searchable internal knowledge base to shorten the next iteration cycle.