Beyond Parameter Scale: Engineering Better LLM Performance with Data, Evaluation, and Post-Training

    Large language model capability is not determined by parameter count alone. At the same model size, data quality, evaluation, and post-training often decide what a model can actually do. Written for developers who need to deploy LLMs, this article explains what each engineering stage is responsible for and provides directly actionable steps. It covers data as a constraint on model behavior, reward and label design, a data flywheel and multi-layer evaluation, the risks of premature parameter scaling or MoE adoption, long-context architecture selection, common data-cleaning mistakes, and a deployment checklist.

    Large language model capability does not come only from parameter scale. At the same model size, data quality, evaluation, and post-training quality often determine what a model can achieve. This article is for developers who need to deploy LLMs. It explains what each engineering stage is responsible for and gives steps that can be executed directly.

    Training Is Only a Small Part of the Work: How Should Effort Be Allocated?

    Senior industry engineers note that in real machine learning projects, model training usually accounts for only a small portion of the work, with most effort going to evaluation and data processing. Exact proportions vary by project type and team. This article does not give precise numbers, only an empirical judgment: training is the final stage of the pipeline, and data understanding and validation are the main work before it.

    What a model learns depends on its inputs. If data contains incorrect labels, ambiguous definitions, or distributions that drift over time, the model will learn only a compressed version of that noise. Teams should make data and evaluation solid before expanding training scale.

    Why Can Data Be Compared to a Model’s Programming Language?

    Here, “ontology” refers to conventions that specify what the model should and should not learn, through labels, reward functions, and similar mechanisms. It defines what “correct” means from the model’s perspective. Comparing data to a model’s programming language emphasizes how data constrains model behavior. This is a metaphor, not a strict definition.

    In reinforcement learning, ontology is expressed through reward functions. A reward function specifies which behaviors should be encouraged and which should be penalized. If it is not rigorous enough, the model may find loopholes in the reward function and behave in ways inconsistent with the designer’s intent. Practical reports describe attempts to improve “honesty” and reduce risky behavior through reinforcement learning in which models showed conservative, avoidance-oriented tendencies, lowering long-horizon task completion rates. The exact mechanism still needs more public research, but it reminds teams that reward functions should be designed together with evaluation and tested against edge cases before launch.

    In supervised fine-tuning, ontology is expressed through dense labels. For tasks such as medical evidence grading and content compliance judgment, if label definitions are ambiguous, annotators will disagree, and the model cannot learn a stable decision standard. Before annotation, write an annotation manual, list positive examples, negative examples, and boundary cases, and calculate inter-annotator agreement.

    How to Build a Data Flywheel and Multi-Layer Evaluation?

    Pretraining consumes substantial compute, but most product teams deal daily with post-training, evaluation, and iteration. A data flywheel can be broken into a minimal loop: sampling, labeling, evaluation, backflow, and regression.

    1. Sampling: extract real requests from online logs, stratify by scenario and difficulty, and record the source and time of each batch.
    2. Labeling: follow the annotation manual, sample a portion of data for secondary review, and record the disagreement rate.
    3. Evaluation: test the model with a fixed evaluation set. The set should cover common scenarios, long-tail scenarios, and known failure cases.
    4. Backflow: add error samples found during evaluation to the training set and mark their error types.
    5. Regression: after each training run, rerun the full evaluation set to confirm that old capabilities have not degraded.

    Each step should leave artifacts, such as sampling lists, annotation manuals, evaluation reports, and regression records. Without these records, teams can hardly judge whether an improvement is real.

    What Are the Risks of Blindly Scaling Parameters or Introducing MoE?

    If the data and evaluation systems have not kept pace, scaling parameters or introducing a mixture-of-experts architecture may result in a model that more efficiently memorizes noise in the training data without improving generalization. Architecture upgrades should advance together with data engineering, not before it.

    How Should Long-Context Architectures Be Selected?

    In ultra-long-context scenarios, standard attention computation grows rapidly with sequence length, which is the so-called compute wall. Sparse attention and shared indexing are common approaches. They reduce computational complexity by decreasing the number of key-value pairs involved in computation, so the inference burden added when processing long texts is smaller.

    These methods have clear boundaries. First, they mainly provide gains when sequences are long enough and standard attention becomes a bottleneck; gains in short-text scenarios are limited. Second, higher sparsity saves more compute but may miss key information, requiring a trade-off between speed and recall. Finally, effectiveness depends on hardware and operator implementation, so latency and throughput must be measured in the target deployment environment.

    When selecting, first compare the accuracy of standard attention and sparse approaches on a long-context evaluation set, then measure end-to-end latency, and finally decide whether to adopt the approach.

    What Are Common Data-Cleaning Mistakes and What Should Be Watched?

    Common mistakes include focusing on quantity but not quality; mistakenly deleting different but similar samples during deduplication; cleaning rules without version records, making results unreproducible; and overlap between evaluation and training sets, which inflates scores. To address these issues, document the purpose and scope of each cleaning rule, regularly check for duplication between training and evaluation sets, and retain before-and-after sample comparisons.

    Deployment Checklist

    1. Data cleaning: each rule has a version number and description; sample comparisons are made before and after cleaning.
    2. Evaluation-set regression: the evaluation set has a fixed version and covers key scenarios; run full regression after each training run.
    3. Post-training iteration: record data sources, training configuration, and evaluation results for each round; only versions that pass regression enter the release process.

    Improvements in large models come from multiple stages working together. Parameter scale is only one factor. Under limited compute, making data, evaluation, and post-training solid usually yields more return than blindly expanding scale.