ExperiGen: Agentic Hypothesis Discovery from Observational Data

Jishu Sen Gupta, Harini S I, Somesh Kumar Singh, Syed Mohamad Tawseeq, Yaman Kumar Singla, Rajiv Ratn Shah, David Doermann, Jitendra Ajmera, Balaji KrishnamurthyNeurIPS 2026

TL;DR

Sifting through massive observational datasets to find real, actionable scientific patterns usually means fighting off an army of spurious correlations. ExperiGen automates this grind by pairing two LLM agents—a creative Generator and a skeptical, stats-wielding Experimenter—in a closed-loop cycle of proposing, testing, and refining ideas. Not only does it uncover up to 3× more statistically valid hypotheses than prior methods, its discoveries actually survive the ultimate tests of reality: pre-registered replications and live A/B experiments across 5.1 million users.

What Problem Does This Paper Address?

Imagine trying to figure out what makes an online argument persuasive. You notice longer posts win more debates. Great—except longer posts also tend to include external links. Is it the length, or the citations? Answering this requires an iterative dance: observe, hypothesize, control for confounders (variables that muddy the waters), and refine.

Humans are great at this dance, but we are slow, and modern digital datasets are vast. Recent AI tools try to speed things up by using LLMs to brainstorm hypotheses from raw data. However, they usually validate those ideas purely by checking if they boost predictive accuracy on a held-out test set. That’s a trap. Predictive accuracy loves dataset quirks; for instance, an earlier system "discovered" that the phrase "I ask unanimous consent" predicts Republican speakers in Congress, missing the obvious confound that whichever party holds the majority says this constantly. Meanwhile, automated statistical-testing tools exist, but they require humans to manually engineer the features first. Until now, we lacked a system that could go straight from messy, unstructured data to rigorously controlled, statistically validated hypotheses.

Methods

ExperiGen bridges discovery and validation using a two-agent architecture (built on Qwen3-32B by default) operating in a two-phase search inspired by Bayesian optimization—a strategy for finding the best options when testing each one is expensive.

  • The Generator reads a dataset summary and proposes testable natural-language claims.
  • The Experimenter acts as a rigorous methodologist. Operating in a sandbox, it uses a Python Code Interpreter (for things like word counts, thread structure, and regressions) and an LLM Feature Annotator (for semantic concepts like "uses an analogy") to operationalize the hypothesis, select covariates, and run formal statistical tests.
Figure 1: Inner Loop: Iterative Refinement Cycle. Starting from a seed hypothesis, the system iteratively refines and evaluates hypotheses over up to T steps. At each step, the Generator proposes a refinement using prior attempts as context, the Experimenter operationalizes it into measurable features, the Feature Annotator augments the dataset, and the Code Interpreter runs statistical tests. The resulting evidence, including p-values and effect sizes, is fed back to the Generator for further refinement. See Figure 2 for the outer exploration loop.

The magic happens in how they interact across two loops:

  1. The Outer Loop (Exploration): The Generator consults a memory bank of previously [ACCEPTED] and [REJECTED] hypotheses. To avoid repeating itself or exploring dead ends, it proposes new "seed" hypotheses that balance plausibility with novelty (measured via embedding cosine distance).
  2. The Inner Loop (Refinement): Once a seed is proposed, the Experimenter tests it and returns p-values, effect sizes, and critiques. Instead of throwing away a near-miss, the Generator refines it—adding context or controlling for newly spotted confounders—over several steps.
Figure 2: Outer Loop: Acquisition-Guided Exploration. At each outer iteration i, the Generator conditions on D and a bank Hi−1 holding [ACCEPTED] and [REJECTED] entries, shifting prior qi(H) (blue) to posterior qi+1(H) (orange). It generates a seed (e.g., expand decision space), the inner loop refines it (e.g., expand by building on it), and the result is appended to the bank with its label.

To prevent "p-hacking" (running so many tests that noise looks like a signal by pure chance), ExperiGen applies strict two-level statistical corrections: Bonferroni correction inside each refinement loop, and Benjamini–Hochberg (BH) false-discovery control across the final bank of discoveries.

Datasets

No new static benchmarks were introduced, as the authors evaluated ExperiGen across 19 existing tasks spanning 12 domains and multiple modalities:

  • Text & Social Media: Five tasks from HypoBench (Deception, News, Dreaddit, GPT-generated text, Persuasion), plus Twitter engagement, U.S. Congressional speeches, and Reddit’s r/ChangeMyView (CMV).
  • Images & Multimodal: Graphic design ratings (Design) and image memorability (LaMem).
  • Tabular & Biology: Four regression tasks from DiscoveryBench (economics/sociology), colorectal cancer clinical microbiome data (MetaGenoPolis CRC), and single-cell RNA-sequencing matrices with 20,000+ gene features (BAISBench-SD).
  • Live Prospective Data: Four months of historical webpage/conversion data from 7 S&P 500 companies (tested via live A/B traffic), plus three months of fresh, unseen r/ChangeMyView posts collected after pre-registration.

