acruz commited on
Commit
767d7b4
·
verified ·
1 Parent(s): 7645b01

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +135 -1
README.md CHANGED
@@ -402,4 +402,138 @@ language:
402
  pretty_name: Folktexts real-world unrealizable classification tasks
403
  size_categories:
404
  - 1M<n<10M
405
- ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
402
  pretty_name: Folktexts real-world unrealizable classification tasks
403
  size_categories:
404
  - 1M<n<10M
405
+ ---
406
+
407
+ # Dataset Card for `folktexts` <!-- omit in toc -->
408
+
409
+ - [Dataset Details](#dataset-details)
410
+ - [Dataset Description](#dataset-description)
411
+ - [Dataset Sources](#dataset-sources)
412
+ - [Uses](#uses)
413
+ - [Dataset Structure](#dataset-structure)
414
+ - [Dataset Creation](#dataset-creation)
415
+ - [Source Data](#source-data)
416
+ - [Citation](#citation)
417
+ - [More Information](#more-information)
418
+ - [Dataset Card Authors](#dataset-card-authors)
419
+
420
+
421
+ [Folktexts](https://github.com/socialfoundations/folktexts) is a suite of Q&A
422
+ datasets with natural outcome uncertainty, aimed at evaluating LLMs' calibration
423
+ on unrealizable tasks.
424
+
425
+ The *folktexts* datasets are derived from US Census data products.
426
+ Namely, the datasets made available here are derived from the
427
+ [2018 Public Use Microdata Sample](https://www.census.gov/programs-surveys/acs/microdata/documentation/2018.html)
428
+ (PUMS). Individual features are mapped to natural text using the respective
429
+ [codebook](https://www2.census.gov/programs-surveys/acs/tech_docs/pums/data_dict/PUMS_Data_Dictionary_2018.pdf).
430
+ Each task relates to predicting different individual
431
+ characteristics (e.g., income, employment) from a set of demographic features
432
+ (e.g., age, race, education, occupation).
433
+
434
+ Importantly, every task has natural outcome uncertainty. That is, in general,
435
+ the features describing each row do not uniquely determine the task's label.
436
+ For calibrated models to perform well on this task, the model must correctly
437
+ output nuanced scores between 0 and 1, instead of simply outputting discrete
438
+ labels 0 or 1.
439
+
440
+ Namely, we make available the following tasks in natural language Q&A format:
441
+ - `ACSIncome`: Predict whether a working adult earns above $50,000 yearly.
442
+ - `ACSEmployment`: Predict whether an adult is an employed civilian.
443
+ - `ACSPublicCoverage`: Predict individual public health insurance coverage.
444
+ - `ACSMobility`: Predict whether an individual changed address within the last year.
445
+ - `ACSTravelTime`: Predict whether an employed adult has a work commute time longer than 20 minutes.
446
+
447
+
448
+ These tasks follow the same naming and feature/target columns as the
449
+ [folktables](https://github.com/socialfoundations/folktables)
450
+ tabular datasets proposed by
451
+ [Ding et al. (2021)](https://proceedings.neurips.cc/paper_files/paper/2021/file/32e54441e6382a7fbacbbbaf3c450059-Paper.pdf).
452
+ The folktables tabular datasets have seen prevalent use in the algorithmic
453
+ fairness and distribution shift communities. We make available natural language
454
+ Q&A versions of these tasks.
455
+
456
+ The datasets are made available in standard multiple-choice Q&A format (columns
457
+ `question`, `choices`, `answer`, `answer_key`, and `choice_question_prompt`), as
458
+ well as in numeric Q&A format (columns `numeric_question`,
459
+ `numeric_question_prompt`, and `label`).
460
+ The numeric prompting (also known as *verbalized prompting*) is known to improve
461
+ calibration of zero-shot LLM risk scores
462
+ [[Tian et al., EMNLP 2023](https://openreview.net/forum?id=g3faCfrwm7);
463
+ [Cruz et al., NeurIPS 2024](https://arxiv.org/pdf/2407.14614)].
464
+
465
+ **The accompanying [`folktexts` python package](https://github.com/socialfoundations/folktexts)
466
+ eases customization, evaluation, and benchmarking with these datasets.**
467
+
468
+ ## Dataset Details
469
+
470
+ ### Dataset Description
471
+
472
+ - **Language(s) (NLP):** English
473
+ - **License:** Code is licensed under the MIT license; Data license is governed by the U.S. Census Bureau [terms of service](https://www.census.gov/data/developers/about/terms-of-service.html).
474
+
475
+ ### Dataset Sources
476
+
477
+ - **Repository:** https://github.com/socialfoundations/folktexts
478
+ - **Paper:** https://openreview.net/forum?id=qrZxL3Bto9
479
+ - **Data source:** [2018 American Community Survey Public Use Microdata Sample](https://www.census.gov/programs-surveys/acs/microdata/documentation/2018.html)
480
+
481
+ ## Uses
482
+
483
+ The datasets were originally used to evaluate LLMs' ability to produce
484
+ calibrated and accurate risk scores in the [Cruz et al. (2024)](https://arxiv.org/pdf/2407.14614) paper.
485
+
486
+ Other potential uses include evaluating the fairness of LLMs' decisions,
487
+ as individual rows feature protected demographic attributes such as `sex` and
488
+ `race`.
489
+
490
+
491
+ ## Dataset Structure
492
+
493
+ <!-- This section provides a description of the dataset fields, and additional information about the dataset structure such as criteria used to create the splits, relationships between data points, etc. -->
494
+
495
+ [More Information Needed]
496
+ **TODO!**
497
+
498
+ ## Dataset Creation
499
+
500
+ ### Source Data
501
+
502
+ The datasets are based on publicly available data from the American Community
503
+ Survey (ACS) Public Use Microdata Sample (PUMS), namely the
504
+ [2018 ACS 1-year PUMS files](https://www.census.gov/programs-surveys/acs/microdata/documentation.2018.html#list-tab-1370939201).
505
+
506
+ #### Data Collection and Processing
507
+
508
+ The categorical values were mapped to meaningful natural language
509
+ representations using the `folktexts` package, which in turn uses the official
510
+ [ACS PUMS codebook](https://www2.census.gov/programs-surveys/acs/tech_docs/pums/data_dict/PUMS_Data_Dictionary_2018.pdf).
511
+ The data download and processing was aided by the `folktables` python package,
512
+ which in turn uses the official US Census web API.
513
+
514
+ #### Who are the source data producers?
515
+
516
+ U.S. Census Bureau.
517
+
518
+ ## Citation
519
+
520
+ **BibTeX:**
521
+ ```bib
522
+ @inproceedings{
523
+ cruz2024evaluating,
524
+ title={Evaluating language models as risk scores},
525
+ author={Andr{\'e} F Cruz and Moritz Hardt and Celestine Mendler-D{\"u}nner},
526
+ booktitle={The Thirty-eight Conference on Neural Information Processing Systems Datasets and Benchmarks Track},
527
+ year={2024},
528
+ url={https://openreview.net/forum?id=qrZxL3Bto9}
529
+ }
530
+ ```
531
+
532
+ ## More Information
533
+
534
+ More information is available in the [`folktexts` package repository](https://github.com/socialfoundations/folktexts)
535
+ as well as in the [Cruz et al., NeurIPS 2024](https://arxiv.org/pdf/2407.14614).
536
+
537
+ ## Dataset Card Authors
538
+
539
+ [André F. Cruz](https://github.com/andrefcruz)