Performance Evaluation and Selection Practices for Iterative Lightweight Open-Source LLMs

    This article examines why lightweight open-source large language models often suffer performance regressions during version upgrades, using a case where accuracy on a Chinese general benchmark dropped from about 63.0% to 55.5% while domain scores shifted unevenly. It outlines a three-layer evaluation methodology, reproducible evaluation configurations, and regression thresholds, then analyzes common causes of concentrated domain regressions such as data-mix drift, alignment changes, distillation and quantization, and benchmark contamination. Finally, it provides enterprise selection and deployment recommendations, including dual-track deployment, domain routing, continuous regression testing, and cost control.

    1. Background: Why Lightweight Model Iterations Are Prone to Performance Regression

    In resource-constrained inference scenarios, lightweight open-source models are widely used for customer support Q&A, document summarization, code assistance, and edge-side inference. Their appeal lies in small parameter counts, low VRAM usage, and low cost per output token, often enabling budget control on the order of CNY 1 per million tokens. However, a new version does not automatically mean better capability: when the training data mix, instruction tuning strategy, context length, or alignment objectives change, a model’s performance on a comprehensive evaluation set can fluctuate significantly.

    A typical pattern is a drop in accuracy on a public Chinese general benchmark from about 63.0% to about 55.5%, a decline of roughly 7.5 percentage points, with the ranking falling from 55th to 84th. More noteworthy is the uneven shift across sub-capabilities: education rose from 29.6% to 37.1%, while healthcare and mental health fell from 73.3% to 62.4% (-10.9%), finance from 70.3% to 63.0% (-7.3%), and law and public administration from 72.7% to 58.7% (-14.0%).

    These figures are a reminder that the “small” size of lightweight models trades capacity for efficiency. Once capacity is squeezed by newly added capabilities—such as longer context, stronger reasoning chains, or more languages—the model’s existing domain knowledge retention and stability can be diluted.

    2. Evaluation Methodology: How to Tell Whether an Upgrade Is Actually Better

    2.1 Build a Three-Layer Evaluation System

    • General capability layer: Chinese comprehension, commonsense reasoning, and long-document summarization.
    • Domain capability layer: high-risk fields such as healthcare, finance, law, and education.
    • Engineering capability layer: structured output stability, instruction following, latency, and throughput.

    2.2 Control Variables and Ensure Reproducibility

    Fix the prompt templates, temperature, maximum output length, and decoding strategy, and record the evaluation set version and scoring rules. Example configuration:

    1. eval:
    2. temperature: 0.0
    3. top_p: 1.0
    4. max_tokens: 512
    5. prompt_version: v3
    6. dataset_snapshot: 2025-06
    7. scoring: exact_match+human_review

    2.3 Focus on Regressions, Not Just Averages

    Set a red-line threshold for each domain—for example, healthcare and law scores must not fall below 95% of the previous version’s relative level. Once a threshold is breached, block the release.

    3. Root-Cause Breakdown: Why Domain Capabilities Regress Together

    • Data-mix drift: the share of general corpus increases, diluting domain-specific data.
    • Alignment objective changes: a stronger emphasis on “safe refusal” makes answers to domain questions more conservative, lowering scores.
    • Distillation and quantization: compression to reduce VRAM and cost makes long-tail knowledge more likely to be lost.
    • Benchmark contamination and decontamination: changes in the training-side deduplication strategy alter scores on “memorization-type” questions.

    4. Enterprise Selection and Deployment Recommendations

    1. Dual-track deployment: use the new version for low-risk, high-concurrency scenarios, and keep high-risk domain scenarios on the previous stable version or a larger-parameter model.
    2. Routing strategy: use a lightweight classifier to identify the domain and route healthcare, legal, and financial requests to a higher-assurance pipeline.
    3. Continuous regression: integrate the evaluation pipeline into continuous integration so that every model change automatically runs the three-layer evaluation and produces a comparison report.
    4. Cost control: on cloud platforms such as Baidu AI Cloud, you can combine general capabilities like container platforms, log services, and monitoring and alerting to build canary releases and observability, but avoid binding to a single proprietary interface to preserve portability.

    5. Conclusion

    The value of lightweight open-source models lies in cost efficiency, but version upgrades must be premised on domain regression testing plus canary routing. Only by turning evaluation from a one-off leaderboard into an engineering pipeline can you reliably obtain usable capability under budget constraints.