Evaluating Lightweight Flagship LLMs Through a Geometric Construction Task
This article examines how to evaluate lightweight flagship large language models. It uses a task that asks a model to build an HTML animation of constructing a regular heptagon with a two-mark ruler. The article explains why this type of task can reveal differences in instruction following, compares the outputs of a lightweight model and a flagship model, and offers guidance on model selection, latency, stability, cost, and output verification.
Evaluating Lightweight Flagship LLMs Through a Geometric Construction Task
1. Background: Lightweight Models Are Approaching the Capability Frontier of Flagship Models
Over the past year, a clear trend has emerged in the large language model field: major vendors have begun releasing models positioned as “lightweight flagships.” These models are often named with labels such as “Flash,” “Lite,” or “Mini.” They emphasize low latency, low cost, and high concurrency, and they are designed for large-scale inference workloads. The traditional view is that lightweight models suit only low-risk tasks such as simple conversation and text summarization. For complex reasoning, multi-step planning, or precise code generation, users have needed to switch to a full-scale flagship model.
Recent hands-on testing suggests that the capability boundary of this generation of lightweight models is expanding quickly. Many developers report that some newly released lightweight models can go head to head with the previous generation of flagship models on complex programming tasks. On some tasks that require long chains of reasoning, they even outperform those models. This trend deserves serious attention. If lightweight models can cover most of what flagship models do, the logic behind enterprise decisions on model selection, cost budgeting, and architecture design will change.
However, a strong impression and a demonstrated capability are not the same thing. To answer whether lightweight models are truly up to the job, we need evaluation methods that can clearly separate strong models from weak ones. This article starts with a concrete test case and discusses the methodology of evaluating lightweight models.
2. Why Tasks with a High Bar Are Needed
2.1 Limitations of Standard Benchmarks
The community commonly uses two kinds of evaluation. The first is standardized leaderboards, which include multiple-choice questions, mathematical reasoning, and code generation. The second is popular “toy tests,” such as asking a model to draw an animal riding a bicycle or to write a static web page. These approaches have several problems:
- Serious data contamination: Public benchmark questions may already be in training corpora, so a high score does not necessarily reflect real capability.
- Insufficient discrimination: Toy tests are too simple. Mainstream models can all complete them, so they cannot separate models from one another.
- No measure of instruction adherence: Many tests only check the final result and ignore whether the model follows the specified steps.
2.2 Characteristics of a Good Test
A discriminating test task should meet three conditions:
- Clear goal, constrained path: The task requires the correct result and also requires that the result be produced by a specified method. This prevents the model from taking shortcuts.
- Multi-step precise reasoning: The task involves several stages, such as geometric calculation, coordinate derivation, and animation timing. An error at any step can cause the final output to fail.
- Directly verifiable output: The output is a visual web page or animation. A reviewer can judge correctness by looking at it, without a complex scoring script.
3. Test Case: An HTML Animation of Constructing a Regular Heptagon with a Two-Mark Ruler
3.1 Task Description
The prompt used in this test asks for the following: write an interactive HTML page that demonstrates the complete process of constructing a regular heptagon with a “two-mark ruler.” A two-mark ruler is a straightedge with two tick marks, a classical geometric construction tool. The required construction steps are:
- Take a square and construct the perpendicular bisector of its bottom side.
- Using the bottom-right vertex as the center and the diagonal as the radius, draw a circle.
- Keep the two-mark ruler in contact with the bottom-left vertex and slide it so that the first mark moves along the circle, until the second mark passes exactly through the perpendicular bisector of the bottom side.
- Add the remaining standard compass-and-straightedge steps, such as constructing further perpendicular bisectors and determining the center of the circumscribed circle.
- The construction process should leave a trace that appears only where necessary. The page should also provide a feature for exporting the animation as a GIF.
3.2 Why This Task Discriminates
On the surface, this looks like a simple “web animation” task. In practice, it contains several difficulties:
- Geometric understanding: The model must genuinely understand the neusis construction, a relatively obscure classical method. It needs to know what it means mathematically for the ruler to stop sliding when the distance between the two marks equals the radius of the circle.
- Constraint adherence: The prompt specifies the construction route, so the model must not invent alternative steps.
- Engineering implementation: The task requires several front-end skills working together, including canvas or SVG animation, a frame-by-frame state machine, trace recording, and GIF encoding and export.
- Consistency over a long chain: The full generation often requires tens of thousands of tokens. The model must keep its logic consistent across a very long output.
These combined difficulties can cause even some flagship models to fail the task.
4. Experimental Results and Comparative Analysis
4.1 Lightweight Model Performance
We called a new-generation lightweight flagship model in a real coding environment. Several observations stood out:
- Unusual reasoning rhythm: The model’s reasoning output came in a choppy, stop-and-go pattern. It also had long pauses where it reasoned without producing any output. The total run took about thirty-odd minutes.
- High-quality final result: The generated page followed the prompt’s construction route closely. It included the square, the perpendicular bisector, the circle centered at the vertex, the sliding two-mark ruler, the trace, and the GIF export. Each stage corresponded to a step in the prompt, and no step was skipped.
- Performance beyond expectations for its tier: Apart from its slow output speed, we found almost no obvious defects. Its capability approached, and in some respects matched, the previous generation of flagship models.
4.2 A Flagship Model Failure Case
For comparison, we ran the same prompt on the official platform of another flagship model. After nearly twenty minutes of generation, it produced a page that appeared to meet the requirements. The final canvas showed a regular heptagon, and the animation played.
A close review of the code, however, revealed a problem. The implementation did not match the construction route described in the prompt. The model skipped the core step of sliding the two-mark ruler. It added auxiliary steps that do not exist in the specified construction, then computed the heptagon’s vertex coordinates directly and drew them. In other words, the model produced the correct figure but did not complete the specified proof process.
4.3 What the Results Show
This comparison leads to two main conclusions:
- A correct result does not mean the task was completed. For tasks with explicit process constraints, reviewers must inspect the intermediate implementation path. Otherwise, a superficially correct output can easily mislead them. In real business settings, this carries serious risk. For example, if a model is asked to generate code that follows a specific compliance procedure but bypasses that procedure to deliver the result directly, it may create audit problems.
- Lightweight models have become strong at following long-chain constraints. In this test, the lightweight model kept each step of the prompt in view throughout a very long output. This instruction fidelity is a key dimension for telling models apart, and it is where many flagship models fail.
5. Implications for Model Selection and Engineering Practice
5.1 Build Your Own Evaluation Set
Enterprises should not rely only on public leaderboards when selecting models. We recommend drawing 20 to 50 tasks with verifiable processes from real business scenarios to form a private evaluation set. Focus on the following:
- Completeness of instruction following: Does the model implement every constraint?
- Stability over long outputs: Does the model drift off topic, repeat itself, or forget earlier context partway through?
- Failure modes: Does the model give up, fabricate content, or quietly deviate from the requirements?
5.2 Boundaries of Lightweight Models
This test suggests that new-generation lightweight models can handle fairly complex code generation and reasoning tasks. However, several cautions apply:
- Latency and throughput: On complex tasks, lightweight models may spend a long time reasoning. For latency-sensitive scenarios, measure end-to-end time in practice.
- Stability: Occasional cases of reasoning without any output suggest the need for timeouts and retry mechanisms.
- Cost accounting: Lightweight models have low unit prices, but long reasoning chains can consume many tokens. Total cost may differ from expectations, so calculate it using real tasks.
5.3 Do Not Skip Verification
Regardless of the model tier, tasks with process constraints should include automated or manual verification. Examples include static checks that confirm the generated code contains the specified algorithm steps, comparisons of runtime snapshots, and assertions on key intermediate artifacts. A model whose output looks correct is the most dangerous state to be in.
6. Conclusion
The rise of lightweight flagship models is changing how large language models are applied. However, the fact that these models are approaching flagship-level capability is both an opportunity and a trap. It allows more scenarios to run at lower cost, but it also requires stricter evaluation and verification practices so that teams are not misled by outputs that only appear correct. A well-designed test task, such as constructing a regular heptagon with a two-mark ruler as described in this article, can reveal a model’s real capability better than a hundred benchmark scores. For developers, rigorous evaluation is the right way to work effectively with this generation of models.
