Manuscript Offprint

arXiv:2611.11969

Executable Human Study Programs with Silicon Participants

Xuan Liu, Haoyang Shang, Yuanjun Feng, Shao-Yu Chu, Qiyu Li, Yash Raj Shrestha, Haojian Jin

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Xuan Liu¹,², ✉, Haoyang Shang¹,³, Yuanjun Feng¹,⁴, Shao-Yu Chu², Qiyu Li², Yash Raj Shrestha⁴, Haojian Jin²

¹HumanStudy Hub ²University of California San Diego ³University of British Columbia ⁴University of Lausanne

✉ xul049@ucsd.edu

We introduce HUMANSTUDYPROGRAM, a framework that represents a documented human study as an executable program with configurable LLM-based silicon participants. Its computational abstraction separates study logic from participant implementation through standardized APIs for presenting information and collecting responses. We implement a researcher-facing authoring tool that reconstructs source-linked study descriptions from papers and supplementary materials, supports researcher review, and generates executable HUMANSTUDYPROGRAM artifacts. Researchers can then configure silicon participants, run the programs, and analyze results from aggregate findings to individual responses. We demonstrate the approach through study cases and evaluate the tool through a hands-on expert review with 12 social science researchers. All completed the workflow and identified potential uses in understanding published protocols, prototyping studies, and examining AI behavior. We aim to improve the reproducibility of human studies by reconstructing their documented procedures as programs that others can reuse and build upon.

Figure

Fig. 1 | The HUMANSTUDYPROGRAM Artifact and Its Authoring Tool. A HUMANSTUDYPROGRAM represents a human study as an executable program: Show and Ask express participant-facing interactions, while ordinary Python expresses the study logic connecting them. We implement this abstraction in an authoring tool with two linked stages. ① Build Study generates a HUMANSTUDYPROGRAM from a paper and its supplementary materials. ② Playground configures silicon participants, runs the generated HUMANSTUDYPROGRAM, and analyzes its results. The two stages form an iterative workflow for generating and running HUMANSTUDYPROGRAMS.

1 Introduction

Major HCI venues (e.g., CHI) now encourage authors to provide study materials and ask reviewers to consider their availability¹,². The proportion of CHI papers that shared interview protocols increased from 2% in 2017 to 25% in 2022³,⁴. However, using these materials still requires substantial effort⁵. First, researchers must recover the exact wording, task order, and condition assignments from information scattered across the methods section, figures, appendices, and supplementary materials⁴,⁶. Second, researchers have to reconstruct the complete protocol from high-level descriptions, such as “tasks were counterbalanced in order and randomized across conditions”. Third, to test these protocols, researchers often need to secure ethics approval, recruit and compensate participants, and administer the study.

In contrast, empirical machine learning (EML) has benefited from an infrastructure for frictionless reproducibility⁷, in which researchers can build directly on one another’s digital artifacts. Researchers routinely release repositories containing datasets, model weights, training code, and evaluation scripts⁸,⁹. To build on a published result, a researcher can clone its repository, reproduce

the reported findings, and inspect the code to diagnose discrepancies. Once the baseline is established, they can modify individual components—substituting a dataset, adjusting a hyperparameter, or replacing a model module—and rerun the pipeline to observe the effects. Each iteration requires only a fraction of the effort needed to reconstruct the original work, while shared repositories accumulate fixes and extensions contributed by others. This capacity for rapid verification and iteration is widely regarded as a key driver of AI’s striking progress⁷.

This paper presents HUMANSTUDYPROGRAM, a researcher-facing framework that reconstructs human study protocols documented in papers and supplementary materials as executable programs and interfaces the programs with configurable LLM-based silicon participants through standardized APIs (Figure 1). The resulting program is a reusable artifact that researchers can inspect and modify. Running it with silicon participants generates structured synthetic response data without recruiting a new human sample, allowing researchers to exercise the procedure and analysis end to end, identify implementation problems, and prototype alternative questions or conditions. HUMANSTUDYPROGRAM targets interviews, surveys, and

Executable Human Study Programs with Silicon Participants

in-lab experiments whose essential procedures can be represented as exchanges of information and responses. These agent-based runs complement human-participant research by supporting protocol inspection and early prototyping 10^{10}, they do not replace human evidence for claims about people 11−14^{11-14}.

At the core of HUMANSTUDYPROGRAM is our observation that diverse human study protocols share a common interaction structure: they present information, collect responses, and use procedural logic to determine what happens next. This observation allows us to separate study logic from the mechanisms used to interact with participants. We introduce two API operations to realize this separation of concerns for participants: Show presents information to one or more participants, while Ask poses a question and returns their responses (Figure 3(b)). A HUMANSTUDYPROGRAM uses these operations for all participant-facing interactions and ordinary Python for condition assignment, control flow, state updates, computation, and coordination. The protocol therefore specifies what participants receive and return without depending on how a participant is implemented. This separation supports studies ranging from single-question surveys to multi-round, multi-participant experiments and allows researchers to vary silicon participants while holding the protocol fixed.

Behind Show and Ask, the runtime instantiated each configured agent, assembles its context, invokes the model, parses its response, and manages its memory across interactions. Agent memory is enabled by default. Show adds presented information to the participant's context so that later interactions can refer to it. By default, Ask similarly records both its question and the returned response after invoking the configured model. A study can instead call Ask with remember=False to collect a response without adding that exchange to subsequent context. Such probes still read existing memory; only the new question and response are excluded. These semantics support both isolated measurements and stateful, multi-round interactions without requiring each study program to implement agent memory or model-specific prompting.

We implement an authoring tool for creating and running HUMANSTUDYPROGRAM artifacts through two linked stages (Section 6). In Build Study, an LLM-assisted pipeline extracts Materials, Participants, Procedure, Response, and Analysis from a paper and its supplementary files, links each component to its source, and flags missing, unclear, or conflicting information for researcher review. Once the researcher approves this description, the system generates an executable package containing the confirmed study materials, participant definitions, a Python procedure module, and a measurement module for the analysis; it then validates the code and performs a simulated trial run. In Playground, researchers configure the model, participant specification, memory, population, and condition assignments, execute the generated package, and inspect results from aggregate findings to individual interactions. The runtime records each agent's configuration, visible context, raw output, parsed response, and resulting study state.

We validate the implementation through study demonstrations and evaluate its use through a hands-on expert review. The demonstrations use four cases from three cognitive, strategic, and social-psychology studies to examine recovery of missing information, execution of a multi-round group protocol, transparency into agent context, and navigation from findings to individual responses. In the expert review, 12 doctoral-level social science researchers each selected a familiar study, corrected and approved its reconstructed description, configured and ran silicon participants, and interpreted the results. All 12 completed the workflow, collectively reviewing 98 flagged issues across their study packages. They identified value in understanding published protocols, prototyping studies before human data collection, and applying established protocols to study AI behavior, while emphasizing that simulated results cannot substitute for human evidence.

This paper makes three contributions. First, it introduces a com-

putational abstraction for human studies that combines participant-facing Show and Ask operations with ordinary program logic, separating an executable protocol from the agents used to run it. Second, it contributes an authoring tool for creating and executing HUMANSTUDYPROGRAM artifacts, supporting source-linked protocol reconstruction, researcher review and approval, configurable silicon participants, and analysis from aggregate findings to individual responses. Third, it provides evidence from study demonstrations and a hands-on review with 12 social science researchers, showing the abstraction's ability to represent varied study procedures and identifying its value for understanding protocols, prototyping studies, and examining AI behavior.

References (64)