AI4BayesCode: 자연어 설명에서 검증된 모듈식 상태 보유 베이지안 샘플러까지
AI4BayesCode: From Natural Language Descriptions to Validated Modular Stateful Bayesian Samplers
한국어 초록
코딩과 계산은 마르코프 연쇄 몬테카를로(MCMC) 워크플로의 주요 병목으로 남아 있으며, 특히 최신 샘플링 알고리즘이 점점 복잡해지고 기존 확률적 프로그래밍 시스템은 모델 지원, 확장성, 조합성 면에서 한계가 있어 더욱 그러하다. 본 논문은 자연어로 된 베이지안 모델 설명을 실행 가능하고 검증된 MCMC 샘플러로 변환하는 확장 가능한 LLM 기반 시스템인 AI4BayesCode를 소개한다. 신뢰성을 높이기 위해 AI4BayesCode는 모델을 모듈식 샘플링 블록으로 분해하고 각 블록을 내장 샘플링 구성 요소에 매핑하는 모듈식 설계를 채택하여 복잡한 샘플링 알고리즘을 처음부터 구현할 필요를 줄인다. 신뢰성은 모델 명세에 대한 생성 전 검증과 생성된 샘플러 코드에 대한 생성 후 검증을 통해 한층 더 향상된다. 또한 AI4BayesCode는 MCMC를 위한 새로운 재귀적 상태 보유 코딩 패러다임을 도입하여, 서로 다른 기여자가 개발했을 수도 있는 모듈식 샘플링 구성 요소를 더 큰 MCMC 절차 안에서 일관되게 조합할 수 있게 한다. AI4BayesCode의 샘플러 생성 성능을 평가하기 위해 벤치마크 모음을 개발하였다. 실험 결과 AI4BayesCode는 자연어 설명만으로 광범위한 베이지안 모델을 구현할 수 있음을 보여 준다. 개방형 시스템으로서, 그 능력은 기반 AI 에이전트의 개선과 새로운 내장 블록의 추가에 따라 계속 확장될 수 있다. 소프트웨어는 https://ai4bayescode.com/ 에서 이용할 수 있다.
원문 초록
Coding and computation remain major bottlenecks in Markov chain Monte Carlo (MCMC) workflows, especially as modern sampling algorithms have become increasingly complex and existing probabilistic programming systems remain limited in model support, extensibility, and composability. We introduce AI4BayesCode, an extensible LLM-driven system that translates natural-language Bayesian model descriptions into runnable, validated MCMC samplers. To improve reliability, AI4BayesCode adopts a modular design that decomposes models into modular sampling blocks and maps each block to a built-in sampling component, reducing the need to implement complex sampling algorithms from scratch. Reliability is further improved through pre-generation validation of model specifications and post-generation validation of generated sampler code. AI4BayesCode also introduces a novel recursively stateful coding paradigm for MCMC, allowing modular sampling components, potentially developed by different contributors, to be composed coherently within larger MCMC procedures. We develop a benchmark suite to evaluate AI4BayesCode for sampler-generation. Experiments show that AI4BayesCode can implement a wide range of Bayesian models from natural-language descriptions alone. As an open-ended system, its capability can continue to expand with improvements in the underlying AI agent and the addition of new built-in blocks. The software is available at https://ai4bayescode.com/.
제출 이력
확인된 버전만 표시합니다. 전체 제출 이력은 arXiv 원문에서 확인하세요.
- arXiv:2605.18476v3제출 시각 미확인
함께 살펴볼 논문
공통 태그를 근거로 연결했습니다. 실제 인용 관계나 논문의 우수성을 뜻하지 않습니다.
공통 태그로 연결된 공개 논문이 아직 없습니다.
토론
이 논문과 연결된 포럼 글이 아직 없습니다.