Efficiency Optimization Paths for Chinese Open-Source LLMs: Technical Points and Boundaries
This article examines the efficiency improvements seen in Chinese open-source large language models, focusing on reusable technical approaches rather than vendor-specific claims. It covers pure reinforcement learning versus traditional SFT+RLHF pipelines, self-correction during inference and its limits, engineering optimizations for compute and memory, open-source licensing considerations, and how to evaluate efficiency metrics fairly. The goal is to help readers determine which techniques are applicable to their own scenarios, along with the conditions and constraints of each method.
Recent progress in inference efficiency for Chinese open-source large language models has drawn widespread attention. Much of the discussion centers on how these models achieve strong mathematical reasoning and code generation capabilities at relatively low compute cost. This article does not rely on promotional data from any specific model. Instead, it outlines several reusable technical approaches, explains the applicable conditions and limitations of each, and helps readers judge which practices are worth adopting.
1. Training Paths: Differences Between Pure Reinforcement Learning and Traditional Pipelines
Traditional large language models typically follow three stages: pretraining, supervised fine-tuning (SFT), and reinforcement learning from human feedback (RLHF). SFT requires large amounts of manually written or curated demonstration data, which is often the most expensive part of the pipeline.
One approach is to reduce dependence on human annotation. For tasks such as mathematics and code, where answers can be automatically verified, the model generates multiple reasoning paths and receives rewards based on whether the final result is correct. This method is generally referred to as reinforcement learning with verifiable rewards. Its prerequisite is the existence of an objective scoring standard for the task.
It is important to note that “pure reinforcement learning” usually describes only the exploration phase; it does not mean the entire training process avoids supervised data. In practice, teams commonly use a small amount of high-quality data for cold-start training, followed by multi-stage reinforcement learning. The table below compares the two paths:
| Dimension | Traditional SFT + RLHF | RL with Verifiable Rewards as Core |
|---|---|---|
| Human annotation cost | High; requires substantial demonstration and preference data | Lower; relies mainly on automatic verifiers |
| Applicable tasks | Open-ended dialogue, writing, safety alignment, etc. | Math, code, and other tasks with clear scoring criteria |
| Training stability | Mature engineering; abundant tuning experience | Sensitive to reward design and hyperparameters |
| Output readability | Generally good | May produce mixed language or inconsistent formatting |
| Main risks | Annotation quality and cost | Reward hacking; uneven capability development |
The differences in the table are based on common practical observations. Exact values depend on task type, data scale, and team capability, so they should be confirmed with each team’s own experimental records.
2. Self-Correction During Inference: Capability Sources and Boundaries
Another frequently discussed capability is the model’s ability to generate intermediate reasoning steps before giving a final answer, then check those steps. The pseudocode below only illustrates the flow; it does not represent any specific model implementation.
def generate_with_reflection(prompt, model, max_attempts=3):attempts = 0best_answer = Nonewhile attempts < max_attempts:# Generate a response that includes intermediate reasoning stepsresponse = model.generate(prompt, include_reasoning=True)reasoning_chain = response.reasoningfinal_answer = response.answer# Verify the consistency and correctness of the reasoning chain# (depends on an external verifier; not a general built-in capability)is_valid = model.verify(reasoning_chain, final_answer)if is_valid:best_answer = final_answerbreakelse:# On failure, extract error features and inject them into the prompt for another attemptprompt = refine_prompt_with_errors(prompt, reasoning_chain)attempts += 1return best_answer if best_answer else response.answer
The key line in the code is model.verify, which is not a general-purpose capability that appears out of nowhere. Verification typically relies on one of the following: rule-based verifiers that can automatically check the result (e.g., running unit tests or plugging the answer back into the equation), a separately trained reward model, or external tools such as calculators or code interpreters. In domains that lack such verification conditions, this mechanism may not be usable.
This mechanism also carries clear risks. First, if an error occurs early in the reasoning chain, later steps may continue consistently along the wrong premise, and the verifier may not detect it. Second, multiple retries multiply inference latency and token consumption, potentially canceling out efficiency gains. Third, if the fallback after failure injects inaccurate error information, it may mislead subsequent generation.
3. Engineering Optimizations: Compute Scheduling and Inference Efficiency
Beyond algorithmic improvements, engineering-level optimizations also affect cost. Common areas of focus include:
- Heterogeneous compute scheduling: Allocate training and inference workloads to different types of accelerators based on task type and priority, while continuously monitoring utilization.
- Memory management: Monitor model weights, activations, and KV cache usage. In long-context scenarios, the KV cache is often the bottleneck for GPU memory.
- Communication-computation overlap: In multi-GPU training, try to run communication and computation concurrently to reduce idle device time.
- Inference framework selection: For frameworks such as vLLM, TensorRT-LLM, and SGLang, test throughput, latency, and stability under your own model, hardware, and request distribution before making a choice.
The benefits of these measures depend on hardware, model architecture, and business traffic patterns; there is no fixed improvement ratio that applies universally.
4. Open-Source Ecosystem: Scope of Openness and Pre-Usage Checks
The term “open source” has inconsistent meanings in the LLM space. Some projects release model weights but not training data; others release inference code but lack a complete training toolchain. Before adoption, check the following items one by one:
- Whether model weights, training code, inference code, and training data are each open.
- The license type, and whether it restricts commercial use, user scale, or requires attribution.
- The source and compliance of training data, especially when used for internal business purposes.
- Whether a technical report is provided, and whether the evaluation benchmarks, setup, and comparison baselines are clearly described.
For downstream developers, it is advisable to build an evaluation set that covers real business scenarios and record changes before and after each fine-tuning round. Public benchmark scores can serve as a reference but should not replace your own evaluation.
5. How to Rationally View “Efficiency” Metrics
When comparing model efficiency, the measurement criteria must be defined consistently. Unit cost can be measured as hardware time or expense per million output tokens. Latency must distinguish between time to first token and overall generation time. Accuracy should specify the evaluation set, decoding parameters, and whether multiple sampling runs were used. Comparisons that omit these conditions are difficult to reproduce and validate.
When selecting a model, consider the following questions: Does the task have an objective scoring standard? Can the existing hardware support the required concurrency? Does the team have the ability to maintain inference services? Does the license permit the intended use? Only when all these questions have clear answers does an efficiency advantage become practically meaningful.
Summary
The exploration of training and inference efficiency in Chinese open-source large language models offers useful reference points for the industry. The value of these approaches lies in their reusability and verifiability. Readers should distinguish between practices that have been validated and those that still need to be tested in their own contexts.
