Publication:

Text-to-Design: Automated Conversion of Scientific Methods into Experimental Specification

datacite.rightsrestricted
dc.contributor.advisorBuschman, Timothy
dc.contributor.authorShah, Rutva
dc.date.accessioned2026-07-27T13:29:37Z
dc.date.available2026-07-27T13:29:37Z
dc.date.issued2026-04-16
dc.description.abstractReproducing experiments in behavioral and cognitive science requires a precise extraction of factors, conditions, constraints, and trial logic from experimental design. In academic practice, this information is often embedded within verbose methods sections, padded with writing motivated by persuasion and defensibility rather than reproducibility, making manual extraction a slow, error-prone process difficult to scale. In this thesis, we present Text-to-Design, a multi-stage LLM pipeline automatically converting the natural language found in factorial design methodology to executable SweetPea specifications. The pipeline decomposes the task into LLM-powered summarization, LLM-powered compilation into intermediate representation, deterministic SweetPea translation, and two layers of LLM verification and correctness checks. When evaluated against 54 published cognitive science papers, the pipeline achieved an 88.9% pass rate, compared to a one-shot baseline rate of 25.9%. The pipeline generates a structured corpus of the stage-by-stage pipeline states for each paper, but also records what experimental details are commonly under-specified. These contributions help demonstrate the feasibility of large-scale automated experimental design information extraction for dataset construction and furthering foundation models for cognitive science.
dc.identifier.urihttps://theses-dissertations.princeton.edu/handle/88435/dsp01jm214s67h
dc.language.isoen_US
dc.titleText-to-Design: Automated Conversion of Scientific Methods into Experimental Specification
dc.typePrinceton University Senior Theses
dspace.entity.typePublication
dspace.workflow.startDateTime2026-04-16T16:41:45.043Z
pu.contributor.authorid920319536
pu.date.classyear2026
pu.departmentComputer Science

Files

Original bundle

Now showing 1 - 1 of 1
Loading...
Thumbnail Image
Name:
written_final_report.pdf
Size:
419.08 KB
Format:
Adobe Portable Document Format
Download

License bundle

Now showing 1 - 1 of 1
Loading...
Thumbnail Image
Name:
license.txt
Size:
100 B
Format:
Item-specific license agreed to upon submission
Description:
Download