Evaluating Complex Reasoning in Lightweight Large Models: A Constructive Geometry Approach

    This article examines why lightweight flagship large models require rigorous evaluation beyond simple page generation. It introduces a constructive task—drawing a regular heptagon with a two-mark ruler—as a verifiable benchmark, outlines a reproducible four-step testing workflow, and discusses stability, constraint adherence, and engineering delivery. The findings offer a practical path for selecting and tuning models in AI coding tools.

    1. Why Lightweight Models Need Serious Evaluation

    In the model tier hierarchy, a “lightweight flagship” typically refers to a model with significantly fewer parameters or lower inference cost than the top-tier version, while still approaching flagship-level performance on most tasks. Its engineering value lies in higher output per unit of compute, stronger concurrency capacity, and more controllable response costs. As a result, these models are widely used in AI coding tools, code review assistance, document generation, and automated testing.

    However, lightweight models are also the most prone to an illusion of inflated capability. They perform smoothly on common Q&A and simple code generation, but once a task involves multiple constraints, long dependency chains, or precise geometric and numerical reasoning, they may skip steps, drift from constraints, or produce results that appear complete but are actually wrong. Therefore, evaluation should not stop at “can it generate a page,” but shift to “can it complete a verifiable construction process under strict constraints.”

    2. Evaluation Design: Replace Toy Tests with Constructive Tasks

    Traditional static page generation tests are losing discriminative power for three reasons. First, training data coverage is sufficient, so models can easily reproduce templates. Second, evaluation criteria are subjective and hard to quantify. Third, there are no verifiable intermediate states. A more effective approach is to use constructive tasks, where the final answer must depend on a series of intermediate steps that cannot be skipped, and each step can be verified by a machine or a human.

    Take the constructive task of “drawing a regular heptagon using only a two-mark ruler” as an example. It has three characteristics:

    1. Strong constraints: The tool is limited to a two-mark ruler (a ruler that can mark two scales), and other measurement methods cannot be used arbitrarily.
    2. Long steps: It requires first constructing a square and the perpendicular bisector of the base, then drawing a circle with a specific vertex as the center and the diagonal as the radius, and then sliding the two-mark ruler so that its two marked lines fall on the circle and the axis of symmetry respectively.
    3. Verifiability: Key control points, intersections of circles and lines, and symmetry relationships can all be checked. The animation trajectory can also reflect whether marks are left “only where necessary.”

    Such tasks can effectively distinguish models that “can write pages” from those that “can perform reasoning and planning.”

    3. Experimental Method: A Reproducible Workflow for Experimental and Control Groups

    To ensure reproducibility, the evaluation workflow should be standardized into four steps:

    1. Fixed prompt: Clearly specify tool limitations, geometric steps, requirements for completing omitted parts, animation mark rules, and the functional requirement to export dynamic images.
    2. Process recording: Save both the model’s reasoning trace (if visible) and the final output, avoiding misjudgment based on results alone.
    3. Dual verification: First perform geometric correctness checks (key point coordinates, perpendicular bisector relationships, circle-line intersections), then perform interaction and export checks (whether the animation is continuous and whether export works).
    4. Latency and stability recording: Record total time, whether the model only thinks without outputting, and whether output is truncated midway, along with other engineering metrics.

    The illustrative verification logic can be expressed as:

    1. Input: square side length s, set of key points P obtained from construction
    2. Constraint 1: axis of symmetry x = s/2
    3. Constraint 2: circle E is centered at the bottom-right vertex, with radius equal to the diagonal length
    4. Constraint 3: the two marked lines of the two-mark ruler touch circle E and the axis of symmetry respectively
    5. Output: vertex sequence V of the regular heptagon (7 points), and generate an animation trajectory
    6. Verification: check edge length consistency of V, whether interior angles are close to the theoretical values of a regular heptagon, and whether the trajectory leaves marks only where necessary

    4. Observation Dimensions: From “Looks Right” to “Engineering-Ready”

    In practice, lightweight flagship models may show incoherent reasoning, staged pauses, or even output only reasoning without a final product. This usually means that long-chain planning is under pressure in context management or step scheduling. Such phenomena should be treated as stability issues rather than pure capability issues.

    At the output level, three things need close attention:

    • Constraint adherence: Whether the two-mark ruler limitation is strictly followed, and whether extra tools or approximate substitutes are introduced without authorization.
    • Step completeness: Whether omitted ruler-and-compass constructions are completed, and whether intersections are obtained through construction rather than “hard-coded coordinates.”
    • Visualization quality: Whether the animation reflects the process of “slide—contact—position,” and whether marks are left sparingly.

    By contrast, some top-tier models may also produce results that “seem to meet requirements” on such tasks: the page is complete and the animation is smooth, but key geometric relationships are not derived from construction, or coordinates are directly hard-coded, resulting in insufficient verifiability. This kind of failure is more subtle and shows that evaluation standards must shift from result aesthetics to process verifiability.

    5. Capability Attribution: Where Lightweight Flagship Models Excel

    From the above practice, three types of advantages of lightweight flagship models can be abstracted:

    1. Strong long-chain constraint retention: They maintain goal consistency in multi-step tasks and reduce mid-course “topic switching” or constraint simplification.
    2. Structured output and completion capability: They can complete omitted steps into an executable process rather than only providing the final figure.
    3. Engineering delivery awareness: They are willing to implement additional features (such as exporting dynamic images) and try to satisfy interaction details.

    It should be emphasized that relatively slow output speed does not necessarily mean engineering unusability. For complex construction and code generation tasks, stability and verifiability are often more important than first-token latency. In AI coding tools, experience can be optimized through asynchronous tasks, segmented returns, and caching intermediate results.

    6. Engineering Implementation: Embed Evaluation into the Development Workflow

    If an enterprise wants to evaluate or integrate similar lightweight flagship capabilities in its own applications, the following practices are recommended:

    • Build a tiered evaluation set: Divide tasks into four levels—simple generation, constraint adherence, constructive reasoning, and long-context maintenance—and set pass criteria for each.
    • Introduce automatic verifiers: Use assertion-based checks for geometry, numerical results, and API call results to reduce human review bias.
    • Unify the orchestration layer: Use a container platform to host inference services, a message queue for task queuing, object storage to save outputs and traces, and logging and monitoring with alerts to track latency, failure rate, and truncation rate.
    • Design fallback strategies: When a model only thinks without outputting or times out, automatically switch to prompts with smaller sub-goals, split subtasks, or retry, and retain intermediate outputs for resumption.

    In related practices with Baidu AI Cloud, such capabilities are typically combined with the above general cloud product categories to form an observable, rollback-capable, and scalable evaluation and deployment loop.

    7. Conclusion

    The value of lightweight flagship models lies not in “generating pages quickly like a toy,” but in whether they can maintain stable, verifiable reasoning and delivery in strongly constrained, long-step tasks. Evaluation methods represented by constructive geometry tasks can effectively reveal a model’s true level in constraint retention, step completion, and engineering implementation, and provide a reusable engineering path for selecting and tuning AI coding tools.