Qsnail: A Questionnaire Dataset for Sequential Question Generation

Yan Lei, Liang Pang, Yuanzhuo Wang, Huawei Shen, Xueqi Cheng

Abstract

Questionnaires are essential tools for qualitative and quantitative research into human behavior and attitudes. However, their design is a complex task requiring strict adherence to structural, logical, and content-related constraints. Despite the potential for automation, the field of sequential questionnaire generation has been hindered by a lack of high-quality datasets. We introduce Qsnail, the first large-scale dataset for this task, containing 13,168 human-written questionnaires. Our evaluation of retrieval and generative models, including Large Language Models (LLMs), reveals that while AI can maintain thematic relevance, it struggles with the specificity, logical flow, and rigorous option constraints found in professional surveys. Even with advanced techniques like chain-of-thought prompting, a significant gap remains between AI-generated and human-authored questionnaires.

The Challenge of Sequential Question Generation

Generating a questionnaire is fundamentally more difficult than generating isolated questions. A professional survey is a structured instrument that must satisfy a multi-layered web of constraints. As illustrated in Figure 1, these constraints exist at three primary levels:

  1. Question-level: Questions must be relevant to the research intent and specific enough to yield actionable data. Vague questions (e.g., "Has your hometown changed?") are often less useful than those targeting specific domains like environment or transportation.
  2. Option-level: Multiple-choice options must be mutually exclusive, collectively exhaustive (complete), and logically ordered.
  3. Overall-level: The sequence must follow a logical progression—such as placing objective questions before subjective ones—and group similar topics together to maintain respondent focus.
Structural constraints and examples of high-quality vs. low-quality questionnaire design.

Existing benchmarks like SQuAD or CoQA focus on fact-based question answering, which lacks the structural and logical dependencies inherent in professional research methodologies.

The Qsnail Dataset

To address the data scarcity, we present Qsnail, a comprehensive dataset gathered from online survey platforms. It comprises 13,168 human-written questionnaires and 184,854 question-option pairs across 11 diverse domains, including education, healthcare, finance, and social research.

Statistical overview of the Qsnail dataset, including question/choice counts and distribution of topics and research types.

As shown in Figure 4, the dataset covers a wide range of research types, with market research and social research being prominent. The majority of questionnaires contain between 6 and 12 questions, and most questions offer 2 to 5 choices, providing a robust foundation for training models on realistic survey structures.

Methodology: Bridging the Intent Gap

Online survey platforms typically do not explicitly state the creator's research intent. To make the data suitable for supervised learning, we employed an Intent Reconstruction pipeline using ChatGPT to reverse-engineer the underlying goals of each questionnaire. This allowed us to create a mapping from (Topic, Intent) to the final Questionnaire.

We also explored an Outline-First Prompting strategy. By prompting LLMs to first generate a logical skeleton before filling in specific questions and options, we aimed to mimic the human design process and improve the overall coherence of the generated output.

Key Findings and the "Specificity Gap"

Our experiments highlighted several critical insights into the current state of AI in this domain:

  • The Specificity Gap: While LLMs like ChatGPT are highly effective at remaining relevant to a topic, they tend to produce generic content. Human-written surveys are significantly more detailed and tailored to specific research niches.
  • Retrieval vs. Generation: Traditional retrieval models (like BM25) often produce well-structured options because they pull directly from human examples. However, they frequently fail to align with the specific research intent provided by the user.
  • The Power of the Outline: The outline-first approach significantly improved the logical flow and specificity of LLM-generated content, though it still falls short of human performance.
  • Performance Metrics: In human evaluations, human-written surveys achieved an "Acceptance Rate" of 0.90, whereas the best-performing model (ChatGPT with outline prompting) reached only 0.52. Furthermore, humans scored 4.96/5.0 for option rationality (exclusivity and completeness), while the best model scored 3.80/5.0.

Conclusion

Qsnail represents a major step toward automating the complex task of questionnaire generation. However, the results indicate that the task is far from solved. Current models struggle with the "mutually exclusive and collectively exhaustive" (MECE) principle for options and lack the deep domain knowledge required for technical fields. Future research should focus on injecting domain-specific knowledge and developing sophisticated reward functions for Reinforcement Learning from Human Feedback (RLHF) that prioritize logical structure and specificity.

Summary updated

BibTeX
@inproceedings{lei2024qsnail,
  author = {Yan Lei and Liang Pang and Yuanzhuo Wang and Huawei Shen and Xueqi Cheng},
  title = {{Qsnail: A Questionnaire Dataset for Sequential Question Generation}},
  booktitle = {International Conference on Computational Linguistics},
  year = {2024},
  url = {https://openreview.net/forum?id=XXgvu6kvIc},
}
Figure