Evaluating Instruction Following in Large, Long-Reasoning Language Models
Instruction following is a critical measure of whether a large reasoning model can translate complex natural-language requests into reliable software. Using an animated geometric construction with GIF export as a test case, this article examines terminology recognition, spatial consistency, implicit constraints, and executable output quality. It also outlines a practical evaluation workflow combining tiered test sets, structured prompts, explicit object and constraint specifications, automated checks, and human review.
Evaluating Instruction Following in Large, Long-Reasoning Language Models
1. The Core of Upgrade Evaluation: From Answering Questions to Recovering User Intent
When evaluating a production-release upgrade to a high-parameter language model designed for extended reasoning, comparing parameter count, reasoning length, or code generation speed is not enough. A more important question is whether the model can recover the user’s intended outcome from complex natural-language instructions. This capability is often described as instruction following or prompt adherence.
Instruction following means more than complying with individual commands. It requires the model to produce structured results that satisfy both explicit and implicit requirements, given a goal, context, unstated constraints, and ambiguous language.
This is particularly important for models capable of extended, multistep reasoning. Their reasoning capabilities may be stronger, but without an accurate understanding of spatial relationships, physical constraints, specialized terminology, and omitted information, longer reasoning can amplify errors. The resulting output may appear complete while missing the actual objective.
The value of an upgrade should therefore not be reduced to “more fluent answers” or “more complete code.” The more meaningful capability is understanding complex tasks expressed in everyday language and consistently reproducing the user’s intended outcome in the final deliverable.
2. A Representative Test: Geometric Construction from Natural-Language Instructions
A useful test of instruction following is a complex visualization request: generate an HTML page that animates the complete construction of a regular heptagon using a two-mark ruler and supports GIF export.
The task can be expressed as follows:
- Draw a square on the page.
- Construct the perpendicular bisector of its bottom side.
- Draw circle E, centered at the square’s bottom-right vertex E, with a radius equal to the square’s diagonal.
- Use a two-mark ruler, keeping its edge in contact with the bottom-left vertex D.
- Move the ruler’s first mark along circle E until its second mark lies on the perpendicular bisector of the bottom side.
- Continue with standard compass-and-straightedge operations to locate the required center and complete the regular heptagon.
- Include all omitted compass-and-straightedge steps.
- Show traces produced by compass motion, but retain only those needed for the construction.
- Add a function to export the animation as a GIF.
Although this looks like a frontend visualization task, it places substantial demands on the model’s understanding.
2.1 Recognizing Specialized Terminology
A two-mark ruler is not a common construction tool. A model may be familiar with conventional compass-and-straightedge constructions yet lack a reliable understanding of this tool’s definition, mark spacing, and operation.
The model must recognize that it is neither an ordinary unmarked straightedge nor a compass. It is a construction tool with fixed marking constraints. The animation must correctly represent its contact with a vertex, the movement of its marks, and the point at which the required constraints are satisfied.
2.2 Tracking Multiple Objects and Spatial Relationships
The task involves many objects: the square, its bottom side, the perpendicular bisector, vertex E, the diagonal, circle E, vertex D, the ruler, and its two marks.
Each step depends on relationships among several of these objects. The model must consistently track their positions, dimensions, associations, and motion constraints throughout the task. Losing an object or confusing a reference can invalidate later steps.
2.3 Resolving Implicit Units and Geometric Constraints
The prompt does not specify the square’s side length. In the intended construction, the model needs to treat it as a unit square so that the subsequent scale relationships remain consistent. The spacing between the ruler’s two marks is likewise understood to relate to the unit length.
The evaluation therefore tests whether the model can recover these implicit conditions rather than mechanically waiting for every detail to be supplied.
2.4 Interpreting Ambiguous Trace Requirements
“Leave traces only where necessary” is an ambiguous requirement that must become an executable rule.
The model must distinguish between traces needed to construct circles, identify intersections, or determine a center, and traces produced by repeated motion or exploratory positioning. It must also decide which traces should be suppressed.
This requires both an understanding of the geometry and restraint in its visual presentation.
2.5 Meeting Output and Engineering Requirements
The deliverable is not a textual explanation. It is a runnable HTML page with animation and GIF export.
The model must coordinate geometric logic, frontend rendering, animation timing, state management, and the export workflow. Instruction following is demonstrated by turning the natural-language request into an implementation that can be run, verified, and delivered.
3. Evaluation Dimensions
This type of task supports an evaluation framework with six main dimensions.
3.1 Terminology Accuracy
Does the model correctly identify specialized terms and map them to executable objects?
For example, a two-mark ruler must not be reduced to an ordinary line segment or represented as a tool whose mark spacing can change arbitrarily.
3.2 Spatial Consistency
Does the model preserve the relationships among objects throughout planning and generation?
Relevant relationships include those among the square’s vertices, bottom side, perpendicular bisector, circle center, circle, and ruler marks.
3.3 Recovery of Implicit Constraints
Can the model infer necessary conditions from the intended goal?
Examples include the unit square, unit mark spacing, and scale relationships required by the construction.
3.4 Multistep Stability
Extended reasoning is useful only when each step contributes to the final goal. Evaluation should focus on this contribution rather than on reasoning length.
The model should avoid irrelevant elaboration, redundant constructions, and drift away from the requested outcome.
3.5 Translating Ambiguity into Engineering Rules
The model must turn phrases such as “necessary traces,” “standard operations,” and “include all omitted steps” into clear implementation rules.
A strong result demonstrates coherent choices rather than displaying every possible trajectory or auxiliary construction.
3.6 Executable Deliverable Quality
Does the HTML page open correctly? Is the animation coherent? Can viewers follow the geometric objects? Does GIF export work?
These are direct measures of whether the model has fulfilled the prompt.
4. What Better Instruction Following Actually Means
When a production-release upgrade improves instruction following, that improvement can be understood at three levels.
Syntactic adherence: The model follows the stated sequence and does not omit obvious instructions.
Semantic adherence: The model understands the geometric meaning, object relationships, and purpose of each step rather than merely reproducing the wording.
Intent-level adherence: The model fills in necessary unstated conditions based on the final goal and keeps the complete output internally consistent.
The third level most closely reflects real development work. Users rarely specify requirements in a fully formal language. They typically provide a goal, some background, and a few important constraints.
A model that can follow only explicit instructions will struggle with complex prototype generation, automation scripts, and visualization development.
Better instruction following is therefore not simply greater obedience. It reflects stronger constraint-solving capability: extracting goals from natural language, identifying constraints, resolving conflicts, filling gaps, and mapping the result to an executable deliverable.
5. An Engineering Workflow: From One-Off Demos to Regression Evaluation
Instruction-following evaluation should move beyond subjective impressions. An engineering workflow makes results easier to inspect and compare across model releases.
5.1 Build a Tiered Test Set
A test set should cover several levels of difficulty:
- Basic: One object, one step, and explicit constraints.
- Intermediate: Multiple objects and steps, with a small amount of omitted information.
- Complex: Specialized terminology, implicit units, ambiguous wording, and multiple objectives.
- Delivery: Runnable pages, animations, exported files, or structured data.
These tiers help distinguish basic compliance from the ability to complete complex, deliverable-oriented tasks.
5.2 Use Structured Prompt Templates
Complex tasks can use a layered prompt structure:
Role: Geometry visualization and frontend implementation specialistGoal:Generate a runnable HTML page that demonstrates the specified geometric construction.Input constraints:- Use a square as the initial figure.- Keep the two-mark ruler in contact with the specified vertex.- The ruler marks must satisfy the circle and line intersection constraints.- Retain only necessary construction traces.Output requirements:- The page must run directly.- The animation must include every construction step.- Support GIF export.- Perform a self-check before returning the output.Acceptance criteria:- Correct geometric relationships.- Continuous animation.- No unnecessary traces.- Working export functionality.
This template preserves natural-language instructions while separating the goal, constraints, output requirements, and acceptance criteria.
5.3 Request Explicit Intermediate Specifications
Before generating code, the model can be asked to provide an object inventory and a constraint table. These are inspectable task specifications rather than a requirement to expose its internal reasoning.
For example:
{"objects": ["square", "base_midline", "circle_E", "marked_ruler", "point_D", "point_E"],"constraints": ["ruler_edge_touch_D","first_mark_on_circle_E","second_mark_on_base_midline","trace_only_necessary"],"output": ["html", "animation", "gif"]}
This makes it easier for evaluators to check whether the model has understood the task, instead of relying solely on whether the final code runs.
5.4 Combine Automated Checks with Human Review
Automated checks can inspect page structure, object counts, animation frames, export interfaces, and geometric values.
Human review can assess semantic and visual qualities: whether traces are necessary, whether the steps follow naturally, and whether the construction is easy to understand.
Together, these methods provide a more complete picture of instruction following than either approach alone.
6. Implications for Natural-Language Programming
This evaluation approach highlights a broader shift in natural-language programming: from generating code snippets to reconstructing a complete intended outcome.
In practice, developers often describe prototypes with requests such as “build an interactive geometry demonstration,” “fill in the missing steps,” “keep only the key traces,” and “support export at the end.”
A model that handles only explicit wording cannot reliably complete such tasks. The value of large, long-reasoning models lies in maintaining stable reasoning under complex constraints and converting ambiguous requirements into runnable deliverables.
Engineering boundaries still matter. Generated output should pass a verifiable process that includes static checks, runtime tests, geometric validation, and human confirmation.
Improved instruction following does not eliminate testing. It expands what must be tested—from text responses to executable systems.
7. Conclusion
The key question when evaluating a production-release upgrade to a large reasoning model is not whether a single metric has improved. It is whether the model can consistently recover user intent from complex natural-language tasks.
Better instruction following reflects a combined understanding of spatial operations, physical constraints, specialized terminology, and ambiguous language.
Tiered test sets, structured prompts, explicit intermediate specifications, and automated validation give developers a more objective way to assess these capabilities and apply them to coding, visualization generation, and automated workflows.
Ultimately, a model’s value is not the amount of content it generates. It is its ability to complete real tasks accurately, consistently, and verifiably from human instructions that are neither fully formal nor fully specified.
