Mitigating LLM Language Degradation at the Harness Level
As large language models (LLMs) advance in coding and mathematical reasoning, their language quality often degrades due to a bias toward quantifiable tasks during post-training. This article explores the root causes of this language degradation and proposes a systematic mitigation framework at the inference Harness level. By implementing constraint-based prompting, output quality detection, rewriting mechanisms, and feedback loops, developers can systematically improve output quality without retraining the model. The article also discusses the limitations of Harness-level solutions and outlines the fundamental training-side approaches needed for long-term improvement.
1. The Problem: The Trade-off Between Capability and Language Quality
In recent years, the iteration of large language models (LLMs) has shown a clear trend of “capability bias”: to achieve better results in quantifiable tasks such as code generation, mathematical reasoning, and tool calling, reinforcement training during the post-training phase often leans heavily toward these directions. While this bias brings verifiable gains, it has also spawned a phenomenon worth being wary of—language capability degradation.
Community users and developers have generally observed the following typical issues when using new-generation models:
- Inconsistent Register: Mixed formal and colloquial expressions within the same response, inconsistent tone, and a disjointed overall writing style.
- Incomplete Predicates and Syntactic Anomalies: Incomplete sentence components, resulting in fragmented expressions similar to “translationese” or “telegraphic” writing.
- Defensive Writing: Frequent use of defensive phrasing like “this does not mean,” “it should be pointed out,” or “this is not to say,” while the actual content advancing the argument remains sparse.
- Evasive Argumentation: Reluctance to state a conclusion directly, habitually using contrastive structures like “not A but B” to avoid taking a positive stance.
- Homogenized Expression: Highly templated phrasing, with similar response structures across different questions, lacking natural linguistic diversity.
- Redundant Disclaimers: Piling up “preventive” statements to avoid being questioned, thereby diluting information density.
- Rigid Formatting: Over-reliance on fixed templates like lists, bold text, and sections, losing the ability to write coherently in continuous prose.
The commonality of these issues is that they are not cases of “the model failing to do the right thing,” but rather “the model failing to say things well.” This raises a natural engineering question: Can we systematically mitigate these issues at the inference framework (Harness) level without retraining the model?
2. Root Cause Analysis: Why Does Degradation Occur?
To solve the problem at the Harness level, we must first understand the mechanism behind it.
2.1 Misalignment Between RL Objectives and Language Objectives
Current mainstream post-training pipelines heavily rely on verifiable rewards (such as unit test pass rates, exact answer matches). These signals naturally favor “getting things done right” but provide almost no gradient for “writing things beautifully.” More tricky is that the latter lacks a usable Verifier:
- Code correctness can be automatically judged by test sets, but literary quality and fluency are highly subjective.
- Different groups have vastly different preferences for “good writing,” and there is no universally accepted evaluation function.
- Using another model as a judge (LLM-as-a-Judge) is prone to introducing the judge’s own biases and the risk of adversarial attacks.
In other words, the RLVR (Reinforcement Learning with Verifiable Rewards) paradigm currently fails in the dimension of language quality. During the reinforcement process, the model gradually “learns” to use conservative, defensive, and templated expressions to reduce the risk of being penalized—defensive writing is essentially a linguistic manifestation of a risk-aversion strategy.
2.2 Language Style Determined by Parameters
The model’s register, sentence habits, and argumentation structure are largely solidified by the parameter distribution from the pre-training and post-training phases. This means that the “leverage” of external intervention is limited: the Harness can guide, constrain, and filter, but it cannot magically endow the model with expressive abilities it does not possess. This is a premise that must be faced when evaluating the upper limit of Harness solutions.
3. Systematic Mitigation Strategies at the Harness Level
Despite its upper limits, the Harness, as an external control layer during inference, can still play a role in multiple stages. A systematic mitigation architecture typically consists of the following four layers.
3.1 Prompting Layer: Constraint-based Prompt Engineering
This is the lowest-cost and fastest-acting method. Practice shows that explicit negative constraints are much more effective than vague instructions like “please write better.” For example:
Writing Constraints:1. Do not use evasive arguments; prohibit "not A but B" phrasing to avoid taking a stance;2. Do not use defensive writing; prohibit phrases like "this does not mean" or "this is not to say" that only serve to deflect criticism without advancing the argument;3. If a sentence exists solely to prevent questioning rather than advance the discussion, delete it;4. Maintain consistent register; avoid mixing formal and colloquial expressions;5. Every sentence must have a complete subject-predicate structure; prohibit incomplete components.
The principle of this type of prompt is to make implicit quality standards explicit as actionable behavioral rules, effectively filling in the missing reward signals from training. Writing constraints one by one for the aforementioned seven types of issues usually yields a noticeable improvement.
The limitations are also clear: constraints can conflict with each other, and the more rules there are, the harder it is for the model to satisfy them all simultaneously. Furthermore, the model may “comply superficially” while the same types of issues emerge in new forms of expression.
3.2 Detection Layer: Output Quality Evaluators
Add an automated detection step after generation to perform a structured scan of the output:
- Syntactic Completeness Check: Use dependency parsing to detect missing predicates and fragmented sentences.
- Template Phrase Dictionary: Maintain a pattern library of defensive phrasing and evasive sentence structures, and calculate the hit density.
- Register Consistency Metric: Use text embeddings to calculate the dispersion of style vectors across paragraphs, quantifying register drift.
- Information Density Metrics: Calculate the proportion of substantive content that advances the argument, identifying “spinning” statements.
These detectors can be combined into a composite scoring function to serve as the criterion for whether the output needs secondary processing.
3.3 Filtering and Rewriting Layer: Closed-loop Correction
For outputs that fail the detection, two strategies can be adopted:
- Reject and Resample: Regenerate with stricter correction instructions, such as “The previous output contained a large amount of defensive phrasing; eliminate them one by one when rewriting.”
- Targeted Rewriting: Only rewrite the flagged segments locally, preserving the overall structure to reduce the risk of altering the original meaning.
The upper limit of this layer’s effectiveness depends on whether the underlying model actually possesses the corresponding expressive abilities when “asked to rewrite.” If the model itself has not learned an elegant expression distribution, the rewriting step can only “remove the bad” and is unlikely to “generate the good.”
3.4 Feedback Layer: Continuous Optimization Loop
Feed back the scoring signals from the detection layer to build a lightweight iterative mechanism: score the output quality in historical conversations, identify high-frequency degradation patterns, and dynamically update the prompting layer constraints and template phrase library. This is equivalent to building an external, rule-based pseudo-RLVR at the Harness level—while it cannot change the model parameters, it can continuously converge the system-level output quality.
4. Boundaries and Fundamental Solutions for Harness Strategies
It must be acknowledged that the role of the Harness is mitigation, not a cure.
What it can do: Intercept templated, uncomfortable output patterns; guide the model to choose better expressions within its existing capabilities through explicit constraints; establish a quantifiable, iterable quality control process.
What it cannot do: If the model’s parameter distribution fundamentally lacks “fluent, elegant, diverse” expression patterns, no external prompt can make it output content that does not exist in its capability space. The Harness is ultimately an external framework, and how the model speaks is determined by its internal parameters—this judgment remains valid under current technical conditions.
The fundamental solution still lies on the training side:
- Build an evaluation system for language quality: Even if it cannot be completely objective, a “good enough” writing quality Verifier can be established through large-scale human preference annotation and distillation of judges.
- Explicitly add language dimensions to post-training objectives: Incorporate fluency, diversity, and information density into the reward function, balancing them with reasoning capabilities.
- Supplement high-quality corpora on the data side: The beauty of language needs to be fed with high-quality examples, which relies on continuous investment in data engineering.
In the short term, the industry’s focus remains on “getting things done right,” and investment in language dimensions is relatively insufficient. However, as model capabilities converge and the competitive focus shifts to user experience, this shortcoming will likely be addressed.
5. Conclusion
For developers today, a pragmatic strategy is: layered governance and managing expectations. Use a combination of “explicit negative constraints + automated detection + rejection and resampling” at the Harness level to push output quality near the upper limit of the current model’s capabilities. Meanwhile, keep an eye on training-side progress, waiting for language quality Verifiers and related post-training methods to mature. Tools can solve process issues, but the ultimate return of expressive beauty still relies on the evolution of the models themselves.
