Skip to content

Latest commit

 

History

History
40 lines (28 loc) · 1.74 KB

README.md

File metadata and controls

40 lines (28 loc) · 1.74 KB

Surveying Large Language Models

Code to reproduce the experiments of the NeurIPS 2024 paper Questioning the Survey Responses of Large Language Models.

We survey language models with the American Community Survey. The experiment results can be downloaded from here.

Reproducing the figures in the paper

Use the following Jupyter notebooks:

Running the experiments

The relevant files to reproduce the experiments in the main text are:

For the sequential generation experiments in the appendix, use:

  • script_fill_sequential.py: sample language models' responses to entire survey. questionnaires, where questions are presented sequentially while keeping previous answers in-context.
  • discriminator_test.py: perform the discriminator test on the model generated data.

Citation

Please cite as:

@article{dominguez2024questioning,
  title={Questioning the Survey Responses of Large Language Models},
  author={Dominguez-Olmedo, Ricardo and Hardt, Moritz and Mendler-D{\"u}nner, Celestine},
  journal={Advances in Neural Information Processing Systems},
  year={2024}
}