How to Evaluate Instruction-Following Degradation in Large Language Models
This article presents a structured method for measuring whether a new model version has actually regressed in instruction-following ability, rather than merely changing in style. It explains how to separate style from capability, build a four-layer evaluation system covering instruction following, safety and refusals, reasoning and facts, and style and stability, and control variables such as decoding parameters, prompts, inputs, sampling counts, and judging methods. It also covers prompt engineering for under-execution and overreach, engineering workarounds for over-refusal, regression baselines and release gates, and cost and migration decisions, so subjective impressions can be turned into reproducible conclusions.
1. Background: Quantifying Perceived Regression After a Version Upgrade
In the engineering practice of rapid model iteration, teams frequently encounter a typical type of feedback: the new version is more conservative in its safety behavior, appears to “cut corners” when executing explicit instructions, freely adds content that was never requested, and overall performs worse than the previous stable version. This kind of feedback usually comes from subjective impressions of a small number of samples. Without structure, it easily turns into an argument that cannot be verified.
One methodological premise must be stated first: surface-level language features such as observable sentence-pattern distributions, the frequency of disclaimer templates, and the density of parallel structures can only reflect changes in output style. They cannot directly support the conclusion that the underlying weights have undergone structural degradation. Style convergence may come from changes in the alignment data distribution, adjustments to the decoding strategy, or changes to the system prompt template; whether the reasoning chain has broken down needs to be verified with independent reasoning tasks. Therefore, the first principle of evaluation is to measure style and capability separately.
2. Building a Layered Evaluation System
Split the evaluation into four layers, each scored and regression-tested independently.
- Instruction-following layer: single constraints, multiple constraints, conflicting constraints, negative constraints (“do not do something”), and format constraints (fixed fields, fixed length, fixed order).
- Safety and refusal layer: pass rate for clearly compliant requests, over-refusal rate for boundary requests, and repetition rate of refusal phrasing templates.
- Reasoning and factuality layer: multi-step reasoning, numerical calculation, long-document extraction, and conditional branch decisions.
- Style and stability layer: sentence-pattern diversity, disclaimer density, and self-consistency across multiple samples of the same input.
An illustrative score aggregation logic:
scores = {"instruction": 0.0, # constraint hit rate"safety": 0.0, # pass rate - over-refusal penalty"reasoning": 0.0, # step-by-step accuracy"stability": 0.0, # consistency across multiple samples}def total(s, weights=(0.4, 0.2, 0.3, 0.1)):return sum(v * w for v, w in zip(s.values(), weights))assert abs(sum((0.4, 0.2, 0.3, 0.1)) - 1.0) < 1e-6
Weights must align with business goals: a business oriented toward structured extraction should raise the weights of instruction following and stability; a business oriented toward analytical question answering should raise the weight of the reasoning layer.
3. Controlling Variables: Making Comparative Experiments Trustworthy
The most common reason version comparisons fail is that variables are not controlled. Fix at least the following five items:
- Decoding parameters: keep temperature, nucleus sampling threshold, maximum generation length, and repetition penalty consistent;
- System prompt and role setting: identical word for word, avoiding differences in the new version’s default template;
- Input construction: the same set of test cases, the same order, the same random seed;
- Number of samples: sample multiple times per question and report the median and variance, not a single result;
- Judging method: prefer rule-based judging, then blind human review, avoiding self-evaluation bias.
If you must keep the platform default parameters, record the “parameter differences” as a known bias in the report rather than mixing them into conclusions about model capability.
4. Prompt Engineering for “Cutting Corners” and “Overreach”
“Simplifying what should be done and adding what should not” usually stems from unclear constraint expression and undeclared task boundaries. Use a structured prompt that writes the task, constraints, output contract, and prohibited overreach items in separate sections:
[Task] Answer questions only based on the given material.[Constraints] Output must be JSON; fields are fixed as a, b, c; do not add fields.[Prohibited] Do not add inferences not present in the material; do not output explanatory preambles.[Fallback] When information is insufficient, return {"a":null,"b":null,"c":null} with a reason field.
There are three key points: first, replace vague words such as “as much as possible” and “appropriately” with decidable statements; second, give the model a legitimate exit path to reduce free-form elaboration aimed at “putting together an answer”; third, rewrite negative constraints as positive contracts, since most models follow “what to output” better than “what not to output”.
5. Engineering Compensation for Over-Refusal and Stricter Alignment
When stricter safety alignment causes normal requests to be refused, mitigate it from three angles: state the compliant purpose and data scope of the request clearly in the prompt; split general-knowledge questions that can be processed publicly into steps to lower the risk judgment of each single step; and build a refusal-sample feedback loop that turns wrongly refused samples into regression cases and continuously monitors changes in the wrong-refusal rate.
At the same time, keep a fallback channel: when the primary model wrongly refuses or times out, route to a backup model or rule-based template output to ensure business continuity. In engineering terms, a simple routing layer can implement this:
def route(req, primary, fallback):r = primary(req)if r.blocked or r.empty:return fallback(req)return r
6. Regression Baselines and Version Admission
Set the previous stable version as the baseline, run a full regression on every upgrade, and define admission thresholds—for example, the instruction-following hit rate must not be lower than the baseline, the over-refusal rate must not exceed the baseline plus one percentage point, and reasoning accuracy must not drop by more than an agreed threshold. Versions that fail the thresholds are not switched into traffic directly; instead, roll them out gradually and keep one-click rollback available. Put all test cases, parameters, and judging scripts under version control to ensure conclusions are reproducible.
7. Cost and Migration Strategy
If the new version keeps falling short on key metrics, the migration decision should be based on data rather than perception: first break down gains and losses by business scenario, then decide whether to migrate fully, keep the old version for some scenarios, or switch to a self-managed general-purpose model option. A self-managed option is typically paired with a container platform to host inference services, object storage to hold evaluation datasets, and logging services plus monitoring and alerting to track wrong-refusal rates and latency fluctuations, forming a closed loop.
8. Conclusion
Style changes brought by version iteration are not equal to capability degradation; layered metrics, controlled variables, and regression thresholds are needed to turn subjective impressions into verifiable conclusions. For developers, the real control points are the evaluation system, the prompt contract, and routing with fallback. Make these three solid, and a model upgrade changes from “betting on perception” to “looking at data”.
