AutoStan: Autonomous Bayesian Model Improvement via Predictive Feedback
arXiv:2603.27766v1 Announce Type: new Abstract: We present AutoStan, a framework in which a command-line interface (CLI) coding agent autonomously builds and iteratively improves Bayesian models written in Stan. The agent operates in a loop, writing a Stan model file, executing MCMC sampling, then deciding whether to keep or revert each change based on two complementary feedback signals: the negative log predictive density (NLPD) on held-out data and the sampler's own diagnostics (divergences, R-hat, effective sample size). We evaluate AutoStan on five datasets with diverse modeling structures — Oliver D\"urr
View PDF HTML (experimental)
Abstract:We present AutoStan, a framework in which a command-line interface (CLI) coding agent autonomously builds and iteratively improves Bayesian models written in Stan. The agent operates in a loop, writing a Stan model file, executing MCMC sampling, then deciding whether to keep or revert each change based on two complementary feedback signals: the negative log predictive density (NLPD) on held-out data and the sampler's own diagnostics (divergences, R-hat, effective sample size). We evaluate AutoStan on five datasets with diverse modeling structures. On a synthetic regression dataset with outliers, the agent progresses from naive linear regression to a model with Student-t robustness, nonlinear heteroscedastic structure, and an explicit contamination mixture, matching or outperforming TabPFN, a state-of-the-art black-box method, while remaining fully interpretable. Across four additional experiments, the same mechanism discovers hierarchical partial pooling, varying-slope models with correlated random effects, and a Poisson attack/defense model for soccer. No search algorithm, critic module, or domain-specific instructions are needed. This is, to our knowledge, the first demonstration that a CLI coding agent can autonomously write and iteratively improve Stan code for diverse Bayesian modeling problems.
Subjects:
Machine Learning (cs.LG); Machine Learning (stat.ML)
Cite as: arXiv:2603.27766 [cs.LG]
(or arXiv:2603.27766v1 [cs.LG] for this version)
https://doi.org/10.48550/arXiv.2603.27766
arXiv-issued DOI via DataCite (pending registration)
Submission history
From: Oliver Dürr [view email] [v1] Sun, 29 Mar 2026 16:58:46 UTC (1,932 KB)
Sign in to highlight and annotate this article

Conversation starters
Daily AI Digest
Get the top 5 AI stories delivered to your inbox every morning.
More about
researchpaperarxivExclusive | Caltech Researchers Claim Radical Compression of High-Fidelity AI Models - WSJ
<a href="https://news.google.com/rss/articles/CBMiuANBVV95cUxQY2FqVS1ESGtObnpMdC1ob2FmcHhnLUF3X0NrdHR5Yk1ib0huSDhrVzdHRkVoSk9Ib2lUZmFEa3NsSVZlclc0UHhzQy1Sbkd4dUwwU0Q2eWl4V29RVFdQSTB0VDkxSHpZbENmV0tzQUtNZkdzbzN2djFlVkpBLUJGM1RMaHNneE0tR2RVYzZrWGI1MUxnclVDTDYtNWxKZ2NIZUctR2pPRnZGMlYyd2VhNEpULXVUUm1nUlkxd1NQZVEyNW1Pcnp1RTA2ZXRjRFNaU2loVG4wRUhnTE1lbEprWXZTMG45WURQMm9HTTN1TFoyMkFqc3BlOFdxVWdvbDRaN1RBd05ic2tSUmRzMDdnYTV1NFl3b0hoWEMzdF9FWE53ZUVwOVlFSUdnWE1zZ2hNTFZZZzNKX2JiblUxX25jSnk4VVpOZW5MZ3U0Nm9yQnFNWEo0eEFOYzVfTUdBZ2ZCRkVtVUI4VlA5Tm5iOW43V3ozOGxkZmxZU2JKNHRlWHNlN0cxbDZnalFyWWhMRFR1ckdMcllwRVR1SnpXVHdoRjI4YXlJdVNodlJhMEFFNllPYXpfOW1GYw?oc=5" target="_blank">Exclusive | Caltech Researchers Claim Radical Compression of High-Fidelity AI Models</a> <font color="#6f6f6f">WSJ</font>
Exclusive | Caltech Researchers Claim Radical Compression of High-Fidelity AI Models - WSJ
<a href="https://news.google.com/rss/articles/CBMiuANBVV95cUxNQ3dDV0dVcTJEcDlqdUo5eDRlOWxlNklOSnRNYy1QVlQ2NEtWWGNZaGRQbUJpLVJyd0ZUMnRIRGptbW1NanhjbXV6Vm1PWWNTWWV2OXltOU9VaE5XU0d5aW1hQ2lQWkZUaG41RElyR2JEUWRPeHhBaUxjMHVhNzFPT282XzVHNG1uSms4REdKV2RPUS10Y0g4TWI5amJNbzhWVlUzNXZzTnlISmdOaFMyQUJOTm5mYkd3czZxN05neTNORmNpdkZWYk9zaGZyd1k0RHphTzd5Y3lWdWhtY1AwNGNOYlZnX2doZ1lJOTJHWWxHeWxhbGxzRWp4OEw3VTdsMk9kNEFFWVhTMThHaWVfX29CMXU4TjBBNWRMM0F5NFI1RnRBc3h2bU40Vk92Wk14UkdmSzR3bjVmOGJXYVc0TnczWTFQT09DNVhmajNlaTd0UDBvY3lmZXl3LUVjUVltZTZFelpNZTZndE1JdUJDbG9yWmlhbVRzdEVmR1g4UHdGNTVnYVpMR3lLYW9la0ZTSzE3TUx5RHRRQUloZ3RWMi1Nakp5dGZ4TEdKdDVsMEw5VVdJN01nWg?oc=5" target="_blank">Exclusive | Caltech Researchers Claim Radical Compression of High-Fidelity AI Models</a> <font color="#6f6f6f">WSJ</font>

