# LIAR: Fake News Detection Benchmark LIAR: 12,836 short statements by public figures, each labelled by PolitiFact's truthfulness scale (half-true (2,638), false (2,511), mostly-true (2,466), barely-true (2,108), true (2,063), pants- fire (1,050)), with the subject, speaker, speaker's job, state and party, counts of the speaker's earlier statements on each rating and the context, in the benchmark's split into train, valid and test (train (10,269), valid (1,284), test (1,283)). 3,318 distinct speakers. By William Yang Wang (UC Santa Barbara) for ACL 2017, "Liar, Liar Pants on Fire": A New Benchmark Dataset for Fake News Detection. ## At a glance - **Platform:** Unaffiliated - **Period covered:** statements rated by PolitiFact before April 2017 (the files carry no dates) - **Tables:** posts (12,836 rows), annotations (12,836 rows) - **Structure:** Labelled data, Text - **Version:** 1.0.0 - **Licence:** Research use only (no standard licence); SPDX `LicenseRef-Research-Only` - **Original DOI:** 10.18653/v1/P17-2067 ## Contents | Path | What it is | |---|---| | `data/posts.parquet` | The posts table (canonical, Parquet) | | `csv/posts.csv.gz` | The same table as gzip CSV | | `jsonl/posts.jsonl.gz` | The same table as gzip JSON Lines | | `data/annotations.parquet` | The annotations table (canonical, Parquet) | | `csv/annotations.csv.gz` | The same table as gzip CSV | | `docs/upstream/` | The upstream documentation, verbatim | | `original/` | The 4 upstream file(s), byte for byte | | `datapackage.json`, `croissant.json` | Machine-readable descriptions of this package | | `CITATION.cff`, `CITATION.bib` | How to cite | | `LICENSE.md` | Licence and terms | | `manifest-sha256.txt` | SHA-256 checksum of every file | ## Tables and columns ### posts (12,836 rows) Pieces of content people wrote: posts, comments, replies, tweets, messages, reviews. | Column | Type | Meaning | |---|---|---| | `post_id` | string | Column 1 as in the upstream files: the statement's ID, written as [ID].json (the ".json" is part of the value, because the upstream README names the file of PolitiFact's verdict report by it). | | `author_id` | string | Column 5 as in the upstream files: the speaker, as a PolitiFact name slug. | | `text` | string | Column 3: the statement. (quality: Kept as upstream wrote it, without Unicode normalisation or unescaping.) | | `x_subjects` | string | Column 4: the subject(s) of the statement, separated by commas; empty (null) where none. | | `x_speaker_job` | string | Column 6: the speaker's job title; empty (null) where none. | | `x_speaker_state` | string | Column 7: the state info; empty (null) where none. | | `x_speaker_party` | string | Column 8: the party affiliation; empty (null) where none. | | `x_credit_barely_true` | integer | Column 9: the speaker's total count of barely-true statements, including the current statement. | | `x_credit_false` | integer | Column 10: the speaker's total count of false statements. | | `x_credit_half_true` | integer | Column 11: the speaker's total count of half-true statements. | | `x_credit_mostly_true` | integer | Column 12: the speaker's total count of mostly-true statements. | | `x_credit_pants_fire` | integer | Column 13: the speaker's total count of pants-on-fire statements. | | `x_context` | string | Column 14: the context (venue or location of the speech or statement); empty (null) where none. | ### annotations (12,836 rows) Labels attached to posts, users, threads, links or text spans, by people, models or rules. | Column | Type | Meaning | |---|---|---| | `target_id` | string | The post_id of the statement; joins to posts.post_id. | | `label` | string | Column 2: the truthfulness label: pants-fire, false, barely-true, half-true, mostly-true or true (PolitiFact's scale). | | `split` | string | train, valid or test: the upstream file (train.tsv, valid.tsv, test.tsv). | | `target_type` | string | post: every label refers to a row of posts. | | `task` | string | truthfulness (the benchmark's task). | ## Quick start Python (pandas): ```python import pandas as pd df = pd.read_parquet("https://echo.directory/download/liar/v1.0.0/data/posts.parquet") ``` DuckDB (reads over HTTP without downloading the file first): ```sql SELECT * FROM 'https://echo.directory/download/liar/v1.0.0/data/posts.parquet' LIMIT 10; ``` R (arrow): ```r df <- arrow::read_parquet("https://echo.directory/download/liar/v1.0.0/data/posts.parquet") ``` ## How this package was made ECHO converted the upstream file(s) listed under `original/` into the tables above, following the [ECHO Data Package 1.0.0](https://echo.directory/docs/edp/1.0/) standard. Every value was checked against the source during conversion: no row was dropped and no value was changed except as described here. - The upstream README says that the full verdict reports are not provided and that the statement's ID can be used to fetch them from PolitiFact's API; the verdict texts are not part of this package. - The upstream README says the original sources retain the copyright of the data and that the data are provided "as is" with no guarantees. - The speaker's job, state and party and the credit-history counts are repeated on every row of the speaker; for 4 speakers the values differ between their rows, and the README does not say why. - The files carry no dates; the README is dated 23 April 2017 (v1.0). - `posts.text`: Kept as upstream wrote it, without Unicode normalisation or unescaping. ## Credit - **William Yang Wang**, creator (https://sites.cs.ucsb.edu/~william/software.html): University of California, Santa Barbara, as named in the README - **PolitiFact**, contributor (https://www.politifact.com/): the statements and their ratings come from PolitiFact; the README refers to politifact.com for the verdict reports and says "the original sources retain the copyright of the data" - **ECHO, Syracuse University**, packager (https://echo.directory) The upstream documentation is preserved verbatim in `docs/upstream/`. ## Licence and terms Research use only (no standard licence); SPDX `LicenseRef-Research-Only`. See `LICENSE.md` for the upstream terms. The README of the dataset says: "You are allowed to use this dataset for research purposes only." and "The original sources retain the copyright of the data." It does not grant any other use or say whether the files may be redistributed. ## Citation ```bibtex @misc{echo2026, title = {ECHO: Exploratory Compendium of Humanity Online}, author = {Switzer, Braden and Zafarani, Reza}, year = {2026}, url = {https://echo.directory}, note = {Syracuse University} } @inproceedings{wang2017liar, title = {{'Liar, Liar Pants on Fire': A New Benchmark Dataset for Fake News Detection}}, author = {Wang, William Yang}, booktitle = {ACL}, year = {2017}, doi = {10.18653/v1/P17-2067} } ``` ## Versions This is version 1.0.0. Every version is kept unchanged at its own address (`https://echo.directory/download/liar/v1.0.0/`); `CHANGELOG.md` lists what changed between versions.