Key Insights and Ideas

  • Accuracy is not validity: Optimizing for predictive power lets models cheat with shallow shortcuts. Forcing an agent to actively falsify its own ideas and control for covariates drops the false discovery rate (judged by human review) from 20–25% in prior methods down to under 5%.
  • Good ideas require multi-step synthesis: Single-pass LLMs miss complex, conditional truths. In CMV debates, ExperiGen only hypothesized that "expanding the original poster's perceived decision space is persuasive" after first discovering that both "making concessions" and "framing problems as a matter of degree" worked.
  • Code unlocks relational structure: Because the Experimenter writes code rather than just reading isolated text snippets, it can spot structural dynamics—like discovering that being the very first commenter in a debate thread roughly doubles persuasion odds (19.9% vs. 9.5%), independent of timing.
Selected CMV hypotheses showing accepted and rejected refinements

Key Results

  • More Valid Discoveries: Across benchmarks with nonzero baselines, ExperiGen found 1.5–3× as many statistically significant hypotheses on held-out data as HypoGeniC and HypotheSAEs (e.g., 81 vs. 40 on DiscoveryBench; 17 on high-dimensional RNA-seq where baselines failed completely).
  • Better Predictions: On HypoBench, ExperiGen beat HypoGeniC across all 10 in-distribution and out-of-distribution splits by an average of 5.0 percentage points (up to +13.6 points on Dreaddit OOD).
  • Expert Approval: A panel of 26 domain specialists (tenured faculty and senior marketers) rated ExperiGen's outputs highly for novelty (3.41/4) and quality (4.45/5), equating its experimental rigor most frequently to that of a senior graduate student.
  • Real-World & Prospective Wins: When marketers deployed 25 ExperiGen hypotheses as live A/B tests across 5.1 million website visitors, 15 reached statistical significance ($p < 0.05$), and 14 improved conversions in the predicted direction (median uplift of +112%). In a pre-registered study on future Reddit debates, 11 of 16 (68.75%) locked-in hypotheses replicated significantly.

Limitations and Future Work

While the main text defers granular architectural ablations to the appendix, the authors emphasize a crucial philosophical boundary: ExperiGen works on observational data, meaning it uncovers rigorous associations, not guaranteed causal laws. Even with covariate control, unobserved confounders can lurk outside the dataset. Consequently, the authors stress that the system is built to augment, not replace, human scientists—serving as an intelligent filter to prioritize which hypotheses deserve domain-expert review and expensive real-world interventions before informing policy or business decisions.

Summary updated

Abstract

Modern data-driven sciences use large observational datasets such as online discussions, behavioral logs, web experiments and biological records to explain outcomes and design interventions. Existing LLM-based hypothesis generators produce interpretable claims, but usually validate them through predictive accuracy, making them vulnerable to spurious correlations and dataset artifacts. Automated validation systems test hypotheses statistically, but require researcher-specified constructs. Here we show that **ExperiGen**, a two-agent closed-loop framework, discovers statistically supported natural-language hypotheses from observational data. A **Gen**erator proposes hypotheses, while an **Experi**menter operationalizes features, selects covariates and tests, executes analyses and returns evidence for refinement. Accepted and rejected hypotheses are stored in a labeled memory that guides further exploration. Across 19 tasks spanning text, images, clinical tabular data, economics, marketing and single-cell RNA-seq, ExperiGen discovers 2–4× more statistically significant hypotheses than prior generation methods and improves downstream predictive performance by 4–21 points. Expert evaluation by 26 specialists rated its hypotheses as novel, clear and research-worthy; 11 of 16 preregistered r/ChangeMyView hypotheses were significant in the predicted direction; and in deployed A/B tests across seven S\&P 500 companies and 5.1 million users, 15 of 25 hypotheses achieved significance, with 14 matching the predicted direction. These results suggest that closed-loop hypothesis generation can help prioritize hypotheses for expert review and real-world intervention and augment human judgment in data-driven sciences.
BibTeX
@inproceedings{gupta2026experigen,
  author = {Jishu Sen Gupta and Harini S I and Somesh Kumar Singh and Syed Mohamad Tawseeq and Yaman Kumar Singla and Rajiv Ratn Shah and David Doermann and Jitendra Ajmera and Balaji Krishnamurthy},
  title = {{ExperiGen: Agentic Hypothesis Discovery from Observational Data}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2026},
  url = {https://openreview.net/forum?id=mHGzwFfdQI},
}
Figure