Combining the robot operating system with LLMs for natural-language control
Over the past few decades, robotics researchers have developed a wide range of increasingly advanced robots that can autonomously complete various real-world tasks. To be successfully deployed in real-world settings, such as in public spaces, homes and office environments, these robots should be able to make sense of instructions provided by human users and adapt their actions accordingly.
Knowledge Map
Connected Articles — Knowledge Graph
This article is connected to other articles through shared AI topics and tags.
More in Research Papers
AI Inspires New Research Topics In Materials Science - miragenews.com
<a href="https://news.google.com/rss/articles/CBMihwFBVV95cUxQRlVFdkRBaHRvYkJJdFRlMTZmajEzeFRPU0hGWWdfbi02V1FnTUdVQ2pmY2VZLUV2NlB4V3BFdEVlSVZkUlhRSTZaNWFKMmcyWXJYbnNqbUhMTmp0NnFtMEppOXlPZkJSNHJfck5VSEVYcmUtX1k2QkJlR1BvUEdTTkp3UmlYRkk?oc=5" target="_blank">AI Inspires New Research Topics In Materials Science</a> <font color="#6f6f6f">miragenews.com</font>
From brain scans to alloys: Teaching AI to make sense of complex research data - Penn State University
<a href="https://news.google.com/rss/articles/CBMiwAFBVV95cUxPZDFHdkptQ2VUM2hmWjhqQkxoRnBiTWoxMXRRR21MUG5TamdUMlFRWmhvYVNHaFVNREVKU3VmSnVOdDVZYnNLb2ppYXRVRTZmVFVMV1pLTlVhUm9ybTNZbGtvZTdIMnIyMHNpOEk5aU9TSmxxS2Y4V2MwazYwY3JlX1Axbk1nd3pfcWhFdUJaaDJWRXJaMFIyTTROcmFHeXI3ZzFudXJ2M1h6UHI1LW1Ca1dta2RkM3BiYndocGk3Yjg?oc=5" target="_blank">From brain scans to alloys: Teaching AI to make sense of complex research data</a> <font color="#6f6f6f">Penn State University</font>

Locating Risk: Task Designers and the Challenge of Risk Disclosure in RAI Content Work
arXiv:2505.24246v4 Announce Type: replace Abstract: As AI systems are increasingly tested and deployed in open-ended and high-stakes domains, crowdworkers are often tasked with responsible AI (RAI) content work. These tasks include labeling violent content, moderating disturbing text, or simulating harmful behavior for red teaming exercises to shape AI system behaviors. While prior research efforts have highlighted the risks to worker well-being associated with RAI content work, far less attention has been paid to how these risks are communicated to workers by task designers or individuals who design and post RAI tasks. Existing transparency frameworks and guidelines, such as model cards, datasheets, and crowdworksheets, focus on documenting model information and dataset collection process

Togedule: Scheduling Meetings with Large Language Models and Adaptive Representations of Group Availability
arXiv:2505.01000v5 Announce Type: replace Abstract: Scheduling is a perennial-and often challenging-problem for many groups. Existing tools are mostly static, showing an identical set of choices to everyone, regardless of the current status of attendees' inputs and preferences. In this paper, we propose Togedule, an adaptive scheduling tool that uses large language models to dynamically adjust the pool of choices and their presentation format. With the initial prototype, we conducted a formative study (N=10) and identified the potential benefits and risks of such an adaptive scheduling tool. Then, after enhancing the system, we conducted two controlled experiments, one each for attendees and organizers (total N=66). For each experiment, we compared scheduling with verbal messages, shared c

Discussion
Sign in to join the discussion
No comments yet — be the first to share your thoughts!