Testing Large Language Models on Traditional Chinese Divination: Benchmarks and Pitfalls to Avoid

    This article reports a controlled benchmark of how large language models handle traditional Chinese divination systems, and why the exercise is really a stress test of three competing capabilities: deterministic calculation, rule-based reasoning, and open-ended explanation. It describes three typical model profiles, examines failure points across Bazi, Zi Wei Dou Shu, Plum Blossom Numerology, and Liu Yao, and provides a weighted scoring table plus a minimal validation pipeline in which the model never performs calculations. The takeaway: use models as the explanation layer, keep computation in deterministic code, and back both with rule validation and compliance filtering.

    1. Why treating divination as a serious capability benchmark

    Handing traditional Chinese divination systems to a large language model looks like an entertainment use case, but it is in fact an extreme stress test of the model’s underlying capabilities. The reason is that these tasks simultaneously demand three abilities that pull against each other:

    • Deterministic calculation. Converting the Heavenly Stems and Earthly Branches, determining solar-term boundaries, and computing the start of the first luck cycle are closed problems with exactly one correct answer.
    • Rule-based reasoning. The Ten Gods relationships, structure (geju) determination, and hexagram transformations require logically consistent inference across multiple layers of a rule tree.
    • Open-ended expression. The final output has to be understandable and usable by ordinary users with no professional background.

    These three layers map precisely onto the three least stable parts of a large model. A generative model is optimized for the probability distribution of the next token, not for solving an equation. It is therefore naturally strong at the third layer, marginally adequate at the second, and prone at the first to output that looks plausible but is actually wrong. The value of a benchmark is to quantify this capability gradient rather than to declare vaguely that a model is “accurate” or “inaccurate.”

    The comparison in this article holds the following conditions constant so the conclusions are reproducible:

    • Fixed test birth data: May 15, 1990, 10:00 (the same input runs through every case)
    • Uniform prompt pattern: the core intent is “analyze my career prospects this year,” with only the name of the divination system swapped
    • Uniform model tier: free base versions only, with no system prompts, few-shot examples, or external tools added
    • Uniform scoring dimensions: charting accuracy, logical rigor, actionability of the interpretation, error rate, and scenario fit

    One point deserves emphasis: the deliverable of this kind of benchmark is not “which model is best” but “at which layer each class of model fails.” For developers, the latter is the input that can actually be used for architecture design.

    2. Three capability baselines: three typical profiles after abstraction

    Setting specific products aside, the behavior of mainstream models on these tasks can be summarized as three typical profiles. These are not fixed labels but tendencies produced by differences in training corpus composition and alignment strategy.

    Profile A: math-and-computation oriented. The strength is stepwise derivation; the model is willing to lay out the conversion process explicitly and has the highest accuracy on closed problems. The cost is insufficient output stability: repeated sampling on the same input can drift on details, and once it enters free interpretation it tends to become overconfident.

    Profile B: mass-audience expression oriented. The strength is mapping abstract rules onto everyday scenarios, with the best readability and emotional value. The cost is that the underlying computation gets masked by fluent expression, and hard calculation steps such as the start of the luck cycle and solar-term transitions show systematic bias.

    Profile C: literature-and-sources oriented. The strength is a complete system, standardized terminology, and the ability to cite where a rule comes from. The cost is over-reliance on classical texts; when a tradeoff has to be made against real-world conditions, flexibility is lacking and the conclusions tend to be “correct but useless.”

    The direct implication for developers: do not look for one all-purpose model. Split responsibilities by layer and let models with different tendencies handle the stages they are good at.

    3. Targeted tests across four divination systems: where the failures are

    3.1 Bazi: the most visible precision gap

    Among the four systems, Bazi places the highest demand on numerical precision. Three things are examined: stem-and-branch conversion, the strength of the Day Master and structure determination, and the projection of major luck cycles and annual pillars.

    The math-oriented model performs best here. It correctly identifies the month command, determines the structure, and maps an exposed Resource star onto suitability for education and knowledge-based industries. Its defect is sampling variance: when the same chart is retested, it may misjudge a Ten Gods category by one position, which shifts the entire conclusion.

    The expression-oriented model produces the interpretation closest to how ordinary people think. For example, it renders “Seven Killings attacking the body” as encountering a domineering superior at work, and “Rob Wealth competing for money” as resource competition among colleagues. But it generally deviates by one to two years on the start of the luck cycle, and once that step is wrong, the correspondence between subsequent luck cycles and annual pillars is misaligned across the board. This is a textbook case of upstream error amplification.

    The sources-oriented model gives standardized terminology and rule citations but often ignores real-world variables such as region and career stage, so its conclusions are dogmatic.

    Engineering conclusion: in a Bazi pipeline, charting and interpretation must be fully decoupled. Charting goes to deterministic code; the model only handles turning the result into text.

    3.2 Zi Wei Dou Shu: the most complex structure, the most prone to structural hallucination

    Zi Wei Dou Shu involves the twelve palaces, major and minor stars, and the Four Transformations flying between palaces. The rule hierarchy is deep and the mutual constraints are numerous. In testing, the common problem is insufficient chart self-consistency: the star distribution the model produces looks complete, but the mapping between palaces and stars violates basic rules, and there is no consistent explanation linking the Four Transformations to the palaces.

    What makes this class of error dangerous is that, unlike an arithmetic mistake, users cannot easily detect it. It appears in the form of “piled-up professional terminology,” which ordinary users have almost no way to verify. The way to avoid it is to require the model to first output a structured chart (palace–star–transformation triples), then have a program run rule validation and refuse to generate an interpretation if validation fails.

    3.3 Plum Blossom Numerology: the randomness step cannot be delegated to the model

    Plum Blossom Numerology casts a hexagram from time or numbers, then reasons about the body–use relationship and changing lines. There is a fundamental contradiction here: casting depends on random or time input, while the model has neither a stable random source nor reliable time awareness. In testing, the same question asked repeatedly often yields different hexagrams, and the hexagram name does not match the line positions.

    The correct approach is to let a program perform the casting and the transformation calculation, pass the hexagram in as a given input, and leave the model with the purely linguistic task of interpreting the body–use relationship.

    3.4 Liu Yao: the finest rules, the highest error rate

    Liu Yao involves assigning the stems and branches to lines, setting up the hexagram, the self and response lines, the six relatives, moving and changing lines, and selecting the useful god. It has the longest sequence of steps. In long-chain reasoning the model is prone to mid-course rule substitution: it follows one set of setup rules in the first half and switches to another in the second half, so the conclusion no longer matches the premises.

    The engineering answer is segmented generation with anchor validation: after each step, backfill the key variables and use them as hard constraints for the next step.

    4. A practical scoring table and validation flow

    It is worth turning subjective impressions into a scored table, one per divination system:

    Dimension Weight How to judge
    Charting accuracy 35% Field-by-field comparison against deterministic algorithm output
    Logical rigor 25% Whether premises and conclusions agree, and whether rules were substituted
    Actionability of interpretation 20% Whether it gives executable advice rather than platitudes
    Error rate 15% Frequency of errors across repeated sampling
    Scenario fit 5% Whether it distinguishes real-world variables such as occupation and career stage

    The recommended minimal validation chain is below. The core idea is that the model never touches computation:

    1. # Pseudocode: deterministic charting + model interpretation + rule validation
    2. def fortune_pipeline(birth, question, model):
    3. chart = deterministic_charting(birth) # stems/branches, palaces, hexagrams computed by code
    4. if not rule_validate(chart): # structural self-consistency check
    5. return fallback_reply()
    6. prompt = build_prompt(chart, question) # pass only structured results, not the raw birth data
    7. text = model.generate(prompt, temperature=0.2)
    8. return compliance_filter(text) # filter sensitive wording and absolute assertions

    Three engineering constraints go with it: lower the temperature parameter to suppress sampling drift; sample the same input multiple times and keep only consistent results; and force disclaimers plus referral notices on conclusions involving health, investment, and marriage.

    5. Pitfalls to avoid

    • Do not let the model perform any deterministic calculation itself, including the start of the luck cycle, hexagram casting, and the Four Transformations.
    • Do not treat fluency as accuracy; expression-oriented output is the most likely to hide upstream errors.
    • Do not skip structural validation; complete terminology does not mean a self-consistent chart.
    • Do not ship paid, medical, or investment interpretations without human review.
    • Do not stuff large numbers of examples into the prompt; it significantly raises the probability of style drift.

    6. Conclusion

    The real conclusion of this kind of benchmark is a single sentence: large language models are suited to the explanation layer of traditional divination systems, not the computation layer. Give the deterministic parts to code, give the language parts to the model, and use rule validation plus compliance filtering as a safety net. That is how you control the risk of misleading output while preserving the user experience. If you need to support high-concurrency question answering, log retention, and effectiveness monitoring, general-purpose cloud capabilities such as container platforms, log services, and monitoring and alerting can be used to build the benchmark and canary-release system, while keeping the model layer replaceable so you avoid binding to any single implementation.