AFCS: Atomic-Fact-Conditioned Synthesis for Factual Knowledge Pretraining
Organizations: Hunyuan Team, Tencent
Abstract
Synthetic data is increasingly used in language-model pretraining. Existing knowledge-corpus synthesis pipelines, including WRAP and Nemotron-CC, usually take a source passage or document segment as input and generate rewritten or QA-style samples from that text. This can improve surface form and prompt diversity, but it does not explicitly require fine-grained source facts -- especially secondary entities, list/table entries, and precise temporal attributes -- to appear in the synthesized corpus. We propose AFCS (Atomic-Fact-Conditioned Synthesis), a pipeline that first extracts source-supported atomic facts and then uses each retained fact to drive generation. AFCS uses structure-aware extraction over the document tree, source-grounded verification, local context expansion, and multi-format generation. In continued-pretraining experiments with OLMo-3-7B and a 32B base on the same FineWiki source corpus, AFCS outperforms WRAP and Nemotron-CC on SimpleQA, SimpleQA Verified, PopQA, and HotpotQA. Granularity ablations show that fact-level synthesis improves over chunk-level, paragraph-level, and entity-level synthesis; and a 100B-token mid-training integration improves factual benchmarks and raises the 12-task general benchmark average by +1.09.
Figures & tables
| Method | Data type | Gen. tok. | Train tok. | Mode |
|---|---|---|---|---|
| WRAP | 4-prompt mix | 16.6B | 20B | source-cond. |
| Nemotron-CC | 5-prompt mix | 18.7B | 20B | source-cond. |
| AFCS | multi-format | 19.3B | 20B | atomic-fact-cond. |
| Model | Size | Tokens | SimpleQA | SimpleQA Verified | PopQA | HotpotQA |
|---|---|---|---|---|---|---|
| Base | 7B | – | 3.63 | 3.95 | 23.06 | 27.78 |
| WRAP | 7B | 20B | 3.99 | 4.22 | 25.74 | 27.08 |
| Nemotron-CC | 7B | 20B | 3.99 | 4.16 | 26.42 | 27.40 |
| AFCS | 7B | 20B | 5.63 | 6.17 | 29.80 | 29.82 |
| Base | 32B | – | 5.94 | 5.78 | 29.17 | 34.50 |
| WRAP | 32B | 20B | 7.10 | 7.20 | 32.46 | 35.07 |
| Breakdown | Group | AFCS | WRAP | Nemo. | Chunk | Para. | Entity |
|---|---|---|---|---|---|---|---|
| Facts/doc | 1–19 | 90.3 | 82.2 | 83.5 | 80.4 | 77.3 | 70.3 |
| 20–99 | 88.9 | 82.6 | 84.6 | 78.9 | 73.3 | 65.2 | |
| 100+ | 82.5 | 61.2 | 66.5 | 68.8 | 69.6 | 58.4 | |
| Fact type | List/table | 82.3 | 72.9 | 78.8 | 70.9 | 70.0 | 53.5 |
| Secondary entity | 83.6 | 73.4 | 79.9 | 70.5 | 69.6 | 52.0 | |
| Fine-grained temporal | 80.8 | 72.5 | 78.1 | 69.8 | 69.5 | 53.4 |
| Block | Variant | SQA | SQA-V | PopQA | Hotpot |
|---|---|---|---|---|---|
| Reference | Base | 3.63 | 3.95 | 23.06 | 27.78 |
| Unit | Fact (AFCS) | 5.63 | 6.17 | 29.80 | 29.82 |
| Chunk | 4.21 | 4.80 | 27.43 | 28.94 | |
| Paragraph | 4.52 | 5.10 | 26.35 | 27.61 | |
| Entity/triple | 3.85 | 4.30 | 25.10 | 27.20 | |
| Baseline | EntiGraph | 3.91 | 4.56 | 23.53 | 26.56 |
| Model | Data | SQA | SQA-V | PopQA | Hotpot | 12-task |
|---|---|---|---|---|---|---|
| Base | – | 3.63 | 3.95 | 23.06 | 27.78 | 57.79 |
| Midtrain | 100B gen. | 3.68 | 4.02 | 23.18 | 28.07 | 68.24 |
| Mid.+AFCS | 95B gen.+5B AFCS | 4.36 | 4.69 | 26.06 | 32.14 | 69.33 |
Appendix figures & tables8 assets
Supplementary material from the paper’s appendix.
Appendix
| Statistic | Value |
| Articles processed | 6.7M |
| Sections processed | 78.4M |
| Total atomic facts extracted | 312.7M |
| Mean facts / article | 46.7 |
| Median facts / article | 18 |
| P5 / P95 facts / article | 3 / 92 |
| Local anchor | Extracted source-supported assertion | Why it is non-canonical |
|---|---|---|
| Giovanni Boccaccio | observed that no history of Hippo’s ancestry or place of birth survived, other than from “books of the ancients” | evidential absence and reported observation, not a positive entity attribute |
| Edzard Ernst | wrote that zero balancing did not appear to have evidence published for its efficacy | negation plus attribution to a source |
| Ng Sui | trained in mainland China because equipment in Hong Kong was not up to standard and training time was insufficient | causal explanation with an embedded comparison |
| Nuclear industry | where wastewater discharges to rivers with drinking-water abstraction, harmful or long-half-life radioisotopes such as tritium form part of routine monitoring | conditional process statement with a full-clause value |
| Segre theorem | states that for any point in a convex hull that is not a vertex, at least four curve points have osculating planes passing through it | mathematical assertion whose anchor is a theorem, not a named-entity relation |
| List of power pop artists and songs | includes power pop songs by artists whose main music genre is not power pop | list-scope assertion anchored by a document section |
| Facts/doc | AFCS (prose) | AFCS (all) | WRAP (prose) | Nemo. (prose) |
|---|---|---|---|---|
| 1–19 | 89.1 | 90.3 | 82.2 | 83.5 |
| 20–99 | 88.3 | 88.9 | 82.6 | 84.6 |
| 100+ | 79.6 | 82.5 | 61.2 | 66.5 |
| Level | Count | % |
|---|---|---|
| L1: All questions | 1,000 | 100 |
| L2: Source article in corpus | 776 | 77.6 |
| L3: Answer verifiably in article | 555 | 55.5 |
| Gap A: no article (L1 L2) | 224 | 22.4 |
| Gap B: article but answer absent (L2 L3) | 221 | 22.1 |
| Model | Size | SQA | SQA-V | PopQA | Hotpot |
|---|---|---|---|---|---|
| Base | 7B | ||||
| WRAP | 7B | ||||
| Nemotron-CC | 7B | ||||
| AFCS | 7B | ||||
| Base | 32B | ||||
| WRAP | 32B |
| Model | Size | SQA | SQA-V | PopQA | Hotpot |
|---|---|---|---|---|---|
| FineWiki Raw | 7B | 3.90 | 4.90 | 25.23 | 28.26 |
| AFCS | 7B | 5.63 | 6.17 | 29.80 | 29.82 |
| FineWiki Raw | 32B | 6.97 | 7.26 | 31.96 | 35.29 |
| AFCS | 32B | 9.11 | 9.08 | 37.22 | 35.40 |
| Category | Benchmark | Base | Mid. | AFCS |
|---|---|---|---|---|
| Gen. Know. | ARC | 77.47 | 84.98 | 85.24 |
| MMLU Redux | 60.30 | 65.30 | 66.12 | |
| Read. Comp. | SQuAD v2 | 42.27 | 48.59 | 52.96 |
| DROP | 40.51 | 66.51 | 65.93 | |
| Reasoning | OpenBookQA | 76.40 | 85.20 | 82.40 |
| CSQA | 72.15 | 74.20 | 73.87 |
Synthetic Data Generation for Language Models
Synthetic data generation for language models creates artificial text, tasks, and interaction traces to train or evaluate models.
See all 293 papers