Evaluating Humanities QA Capabilities in Large Language Models: Key Dimensions and Engineering Practices
This article breaks down how to evaluate the humanities and history question-answering capabilities of large language models. Using the sample question about emperors whose core posthumous name is "Wu," it defines four measurable dimensions—knowledge recall, concept disambiguation, structural organization, and interaction naturalness—and compares typical behavior across different technical approaches. It then traces common failures to the retrieval, generation, and interaction layers, and offers practical recommendations for developers, including building an authoritative entry database, hybrid retrieval, structured prompting, post-processing validation, and regression evaluation. The key takeaway is that humanities QA quality depends less on model size than on retrieval completeness, conceptual rigor, and user-facing expression.
1. Background: Why Humanities Questions Are a Litmus Test for LLMs
In general-purpose question answering, humanities and history questions tend to expose model capability boundaries more clearly than factual lookups. This is because they require three abilities to work together. First, broad knowledge recall, covering historical entries that span long time periods and frequent regime changes. Second, the ability to distinguish naming systems—posthumous names, temple names, and era names belong to entirely different systems. Third, the ability to organize expression, turning scattered entries into readable structure rather than a plain list.
The sample question used here is “Which emperors had ‘Wu’ as their core posthumous name?” It looks simple but contains several traps: posthumous names and temple names are easily confused; posthumous honors and name changes can give the same person multiple titles; and rulers of separatist regimes and short-lived dynasties are easy to miss. This makes it a typical test case for measuring the quality of Chinese humanities QA.
2. Evaluation Dimensions: Four Quantifiable Observation Points
To make comparisons reproducible, the evaluation can be split into four dimensions, each with a clear judgment criterion.
- Knowledge recall: whether major entries are covered and whether important regimes are missed.
- Concept disambiguation accuracy: whether posthumous names and temple names are correctly distinguished, and whether special cases such as posthumous honors and name changes are explained.
- Structural organization quality: whether the answer defines concepts first, then lists entries, and finally summarizes patterns.
- Interaction naturalness: whether the output is user-facing rather than exposing the model’s internal reasoning process.
A sample evaluation record can be structured as follows for batch statistics:
{"question": "Which emperors had 'Wu' as their core posthumous name","dimensions": {"recall": {"score": 0.8, "missing": ["Emperor Daowu of Northern Wei", "Emperor Xiaowu of Song"]},"concept": {"score": 1.0, "note": "Correctly distinguishes posthumous names from temple names"},"structure": {"score": 0.9, "note": "Includes definition, list, and summary"},"interaction": {"score": 0.6, "note": "Contains self-directed supplementary notes"}}}
3. Typical Behavior Across Technical Approaches
The first approach combines reasoning enhancement with search enhancement. Such solutions typically perform multiple rounds of retrieval and reasoning before producing a conclusion. Their strength is structural completeness: they can first explain the meaning of the “Wu” posthumous name, then list entries, and finally summarize the difference between posthumous names and temple names. The weakness is that recall may still be incomplete—for example, missing entries such as Tuoba Gui (Emperor Daowu of Northern Wei), Yuan Xiu (Emperor Xiaowu of Northern Wei), Gao Huan (Emperor Shenwu of Northern Qi), and Liu Jun (Emperor Xiaowu of Song). Overall, this is a relatively mature form in Chinese intelligent search scenarios.
The second approach has strong systematic generation but limited Chinese corpus coverage. Its output has clear hierarchy and a high degree of templating, often ending with an overview table, but entries are noticeably missing. The cause may be restricted retrieval access or insufficient understanding of Chinese long-tail knowledge.
The third approach has stronger retrieval but weaker natural expression. It can provide relatively complete entries with brief descriptions, and even supplements some obscure regimes, but it lacks upfront concept explanation and a closing summary. It reads more like a search engine results page than a conversational answer.
The fourth approach shows biased concept disambiguation and misdirected interaction. Typical problems include treating temple names as posthumous names in the results, providing too few entries, and outputting error-correction reasoning that should have been internalized directly to the user. When users already understand the difference between temple names and posthumous names, lengthy self-justification actually reduces information efficiency.
4. Root Cause Analysis: Retrieval Layer or Generation Layer
The phenomena above can be narrowed down to three engineering problems.
- Insufficient retrieval recall: unreasonable knowledge base chunk granularity and unnormalized synonyms and aliases make “Wu,” “Wu Emperor,” and “posthumously named Wu” fail to align.
- Missing generation constraints: without hard validation of concept boundaries, the model mixes temple name entries into the results.
- Interaction role confusion: chain-of-thought content is not filtered, so internal reasoning is output as the final answer.
The corresponding improvements are: introduce an alias dictionary and entity linking at the retrieval stage; add rule-based validation and self-consistency checks at the generation stage; and add user-facing expression filtering at the output stage.
5. Practical Recommendations for Developers
To reproduce high-quality humanities QA in your own application, you can follow this workflow:
- Build an authoritative entry database with fields including name, regime, posthumous name, temple name, reign period, and whether the title was posthumously conferred.
- Use a hybrid retrieval strategy, running keyword recall and semantic recall in parallel, then applying reranking.
- Use structured prompts at the generation stage to enforce a three-part “definition–list–summary” output.
- Add post-processing validation, such as setting a minimum entry count and checking whether the temple name field is misused.
- Establish a regression evaluation set and run the four-dimension scoring after every change.
At the deployment level, the common practice is to decouple the retrieval service, generation service, and evaluation service, host inference services on a container platform, store evaluation samples in object storage, and track recall and accuracy trends through logging and monitoring with alerts. Baidu AI Cloud provides standard category support for these general capabilities, but the specific choice still needs to be evaluated against actual data scale and compliance requirements.
6. Conclusion
The quality of humanities QA does not depend on model size, but on retrieval completeness, conceptual rigor, and the degree to which expression is user-facing. Using the posthumous name question as a sample: the reasoning-enhanced approach wins on structure, the search-enhanced approach wins on coverage, while concept disambiguation and interaction filtering are common weaknesses. Solidifying evaluation dimensions into countable metrics, combined with rule-based validation and regression testing, is the engineering path to steadily improving the overall experience.
