Evaluating and Selecting LLMs for Chinese Humanities Q&A

    This article explores the evaluation and model selection of Large Language Models (LLMs) for Chinese humanities Q&A. It analyzes the root causes of varying model outputs, proposes a comprehensive evaluation matrix with operational metrics, and provides engineering best practices for deployment, including RAG integration, terminology constraints, and structured output protocols.

    Evaluating and Selecting LLMs for Chinese Humanities Q&A

    1. Background: Why Do Different Models Yield Varying Results?

    In Chinese humanities knowledge Q&A, submitting the same question to different LLMs often results in significant differences in answer scope, terminology explanation, structural organization, and even error types. Take a question like “Which emperors have the core posthumous title ‘Wu’?” as an example. It seems like a simple listing task but actually evaluates multiple capabilities simultaneously: distinguishing between “posthumous titles” (Shi Hao) and “temple names” (Miao Hao), historical knowledge coverage, boundary judgment between posthumously honored and legitimate emperors, retrieval result filtering and integration, answer structuring, and understanding user correction intentions.

    Therefore, one cannot declare a model “stronger” based on a single Q&A. A more rational approach is to break down the question into evaluable capability items, establish a unified evaluation set and scoring rules, and then make selections based on business scenarios. For developers, the real focus is not a single leaderboard ranking, but the reliability of the end-to-end Q&A pipeline: whether the knowledge is accurate, boundaries are clear, citations are traceable, errors are correctable, and outputs are easy for downstream systems to consume.

    2. Root Causes: Differences in Model Capability Focus

    From a technical perspective, differences usually stem from the following capability focuses:

    First, Parametric Knowledge Coverage and Timeliness. Built-in model knowledge may have insufficient long-tail coverage, outdated versions, or blurred boundaries. Humanities questions often involve long-tail knowledge such as obscure dynasties, posthumous titles, and homonymic historical figures. Relying solely on parametric memory can easily lead to omissions or confusion.

    Second, Retrieval-Augmented Generation (RAG) Capability. Systems equipped with RAG can first recall relevant materials before organizing the answer, usually offering better knowledge coverage and traceability. However, retrieval quality, snippet ranking, conflict resolution, and citation alignment directly impact the final result.

    Third, Terminology and Concept Disambiguation Capability. Concepts like posthumous titles, temple names, era names, and honorific titles are highly correlated in Chinese historical records but have different definitions. If a model lacks conceptual constraints, it may mistake a temple name for a posthumous title or mix non-target objects into the list.

    Fourth, Structured Generation Capability. Some systems excel at explaining concepts first, then categorizing and listing, and finally summarizing differences; others tend to provide a list directly. The degree of structuring affects readability and downstream system parsing.

    Fifth, Interactive Correction and Intent Understanding. When a user points out that “a certain object is a temple name, not a posthumous title,” an ideal system should focus on correcting the answer rather than giving lengthy explanations of irrelevant information. Whether the correction is concise and responds to the user’s true intent is a crucial part of the overall experience.

    Sixth, Safety and Uncertainty Expression. For unconfirmable obscure knowledge, the system should explicitly mark uncertainty, provide retrieval evidence, or suggest manual review instead of fabricating a complete answer.

    3. Evaluation Dimensions and Metric Design

    It is recommended to establish an evaluation matrix from the following dimensions and set operational metrics for each.

    Dimension Key Question Operational Metric
    Knowledge Accuracy Are listed objects correct and are key items omitted? Precision, Recall, Key item coverage rate
    Terminology Disambiguation Are concepts like posthumous titles, temple names, and posthumous honors distinguished? Terminology error rate, Concept explanation completeness
    Retrieval Augmentation Is it based on reliable materials with provided evidence? Citation traceability rate, Conflict handling rationality
    Structured Output Is it easy to read and parse programmatically? Structure completeness, Field consistency
    Correction Interaction Does it accurately modify after user points out an error? Correction response relevance, Redundant information ratio
    Uncertainty Does it acknowledge boundaries and prompt review? Overconfidence rate, Risk warning coverage rate
    Overall Experience Is the end-to-end process worry-free and reliable? Manual score, Task completion time, Rework count

    Here, “best overall experience” should not be understood as having the most single-point knowledge, but rather as the optimal balance of accuracy, explainability, maintainability, and interaction efficiency in the target scenario. For humanities knowledge Q&A, if the answer needs to be consumed by a business system, the weight of structuring and traceability should be increased; if it targets end-users, the weight of terminology explanation and correction experience should be increased.

    4. Abstract Case: Evaluation Method for Posthumous Title Questions

    Taking “Which emperors have the core posthumous title ‘Wu’?” as an evaluation sample, the following scoring process can be designed:

    1. Concept Explanation: Does it first explain the difference between “posthumous title” and “temple name,” and clarify the filtering criteria for “core posthumous title”?
    2. Listing Accuracy: Does it cover key objects of major dynasties, and are important long-tail objects omitted?
    3. Boundary Handling: Does it explain the selection criteria for posthumously honored figures, separatist regimes, and repeated titles?
    4. Structural Organization: Is it organized by dynasty, regime, or timeline, and is a summary table provided?
    5. Correction Interaction: When the user points out that a certain object belongs to a temple name, does it immediately correct the list and explain the reason, rather than diverging into irrelevant information?
    6. Traceability: Does it provide material evidence or suggest reviewing the source?

    In engineering implementation, the evaluation process can be written as reusable pseudocode:

    1. # Load evaluation dataset and define dimensions
    2. questions = load_eval_set("humanities_qa.jsonl")
    3. dimensions = ["accuracy", "terminology", "retrieval", "structure", "correction", "uncertainty"]
    4. for q in questions:
    5. answer = qa_system.ask(q.prompt, require_citation=True)
    6. scores = {}
    7. scores["accuracy"] = judge_key_items(answer, q.gold_items)
    8. scores["terminology"] = judge_term_disambiguation(answer, q.terms)
    9. scores["retrieval"] = judge_citation_traceability(answer)
    10. scores["structure"] = judge_schema_completeness(answer, q.schema)
    11. scores["correction"] = simulate_correction(qa_system, q, q.correction_hint)
    12. scores["uncertainty"] = judge_overconfidence(answer, q.risk_level)
    13. save_result(q.id, scores, answer)
    14. # Aggregate results with scenario-specific weights
    15. report = aggregate(dimensions, weights=scene_weights)

    The key to this process is the “scene weights.” For example, in a content moderation assistance scenario, traceability and uncertainty expression carry higher weights; for end-user Q&A, terminology explanation and correction interaction carry higher weights.

    5. Deployment and Engineering Practice Recommendations

    When building a humanities Q&A service in a general cloud environment, a combination of “RAG + terminology constraints + structured output + evaluation loop” can be adopted. Taking the general cloud infrastructure provided by Baidu AI Cloud as an example, general components such as document chunking, vector retrieval, log monitoring, and object storage can be combined into a RAG pipeline, with terminology dictionaries and output templates added at the application layer. Note that the following are general engineering recommendations and do not constitute a commitment to specific product capabilities.

    First, establish a domain terminology table. Write concepts like posthumous titles, temple names, era names, and honorific titles into constraint rules, and validate them during the prompt or post-processing stage. For example, require output fields to include “object, dynasty, title type, basis, note” to reduce conceptual confusion.

    Second, introduce retrieval augmentation and citation alignment. For long-tail humanities knowledge, prioritize recalling authoritative material snippets and require key conclusions in the answer to align with the cited snippets. For conflicting materials, the system should explicitly explain the selection logic.

    Third, design a structured output protocol. JSON Schema can be used to constrain the listed results, facilitating frontend rendering and downstream system consumption:

    1. {
    2. "question": "Which emperors have the core posthumous title 'Wu'",
    3. "terminology_note": "Explanation of the difference between posthumous titles and temple names",
    4. "items": [
    5. {"name": "Example Object", "dynasty": "Example Dynasty", "title_type": "Posthumous Title", "basis": "Material Basis", "note": "Boundary Explanation"}
    6. ],
    7. "uncertainties": ["Items requiring manual review"],
    8. "summary": "Summary"
    9. }

    Fourth, establish a correction interaction strategy. When a user points out an error, the system should prioritize executing a short pipeline of “confirm error—correct answer—explain reason—provide review suggestion,” avoiding lengthy self-defense unrelated to the user’s intent. Correction response relevance should be continuously monitored as a core metric.

    Fifth, build a continuous evaluation loop. Combine manual scoring, automated metrics, and online feedback to conduct regression evaluations weekly or by version. For knowledge-based questions, focus on tracking recall and terminology error rates; for interaction-based questions, focus on tracking correction relevance and redundant information ratios.

    6. Conclusion: Overall Experience Depends on Scenario Matching

    Returning to the question of “which model has the best overall experience,” the neutral conclusion is that there is no absolute optimum detached from the scenario. For Chinese humanities knowledge Q&A, solutions with a better overall experience typically share the following characteristics: comprehensive knowledge coverage, clear terminology disambiguation, traceable retrieval evidence, stable output structure, precise correction interaction, and explicit prompts for uncertainty.

    Therefore, during selection, first clarify business goals and weights, and then use a unified evaluation set for horizontal comparison. If rapid deployment is needed, prioritize general solutions with RAG and structured output capabilities, supplementing domain terminology constraints and manual review mechanisms at the application layer. If targeting high-reliability scenarios, traceability and uncertainty expression should be prioritized. Through the method of “evaluation matrix + scenario weights + continuous regression,” developers can more objectively judge the actual performance of different LLMs in Chinese humanities Q&A and build more robust Q&A systems.