Autonomous LLM-driven research from data to human-verifiable research papers
Paper · 2024 · Tal Ifargan, Lukas Hafner, Maor Kern et al.
Summary
The authors ask whether an LLM-based system can carry out a full hypothesis-testing study by itself while staying transparent and checkable. They built data-to-paper, a platform that moves LLM agents and rule-based agents through a fixed sequence of research steps. These steps cover data exploration, goal and hypothesis formulation, analysis planning, code writing and debugging, table creation, literature retrieval and section-by-section writing. Every step runs as its own conversation and receives only selected earlier outputs. Each output passes through rule-based checks and an LLM reviewer, with optional human comments. Because information flow is controlled this way, every number in the final paper can be traced back to the code that produced it. In autopilot mode, given only annotated public datasets, the system wrote complete manuscripts. Their originality was modest, but most were analytically sound. For simple fixed goals, roughly 80–90% of runs reproduced published findings without major errors. Harder goals needed a human co-pilot. The work suggests that automating research can increase verifiability rather than reduce it.
Key points
- Workflow: The pipeline has 17 steps and uses OpenAI ChatGPT models (gpt-3.5-turbo variants and gpt-4). Citations come from the Semantic Scholar Academic Graph API, and the final PDF carries an AI watermark.
- Open-goal datasets: Two datasets were used. "Health Indicators" is a BRFSS 2015 subset with 253,680 responses and 22 features. "Social Network" is a Twitter interaction graph of the 117th US Congress.
- Open-goal results: Five autopilot runs per dataset (about one hour each) produced 10 papers. Eight had correct analyses with only small wording issues, and two contained fundamental errors.
- Open-source models: Llama 2 and CodeLlama hallucinated dataset features and often failed to converge during coding, so they could not complete full research cycles.
- Availability: Code is at github.com/Technion-Kishony-lab/data-to-paper.
Institutions
Fields, topics and concepts
📚 Shelves 5The field of science this work belongs to (OpenAlex fields).Computer Science · 19,503 worksArtificial Intelligence · 18,805 worksArts and Humanities · 17,959 worksLanguage and Linguistics · 17,789 worksHistory and Philosophy of Science · 83 works
🧭 Topics 1Research subjects and languages the work is about.Language models & pretraining · 4,145 works
Cite
Cite as Tal Ifargan, Lukas Hafner, Maor Kern, Ori Alcalay and Roy Kishony. 2024. Autonomous LLM-driven research from data to human-verifiable research papers. arXiv:2404.17605.
@misc{ifargan2024autonomous,
title = {{Autonomous LLM-driven research from data to human-verifiable research papers}},
author = {Tal Ifargan, Lukas Hafner, Maor Kern, Ori Alcalay and Roy Kishony},
year = {2024},
doi = {10.48550/arxiv.2404.17605},
eprint = {2404.17605},
archivePrefix = {arXiv},
url = {https://doi.org/10.48550/arxiv.2404.17605}
}References
- Z. Xi, W. Chen, X. Guo, W. He, Y. Ding, B. Hong, M. Zhang, J. Wang, S. Jin, E. Zhou, R. Zheng, X. Fan, X. Wang, L. Xiong, Y. Zhou, W. Wang, C. Jiang, Y. Zou, X. Liu, Z. Yin, S. Dou, R. Weng, W. Cheng, Q. Zhang, W. Qin, Y. Zheng, X. Qiu, X. Huang, T. Gui, The Rise and Potential of Large Language Mode… — The Rise and Potential of Large Language Model Based Agents: A Survey
- Y. Liu, T. Han, S. Ma, J. Zhang, Y. Yang, J. Tian, H. He, A. Li, M. He, Z. Liu, Z. Wu, L. Zhao, D. Zhu, X. Li, N. Qiang, D. Shen, T. Liu, B. Ge, Summary of ChatGPT-Related research and perspective towards the future of large language models. Meta-Radiology 1, 100017 (2023).
- L. Wang, C. Ma, X. Feng, Z. Zhang, H. Yang, J. Zhang, Z. Chen, J. Tang, X. Chen, Y. Lin, W. X. Zhao, Z. Wei, J.-R. Wen, A Survey on Large Language Model based Autonomous Agents, arXiv [cs.AI] (2023). http://arxiv.org/abs/2308.11432. ↗
- Y. Li, D. Choi, J. Chung, N. Kushman, J. Schrittwieser, R. Leblond, T. Eccles, J. Keeling, F. Gimeno, A. Dal Lago, T. Hubert, P. Choy, C. de Masson d’Autume, I. Babuschkin, X. Chen, P.-S. Huang, J. Welbl, S. Gowal, A. Cherepanov, J. Molloy, D. J. Mankowitz, E. Sutherland Robson, P. Kohli, N. de Frei… — Competition-Level Code Generation with AlphaCode
- G. Spitale, N. Biller-Andorno, F. Germani, AI model GPT-3 (dis)informs us better than humans. Sci Adv 9, eadh1850 (2023). find
- J. He-Yueya, G. Poesia, R. E. Wang, N. D. Goodman, Solving Math Word Problems by Combining Language Models With Symbolic Solvers, arXiv [cs.CL] (2023). http://arxiv.org/abs/2304.09102. ↗
- B. Romera-Paredes, M. Barekatain, A. Novikov, M. Balog, M. P. Kumar, E. Dupont, F. J. R. Ruiz, J. S. Ellenberg, P. Wang, O. Fawzi, P. Kohli, A. Fawzi, Mathematical discoveries from program search with large language models. Nature 625, 468–475 (2024).
- T. H. Trinh, Y. Wu, Q. V. Le, H. He, T. Luong, Solving olympiad geometry without human demonstrations. Nature 625, 476–482 (2024).
- C. Qian, X. Cong, W. Liu, C. Yang, W. Chen, Y. Su, Y. Dang, J. Li, J. Xu, D. Li, Z. Liu, M. Sun, Communicative Agents for Software Development, arXiv [cs.SE] (2023). http://arxiv.org/abs/2307.07924. ↗
- Y. Dong, X. Jiang, Z. Jin, G. Li, Self-collaboration Code Generation via ChatGPT, arXiv [cs.SE] (2023). http://arxiv.org/abs/2304.07590. ↗
- W. Zhou, Y. E. Jiang, P. Cui, T. Wang, Z. Xiao, Y. Hou, R. Cotterell, M. Sachan, RecurrentGPT: Interactive Generation of (Arbitrarily) Long Text, arXiv [cs.CL] (2023). http://arxiv.org/abs/2305.13304. ↗
- V. Nair, E. Schumacher, G. Tso, A. Kannan, DERA: Enhancing Large Language Model Completions with Dialog-Enabled Resolving Agents, arXiv [cs.CL] (2023). http://arxiv.org/abs/2303.17071. ↗
- T. Tu, A. Palepu, M. Schaekermann, K. Saab, J. Freyberg, R. Tanno, A. Wang, B. Li, M. Amin, N. Tomasev, S. Azizi, K. Singhal, Y. Cheng, L. Hou, A. Webson, K. Kulkarni, S. Sara Mahdavi, C. Semturs, J. Gottweis, J. Barral, K. Chou, G. S. Corrado, Y. Matias, A. Karthikesalingam, V. Natarajan, Towards C… — [arXiv:2401.05654](https://arxiv.org/abs/2401.05654) find
- D. A. Boiko, R. MacKnight, B. Kline, G. Gomes, Autonomous chemical research with large language models. Nature 624, 570–578 (2023).
- A. Birhane, A. Kasirzadeh, D. Leslie, S. Wachter, Science in the age of large language models. Nature Reviews Physics 5, 277–280 (2023). find
- G. Conroy, How ChatGPT and other AI tools could disrupt scientific publishing. Nature 622, 234–236 (2023). find
- C. Stokel-Walker, R. Van Noorden, What ChatGPT and generative AI mean for science. Nature 614, 214–216 (2023). find
- C. Stokel-Walker, ChatGPT listed as author on research papers: many scientists disapprove. Nature 613, 620–621 (2023). find
- M. Hutson, Could AI help you to write your next paper? Nature 611, 192–193 (2022). find
- V. Berdejo-Espinola, T. Amano, AI tools can improve equity in science. Science 379, 991 (2023). find
- L. Messeri, M. J. Crockett, Artificial intelligence and illusions of understanding in scientific research. Nature 627, 49–58 (2024). find
- C. L. Bockting, E. A. M. van Dis, R. van Rooij, W. Zuidema, J. Bollen, Living guidelines for generative AI - why scientists must oversee its use. Nature 622, 693–696 (2023). find
- E. B. Wilson, An Introduction to Scientific Research (Courier Corporation, 1990; https://play.google.com/store/books/details?id=rKCHDQAAQBAJ). ↗
- A. Teboul, Diabetes Health Indicators Dataset (2021). https://www.kaggle.com/datasets/alexteboul/diabetes-health-indicators-dataset. ↗
- C. G. Fink, N. Omodt, S. Zinnecker, G. Sprint, A Congressional Twitter network dataset quantifying pairwise probability of influence. Data Brief 50, 109521 (2023). find
- A. L. Saint-Fleur, H. E. Alcalá, S. Sridhar, Outcomes of neonates born through meconium-stained amniotic fluid pre and post 2015 NRP guideline implementation. PLoS One 18, e0289945 (2023). find
- J.-G. Shim, K.-H. Ryu, S. H. Lee, E.-A. Cho, S. Lee, J. H. Ahn, Machine learning model for predicting the optimal depth of tracheal tube insertion in pediatric patients: A retrospective cohort study. PLoS One 16, e0257069 (2021). find
- R. Kinney, C. Anastasiades, R. Authur, I. Beltagy, J. Bragg, A. Buraczynski, I. Cachola, S. Candra, Y. Chandrasekhar, A. Cohan, M. Crawford, D. Downey, J. Dunkelberger, O. Etzioni, R. Evans, S. Feldman, J. Gorney, D. Graham, F. Hu, R. Huff, D. King, S. Kohlmeier, B. Kuehl, M. Langan, D. Lin, H. Liu,… find
- Z. Ji, N. Lee, R. Frieske, T. Yu, D. Su, Y. Xu, E. Ishii, Y. Bang, W. Dai, A. Madotto, P. Fung, Survey of Hallucination in Natural Language Generation, arXiv [cs.CL] (2022). http://arxiv.org/abs/2202.03629. ↗
- OpenAI platform. https://platform.openai.com/docs/api-reference. ↗
- H. Touvron, L. Martin, K. Stone, P. Albert, A. Almahairi, Y. Babaei, N. Bashlykov, S. Batra, P. Bhargava, S. Bhosale, D. Bikel, L. Blecher, C. C. Ferrer, M. Chen, G. Cucurull, D. Esiobu, J. Fernandes, J. Fu, W. Fu, B. Fuller, C. Gao, V. Goswami, N. Goyal, A. Hartshorn, S. Hosseini, R. Hou, H. Inan,… — Llama 2: Open Foundation and Fine-Tuned Chat Models
- B. Rozière, J. Gehring, F. Gloeckle, S. Sootla, I. Gat, X. E. Tan, Y. Adi, J. Liu, T. Remez, J. Rapin, A. Kozhevnikov, I. Evtimov, J. Bitton, M. Bhatt, C. C. Ferrer, A. Grattafiori, W. Xiong, A. Défossez, J. Copet, F. Azhar, H. Touvron, L. Martin, N. Usunier, T. Scialom, G. Synnaeve, Code Llama: Ope… — Code Llama: Open Foundation Models for Code
- Q. Wu, G. Bansal, J. Zhang, Y. Wu, B. Li, E. Zhu, L. Jiang, X. Zhang, S. Zhang, J. Liu, A. H. Awadallah, R. W. White, D. Burger, C. Wang, AutoGen: Enabling Next-Gen LLM Applications via Multi-Agent Conversation, arXiv [cs.AI] (2023). http://arxiv.org/abs/2308.08155. ↗
- S. Hong, M. Zhuge, J. Chen, X. Zheng, Y. Cheng, C. Zhang, J. Wang, Z. Wang, S. K. S. Yau, Z. Lin, L. Zhou, C. Ran, L. Xiao, C. Wu, J. Schmidhuber, MetaGPT: Meta Programming for A Multi-Agent Collaborative Framework, arXiv [cs.AI] (2023). http://arxiv.org/abs/2308.00352. ↗
- A. Madaan, N. Tandon, P. Gupta, S. Hallinan, L. Gao, S. Wiegreffe, U. Alon, N. Dziri, S. Prabhumoye, Y. Yang, S. Gupta, B. P. Majumder, K. Hermann, S. Welleck, A. Yazdanbakhsh, P. Clark, Self-Refine: Iterative Refinement with Self-Feedback, arXiv [cs.CL] (2023). http://arxiv.org/abs/2303.17651. ↗
- C. Harrison, LangChain (2022). https://github.com/langchain-ai/langchain. ↗
- S. Gravitas, AutoGPT (2023). https://github.com/Significant-Gravitas/AutoGPT. ↗
- B. Peng, M. Galley, P. He, H. Cheng, Y. Xie, Y. Hu, Q. Huang, L. Liden, Z. Yu, W. Chen, J. Gao, Check Your Facts and Try Again: Improving Large Language Models with External Knowledge and Automated Feedback, arXiv [cs.CL] (2023). http://arxiv.org/abs/2302.12813. ↗
- L. Rolle-Lake, E. Robbins, “Behavioral Risk Factor Surveillance System” in StatPearls (StatPearls Publishing, Treasure Island (FL), 2023; https://www.ncbi.nlm.nih.gov/pubmed/31971707). ↗
- A. Cohan, S. Feldman, I. Beltagy, D. Downey, D. S. Weld, SPECTER: Document-level Representation Learning using Citation-informed Transformers, arXiv [cs.CL] (2020). http://arxiv.org/abs/2004.07180. ↗
- C. Steinruecken, E. Smith, D. Janz, J. Lloyd, Z. Ghahramani, “The Automatic Statistician” in Automated Machine Learning: Methods, Systems, Challenges, F. Hutter, L. Kotthoff, J. Vanschoren, Eds. (Springer International Publishing, Cham, 2019; https://doi.org/10.1007/978-3-030-05318-5_9), pp. 161–173… — [doi:10.1007/978-3-030-05318-5_9](https://doi.org/10.1007/978-3-030-05318-5_9) ↗
- N. Altman, M. Krzywinski, P values and the search for significance. Nat. Methods 14, 3–4 (2016). find
- R. Van Noorden, Hundreds of gibberish papers still lurk in the scientific literature. Nature 594, 160–161 (2021). find
- G. Cabanac, C. Labbé, Prevalence of nonsensical algorithmically generated papers in the scientific literature. J. Assoc. Inf. Sci. Technol. 72, 1461–1476 (2021). find
- L. Liverpool, AI intensifies fight against “paper mills” that churn out fake research. Nature 618, 222–223 (2023). find
- Twitter interaction network for the US congress (2023). https://snap.stanford.edu/data/congress-twitter.html. ↗
- Twitter Handles for Members of the 117th Congress, Food Research & Action Center (2021). https://frac.org/wp-content/uploads/MOC_Twitter-Handles_117th.pdf. ↗
- I. Cachola, K. Lo, A. Cohan, D. S. Weld, TLDR: Extreme Summarization of Scientific Documents, arXiv [cs.CL] (2020). http://arxiv.org/abs/2004.15011. ↗
- M. Valenzuela-Escarcega, V. A. Ha, O. Etzioni, Identifying Meaningful Citations. AAAI Workshop: Scholarly Big Data (2015). Acknowledgments We thank Ayelet Baram-Tsabari and Yael Rozenblum for discussions and providing data for initial tests, Ofer Sapir for help in organizing data-to-paper repo, Eric… find
Updated
This page in Markdown → https://md.research.elamur.ai/free/en/papers/ifargan-2024-autonomous-llm-driven-research/