Evaluating Lightweight Flagship LLMs: A Geometric Construction Case Study

    As lightweight large language models approach flagship capabilities, standard benchmarks and simple HTML tests are becoming ineffective for model evaluation. This article explores how a constrained geometric construction task can test an LLM's instruction following, implicit reasoning, and engineering integration. It also shares practical observations on lightweight model performance and a methodology for developers to build their own tiered evaluation systems.

    I. Background: Why Lightweight Models Deserve Serious Attention

    Over the past two years, large language models (LLMs) have shown a clear “dual-track evolution” trend. One track is the flagship route, pursuing deeper reasoning and complex problem-solving capabilities. The other is the lightweight route—often suffixed with names like Flash, Mini, or Lite, collectively referred to here as “lightweight flagship models”—focusing on low latency, low cost, and high concurrent throughput. In the past, lightweight models were generally seen as “castrated versions” suitable only for shallow tasks like summarization or chitchat. However, with advancements in training strategies, distillation techniques, and inference frameworks, some lightweight models have begun to approach or even match flagship models in complex tasks.

    What does this mean for developers? It means the cost-to-performance curve for model selection is being rewritten. If a lightweight model can reliably handle medium-complexity code generation, structured output, and interactive page construction, its cost advantages in high-concurrency scenarios will be massively amplified. But there is a prerequisite: we need a trustworthy evaluation methodology rather than just looking at benchmark leaderboards.

    II. Evaluation Pitfalls: Why “Standard Tests” Are Failing

    One of the most popular testing methods in the community is asking models to “implement an animation/interaction effect using HTML” (commonly known as the HTML test). After this test gained popularity, a consensus gradually emerged: it is becoming a toy. There are three reasons:

    1. Task Saturation: Mainstream models have become highly uniform on simple animation tasks, offering insufficient differentiation.
    2. Lack of Process Constraints: By only requiring “presentable results,” models can bypass genuine reasoning through hardcoding or cheat-like implementations.
    3. Inability to Assess Instruction Following: In real-world engineering, prompts often contain strict step-by-step constraints, which standard tests rarely examine.

    A more effective evaluation approach is to design tasks where “results are verifiable and processes are constrained.” The following section illustrates this with a specific case study.

    III. Case Study: A Geometric Construction Task that Differentiates Model Tiers

    Task Description: Create an HTML webpage that implements an animation of constructing a regular heptagon using a marked ruler and compass. Step constraints include: first, construct the perpendicular bisector of the bottom edge of a square; then, draw an auxiliary circle centered at the bottom-right vertex with a radius equal to the diagonal length; next, place a marked ruler tightly against the bottom-left vertex, moving the first mark along the auxiliary circle until the second mark passes through the perpendicular bisector of the bottom edge; all other omitted construction steps must be fully completed. Additional requirements: trajectories generated by the compass should only leave marks on necessary sections, and a GIF export feature must be added at the end.

    This task seems as simple as “a pelican riding a bicycle,” but it actually hides multiple capability checkpoints:

    • Multi-step Instruction Following: The construction steps are written out of order in the prompt, and the model must rearrange them according to correct geometric logic.
    • Constraint Satisfaction: “Leaving marks only on necessary sections” tests the model’s awareness of detailed constraints.
    • Implicit Knowledge Invocation: A regular heptagon cannot be constructed directly with a standard compass and straightedge. The model needs to understand the complete process of the neusis construction (marked ruler construction).
    • Engineering Integration: The animation playback and GIF export require the model to possess certain frontend engineering organizational skills.

    In practical tests, even flagship-tier models often fail this task. A typical failure mode is drawing a regular heptagon correctly, but the implementation path completely deviates from the step descriptions in the prompt, relying on self-invented, non-existent auxiliary steps to force the result. This “right result, wrong process” output is often disastrous in real-world business scenarios.

    IV. Test Observations: Performance and Shortcomings of Lightweight Models

    Testing this task in AI coding tools (such as OpenCode-like terminal coding environments) reveals several representative phenomena:

    Capability Level: Better-performing lightweight models can fully follow the construction steps in the prompt. The generated animation process corresponds exactly to the description, and the completed auxiliary constructions conform to geometric logic. In terms of capability, such models can already compete with some flagship models.

    Engineering Level: Obvious shortcomings remain. One is slower output speed; the streaming output exhibits a stuttering rhythm, unlike the smooth flow of flagship models. Another issue is “thinking without outputting”—the model stays in the thinking phase for a long time, delaying the generation of actual content tokens, which can make a single task take over half an hour. This is fatal for interactive scenarios but has limited impact on offline batch processing.

    Comparison Level: Other lightweight models released around the same time performed mediocrely on this task. This suggests that among models with a “lightweight” positioning, the capability differences between different models might be greater than the differences between lightweight and flagship models. The blanket assumption that “lightweight equals weak” is no longer reliable.

    V. Methodology: How to Build Your Own Model Evaluation System

    Combining the above case study, here is a lightweight model evaluation process suitable for engineering teams:

    1. Build a Tiered Task Set

    • L1: Formatted output, summarization, rewriting (tests basic capabilities and cost);
    • L2: Single-file code generation, CRUD page construction (tests engineering capabilities);
    • L3: Multi-step reasoning + process-constrained tasks (like the geometric construction case in this article, tests instruction following and implicit reasoning).

    2. Process Scoring Over Result Scoring
    Score the generated results based on “whether specified steps were followed,” “whether fictitious steps were introduced,” and “constraint satisfaction rate,” rather than just looking at the final product. Example scoring dimensions:

    1. score = w1 * step_following_rate
    2. + w2 * constraint_satisfaction_rate
    3. + w3 * result_correctness
    4. + w4 * code_maintainability
    5. (Recommend w1 and w2 weights to be no less than 0.6)

    3. Monitor Non-Capability Metrics
    Thinking duration, time-to-first-token (TTFT), and the frequency of “thinking without outputting” directly impact user experience but are invisible on leaderboards.

    4. End-to-End Verification with Cloud Toolchains
    When validating in real business environments, leverage sandbox environments, logging services, and monitoring/alerting capabilities of model service platforms to systematically collect and analyze model failure cases, forming sustainable, iterable evaluation assets.

    VI. Conclusion

    The rise of lightweight flagship models is rewriting the “capability vs. cost” tradeoff formula. However, evaluation cannot stop at benchmarks and toy tests. Designing constrained tasks with verifiable processes and focusing on engineering metrics like latency and stability is the only way to identify a true “Flash model that doesn’t act like a Flash model.” For developers, rather than chasing a single star model, it is better to establish your own tiered evaluation system. It will help you make rational choices quickly every time a new model generation is released.