multiverse: Multiplexing Alternative Data Analyses in R Notebooks
Abhraneel Sarma, Alex Kale, Michael Jongho Moon, Nathan Taback, Fanny Chevalier, Jessica Hullman, Matthew Kay
Abstract
There are myriad ways to analyse a dataset. But which one to trust? In the face of such uncertainty, analysts may adopt multiverse analysis: running all reasonable analyses on the dataset. Yet this is cognitively and technically difficult with existing tools—how does one specify and execute all combinations of reasonable analyses of a dataset?—and often requires discarding existing workflows. We present multiverse, a tool for implementing multiverse analyses in R with expressive syntax supporting existing computational notebook workflows. multiverse supports building up a multiverse through local changes to a single analysis and optimises execution by pruning redundant computations. We evaluate how multiverse supports programming multiverse analyses using (a) principles of cognitive ergonomics to compare with two existing multiverse tools; and (b) case studies based on semi-structured interviews with researchers who have successfully implemented an end-to-end analysis using multiverse. We identify design tradeoffs (e.g. increased flexibility versus learnability), and suggest future directions for multiverse tool design.
Ask about this paper
Your agent reads all of it.
Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.
Your agent calls
Luneget_paper_fulltext
Free to start. No credit card required.
Terminal
Install the CLIlune papers fulltext 6723165e-c44d-41ba-849d-7a911ec75857Cited by top-tier papers10
- CoPrompt: Supporting Prompt Sharing and Referring in Collaborative Natural Language ProgrammingLi Feng, Ryan Yen, Yuzhe You, Mingming Fan et al.CHI 2024 · 28 citations
- Milliways: Taming Multiverses through Principled Evaluation of Data Analysis PathsAbhraneel Sarma, Kyle Hwang, Jessica Hullman, Matthew KayCHI 2024 · 17 citations
- How Scientists Use Large Language Models to ProgramGabrielle O'BrienCHI 2025 · 12 citations
- Jupybara: Operationalizing a Design Space for Actionable Data Analysis and Storytelling with LLMsHuichen Will Wang, Larry Birnbaum, Vidya SetlurCHI 2025 · 11 citations
- Statslator: Interactive Translation of NHST and Estimation Statistics Reporting Styles in Scientific DocumentsDamien Masson, Sylvain Malacria, Géry Casiez, Daniel VogelUIST 2023 · 10 citations
Builds on1
Related papers
- Understanding and Supporting Debugging Workflows in Multiverse AnalysisKen Gu, Eunice Jun, Tim AlthoffCHI 2023 · 11 citations
- Multiverse Notebook: Shifting Data Scientists to Time TravelersShigeyuki Sato, Tomoki NakamaruOOPSLA 2024 · 3 citations
- MULTIVERSE: Mining Collective Data Science Knowledge from Code on the Web to Suggest Alternative Analysis ApproachesMike A. Merrill, Ge Zhang, Tim AlthoffKDD 2021 · 3 citations
- Mapping the Multiverse of Latent RepresentationsJeremy Wayland, Corinna Coupette, Bastian RieckICML 2024 · 10 citations
- Modeling the Machine Learning MultiverseSamuel J. Bell, Onno Kampman, Jesse Dodge, Neil D. LawrenceNeurIPS 2022 · 23 citations
