arXiv AI

Towards a Deterministic Math Solver for Clinical Language Models

The paper explores a new approach to improve arithmetic reliability in clinical language models by having the model generate case‑specific Python code that a local executor runs deterministically, rather than performing arithmetic directly. Experiments on the MedCalc‑Bench Verified dataset show that this Program‑Solve interface yields modest gains for larger models (Qwen2.5‑32B) but not for smaller ones (Qwen2.5‑7B), and it does not replace the need for verified formulas or accurate variable extraction. The study highlights that adding an executor can help some open‑weight models but is not a universal solution.

arXiv AI
Oct 16

Tool-Augmented Large Language Models for Reliable Medical Calculation from Patient Notes

The paper introduces a tool‑augmented large language model framework that improves the reliability of medical calculations derived from free‑form patient notes. It separates clinical language understanding from rule execution by retrieving calculator specifications, generating executable tools, and using a constrained extractor to map notes to calculator inputs. On the MedCalc‑Bench dataset, the method achieves 86.73% final‑answer accuracy, outperforming one‑shot prompting and fine‑tuned baselines by 24.0 and 17.27 percentage points.

By Yang Zhong, Ling Luo, Xuanlyu Zhu, Yanhua Wang, Yuanyuan Sun, Jian Wang, Hongfei Lin
arXiv Computation and Language
Nov 6

Terminal-style Mathematical Modeling Bench: The First Agentic and Verifiable Benchmark for Mathematical Modeling

The paper introduces TB-MathModel, a benchmark that turns real-world mathematical modeling problems into agentic, verifiable, and terminal tasks. It uses 18 contest-style problems from CUMCM and MCM, providing full problem statements and attachments in a containerized terminal, and requires agents to output a single JSON artifact scored against the numeric core of the final question. The benchmark employs direction-aware, one-sided scoring and a two-layer feasibility verification system, including programmatic gates and Lean 4 obligations, to ensure only physically feasible solutions are rewarded.

By Xiaojun Wu, Cehao Yang, Xuhui Jiang, Chengjin Xu, Jia Li, Jian Guo
arXiv AI
Nov 5

Rules, Traces and Routing Statistics: Training and Calibration Data for Open Models on ARC-AGI-2

The paper reports on training and calibration experiments for three open models on the ARC‑AGI‑2 benchmark, using offline runs on four L4 GPUs for up to 12 hours. For the NVARC Qwen3‑4B grid model, a curated corpus of 12,000 executable rules and 95,993 tasks was built, and fine‑tuning on 1,920 real task records raised the semi‑private score from 28.96 to 33.06, with no synthetic‑task checkpoint outperforming the real‑task model. For the Qwen3.8‑27B reasoning model, fine‑tuning on 1,036 of its own reasoning traces and a specialized inference procedure increased the score from 26.81 to 44.03, while the Qwen3.8‑Flash‑Next mixture‑of‑experts model achieved a best score of 56.67 after expert pruning, routing statistics adaptation, and an FP8 indexer cache.

By Nguyen Minh Thang, Trinh Thi Phuong
arXiv Machine Learning
Jul 1

Calibration, Not Compilation: Detecting and Repairing Misspecified Probabilistic Programs Written by Language Models

arXiv:2606. 31630v1 Announce Type: new Abstract: Language models increasingly write probabilistic programs (in NumPyro, Stan, or Pyro), but a program that compiles, runs, and passes every unit test can still be \emph{statistically} wrong -- a Gaussian likelihood for heavy-tailed data, a Poisson for over-dispersed counts, an invalid prior support, or a pathological parameterization.

By Jian Xu, Delu Zeng, John Paisley, Qibin Zhao