Evaluating How Well LLMs Follow Natural Language Instructions

    This article examines natural language instruction following as a key benchmark for general-purpose large language models, arguing that correct final answers alone do not prove real capability. Using a single case study—generating a web page that demonstrates the full compass-and-straightedge construction of a regular heptagon with a two-mark ruler and supports GIF export—it shows why the task acts as an extreme stress test. The discussion covers four layered difficulties, a four-level scoring design for reproducible evaluation, common failure modes and their root causes, and practical guidance for building an evaluation pipeline. Readers will learn how to turn an abstract instruction-following metric into quantifiable, trackable engineering signals that better reflect model usability in everyday workflows.

    1. Reframing the Problem: From “Getting the Answer” to “Understanding the Request”

    When evaluating general-purpose large models with high parameter counts and long reasoning chains, a common mistake is to treat evaluation as drilling test questions: if the final answer is correct, the model is assumed to be capable enough. But in real engineering and business scenarios, users rarely describe requirements in strict formal language. Instead, they use natural language with omissions, colloquial references, and implicit constraints. The capability truly worth evaluating is therefore natural language instruction following: whether a model can reconstruct the user’s real intent from incomplete and loosely worded input, and then implement that intent faithfully in the final artifact.

    This article uses one concrete case throughout: ask a model to generate a web page that demonstrates the complete straightedge-and-compass process for constructing a regular heptagon with a two-mark ruler, and that supports GIF export. The task looks like geometric construction, but it is in fact an extreme stress test of instruction understanding.

    2. Why This Task Is an Extreme Stress Test

    The task is discriminative because four difficulties stack on top of one another.

    First, the terminology is obscure and depends on internal consistency. A “two-mark ruler” is a straightedge with two marks, which allows certain constructions to be completed by a single aligned placement—constructions that cannot be done with only a compass and an unmarked straightedge. Most models lack a stable representation of this term and tend to degrade it into an ordinary ruler or ignore it entirely.

    Second, there are many objects with high-density references. At every step, at least three objects are involved at once, for example “draw a circle centered at the lower-right vertex with the diagonal as the radius,” “keep the straightedge flush against the lower-left vertex,” “the first mark moves along the circle,” and “the second mark passes through the perpendicular bisector of the base.” Once a reference chain breaks, subsequent steps collapse in sequence.

    Third, implicit constraints must be filled in by the model itself. The original text never states the side length of the square, but given the goal of ultimately obtaining a regular heptagon, it can be inferred that a unit square must be used; the spacing between the two marks is also assumed to be one unit. The model has to perform the reasoning of “inferring constraints from the goal” rather than passively receiving parameters.

    Fourth, vague wording requires reasonable convergence. “Necessary marks” is never defined, so the model must decide on its own which construction marks are geometrically necessary and which belong to auxiliary processes, and make trade-offs in the visual presentation.

    3. Evaluation Design: Breaking Vague Requirements into Scorable Items

    To make this kind of evaluation reproducible, it helps to split the task into four scoring layers.

    1. Terminology and constraint understanding: whether the semantics of the “two-mark ruler” are correctly identified, and whether the model determines the unit square and the unit mark spacing on its own.
    2. Step reconstruction: whether the model follows the order “square → perpendicular bisector of the base → circle centered at the lower-right vertex with the diagonal as the radius → two-mark ruler flush against the lower-left vertex and sliding → second mark passes through the bisector → locate the center → construct the regular heptagon,” without skipping steps or inventing steps.
    3. Visual correctness: whether the compass leaves only necessary marks, whether the positional relationships between lines and arcs are correct, and whether the heptagon vertices actually land where they should.
    4. Interaction and output: whether a runnable page is provided, whether GIF export is implemented, and whether the animation conveys the process of a point moving along a trajectory.

    A schematic structural constraint can be written as the following pseudocode, used to automatically check whether the artifact covers the key elements:

    1. required_steps = [
    2. "square",
    3. "perpendicular_bisector_of_base",
    4. "circle_centered_at_lower_right_through_upper_left",
    5. "two_mark_ruler_tangent_to_lower_left",
    6. "second_mark_hits_bisector",
    7. "locate_center",
    8. "regular_heptagon",
    9. "gif_export"
    10. ]
    11. assert all(step in artifact for step in required_steps)

    4. Common Failure Modes and Root Causes

    In practice, models often fail not because they “cannot do the construction” but because their understanding drifts. Typical symptoms include treating the two-mark ruler as an ordinary straightedge, which removes a key positioning step; ignoring the implicit unit-length condition, which distorts the figure’s proportions; failing at mark control and filling the page with auxiliary circles that look cluttered; and delivering only a static result with no animation or export capability. Tracing these back shows that the problems concentrate in three areas: maintaining long reference chains, filling in implicit constraints, and converging on vague instructions. These are exactly the core weaknesses the evaluation is meant to expose.

    5. Guidance for Engineering Implementation

    In real business settings, the ideas above can be solidified into an evaluation pipeline: use a container platform to host runnable artifacts, use object storage to keep page and GIF results, use a logging service to record the model’s intermediate reasoning and failure points, and use monitoring and alerting to track instruction-following metrics over time. If you use the relevant general capabilities from Baidu AI Cloud, it is also advisable to organize evaluation data and versions around the principles of “reproducible, rollback-capable, and comparable.”

    6. Conclusion

    “Understanding vague natural language and implementing it faithfully” is the dividing line between general-purpose large models and real productivity. Using an obscure geometry task as a probe turns an abstract notion of instruction following into a quantifiable, trackable engineering metric, giving a more realistic picture of the upper limit of model usability in everyday work scenarios.