Evaluating the Geometric Construction Capabilities of Lightweight Reasoning Models

    This article presents a machine-verifiable approach to evaluating lightweight reasoning models using a geometric straightedge-and-compass construction task. It explains the task design, a three-layer judging framework covering results, process, and engineering output, and common failure modes such as correct results with deviated steps, long latency with no streaming output, and capability mismatch. It closes with practical guidance for engineering adoption, including upfront acceptance criteria, asynchronous pipelines, separated artifact storage, and regression test sets.

    1. Why We Need a Harder Evaluation Method

    When lightweight reasoning models are released in rapid succession, marketing claims such as “matching flagship performance” or “close to flagship quality” are hard to verify directly. Traditional evaluation relies on two types of tests. The first is open-ended web page generation, which looks good visually but offers no way to judge correctness. The second is general knowledge question answering, which is far removed from real engineering scenarios. Both share the same weakness: a lack of machine-verifiable ground truth.

    A more reliable approach is to choose tasks where the result is decidable and the process is traceable. Geometric straightedge-and-compass construction satisfies both conditions. The final figure either meets the given constraints or it does not, and whether the sequence of construction steps was strictly followed can be checked step by step. These tasks essentially test a model’s multi-step planning and state consistency rather than surface-level generation ability.

    It is worth emphasizing that this article does not rank specific products against each other. Instead, it treats “a lightweight model” and “a flagship model” as generalized representatives of two capability tiers, and discusses the evaluation method and failure modes.

    2. Task Design: A Construction Prompt That Separates Capability Tiers

    The task can be designed as follows: construct a regular heptagon using a two-scale ruler (a straightedge with only two markings), output it as an interactive page, and support exporting an animated GIF. The key constraints are:

    1. Start from a square, and first construct the perpendicular bisector of the base edge.
    2. Use the bottom-right vertex as the center and the diagonal as the radius to draw a circle.
    3. Keep the ruler flush against the bottom-left vertex, move the first marking along the circle until the second marking passes through the perpendicular bisector of the base edge.
    4. Fill in all the conventional construction steps that were omitted.
    5. The compass should leave traces only where necessary, avoiding extra marks.
    6. Add the ability to export an animation.

    The difficulty of this prompt lies not in “drawing a heptagon,” but in the constraints being impossible to bypass. The two-scale ruler method defines a specific distance-transfer operation. If the model switches to another equivalent path that does not match the description, it should be judged as a failure even if the figure is correct.

    3. Experiment Design: Groups and Judging Criteria

    A minimal reproducible experiment framework is recommended:

    • Experimental group: a lightweight reasoning-tier model, run in an intelligent coding tool.
    • Control group 1: a non-reasoning or low-reasoning model from the same series.
    • Control group 2: a flagship general-purpose model.
    • Environment control: the same runtime environment, the same prompt, the same temperature and timeout settings, recording end-to-end latency and output length.

    The judging criteria are divided into three layers:

    Layer What to Check How to Judge
    L1 Result Whether an approximate regular heptagon is produced Number of vertices, edge length ratios, sum of interior angles
    L2 Process Whether the two-scale ruler constraints are followed Step-by-step comparison of the step sequence against the constraints
    L3 Engineering Whether animation export is supported and traces are clean Hands-on testing of interaction and export features

    The task is considered truly completed only when L1, L2, and L3 all pass.

    4. Analysis of Typical Failure Modes

    The first type is correct result, deviated process. The flagship-tier model produced a page after about twenty minutes that “appears to meet the requirements.” The figure is close to a regular heptagon, but the implementation introduces steps that do not exist in the prompt, forcing the result through extra constructions. This failure is the most dangerous because it easily passes visual acceptance.

    The second type is reasoning without output. The lightweight reasoning-tier model exhibited long thinking periods, incoherent streaming output, and intervals with no content returned. End-to-end latency exceeded thirty minutes, but it strictly followed the constraints and delivered a complete implementation. This shows that latency and stability are the current main weaknesses of the lightweight reasoning tier, not its capability ceiling.

    The third type is capability mismatch. A lower-tier model failed at L1, unable to complete basic figure closure. This is a capability-tier gap rather than a prompt wording problem.

    1. Failure attribution flow:
    2. Empty output / timeout -> Engineering stability issue
    3. Figure not closed / wrong vertices -> Basic capability issue
    4. Correct figure but deviated steps -> Instruction-following issue (most critical)

    5. Implications for Engineering Adoption

    First, define acceptance criteria upfront. Writing process constraints into the acceptance checklist, rather than only looking at the final rendered result, filters out a large number of implementations that “look complete.”

    Second, design asynchronous pipelines for long-running tasks. Reasoning-intensive tasks are best handled with a submit-and-poll or callback pattern, combined with logging services and monitoring alerts. Set thresholds for timeouts, empty returns, and retry counts to avoid synchronous waiting overwhelming the caller.

    Third, store artifacts and process data separately. Generated pages, scripts, and trace data can be stored in object storage for traceability and reproducibility, while metrics from the model invocation pipeline feed into unified monitoring, forming a sustainable evaluation baseline.

    Fourth, build up the evaluation set. Turn construction and constraint tasks into regression test cases, run them whenever the model or prompt changes, and judge iteration results by pass rate rather than subjective impression.

    6. Conclusion

    Construction tasks effectively expose the real boundaries of lightweight reasoning models. They can match or even exceed higher-tier general-purpose models in strict instruction following, but still have clear room for improvement in output fluency and end-to-end latency. For developers, rather than chasing leaderboard rankings, it is better to build a verifiable, regression-capable, and attributable evaluation system. In scenarios that require elastic compute and complete observability, you can rely on general capabilities such as the container platform, object storage, and monitoring alerts offered by Baidu AI Cloud to build an evaluation pipeline, bringing model selection back to the data itself.