Why LLMs Solve Math Problems but Fail at Macro-Level Decisions
This article explains why general-purpose large language models excel at micro-level tasks such as math reasoning, code completion, and unit test generation, yet systematically underperform in macro-level decisions that span long horizons, multiple agents, and adversarial environments. It clarifies the boundary between micro and macro strategies, analyzes the structural, objective, state, reward, and observability roots of this gap, and proposes a four-dimension evaluation framework with a runnable Python skeleton. It then outlines engineering practices—outer planning loops, externalized state, executable verification, full-chain observability, and clear human-AI division of labor—along with common pitfalls and a practical adoption checklist. The key takeaway is to assign tasks by feedback structure: leave local reasoning to the model and global decisions to explicit planning and engineering closed loops.
1. Where the Problem Comes From: An Apparent Contradiction
A recurring contrast has emerged in technical discussions over the past two years. On one side, general-purpose large language models perform impressively on tasks such as mathematical derivation, code completion, and unit test generation, and can even assist with difficult formal proofs. On the other side, when placed in real business environments that require long time horizons, multiple stakeholders, and strong adversarial dynamics, their output often looks like this: every single step seems correct, but the overall result drifts off course.
Attributing this phenomenon to “the model is not smart enough” is inaccurate. A more rigorous explanation is that the architecture and training objectives of mainstream large language models give them an advantage in micro strategies (local, short-range, and immediately verifiable) and a systematic weakness in macro strategies (global, long-range, goal-coupled, and sparse in feedback). Understanding this is a prerequisite for sound engineering selection and expectation management.
2. Aligning the Concepts: The Boundary Between Micro and Macro Strategies
- Micro strategy: single-step or short-range decisions with a small state space, clear evaluation criteria, and low feedback latency. Examples include completing a function, locating an anomalous log entry, or converting natural language into a structured query.
- Macro strategy: goal achievement processes that span multiple stages, where the state evolves with actions, evaluation depends on final outcomes, and the environment may change adversarially. Examples include capacity planning, cost governance, incident response command, and long-term architecture evolution.
The difference between the two is not “difficulty” but feedback structure. Micro tasks can achieve high accuracy by fitting massive amounts of samples; the correct answer to a macro task depends on continuous estimation of the global state, and such signals are extremely sparse in training corpora and often cannot be verified counterfactually.
3. Root Cause Analysis: Why “Answering Questions” Is Not “Making Decisions”
3.1 Structural Level: A Paradigm Centered on “Outputting the Next Fragment”
The mainstream approach performs probabilistic fitting on a fixed network architecture, with the optimization objective of improving sequence likelihood. This naturally favors generating locally reasonable content, but it does not inherently carry a mechanism for “goal—subgoal—constraint—rollback.”
3.2 Objective Level: Fit Replaces Correctness
What the model learns is fit to the corpus distribution, whereas macro decisions require fit to the real-world state. The two overlap heavily on short-range tasks and diverge rapidly on long-range tasks.
3.3 State Level: No Persistent World Model
Macro processes require maintaining a state estimate that updates with actions. If the model only “remembers” within the context window, early constraints get diluted once the window fills up or the scenario changes.
3.4 Evaluation Level: Sparse and Delayed Rewards
Local tasks can be judged right or wrong immediately; macro outcomes take a long time to materialize and are hard to attribute to specific decisions, leading to “feeling good while the results are a mess.”
3.5 Observation Level: No Absolutely Correct Strategy Exists
If a strategy had an inherent correlation with facts and always held true, then observing it would itself disturb the conditions under which it holds. The engineering implication is direct: the correctness of any strategy is conditional, measurable, and requires continuous calibration; model output must not be treated as unquestionable truth.
4. Evaluation Framework: Scoring “Macro Capability” Instead of Relying on Intuition
It is recommended to use four dimensions for quantitative evaluation to avoid “impressive demos, terrible production results”:
| Dimension | Meaning | Reference Metrics |
|---|---|---|
| Goal retention | Whether long-range behavior deviates from the initial goal | Constraint violation rate, goal drift distance |
| State consistency | Whether the state estimate is self-consistent after actions | State validation failure rate, rollback count |
| Counterfactual robustness | Whether it remains usable after environment changes | Success rate decay under perturbation |
| Attributability | Whether outcomes can be traced back to decisions | Proportion of traceable decision chains |
A runnable evaluation skeleton:
def evaluate_macro(policy, env, horizon=50, perturb=None):state = env.reset()violations, rollbacks, trace = 0, 0, []for t in range(horizon):action = policy(state)state, reward, done = env.step(action)violations += int(env.constraint_violated(state))if env.need_rollback(state):rollbacks += 1state = env.rollback(state)trace.append((t, action, state.signature()))if done:breakif perturb:state_pert = env.apply(perturb)robust = policy(state_pert) is not Noneelse:robust = Truereturn {"goal_drift": env.goal_drift(state),"violation_rate": violations / max(1, horizon),"rollback_count": rollbacks,"traceable": len(trace) / max(1, horizon),"robust": robust,}
5. Engineering Improvements: Turning “Being Able to Answer” into “Being Able to Act”
5.1 Add an Outer Planning and Execution Loop
Let the model do only the local reasoning it is good at, and delegate goal decomposition, priority ordering, and conflict resolution to an explicit planning layer, forming a “plan—execute—validate—rollback” loop.
5.2 Externalize State
Maintain task state and constraint lists in structured storage rather than relying on context memory. A common approach is to keep state in object storage or a database, drive stage transitions with a message queue, and host replayable execution environments on a container platform.
5.3 Tool-Based Verification
Turn “is it correct” into executable validation: unit tests, static checks, policy simulation, and sandbox replay. A macro plan without executable validation should not enter the automated execution stage.
5.4 Full-Chain Observability
Use logging services and monitoring alerts to record every decision and state change, ensuring post-hoc attributability; set manual confirmation gates for critical actions.
5.5 The Boundary of Human-AI Division of Labor
Delegate batch micro generation to the model, and keep macro trade-offs under human decision authority. This is not conservatism but respect for feedback structure.
6. Common Pitfalls
- Treating demos as capability: short-range examples cannot represent long-range performance.
- Substituting parameter count for structural innovation: without structural and engineering closed loops, further scaling training only yields similar macro results.
- Ignoring adversarial dynamics: real environments react to your strategy changes, and static optimal solutions quickly become invalid.
- Pursuing absolute correctness: pursue what is “measurable, calibratable, and rollback-capable” instead.
7. Adoption Checklist
- First define the success criteria and constraint list for the macro task;
- Build executable validation and simulation environments;
- Externalize state and design rollback mechanisms;
- Use the four-dimension metrics above for baseline evaluation;
- Set up manual gates and canary rollouts;
- Continuously calibrate strategies with online feedback.
8. Conclusion
The strength of large language models in micro strategies is real, and their weakness in macro strategies is equally structural. The rational approach is neither to deify nor to dismiss them, but to assign tasks by feedback structure: leave local work to the model and global work to explicit planning and engineering closed loops. Building this loop on top of the general capabilities offered by platforms such as Baidu AI Cloud (for example, object storage, message queues, container platforms, logging services, and monitoring alerts) can genuinely turn “being able to answer questions” into “getting things done.”
