arXiv Machine Learning

Compile Once, Differentiate Everywhere: A Differentiable Meta-Circular Interpreter

arXiv:2606. 09930v1 Announce Type: cross Abstract: The boundary between program execution and gradient-based optimization has long limited the use of code itself as a learnable scientific model.

arXiv Computation and Language
Oct 23

SCOPE: Compiling Natural-Language Policies into Neurosymbolic Predicate Programs

SCOPE compiles natural‑language policies into neurosymbolic predicate programs that combine small neural models, deterministic extractors, and logical composition. The system is jointly optimized with adversarially generated counterexamples, achieving higher accuracy than prompt‑optimization, task‑decomposition, and workflow‑generation baselines on real‑world policy benchmarks. Programs trained with the weakest executor transfer to other models, enabling deployment on inexpensive models with stable, interpretable predictions.

By Arnon Mazza, Elad Levi
arXiv Machine Learning
Aug 3

Overcoming the Weakest-Link Effect in LLM-Driven Program Optimization via Heterogeneous Edit Recombination

arXiv:2607. 28947v1 Announce Type: new Abstract: Large language models (LLMs) are increasingly used to solve complex problems by searching over program space, offering a general paradigm for scientific problems that can be naturally represented and solved as programs.

By Jingwen Fu, Zhen Liu, Yuhan Liu, He Zhang, Nanning Zheng
arXiv AI
Aug 5

IR2Solve: Structured Intermediate Representations for Cost-Efficient Optimization Autoformulation

arXiv:2608. 02641v1 Announce Type: cross Abstract: Large language models (LLMs) can translate natural-language optimization problems into solver-ready formulations, but direct code generation is brittle: schema, indexing, and semantic errors can cause compilation failures, infeasible models, or incorrect objectives, while iterative repair, search, and multi-agent workflows increase inference cost.

By Penglin Zhu, Linhai Zhang, Jungang Xu, Xinchi Wei, Xiuqi Wu
arXiv Machine Learning
Oct 16

SEVerA: Verified Synthesis of Self-Evolving Agents

SEVerA is a three‑stage framework that synthesizes self‑evolving agents with formal safety guarantees. It introduces Formally Guarded Generative Models (FGGM) that wrap parametric models in verified rejection samplers, ensuring every output satisfies a first‑order logic contract. The framework searches for candidate programs, verifies them against hard constraints, and then fine‑tunes them to improve task utility while preserving correctness, achieving zero constraint violations on tasks such as Dafny verification, symbolic math synthesis, and policy‑compliant agentic tool use.

By Debangshu Banerjee, Changming Xu, Eugene Ie, Ming Zhang, Daiyi Peng, Chu-Cheng Lin, Tarun Suresh, Gagandeep Singh
arXiv Machine Learning
Jul 10

Selective Left-Shift: Turning Test-Time Compute and Difficulty-based Curation into Training Data for Low-Resource Code Generation

arXiv:2607. 07748v1 Announce Type: new Abstract: Large Language Models achieve strong code generation for high resource languages like Python and Java but suffer sharp performance drops on Low-Resource Programming Languages~(LRPLs) such as Julia.

By Didula Samaraweera, Anjana Supun, Srinath Perera
arXiv AI
Oct 28

Re4: Scientific Computing Agent with Rewriting, Resolution, Review and Revision

The paper introduces Re4, a scientific computing agent that employs a four-step logical chain—rewriting, resolution, review, and revision—using three large language models: a Consultant, a Programmer, and a Reviewer. The Consultant rewrites problem descriptions by linking them to domain knowledge, the Programmer generates and runs code, and the Reviewer iteratively refines the code through self-debugging. Experiments on PDEs, fluid dynamics, ill‑conditioned linear systems, and data‑driven physics show that this collaborative framework markedly improves bug‑free code generation and execution success rates across several LLMs.

By Ao Cheng, Lei Zhang, Guowei He
arXiv AI
Oct 28

From Legacy Fortran to Portable Kokkos: An Autonomous Agentic AI Workflow

The paper introduces an autonomous AI workflow that uses specialized large language model agents to translate legacy Fortran code into performance‑portable Kokkos C++ programs. The pipeline handles translation, validation, compilation, execution, testing, debugging, and optimization, and has been shown to modernize benchmark kernels across heterogeneous GPU‑accelerated hardware. Experiments demonstrate that paid OpenAI models can produce optimized Kokkos code for only a few dollars, outperforming Fortran baselines, while open‑source models often fail to generate functional code.

By Sparsh Gupta, Kamalavasan Kamalakkannan, Maxim Moraru, Galen Shipman, Patrick Diehl