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 Lune
Know this paper in minutes, not an afternoon.
Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.
10 top-tier papers have cited it since. Know what they found before your reviewers do.
Lune can draw on
the full paper · the top-tier papers that cite it · related work
Free to start. No credit card required.
Lineage
- CoPrompt: Supporting Prompt Sharing and Referring in Collaborative Natural Language Programming cites Boba: Authoring and Visualizing Multiverse Analyses
- Statslator: Interactive Translation of NHST and Estimation Statistics Reporting Styles in Scientific Documents cites Boba: Authoring and Visualizing Multiverse Analyses
- Milliways: Taming Multiverses through Principled Evaluation of Data Analysis Paths cites Boba: Authoring and Visualizing Multiverse Analyses
- Jupybara: Operationalizing a Design Space for Actionable Data Analysis and Storytelling with LLMs cites Boba: Authoring and Visualizing Multiverse Analyses
Cited 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
