# TwitterGAN: Fake Twitter Accounts with GAN-Generated Profile Faces (2024) Data of the paper on Twitter accounts with GAN-generated profile pictures (OSoMe, Indiana University): the profile records of 1,353 accounts with 48,945 of their recent tweets (2021-10-01 to 2023-05-29), a list of 1,353 accounts in six groups (astroturf 1,066, elon_watch 246, sunday 18, blue_check 11, ind_acc 7, bart 5) with the file name of each account's profile picture, and a score for the profile pictures of 254,275 randomly sampled accounts. The profile pictures themselves (1,353 JPEG files) are in the original archive only. ## At a glance - **Platform:** Twitter (X) - **Period covered:** Tweets 2021-10-01 to 2023-05-29; accounts created 2017-10-23 to 2023-04-07 (UTC) - **Tables:** users (1,353 rows), posts (48,945 rows), x_result_pages (1,427 rows), annotations (1,353 rows), x_profile_image_scores (254,275 rows) - **Structure:** Temporal (timestamped), Node attributes, Labelled data, Text - **Version:** 1.0.0 - **Licence:** CC BY 4.0; SPDX `CC-BY-4.0` - **Original DOI:** 10.54501/jots.v2i4.197 ## Contents | Path | What it is | |---|---| | `data/users.parquet` | The users table (canonical, Parquet) | | `csv/users.csv.gz` | The same table as gzip CSV | | `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/x_result_pages.parquet` | The x_result_pages table (canonical, Parquet) | | `csv/x_result_pages.csv.gz` | The same table as gzip CSV | | `data/annotations.parquet` | The annotations table (canonical, Parquet) | | `csv/annotations.csv.gz` | The same table as gzip CSV | | `data/x_profile_image_scores.parquet` | The x_profile_image_scores table (canonical, Parquet) | | `csv/x_profile_image_scores.csv.gz` | The same table as gzip CSV | | `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 ### users (1,353 rows) Accounts, users or authors. | Column | Type | Meaning | |---|---|---| | `user_id` | string | user_id upstream: the Twitter account ID (equal to the id inside user_object in every row). (quality: Written as a JSON number in 1342 of the lines and as a string in the others; kept as the digits.) | | `handle` | string | username upstream: the account's screen name. | | `name` | string | name upstream: the display name. | | `created_at` | datetime | created_at of the user object, in ISO 8601 with Z (UTC). | | `x_description` | string | description upstream: the profile text. | | `x_protected` | boolean | protected upstream. | | `x_verified` | boolean | verified upstream. | | `x_verified_type` | string | verified_type upstream; missing for 12 accounts. | | `x_public_metrics` | string | public_metrics upstream: followers, following, tweet and listed counts at collection time, a JSON object. | | `x_profile_image_url` | string | profile_image_url upstream: the address of the profile picture on Twitter. | | `x_profile_image_path` | string | profile_image_path upstream: the file name of the profile picture in TwitterGAN_profiles.tar.gz. | | `x_location` | string | location upstream, free text, present for 13 accounts. | | `x_pinned_tweet_id` | string | pinned_tweet_id upstream, where present. | | `x_entities` | string | entities upstream (URLs in the profile), where present. | | `x_url` | string | url upstream, where present. | | `x_searches` | string | searches upstream: a JSON object with the result count of a search query (meta.result_count); present for the accounts whose results are one page. | ### posts (48,945 rows) Pieces of content people wrote: posts, comments, replies, tweets, messages, reviews. | Column | Type | Meaning | |---|---|---| | `post_id` | string | id of the tweet. | | `author_id` | string | author_id of the tweet; the account the tweets were collected for, except where the account's results include replies or retweets by others. | | `created_at` | datetime | created_at, ISO 8601 with Z (UTC). | | `text` | string | The content, as written. Null where the package does not include text. | | `lang` | string | Language, as a BCP 47 tag, where upstream recorded it. | | `thread_id` | string | conversation_id upstream. | | `x_user_id` | string | The user_id of the record the tweet comes from. | | `x_page` | integer | The number (from 1) of the results page of that record the tweet is on. | | `x_possibly_sensitive` | boolean | possibly_sensitive upstream. | | `x_public_metrics` | string | public_metrics upstream: retweet, reply, like and quote counts, a JSON object. | | `x_reply_settings` | string | reply_settings upstream. | | `x_source` | string | source upstream: the app name; present for 8,125 tweets (only in the list-form records). | | `x_entities` | string | entities upstream, a JSON object. | | `x_edit_controls` | string | edit_controls upstream. | | `x_edit_history_tweet_ids` | string | edit_history_tweet_ids upstream. | | `x_context_annotations` | string | context_annotations upstream, a JSON list. | | `x_referenced_tweets` | string | referenced_tweets upstream: what the tweet replies to, quotes or retweets, a JSON list. | | `x_in_reply_to_user_id` | string | in_reply_to_user_id upstream. | | `x_attachments` | string | attachments upstream (media and poll keys). | | `x_withheld` | string | withheld upstream (13 tweets). | ### x_result_pages (1,427 rows) | Column | Type | Meaning | |---|---|---| | `x_user_id` | string | The user_id of the record. | | `x_page` | integer | The number of the results page within the record (1 for records with a single page). | | `includes` | string | includes upstream: the expansion objects (users, tweets, media, polls) the API returned with the page, a JSON object. They hold other accounts and tweets referenced by the data. | | `meta` | string | meta upstream: result count and newest and oldest tweet IDs. | | `errors` | string | errors upstream: API errors for the page (for example tweets not found). | | `twarc` | string | __twarc upstream: metadata the twarc collection tool added (list-form records only). | ### annotations (1,353 rows) Labels attached to posts, users, threads, links or text spans, by people, models or rules. | Column | Type | Meaning | |---|---|---| | `target_id` | string | user_id upstream (user_id in the mapping file): a Twitter account ID. | | `label` | string | dataset upstream: the group the account belongs to (astroturf: 1066, elon_watch: 246, sunday: 18, blue_check: 11, ind_acc: 7, bart: 5); the upstream README does not define the groups. | | `x_profile_file_name` | string | profile_file_name upstream: the file name of the account's profile picture. | | `target_type` | string | post | user | thread | edge | span | item | | `task` | string | What is being labelled (toxicity, stance, check-worthiness…). | ### x_profile_image_scores (254,275 rows) | Column | Type | Meaning | |---|---|---| | `user_id` | string | user_id upstream: the account ID of a randomly sampled account (RandomTwitter). | | `profile_image_url` | string | profile_image_url upstream. | | `ganed` | number | ganed upstream: the GANEyeDistance of the profile picture, between 0 and 1 (here 0.0008 to 1.0000); the README says a value near 0 means the eye positions are near those expected of GAN-generated faces and suggests 0.02 as a threshold. | ## Quick start Python (pandas): ```python import pandas as pd df = pd.read_parquet("https://echo.directory/download/osome-twittergan/v1.0.0/data/users.parquet") ``` DuckDB (reads over HTTP without downloading the file first): ```sql SELECT * FROM 'https://echo.directory/download/osome-twittergan/v1.0.0/data/users.parquet' LIMIT 10; ``` R (arrow): ```r df <- arrow::read_parquet("https://echo.directory/download/osome-twittergan/v1.0.0/data/users.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 README of the code repository says the dataset has 1,420 fake accounts with GAN-generated profiles; the files hold 1,353 account records and 1,353 rows in the mapping, matching the Zenodo description of 1,353 accounts. A sub-dataset of ChatGPT-related accounts it mentions (TwitterGAN_GPT_tweets.ndjson.gz) is not part of this package. - 1353 of the 1,353 accounts of the mapping file are accounts of the tweet file (compared as digits). In the tweet file user_id is a JSON number in 1,342 lines and a string in 11; both are kept as the digits written. - 1,341 records hold their results as one page object and 12 as a list of pages; together there are 1,427 pages, 108 of them without tweets. The tweets of all pages are in posts (x_page); the pages' other members are in x_result_pages. - The tweet IDs are all distinct (48,945 tweets). - The tweets file also contains the other accounts and tweets returned as expansions in x_result_pages.includes; they are not in the users and posts tables. - The profile pictures (TwitterGAN_profiles.tar.gz) are GAN-generated faces used by fake accounts according to upstream; the archive holds one JPEG per mapping row and is kept in original/ only. - Account profile texts, display names and the 13 free-text locations were written by the accounts, which upstream describes as fake; they are kept as they are. - `users.user_id`: Written as a JSON number in 1342 of the lines and as a string in the others; kept as the digits. ## Credit - **Kai-Cheng Yang**, creator (https://zenodo.org/records/10436889): Northeastern University, as listed on Zenodo - **Danishjeet Singh**, creator (https://zenodo.org/records/10436889): Indiana University - **Filippo Menczer**, creator (https://zenodo.org/records/10436889): Indiana University - **Observatory on Social Media, Indiana University**, publisher (https://osome.iu.edu/) - **Zenodo**, distributor (https://zenodo.org/records/10436889) - **ECHO, Syracuse University**, packager (https://echo.directory) ## Licence and terms CC BY 4.0; SPDX `CC-BY-4.0`, https://creativecommons.org/licenses/by/4.0/. See `LICENSE.md` for the upstream terms. The Zenodo record gives CC BY 4.0. The tweets and profile texts were written by the accounts (fake accounts, per the authors). ## 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} } @article{Yang_2024, title = {Characteristics and Prevalence of Fake Social Media Profiles with AI-generated Faces}, volume = {2}, issn = {2770-3142}, url = {http://dx.doi.org/10.54501/jots.v2i4.197}, doi = {10.54501/jots.v2i4.197}, number = {4}, journal = {Journal of Online Trust and Safety}, publisher = {Stanford Internet Observatory}, author = {Yang, Kaicheng and Singh, Danishjeet and Menczer, Filippo}, year = {2024}, month = Sept } ``` ## Versions This is version 1.0.0. Every version is kept unchanged at its own address (`https://echo.directory/download/osome-twittergan/v1.0.0/`); `CHANGELOG.md` lists what changed between versions.