Kongzi: A Historical Large Language Model with Fact Enhancement
Organizations: Dalian University of Technology · Peking University · Nanyang Technological University
Abstract
Large Language Models (LLMs) can exhibit factual inaccuracies during long-chain reasoning or under misleading prompts, limiting their reliability in historical analysis. We propose Kongzi, a language model for historical understanding and reasoning that combines continued pre-training on historical corpora, supervised fine-tuning, and fact-enhanced reinforcement learning. Its factuality reward compares entities and relations extracted from generated responses with historical references through knowledge-graph similarity. We evaluate 0.5B and 7B models on historical question answering and counterfactual reasoning, using reported ratings from three LLM judges, and on CMMLU-Chinese-History. Kongzi-7B receives the highest historical-accuracy ratings among the compared models under all three judges. Reinforcement learning improves the mean answer scores of both model sizes and their CMMLU-Chinese-History accuracy, although Kongzi-7B remains below the strongest reported baselines on that benchmark. These descriptive results support further study of factuality rewards for historical language models.
Figures & tables
| Model | Think Score | Mean Answer Score | Historical Accuracy | Logical Reasoning | Problem Solving | Deepseek-r1 Ratio |
| GPT-4o | ||||||
| Kongzi-0.5B-SFT | 50.42 | 45.68 | 33.87 | 56.59 | 46.59 | 52.18% |
| Kongzi-7B-SFT | 60.46 | 64.27 | 50.97 | 76.96 | 64.88 | 85.29% |
| Kongzi-0.5B-RL | 60.42 (+10.0) | 56.39 (+10.7) | 53.34 (+19.5) | 62.41 (+5.8) | 53.43 (+6.8) | 62.28 % (+10.1) |
| Kongzi-7B-RL | 72.34 (+11.9) | 70.64 (+6.4) | 58.45 (+7.5) | 82.13 (+5.2) | 71.34 (+6.5) | 94.32 % (+9.0) |
| Gemini-2.5 | ||||||
| Base Model Table | |||
| Category | Model | w/o | Cot |
| Dense Model | Qwen2.5-72B | 91.02% | — |
| Dense Model | Qwen2.5-7B few-shot | 87.31% | 69.88% |
| Dense Model | Qwen2.5-0.5B few-shot | 35.29% | 29.41% |
| Mixed Reasoning Model Table | |||
| Category | Model | w/o | Thinking |
| Model | Think Score | Mean Answer Score | Historical Accuracy | Logical Reasoning | Problem Solving | Deepseek-r1 Ratio |
| GPT-4o | ||||||
| Deepseek-r1-distill-7B | 45.66 | 37.82 | 24.29 | 49.54 | 39.63 | 24.49% |
| Deepseek-r1-distill-14B | 62.41 | 60.86 | 43.92 | 74.65 | 64.01 | 68.48% |
| Deepseek-r1-distill-32B | 60.13 | 60.83 | 44.70 | 74.88 | 62.90 | 70.07% |
| Deepseek-r1 | 67.81 | 59.94 | 46.31 | 70.14 | 63.36 | – |
| O3-mini | 32.77 | 61.05 | 45.90 | 74.06 | 63.18 | 53.00% |
Appendix figures & tables11 assets
Supplementary material from the paper’s appendix.
Appendix
| Parameter | LR | Steps / Epochs | Batch Size | Seq Length |
| 1. Continue Pretrain Stage | ||||
| Kongzi-0.5B | 2e-5 | 1500 | 128 | 8192 |
| Kongzi-7B | 5e-5 | 750 | 256 | 8192 |
| Optimizer | AdamW | Hardware | NVIDIA A6000 | |
| 2. SFT Stage | ||||
| Kongzi-0.5B | 2e-5 | 4000 | 128 | 4096 |
Language Modeling
Language modeling develops systems that learn patterns in text and other sequences to understand, predict, and generate language.
See all 519 papers