A Practical Methodology for Benchmarking 10 Lightweight Models Across 7 Task Categories
This article presents a reproducible methodology for comparing 10 lightweight LLMs across seven task categories. It explains why side-by-side model comparisons often produce contradictory results, defines six variables that must be fixed to keep results comparable, and breaks down the capability demands and scoring criteria for each task. The key takeaway is to aggregate results by capability dimension and route easy and hard workloads to different model tiers instead of relying on a single model.
1. Why Lightweight Model Comparisons Go Wrong
In real engineering work, putting ten models with similar parameter counts and a “fast response” positioning on the same table across seven task categories is a common selection exercise. Yet this kind of comparison often produces contradictory conclusions: the same model may rank first in structured classification but last in long-chain code generation. The reason is not mysterious—capability is distributed very unevenly across lightweight models. They perform close to large models on tasks with short inputs, strong constraints, and enumerable outputs, but degrade noticeably on tasks involving long context, multi-step reasoning, and cross-file consistency.
So the first principle of evaluation is not to “pick the strongest model,” but to break tasks down by capability dimension and measure each one separately. The seven categories cover two main lines: personal-assistant capabilities (information retrieval and summarization, text classification, data collection and organization, content localization) and programming/generation capabilities (animation script generation, 3D modeling parameter generation, complex interactive scene code generation).
2. Evaluation Design: Six Variables to Fix for Reproducibility
To make results comparable across ten models, you must lock down the variables first. Fix the following six items:
- Unified prompt templates: Each task allows only one system prompt and one user prompt. Per-model prompt “tuning” is not allowed.
- Unified decoding parameters: Keep temperature, max output length, and stop conditions identical. If a model does not support a parameter, mark the missing item explicitly in the report.
- Unified input corpus: All tasks use the same set of samples, with at least 30 samples recommended, so that a single coincidence does not dominate the conclusion.
- Unified output format constraints: When structured output (such as JSON) is required, field names, hierarchy, and enum values must be exactly the same.
- Unified scoring rules: Use a two-layer scheme of “automated checks + manual spot checks.” Automated items cover format and correctness; manual items cover readability and reasonableness.
- Unified runtime environment: Record call latency, concurrency, and retry policy so that rate limiting is not mistaken for a capability gap.
A sample evaluation driver structure is shown below (pseudocode that expresses only the flow and points to no specific API):
TASKS = ["role_search", "comment_cls", "data_collect","i18n_site", "science_anim", "turret_model", "corridor_scene"]def run_eval(model, task, samples, cfg):results = []for s in samples:prompt = build_prompt(task, s, cfg)out = call_model(model, prompt, temperature=cfg.t, max_tokens=cfg.max_tok)results.append(score(task, out, s.gold, cfg))return aggregate(results)
3. Capability Breakdown and Scoring Criteria for the Seven Tasks
1. Role search (information retrieval and summarization)
This tests multi-hop matching within a given set of settings: locate candidates first, rule out conflicting items, then provide the basis. Scoring should check whether the basis is traceable to the input, not whether the answer “looks right.” A common lightweight-model problem is jumping straight to a conclusion.
2. Comment classification (structured judgment on short text)
This is the home turf of lightweight models. Scoring focuses on label consistency, boundary-sample handling, and the ability to abstain. A confusion matrix is recommended to see whether the model forces neutral samples into extreme categories.
3. Data collection and organization (instruction following + structured output)
The point is not “can it write collection logic,” but whether it can stably output structured results with complete fields and correct types, and give a clear null-value policy when a field is missing rather than fabricating one.
4. Site localization (long-text consistency and glossary compliance)
This tests multi-turn consistency under glossary constraints. Scoring should include glossary hit rate, omission rate, and correctness of contextual references—none of the three can be skipped.
5. Science animation (multimodal script and storyboard generation)
The input is a knowledge point and the output is a storyboard table (timeline, narration, visual description). Scoring checks whether the timeline is monotonic, whether narration matches the visuals, and whether the duration of each shot is executable.
6. Turret modeling (parametric geometry generation)
The output is a parametric description or script. Scoring checks whether parameters are closed, whether revolve/array logic is correct, and whether the result stays self-consistent under extreme parameters. This task is extremely sensitive to mathematical consistency and is the key watershed for separating models.
7. Flash corridor (complex interactive scene code)
Long context + multiple files + state management make this the task that most demands “engineering consistency.” Scoring checks module decomposition, naming consistency, boundary-condition handling, and runnability.
4. Reading the Results: The Split Between Assistant-Type and Programming-Type Tasks
After aggregating the seven items by dimension, a clear polarization usually appears. On tasks with “clear constraints and enumerable outputs” such as classification, retrieval, and localization, the ten models differ only slightly, so selection can prioritize response speed and cost. On tasks that are “long-chain and consistency-heavy” such as modeling and scene code, the gap widens rapidly; single-point prompt optimization is almost useless, and you must rely on a longer reasoning budget, stricter constraint validation, and coordination with external tools.
The engineering recommendation is scenario-based routing: send light tasks through a low-cost fast lane and heavy tasks through an enhanced lane with validation and retries, then keep regressing against a unified evaluation set. This avoids the hidden cost of expecting “one model to do everything.”
5. Common Pitfalls and a Deployment Checklist
- Prompt leakage: Customizing prompts for individual models makes conclusions non-transferable.
- Too few samples: A ranking derived from ten samples has almost no statistical meaning.
- Checking format but not semantics: Valid JSON with wrong content gets falsely marked as passing.
- Ignoring failure retries: Counting rate limits and timeouts as capability defects.
- No regression baseline: After a model iteration, you cannot tell whether it improved or regressed.
Deployment checklist: fix the six variables → build a stratified test set of 30+ samples → run automated checks + manual spot checks → aggregate by capability dimension → route by scenario → regress on every iteration. Following this flow turns the seven-task comparison of ten lightweight models from “a lively one-off experiment” into “a reusable selection asset.”
