LLM Selection: Instruction Following and Chain-of-Thought Readability in Practice
This article examines why benchmark scores do not guarantee a good real-world experience when selecting large language models for coding assistants and conversational development environments. It breaks instruction following into explicit constraints, implicit intent, and conflict handling; explains how to make chain-of-thought readable and auditable through language consistency, layered structure, and reproducibility; and addresses tool-calling efficiency with a minimum viable path strategy. It also recommends building a small, repeatable team evaluation baseline with fixed inputs and scorecards, and treating prompt templates, output contracts, and termination conditions as stable engineering assets.
1. Background: Why “It Runs” Does Not Mean “It Works Well”
When teams integrate large language models into intelligent coding tools or conversational development environments, they often run into a counterintuitive phenomenon: models score similarly on standard benchmarks, yet the real experience varies dramatically. Three typical problems from the original discussion cover the core tensions in putting LLMs into production today.
The first is a “mechanical” grasp of instructions. The model recognizes literal requirements but struggles to capture what is implied. For example, when asked to analyze a manually sampled time series with obvious jump points, it force-fits the anomalies as a normal trend, and even with added clarification and a request to reconsider, it still holds the wrong conclusion.
The second is missing readability in the reasoning process. Some models use an intermediate language for chain-of-thought that differs from the output language, forming a “Chinese input - English reasoning - Chinese output” chain. Users can neither verify intermediate steps nor reuse the reasoning content.
The third is inefficient execution strategy. Some models immediately pile up large amounts of code after receiving a task but fail to return generated charts to the main response; some mix reasoning content into the formal answer; and some even loop endlessly without converging.
These problems share one trait: they are not about “whether an answer can be generated,” but about “whether the generation process is controllable, verifiable, and collaborative.”
2. Evaluation Dimension 1: The Depth of Instruction Following
Instruction following is often reduced to “obedience,” but it should be split into three layers.
- Explicit constraint following: whether format, length, language, and output structure are strictly met.
- Implicit intent understanding: whether the model can infer the real goal from context, for example, “this dataset has a few jumps; first determine whether they are collection anomalies.”
- Constraint conflict handling: when multiple requirements contradict each other, whether the model proactively asks for clarification instead of making arbitrary trade-offs.
In engineering, it helps to make implicit intent explicit. For data analysis, you can add a structured pre-check to the prompt:
Before giving a conclusion, please complete:1) Data quality check: list suspected anomalies and the basis for judging them;2) Explicit assumptions: state the distribution or trend you assume the data follows;3) If jumps exist, give two explanations (collection anomaly / real change) and reason through each;4) The final conclusion must reference the step numbers above.
This “diagnose first, conclude later” template significantly suppresses the model’s stubbornness on anomalies, because it forces implicit assumptions into the open.
3. Evaluation Dimension 2: Chain-of-Thought Readability and Auditability
The value of chain-of-thought is not “showing thinking” but letting users verify and reuse it. A poorly readable reasoning chain is effectively unauditable. In practice, it can be governed from three angles.
- Language consistency: require reasoning and output to use the same language, avoiding the comprehension cost of switching intermediate languages.
- Layered structure: divide reasoning into four parts - fact extraction, assumptions, derivation, and conclusion - and prohibit mixing raw reasoning text into the formal answer.
- Reproducibility: data, formulas, and code snippets referenced in reasoning must be locatable for manual review.
An example of a reusable output contract:
Please output in the following structure:[Conclusion] No more than three sentences;[Basis] Listed item by item, each noting the source data or calculation step;[Risks] Conditions under which the conclusion may fail;[Appendix] Necessary code or charts; charts must be embedded in the main text by reference.
Once the output contract is fixed, comparisons between different models have a consistent yardstick rather than relying on subjective “comfort.”
4. Evaluation Dimension 3: Tool Calling and Execution Efficiency
In intelligent coding tool scenarios, models can often execute code, generate charts, and retrieve information. Efficiency differences come mainly from strategy rather than compute.
Common problems include: generating code at large scale before the task is clarified; failing to feed generated artifacts back into the main text; and lacking termination conditions that lead to repeated execution. The corresponding optimization is “minimum viable path first”:
- First give an analysis plan and a list of expected artifacts;
- Execute only one minimal action per step and output intermediate results;
- Set clear stop conditions, for example, “after chart generation, it must be embedded in the main text and then stop”;
- Set a retry limit for failure paths to avoid infinite loops.
Illustrative pseudocode:
plan = ["load_data", "detect_outliers", "fit_model", "render_chart", "embed_and_summarize"]for step in plan:result = run(step)if not result.ok:break_after(step, reason=result.error) # terminate explicitly to avoid idlingpublish(result) # feed artifacts back into context immediately
The value of this flow is turning “free-form model behavior” into a “controlled pipeline,” so that regardless of how the underlying model is swapped, the engineering side maintains stable output quality.
5. Implementation Advice: Build Your Team’s Own Evaluation Baseline
Selection should not rely on a single experience but on a small, repeatable evaluation set. It is recommended to cover four task types: data analysis with anomalies, rewriting tasks that require implicit intent inference, requirement clarification with conflicting constraints, and multi-step tasks that require tool calling. Each task type has fixed inputs and a scorecard. The scorecard includes four weighted items: instruction following, reasoning readability, execution efficiency, and conclusion correctness.
At the same time, turn prompt templates, output contracts, and termination conditions into team assets. Models iterate quickly, but engineering contracts are stable, so the experience stays consistent even when the underlying model is replaced frequently.
6. Conclusion
The real gap of large language models in development scenarios is often not generation capability but “whether they can be constrained, audited, and collaborated with.” Making implicit intent explicit, making reasoning structure contractual, and making the execution flow a pipeline are three improvement paths that can be applied immediately. For teams that want to build a unified evaluation and release process with relevant cloud product capabilities from Baidu AI Cloud, they can combine general categories such as container platforms, log services, and monitoring and alerting to build a canary and observability system for model changes, moving selection from subjective feeling to data-driven decisions.
