Datasets:
Publish FactGuard-Bench with train, validation, and test splits
Browse filesFiles changed (32)
- .gitattributes-59
- LICENSEAdded+17
- README.mdAdded+217
- data/.gitkeepAdded+1
- data/test-00000.parquetAdded+3
- data/test-00001.parquetAdded+3
- data/test-00002.parquetAdded+3
- data/test-00003.parquetAdded+3
- data/test-00004.parquetAdded+3
- data/train-00000.parquetAdded+3
- data/train-00001.parquetAdded+3
- data/train-00002.parquetAdded+3
- data/train-00003.parquetAdded+3
- data/train-00004.parquetAdded+3
- data/train-00005.parquetAdded+3
- data/train-00006.parquetAdded+3
- data/train-00007.parquetAdded+3
- data/train-00008.parquetAdded+3
- data/train-00009.parquetAdded+3
- data/train-00010.parquetAdded+3
- data/train-00011.parquetAdded+3
- data/train-00012.parquetAdded+3
- data/train-00013.parquetAdded+3
- data/train-00014.parquetAdded+3
- data/train-00015.parquetAdded+3
- data/train-00016.parquetAdded+3
- data/train-00017.parquetAdded+3
- data/train-00018.parquetAdded+3
- data/train-00019.parquetAdded+3
- data/validation-00000.parquetAdded+3
- data/validation-00001.parquetAdded+3
- dataset_infos.jsonAdded+291
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960*.7z filter=lfs diff=lfs merge=lfs -text*.arrow filter=lfs diff=lfs merge=lfs -text*.avro filter=lfs diff=lfs merge=lfs -text*.bin filter=lfs diff=lfs merge=lfs -text*.bz2 filter=lfs diff=lfs merge=lfs -text*.ckpt filter=lfs diff=lfs merge=lfs -text*.ftz filter=lfs diff=lfs merge=lfs -text*.gz filter=lfs diff=lfs merge=lfs -text*.h5 filter=lfs diff=lfs merge=lfs -text*.joblib filter=lfs diff=lfs merge=lfs -text*.lfs.* filter=lfs diff=lfs merge=lfs -text*.lz4 filter=lfs diff=lfs merge=lfs -text*.mds filter=lfs diff=lfs merge=lfs -text*.mlmodel filter=lfs diff=lfs merge=lfs -text*.model filter=lfs diff=lfs merge=lfs -text*.msgpack filter=lfs diff=lfs merge=lfs -text*.npy filter=lfs diff=lfs merge=lfs -text*.npz filter=lfs diff=lfs merge=lfs -text*.onnx filter=lfs diff=lfs merge=lfs -text*.ot filter=lfs diff=lfs merge=lfs -text*.parquet filter=lfs diff=lfs merge=lfs -text*.pb filter=lfs diff=lfs merge=lfs -text*.pickle filter=lfs diff=lfs merge=lfs -text*.pkl filter=lfs diff=lfs merge=lfs -text*.pt filter=lfs diff=lfs merge=lfs -text*.pth filter=lfs diff=lfs merge=lfs -text*.rar filter=lfs diff=lfs merge=lfs -text*.safetensors filter=lfs diff=lfs merge=lfs -textsaved_model/**/* filter=lfs diff=lfs merge=lfs -text*.tar.* filter=lfs diff=lfs merge=lfs -text*.tar filter=lfs diff=lfs merge=lfs -text*.tflite filter=lfs diff=lfs merge=lfs -text*.tgz filter=lfs diff=lfs merge=lfs -text*.wasm filter=lfs diff=lfs merge=lfs -text*.xz filter=lfs diff=lfs merge=lfs -text*.zip filter=lfs diff=lfs merge=lfs -text*.zst filter=lfs diff=lfs merge=lfs -text*tfevents* filter=lfs diff=lfs merge=lfs -text# Audio files - uncompressed*.pcm filter=lfs diff=lfs merge=lfs -text*.sam filter=lfs diff=lfs merge=lfs -text*.raw filter=lfs diff=lfs merge=lfs -text# Audio files - compressed*.aac filter=lfs diff=lfs merge=lfs -text*.flac filter=lfs diff=lfs merge=lfs -text*.mp3 filter=lfs diff=lfs merge=lfs -text*.ogg filter=lfs diff=lfs merge=lfs -text*.wav filter=lfs diff=lfs merge=lfs -text# Image files - uncompressed*.bmp filter=lfs diff=lfs merge=lfs -text*.gif filter=lfs diff=lfs merge=lfs -text*.png filter=lfs diff=lfs merge=lfs -text*.tiff filter=lfs diff=lfs merge=lfs -text# Image files - compressed*.jpg filter=lfs diff=lfs merge=lfs -text*.jpeg filter=lfs diff=lfs merge=lfs -text*.webp filter=lfs diff=lfs merge=lfs -text# Video files - compressed*.mp4 filter=lfs diff=lfs merge=lfs -text*.webm filter=lfs diff=lfs merge=lfs -text1*.parquet filter=lfs diff=lfs merge=lfs -text
1234567891011121314151617FactGuard-Bench is licensed under the Creative Commons Attribution 4.0International License (CC BY 4.0).
Copyright (c) 2026 The FactGuard Authors
You are free to share and adapt the material for any purpose, includingcommercially, provided that you give appropriate credit, provide a link to thelicense, and indicate whether changes were made.
Full legal code:https://creativecommons.org/licenses/by/4.0/legalcode
Human-readable summary:https://creativecommons.org/licenses/by/4.0/
Third-party names, trademarks, and material explicitly identified asthird-party content remain subject to their respective rights.123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217---annotations_creators:- machine-generatedlanguage:- en- zhlanguage_creators:- foundlicense: cc-by-4.0multilinguality:- multilingualpretty_name: FactGuard-Benchsize_categories:- 10K<n<100Ksource_datasets:- Pile of Law- Project Gutenberg- TigerBot law corpus- open-copyright Chinese bookstask_categories:- question-answering- text-generationtask_ids:- closed-domain-qa- open-domain-qatags:- long-context- unanswerable-questions- hallucination- abstention- evidence-groundingconfigs:- config_name: default data_files: - split: train path: data/train-*.parquet - split: validation path: data/validation-*.parquet - split: test path: data/test-*.parquet---
# FactGuard-Bench
FactGuard-Bench is a bilingual long-context benchmark for evaluating andimproving whether language models answer only when the supplied documentcontains sufficient evidence. It contains English and Chinese examples fromthe book and legal domains, with contexts extending to approximately 128K inthe legacy character-based construction buckets.
The benchmark accompanies:
> **Towards Reliable Long-Context Reasoning: Detecting Unanswerable Questions via FactGuard**
## Dataset summary
The public release contains:
| Split | Examples | Answerable | Unanswerable ||---|---:|---:|---:|| Train | 19,100 | 6,168 | 12,932 || Validation | 1,920 | 317 | 1,603 || Test | 4,200 | 700 | 3,500 || Total | 25,220 | 7,185 | 18,035 |
## Task formulation
Every example provides a document and a question. A model should either:
1. answer using evidence from the document, or2. reject or clarify the question when the document does not support it.
Unanswerable examples cover:
- **Lack of Evidence**: the answer-bearing evidence is removed;- **Entity Substitution**: a supported entity is replaced by a similar but unsupported entity;- **Impossible Condition**: the question is augmented with an unsupported constraint.
Entity substitution and impossible-condition insertion form the paper'sbroader **Misleading Evidence** category.
## Loading
```pythonfrom datasets import load_dataset
dataset = load_dataset("<YOUR_HF_ORG>/FactGuard-Bench")```
Local loading:
```pythonfrom datasets import load_dataset
dataset = load_dataset( "parquet", data_files={ "train": "data/train-*.parquet", "validation": "data/validation-*.parquet", "test": "data/test-*.parquet", },)```
## Data fields
| Field | Type | Description ||---|---|---|| `id` | string | Stable public example identifier within this release || `document_id` | string | MD5-based identifier inherited from the source document || `document` | string | Document shown to the evaluated model || `question` | string | Answerable or adversarial question || `response` | string | Reference answer or reasoned rejection || `answerability` | string | `answerable` or `unanswerable` || `category` | string | `answerable`, `lack_of_evidence`, or `misleading_evidence` || `perturbation` | string | `none`, `evidence_removal`, `entity_substitution`, or `impossible_condition` || `language` | string | `en` or `zh` || `domain` | string | `book` or `law` || `source_file` | string | Legacy source/split filename for traceability || `legacy_length_bucket` | string | Character-based bucket used during construction || `document_char_length` | int64 | Number of Unicode code points in `document` || `question_char_length` | int64 | Number of Unicode code points in `question` || `response_char_length` | int64 | Number of Unicode code points in `response` || `evidence` | string | Original evidence or source passage, when available || `original_question` | string | Question before an adversarial transformation || `original_answer` | string | Answer to the original supported question, when available || `unanswerable_reason` | string | Specific missing/misaligned evidence explanation || `original_entity` | string | Entity before substitution || `substituted_entity` | string | Unsupported replacement entity || `unsupported_condition` | string | Inserted unsupported condition || `question_type` | string | Legacy QA-generation type, when available |
Empty strings indicate fields that do not apply to a particular perturbation.
## Example
```pythonexample = dataset["test"][0]prompt = ( f"Document:\n{example['document']}\n\n" f"Please Answer the Question based on the document: {example['question']}")```
For Chinese examples:
```pythonprompt = ( f"文档:\n{example['document']}\n\n" f"请根据文档回答问题: {example['question']}")```
## Construction
FactGuard-Bench was synthesized from long-form English and Chinese book andlegal documents. A Qwen2.5-72B-Instruct-based multi-stage workflow generatedgrounded questions, adversarial transformations, reasoned rejection targets,and automatic quality checks. See the paper and code repository for completeprompts and processing details.
## Evaluation
The paper uses a multi-stage LLM-as-a-Judge protocol:
1. detect refusal or clarification;2. compare answer content with the reference for answerable examples;3. verify that a correct rejection identifies the actual evidentiary defect.
The test split contains 700 answerable and 3,500 unanswerable examples.
## Limitations
- Questions and responses are machine-generated and can contain residual generation or annotation errors.- The benchmark covers two languages and two primary domains; results should not be treated as representative of every language or application.- Length buckets used during construction are character based, not tokenizer invariant.- The dataset is intended to measure document-grounded behavior. It does not establish whether a claim is globally true outside the supplied document.- The released train/validation/test assignment reproduces the paper's legacy sampling process and is not document-disjoint. Exact overlap statistics are recorded in `dataset_infos.json` and printed by the validation script. Preserve these splits when reproducing paper results, but use a newly generated document-disjoint split for claims about generalization to unseen documents.- Source documents can contain outdated, offensive, or otherwise sensitive material inherited from books and legal corpora.
## License and redistribution
FactGuard-Bench is released under the **Creative Commons Attribution 4.0International License (CC BY 4.0)**. Users may share and adapt the dataset,including for commercial purposes, provided that appropriate attribution isgiven and modifications are indicated.
Suggested attribution:
> FactGuard-Bench, from “Towards Reliable Long-Context Reasoning: Detecting> Unanswerable Questions via FactGuard,” The FactGuard Authors, 2026.
The dataset repository includes a `LICENSE` notice. Third-party names,trademarks, and material explicitly identified as third-party content remainsubject to their respective rights.
## Citation
```bibtex@article{zhang2026factguard, title={Towards Reliable Long-Context Reasoning: Detecting Unanswerable Questions via FactGuard}, author={Zhang, Qian-Wen and Liu, Biao and Li, Fang and Wang, Jie and Qiao, Lingfeng and Yu, Yifei and Yin, Di and Sun, Xing}, year={2026}}```1
123version https://git-lfs.github.com/spec/v1oid sha256:4952f9cb5e41de2ccc1790241f66dc68d72bc6d729fbf3ab947b74f994ae285fsize 16102604123version https://git-lfs.github.com/spec/v1oid sha256:016457f241f9009e25fb2072dc6ae8600a5487f6f5e438979dc45bcdbdfbf098size 14547025123version https://git-lfs.github.com/spec/v1oid sha256:3e3afbcfc8f6d1f151e4f2f4443b7f321e6f70b92127942677bc038d77d9faf6size 19739639123version https://git-lfs.github.com/spec/v1oid sha256:751ab424ff47e83db47f4d7c185be7af74c2270659c27ca3b3db57b0419639e2size 16251347123version https://git-lfs.github.com/spec/v1oid sha256:c561fd2895dd8678e9f8e36a2196cf0e0ee0281ddbae6de6022a80d7415c2a61size 4187795123version https://git-lfs.github.com/spec/v1oid sha256:4a58de0f1f51f067ca64ad15a7507f6ddfd3d65f211e9cb9c11ec4482c31f5eesize 21295071123version https://git-lfs.github.com/spec/v1oid sha256:888f0e52b90614d21d20cb9527c4b8d1e9f1100e471351b6e39e54daee9635fdsize 12358359123version https://git-lfs.github.com/spec/v1oid sha256:a25ec6b0473f475761c37953b49f0444306fb75103a7b86ee17f384e2897db8csize 7546464123version https://git-lfs.github.com/spec/v1oid sha256:45d810cc51c0ecc44fe1722269bb921ec1e658af27823d806cdd64db9980caa8size 27168736123version https://git-lfs.github.com/spec/v1oid sha256:33f2d9ccc4dfe492546e0287a0e7c44e1cdfceea685d514e6ee3bb80bef93f87size 9598953123version https://git-lfs.github.com/spec/v1oid sha256:3223cd2e260c368706b02c187bafda5e040ad65193177e9884f9ec2221013f3fsize 13228457123version https://git-lfs.github.com/spec/v1oid sha256:304251b0cc297a9b3629b619a0feba0a86b99f7d3561a1c185e178e76b8d8e69size 27728328123version https://git-lfs.github.com/spec/v1oid sha256:56240f8e77f2dc93a0db2b9fb4aae51b4517d197bb41982016d2c60d95957aefsize 12432137123version https://git-lfs.github.com/spec/v1oid sha256:592830fa25996d7d29142999b089b7066dc3f814c77120421faa92ebea8b532asize 11900508123version https://git-lfs.github.com/spec/v1oid sha256:90bddf49e80f0fdcfc56a8eb544ec2ae0ff0ca9696c3d2438ce0a46fbd2acaf9size 10252442123version https://git-lfs.github.com/spec/v1oid sha256:bfb594d7ceccac0e5192e6bf507a430e6a7ba1476f62c18253bbcd25bd43092dsize 25666156123version https://git-lfs.github.com/spec/v1oid sha256:1467ad863042ed2d9c69fdd5d04a043f0ad7594017ffccb1fabfc3a68bd03925size 10761794123version https://git-lfs.github.com/spec/v1oid sha256:4dc822fca1e8fa81509ea4e498ecf57f2398cb2ab106e45c8f58b40d56d37202size 13610746123version https://git-lfs.github.com/spec/v1oid sha256:918af54244475f5600a51c53022bcdd71104a0c798856c4950f5a9ab1873618fsize 28098742123version https://git-lfs.github.com/spec/v1oid sha256:6a7f4923a9d5a5b247e67f43fca705e906b7ba30860975cbcdaf4835655b0198size 11656727123version https://git-lfs.github.com/spec/v1oid sha256:73d7e80b089ac526a3c9aa5a07d7dfec158080aa1f1ac67d8fdb2fb002441358size 10326771123version https://git-lfs.github.com/spec/v1oid sha256:efe02afcf18f7827dee543029f1589e1baf47880ab530cb27d6cf254221a282fsize 28607669123version https://git-lfs.github.com/spec/v1oid sha256:47001910668b59c2e591ae8d70818e5571e3dcbaa5bfcc823cb554b751c18377size 11380160123version https://git-lfs.github.com/spec/v1oid sha256:1c1fefaa673ba73fec6c4568349206da10fc03780f246289eb94e27886d4dc34size 14416945123version https://git-lfs.github.com/spec/v1oid sha256:cec094d091f946449c000de0535f1d9c69a5c6d6bb2a604881b55a47a8503f14size 2737266123version https://git-lfs.github.com/spec/v1oid sha256:d2e66d4f13d4c19532efb5b522dc7a7d3f4db5cef8ca09befecccdac088c5f7asize 14375446123version https://git-lfs.github.com/spec/v1oid sha256:d035fe85e414ed8e6fb9623af6754aa2c7993917727101da1cc448104f3ba095size 16845250123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291{ "dataset_name": "FactGuard-Bench", "format": "parquet", "features": { "id": "string", "document_id": "string", "document": "string", "question": "string", "response": "string", "answerability": "string", "category": "string", "perturbation": "string", "language": "string", "domain": "string", "source_file": "string", "legacy_length_bucket": "string", "document_char_length": "int64", "question_char_length": "int64", "response_char_length": "int64", "evidence": "string", "original_question": "string", "original_answer": "string", "unanswerable_reason": "string", "original_entity": "string", "substituted_entity": "string", "unsupported_condition": "string", "question_type": "string" }, "splits": { "train": { "num_examples": 19100, "num_bytes": 310772431, "document_chars": 693758694, "answerability": { "answerable": 6168, "unanswerable": 12932 }, "category": { "answerable": 6168, "lack_of_evidence": 2752, "misleading_evidence": 10180 }, "perturbation": { "entity_substitution": 3411, "evidence_removal": 2752, "impossible_condition": 6769, "none": 6168 }, "language": { "en": 10699, "zh": 8401 }, "domain": { "book": 10099, "law": 9001 }, "shards": [ { "path": "data/train-00000.parquet", "num_examples": 1000, "num_bytes": 21295071 }, { "path": "data/train-00001.parquet", "num_examples": 1000, "num_bytes": 12358359 }, { "path": "data/train-00002.parquet", "num_examples": 1000, "num_bytes": 7546464 }, { "path": "data/train-00003.parquet", "num_examples": 1000, "num_bytes": 27168736 }, { "path": "data/train-00004.parquet", "num_examples": 1000, "num_bytes": 9598953 }, { "path": "data/train-00005.parquet", "num_examples": 1000, "num_bytes": 13228457 }, { "path": "data/train-00006.parquet", "num_examples": 1000, "num_bytes": 27728328 }, { "path": "data/train-00007.parquet", "num_examples": 1000, "num_bytes": 12432137 }, { "path": "data/train-00008.parquet", "num_examples": 1000, "num_bytes": 11900508 }, { "path": "data/train-00009.parquet", "num_examples": 1000, "num_bytes": 10252442 }, { "path": "data/train-00010.parquet", "num_examples": 1000, "num_bytes": 25666156 }, { "path": "data/train-00011.parquet", "num_examples": 1000, "num_bytes": 10761794 }, { "path": "data/train-00012.parquet", "num_examples": 1000, "num_bytes": 13610746 }, { "path": "data/train-00013.parquet", "num_examples": 1000, "num_bytes": 28098742 }, { "path": "data/train-00014.parquet", "num_examples": 1000, "num_bytes": 11656727 }, { "path": "data/train-00015.parquet", "num_examples": 1000, "num_bytes": 10326771 }, { "path": "data/train-00016.parquet", "num_examples": 1000, "num_bytes": 28607669 }, { "path": "data/train-00017.parquet", "num_examples": 1000, "num_bytes": 11380160 }, { "path": "data/train-00018.parquet", "num_examples": 1000, "num_bytes": 14416945 }, { "path": "data/train-00019.parquet", "num_examples": 100, "num_bytes": 2737266 } ], "num_unique_document_ids": 11379, "num_unique_exact_documents": 13449, "num_unique_questions": 19064 }, "validation": { "num_examples": 1920, "num_bytes": 31220696, "document_chars": 68509356, "answerability": { "answerable": 317, "unanswerable": 1603 }, "category": { "answerable": 317, "lack_of_evidence": 449, "misleading_evidence": 1154 }, "perturbation": { "entity_substitution": 494, "evidence_removal": 449, "impossible_condition": 660, "none": 317 }, "language": { "en": 1140, "zh": 780 }, "domain": { "book": 990, "law": 930 }, "shards": [ { "path": "data/validation-00000.parquet", "num_examples": 1000, "num_bytes": 14375446 }, { "path": "data/validation-00001.parquet", "num_examples": 920, "num_bytes": 16845250 } ], "num_unique_document_ids": 1785, "num_unique_exact_documents": 1847, "num_unique_questions": 1920 }, "test": { "num_examples": 4200, "num_bytes": 70828410, "document_chars": 161913788, "answerability": { "answerable": 700, "unanswerable": 3500 }, "category": { "answerable": 700, "lack_of_evidence": 1050, "misleading_evidence": 2450 }, "perturbation": { "entity_substitution": 1050, "evidence_removal": 1050, "impossible_condition": 1400, "none": 700 }, "language": { "en": 2400, "zh": 1800 }, "domain": { "book": 2100, "law": 2100 }, "shards": [ { "path": "data/test-00000.parquet", "num_examples": 1000, "num_bytes": 16102604 }, { "path": "data/test-00001.parquet", "num_examples": 1000, "num_bytes": 14547025 }, { "path": "data/test-00002.parquet", "num_examples": 1000, "num_bytes": 19739639 }, { "path": "data/test-00003.parquet", "num_examples": 1000, "num_bytes": 16251347 }, { "path": "data/test-00004.parquet", "num_examples": 200, "num_bytes": 4187795 } ], "num_unique_document_ids": 3578, "num_unique_exact_documents": 3874, "num_unique_questions": 4197 } }, "totals": { "num_examples": 25220, "num_bytes": 412821537 }, "split_overlap": { "train__validation": { "shared_document_ids": 1318, "shared_exact_documents": 897, "shared_exact_questions": 7 }, "train__test": { "shared_document_ids": 2719, "shared_exact_documents": 1921, "shared_exact_questions": 11 }, "validation__test": { "shared_document_ids": 448, "shared_exact_documents": 240, "shared_exact_questions": 1 } }, "notes": [ "Character lengths are provided for transparent filtering and are not tokenizer token counts.", "The public schema omits internal model traces and duplicate full-document fields.", "The legacy development split is published as the Hugging Face validation split." ]}.gitattributes-59
LICENSEAdded+17
README.mdAdded+217
data/.gitkeepAdded+1
data/test-00000.parquetAdded+3
data/test-00001.parquetAdded+3
data/test-00002.parquetAdded+3
data/test-00003.parquetAdded+3
data/test-00004.parquetAdded+3
data/train-00000.parquetAdded+3
data/train-00001.parquetAdded+3
data/train-00002.parquetAdded+3
data/train-00003.parquetAdded+3
data/train-00004.parquetAdded+3
data/train-00005.parquetAdded+3
data/train-00006.parquetAdded+3
data/train-00007.parquetAdded+3
data/train-00008.parquetAdded+3
data/train-00009.parquetAdded+3
data/train-00010.parquetAdded+3
data/train-00011.parquetAdded+3
data/train-00012.parquetAdded+3
data/train-00013.parquetAdded+3
data/train-00014.parquetAdded+3
data/train-00015.parquetAdded+3
data/train-00016.parquetAdded+3
data/train-00017.parquetAdded+3
data/train-00018.parquetAdded+3
data/train-00019.parquetAdded+3
data/validation-00000.parquetAdded+3
data/validation-00001.parquetAdded+3
dataset_infos.jsonAdded+291