The Capability Boundaries of Lightweight Flagship Models: Evaluating Instruction Following with a Geometric Construction Task

    A rigorous way to evaluate lightweight language models is to test more than whether they reach the correct result. This article uses the construction of a regular heptagon with a marked ruler to examine multi-step reasoning, strict instruction following, geometric understanding, frontend implementation, animation, and GIF export. It also compares the typical strengths and weaknesses of lightweight and flagship models in complex engineering tasks.

    The Capability Boundaries of Lightweight Models: What a Geometric Construction Task Reveals About Instruction Following

    1. Lightweight vs. Flagship Models

    In the product landscape of large language models, “lightweight” or “Flash”-class models and “flagship” or “Max”-class models generally represent two different engineering priorities. Lightweight models are designed for low latency, lower cost, and high concurrency. They often achieve this through distillation, pruning, or more aggressive inference optimizations. Flagship models, by contrast, prioritize reasoning depth and higher capability ceilings, typically offering longer reasoning chains and stronger performance on complex tasks.

    By conventional expectations, these two categories should have a clear capability gap. Flagship models should outperform lightweight models on complex reasoning, multi-step planning, and precise instruction following. However, as model architectures and training methods evolve, this gap is narrowing. Some newer lightweight models now approach, or even match, the performance of previous-generation flagship models on specific tasks.

    This makes an important engineering question increasingly relevant: how can we objectively evaluate the real capabilities of a lightweight model?

    This article does not recommend or review any specific vendor product. Instead, it uses a general testing method to discuss a framework for evaluating lightweight models.

    2. Why Simple Tests No Longer Clearly Separate Models

    2.1 The “Toy Problem” Trap

    A common approach to model evaluation is to compare models on simple code-generation tasks, such as asking them to “use HTML to draw an animal riding a bicycle.” These tasks had some differentiating value in the early stages of model development. As the overall capability of mainstream models has improved, however, their ability to solve such tasks has become nearly universal.

    When almost every model can produce a runnable result, the test becomes a toy benchmark that reveals little about the actual differences between models.

    One reason is the homogeneity of training data. Simple and popular test prompts are likely to have appeared repeatedly in publicly available training material. A model’s success may therefore reflect memorization or pattern reproduction rather than genuine reasoning.

    2.2 Principles for Designing High-Discrimination Tests

    An effective test case should generally include the following characteristics:

    • Strict procedural requirements: The prompt specifies the solution path, and the model must follow it rather than taking shortcuts or introducing its own method.
    • Multi-step dependencies: Later steps depend on intermediate results from earlier steps. An error at any stage can cause the entire task to fail.
    • Cross-domain complexity: The task combines mathematical understanding, geometric reasoning, code implementation, and graphical rendering.
    • Verifiable output: The result is a visual graphic or animation whose correctness can be inspected directly without a complex validation system.

    3. A High-Discrimination Test Case: Constructing a Regular Heptagon with a Marked Ruler

    3.1 Task Description

    A regular heptagon cannot be constructed exactly with traditional straightedge-and-compass methods. It can, however, be constructed with a marked ruler—a ruler with two marked points—using a neusis construction method, which is also associated with problems such as angle trisection and cube duplication.

    A representative test prompt could be:

    Create an HTML page that constructs a regular heptagon using a marked ruler. First, draw a square and construct the perpendicular bisector of its bottom edge. Then draw a circle centered at the lower-right vertex E with the diagonal as its radius. Next, keep the marked ruler aligned against the lower-left vertex D. Move its first marked point along the circle until the second marked point intersects the perpendicular bisector of the bottom edge. Then complete the conventional perpendicular-bisector and circumcenter construction steps. When using the compass, the moving point will generate a trajectory, but retain traces only where necessary. Finally, add a feature for exporting the animation as a GIF.

    3.2 Why This Task Is Difficult

    Challenge 1: Strictly following the prescribed method

    The prompt explicitly requires a particular construction method. The model cannot simply calculate the heptagon’s vertices with Math.cos and Math.sin and draw the polygon. That would produce the right shape, but it would not implement the method described in the prompt.

    Challenge 2: Understanding neusis construction

    The marked-ruler construction is essentially a constrained moving-point problem. One marked point on the ruler moves along a circle, while the other marked point must intersect the perpendicular bisector under a fixed-distance constraint. The model must understand this geometric relationship and translate it into frame-by-frame animation logic.

    Challenge 3: Controlling construction traces

    The requirement that the compass generate a trajectory but leave traces only where necessary is easy to overlook. Implementing it requires careful management of which paths are retained and which are cleared during canvas rendering.

    Challenge 4: Exporting a GIF

    The animation must be captured and encoded as a GIF in a frontend environment. This usually involves collecting frames, processing pixel data, and using either a third-party encoder or a custom implementation. It therefore tests more than basic drawing or animation skills.

    4. Experimental Observations: Lightweight and Flagship Model Performance

    4.1 Experimental Setup

    To compare different model tiers, the same programming-assistance environment can be used to execute the prompt above with a newer lightweight model and a flagship model. The evaluation should record generation time, output quality, and compliance with the prescribed method.

    4.2 How Flagship Models Can Fail

    A counterintuitive failure mode sometimes appears in flagship models: the final result looks correct, but the implementation uses the wrong method.

    After nearly twenty minutes of generation, a flagship model may produce an HTML page that appears to construct a regular heptagon. A closer inspection of the code, however, can reveal that it did not follow the required neusis construction. Instead, it introduced auxiliary steps that were not part of the prompt and effectively forced the final heptagon vertices into place.

    This type of failure is particularly misleading. The visual result appears correct, but the process violates the instructions. In engineering scenarios that require strict compliance—such as implementing a protocol or translating a prescribed algorithm into code—this failure mode can be critical.

    4.3 Unexpected Strengths of Lightweight Models

    By comparison, some newer lightweight models demonstrate surprisingly strong instruction-following capabilities on this task. Their implementations can reproduce the construction process described in the prompt, including:

    • constructing the perpendicular bisector;
    • drawing the circle;
    • animating the movement of the marked ruler;
    • determining the center of the circumcircle; and
    • completing the remaining construction steps.

    Every stage corresponds closely to the requested method.

    The experiment also exposes several typical weaknesses of lightweight models:

    • Unstable output pacing: The reasoning process may appear to pause intermittently rather than stream smoothly, as is more common with flagship models.
    • Occasional reasoning without final output: After completing the reasoning process, the model may fail to transition into the code-generation stage and require another trigger.
    • Long total generation time: A complete generation may take more than 30 minutes, significantly longer than a typical conversational response.

    These observations suggest that lightweight models may be approaching flagship models in terms of capability ceilings, while still lagging in inference-service engineering, including token generation speed and the stability of the transition from reasoning to final output.

    5. Engineering Implications

    5.1 How to Build Your Own Model Evaluation Set

    • Avoid widely circulated online test prompts. Prefer composite tasks with strict procedural constraints.
    • Evaluate both result correctness and process compliance. Neither is sufficient on its own.
    • Record engineering metrics such as latency and output stability, not just whether the task was completed successfully.

    5.2 Choosing Appropriate Use Cases for Lightweight Models

    Lightweight models are well suited to high-concurrency, cost-sensitive workloads with relatively predictable task patterns, such as batch code completion, formatting-oriented question answering, and structured information extraction.

    For tasks involving strict multi-step reasoning, teams should first validate instruction-following performance on an internal evaluation set before deciding whether a lightweight model can replace a flagship model.

    5.3 Recommendations for Cloud Deployment

    In enterprise applications, cloud-based model inference services and monitoring capabilities can support A/B traffic experiments across model tiers. Simple requests can be routed to lightweight models to reduce costs, while complex requests remain on flagship models.

    By continuously tracking task success rates through logs and monitoring systems, teams can develop a dynamic routing strategy that assigns requests according to their complexity and observed model performance.

    6. Conclusion

    The value of a test such as constructing a regular heptagon with a marked ruler does not lie in the geometry problem itself. Its real value is methodological.

    It demonstrates that the most meaningful differences between models often emerge in multi-step, composite reasoning tasks that require strict instruction following—not merely in whether the final output looks correct.

    As lightweight models continue to raise their capability ceilings, developers need more refined evaluation frameworks to make sound engineering trade-offs between cost, latency, reliability, and reasoning capability.