Complex Geometric Construction Testing: Evaluating Lightweight Flagship Models in Practice
This article explores why lightweight flagship models need complex task evaluation beyond saturated text benchmarks, using a constrained geometric construction challenge—drawing a regular heptagon with the "neusis" (two-marked ruler) method in HTML with GIF export—as a test case. It covers task design, five evaluation dimensions including process auditability, observed differences between lightweight and heavyweight model tiers, strengths and shortcomings of lightweight models, and practical engineering recommendations for building reproducible, auditable model evaluation pipelines.
Complex Geometric Construction Testing: Evaluating Lightweight Flagship Models in Practice
1. Background: Why Lightweight Flagship Models Need Complex Task Evaluation
“Lightweight flagship” typically refers to a model tier that trades off inference cost, deployment resources, and response latency while trying to approach the capability of heavyweight models. Conventional text benchmarks, knowledge QA, and short coding problems saturate easily, making it hard to distinguish models on long-chain constraint handling, procedural compliance, and deliverable completeness. Evaluation should therefore shift from “can the model answer” to “can the model reliably deliver verifiable artifacts under complex instructions.”
HTML creative drawing tasks are often dismissed as demo toys rather than rigorous benchmarks. However, when a task includes multi-step geometric constraints, step-to-element mapping, trajectory visualization, and animation export, it becomes a genuinely demanding composite task: the model must understand a geometric construction workflow, produce a runnable page, and distinguish “necessary construction traces” from “non-essential auxiliary lines.” Such tasks expose a model’s true level in instruction following, spatial reasoning, code organization, and long-output stability.
2. Test Task Design: Constructing a Regular Heptagon with the Neusis Method
The test prompt asks for an HTML page that constructs a regular heptagon using the “two-marked ruler” (neusis) method, filling in the omitted ruler-and-compass steps, and finally exporting a GIF animation. The core steps include: take a square and draw the perpendicular bisector of its base; draw a circle centered at the bottom-right vertex with the diagonal as radius; keep the marked ruler pressed against the bottom-left vertex so the first mark slides along the circle until the second mark passes through the base’s perpendicular bisector; then determine the circle’s center through standard perpendicular bisector operations and complete the remaining construction. The prompt also requires that the trajectory of points moved by the compass leave traces only where necessary, plus a GIF export feature.
The difficulty lies not in “drawing a heptagon” but in “drawing it by the specified method.” The model must establish a correspondence between steps and graphical elements, avoiding undeclared approximation steps that force the result. It must also handle animation frames, trajectory cleanup, and final export. Judgment cannot be based solely on whether a heptagon appears on the page; the implementation path must match the prompt.
3. Evaluation Dimensions and Judgment Method
Five dimensions are recommended:
- Geometric correctness: Are the final heptagon vertices approximately concyclic, is edge-length error within tolerance, and is the relationship between the auxiliary circle and perpendicular bisector correct?
- Instruction adherence: Are the specified steps included? Is the critical “marked-ruler sliding” action omitted? Are extra constructions incorrectly introduced?
- Process auditability: Can steps in the code or animation be mapped one-to-one to the prompt? Are there cases of “correct result but deviating process”?
- Artifact completeness: Does the HTML run standalone? Does the animation play? Can the GIF be exported? Is there graceful degradation on errors?
- Efficiency and stability: Generation latency, continuity of streaming output, occurrences of “thinking without output,” timeouts, or interruptions.
Process auditability is the most easily overlooked. Even if a page looks like a regular heptagon, if the implementation adds construction steps not required by the prompt, it should be judged an instruction-following failure rather than a full success.
4. Experimental Observations: Lightweight vs. Heavyweight Tiers
To avoid product-review framing, the original phenomena are abstracted here as a comparison between a “lightweight-tier model” and a “heavyweight-tier model.” In this informal single-case test, the lightweight-tier model, generating in a general-purpose code editing environment, showed segmented, stuttering reasoning with a prolonged period of “thinking without output.” Total time was on the order of half an hour, but the resulting page closely followed the prompt’s steps, with geometric construction and animation requirements largely matching.
The heavyweight-tier control model, generating in another general conversational environment, also took a long time and produced a page that “appeared to meet the requirements,” but its implementation deviated from the prompt by adding steps not present in the prompt to force an approximate result. This shows that in complex tasks, “visually similar final figure” does not equal “instruction-following success.” That said, a single result is influenced by sampling parameters, prompt details, runtime environment, and randomness; it cannot support general conclusions about overall superiority. Larger samples, blind evaluation, and repeated experiments are needed.
5. Core Strengths and Clear Weaknesses
From this task, the lightweight-tier model’s core strengths can be summarized as:
- Strong complex-constraint decomposition: It can break down the square, perpendicular bisectors, circle, marked-ruler sliding, and final animation into executable steps.
- Good process consistency: In this single case, it rarely took shortcuts that bypassed the specified method; the artifact mapped tightly to the prompt.
- Potential to approach heavyweight-tier capability: On composite tasks like complex geometric construction, the lightweight tier is not limited to simple QA and shows potential for mid-to-high complexity generation tasks.
- Cost and deployment flexibility: The lightweight tier generally suits batch tasks, offline generation, and resource-constrained scenarios, though this must be validated against specific business needs.
The clear weakness is inference speed and output rhythm. Segmented reasoning and occasional “thinking without output” degrade the interactive experience. This is unfriendly to real-time conversational products, but for asynchronous generation, batch evaluation, and background tasks it can be mitigated with timeout retries, heartbeat status, and staged deliverables.
6. Engineering Implementation Recommendations
To use such capabilities in real business scenarios, design model invocation as an asynchronous pipeline: record stage status after task submission and emit heartbeats during generation; retry with backoff on timeout; after artifacts are persisted, automatically run geometric validation, step-mapping validation, and animation-frame validation; route failed samples to a manual review queue. Batch evaluation tasks can run on container platforms in general cloud environments such as Baidu AI Cloud, with object storage for HTML and GIF artifacts, and logging and monitoring services recording latency, failure rates, and retry counts.
An illustrative validation flow:
task = build_prompt(steps, constraints, output_format)result = model.generate(task, stream=True)if result.timeout or result.empty:retry_with_backoff()artifact = parse_html(result.output)checks = [check_page_runnable(artifact),check_heptagon_vertices(artifact, tolerance),check_step_mapping(artifact, prompt_steps),check_gif_export(artifact)]log_metrics(checks, latency, retry_count)
7. Conclusion
Selecting a lightweight flagship model should not be based on output speed alone, nor on a single creative-task result. The value of complex geometric construction testing is that it examines “correct result,” “procedural compliance,” “runnable artifact,” and “long-output stability” within a single task. In this observation, the lightweight tier stood out in instruction adherence and process consistency, but slow speed and uneven output remain real shortcomings. Organizations should build reproducible, auditable, multi-sample evaluation systems and combine them with asynchronous engineering practices to turn the cost advantages and complex-task capabilities of lightweight models into stable productivity.
