Large language models

Model releases, architecture work and prompting research on large language models — from frontier-lab announcements to the arXiv papers behind them.

34,807 stories · RSS feed

Simon Willison
11h ago

GLM-5.4: Toward Generalized Coding with Our First Loop Transformer

GLM‑5.4, released by Chinese AI lab Z.ai, is their first model to employ a looped transformer architecture, where a group of weight‑shared layers iterates multiple times per token to deepen the network without adding parameters. The model is accessible via Z.ai’s Coding Plan API and has been tested with the llm‑glm plugin, though it is not yet available as open weights. Comparisons with earlier GLM versions and other models show that GLM‑5.4’s outputs (pelicans) are similar in quality to those from OpenAI and Anthropic models, unlike the more divergent earlier GLM releases.

Simon Willison
13h ago

Ladybird's first alpha release

Ladybird’s first alpha release is now available for macOS and Linux, allowing users to install the browser without compiling it. The browser implements most core web technologies—HTML parsing, CSS, layout, JavaScript, and WebAssembly—while relying on external libraries like HarfBuzz, Skia, ffmpeg, and SQLite. Early tests show a lightweight, fast UI with good site compatibility and efficient process isolation for tabs.

Towards Data Science
21h ago

The Birthday Paradox Shows Small LLMs Pick From About 6 of 40 Words

The article explains how to use a simple Python script to test a chatbot by asking the same question 300 times and counting repeated responses. By applying the Birthday Paradox, it estimates that small language models tend to choose from roughly six out of forty possible words. The method works with any chatbot that accepts typed input.

By Utkarsh Mangal
arXiv AI
1d ago

ChatAtom: A Multi-Agent LLM System for Molecular Dynamics Simulation and Visualization

ChatAtom is a multi‑agent large language model system that converts natural‑language requests into a full molecular dynamics workflow, eliminating the need for users to write input scripts or analysis code. Each agent handles a specific task—planning, simulation, visualization, job dispatch, and analysis—using generator‑reviewer pairs to ensure reliable scripts. The system runs locally via a browser interface that streams thermodynamic data and rendered frames, and it can be extended with new skills for autonomous hypothesis generation and testing.

By Trupti Mohanty, Ming Du, Mitchell A. Wood, Brad L. Boyce, Remi Dingreville, Mathew J. Cherukara
arXiv AI
1d ago

Budget-Aware Predict-and-Verify Theorem Proving with Heterogeneous LLM Solvers

BudgetPV is a budget‑aware predict‑and‑verify system that allocates computation across unresolved subgoals and heterogeneous large language model (LLM) solvers. It uses a cross‑solver predictor to guide solver selection for each subgoal and revises the allocation as verification feedback becomes available, with different training objectives for early and later stages. Experiments on Lean Workbook, miniF2F, ProofNet, and PutnamBench show that BudgetPV requires less LLM generation computation than uniform allocation while solving the same number of subgoals, and it benefits further as medium‑ and low‑cost solvers are added.

By Wei Jiang, Ziran Liu, Wei Wang
arXiv AI
1d ago

AstronautBench: Measuring Agent Self-Improvement Across Episodes Through Knowledge, Evidence, and Progress

AstronautBench is a new benchmark that evaluates LLM agents’ self‑improvement across episodes by measuring three aspects of the same run: the agent’s knowledge, the evidence supporting that knowledge, and the agent’s progress in the game Outer Wilds. Each episode ends after a 22‑minute loop, resetting the world but preserving the agent’s knowledge, and the benchmark records reached locations, revealed rumor facts, answers to 164 world‑QA questions, and whether each answer is backed by the agent’s own recorded frames and positions. Baseline experiments with GPT‑6.1 Sol and Gemini 4 Argon planners show that improvements in correct answers, evidence support, and world progress do not align, indicating that any single metric alone gives an incomplete picture of agent improvement.

By Congyuan Yu, Runping Tian
arXiv AI
1d ago

MixFold: Sub-4-Bit Mixed-Precision LLM Inference via Output-Channel Grouping on Mobile NPUs

MixFold is a method for sub‑4‑bit mixed‑precision inference of large language models on mobile NPUs. It runs 3‑bit and perfectly symmetric 2‑bit weights using native integer operations without expanding them to wider types, and assigns datatypes to output‑channel groups that align with matrix‑unit tiles, allowing finer granularity than layer‑level assignment. In tests on the Qualcomm Hexagon NPU of a Snapdragon 8 Elite Gen 5, MixFold matches or exceeds llama.cpp’s sub‑4‑bit accuracy while decoding 1.16–1.41× faster and producing 1.5–4.3× more tokens per joule.

By Vinnam Kim, Seong Hoon Seo, Junhan Kim, Jaeseong You, An Chen
arXiv AI
1d ago

Keep the Process, Change the Supplier: Runtime Governance for Tool-Using AI Agents

The paper introduces the Open Process Control Plane (OPCP), a runtime governance framework that separates AI agent proposals from business authority, context disclosure, and supplier selection. OPCP mediates capability calls, records uncertain outcomes when suppliers fail to return acceptable replies, and ensures fault recovery without cross‑supplier duplication. Extensive evaluation with scripted requests and synthetic suppliers demonstrates that OPCP and a conservative composition agree on all fault outcomes, recover after refusals, and prevent duplicate effects, while also measuring latency and mutation detection across various configurations.

By Deepak Waghmare, Shaad Sufi
arXiv AI
1d ago

Scalable Evaluation of Medical AI using Evidence-based Practice Recommendations

The paper presents an automated pipeline that extracts structured clinical criteria and decision trees from practice recommendations to create over 3,200 evaluation scenarios covering diagnosis, investigations, treatment, and complications. It applies this pipeline to 436 BMJ Best Practice monographs, generating region‑specific and temporally fresh scenario suites, and introduces a clinician‑calibrated autorater scoring AI responses on a 4‑point rubric. Experiments with Gemini models show that scaling, web search, and multi‑sample synthesis improve adherence, and that AI assistance raises clinician adherence from 50.5% to 70.0% in a primary‑care study.

By Teya Bergamaschi, Bijal Rajput, Akshay Goel, Matthew Thompson, Jacqueline Shreibati, Dave Steiner, Ashley Carrick, Mahvish Nagda, Dale R. Webster, Avinatan Hassidim, Katherine Chou, Yossi Matias, Po-Hsuan Cameron Chen, Christina Chen, Mike Schaekermann, Yun Liu, Anil Palepu
arXiv AI
1d ago

Actions Speak Louder than Words: Stateful Privacy Sniffing of LLM Agents via Behavioral Covert Channels in Web Interactions

The paper introduces SNOOP, a framework that exploits the web‑interaction patterns of large language model agents to reconstruct users’ private queries and profiles through a behavioral covert channel. By building a stateful hierarchical hypothesis tree, SNOOP achieves high reconstruction accuracy (F1 scores of 0.89 for queries and 0.80 for profiles) across multiple agents and LLM backbones, even when standard defenses are applied. The authors also propose a countermeasure, Selection‑Obfuscated Retrieval (SOR), which limits the agent’s resource selection to a local snapshot and significantly reduces SNOOP’s effectiveness.

By Ruichao Liang, Wenzhong Deng, Jing Chen, Yuqing Li, Kaixuan Li, Cong Wu, Yang Liu
arXiv AI
1d ago

Dynamic Token Merging for Efficient Vision-Language Models

Dynamic Token Merging (DTM) is a framework that learns to delete visual tokens during inference, reducing computational cost while maintaining accuracy. The authors extend DTM from byte‑level text encoders to vision modalities and decoder‑only models, creating V‑MrT5Gemma2 and V‑MrGemma3. Across ten benchmarks, DTM outperforms attention‑based and random deletion, especially on document, chart, and scene‑text tasks, achieving up to 80% token deletion with only 90‑96% of the original performance.

By Chris Gu, Marco Andono Sie, Nathan Zhou, Christopher Potts, Julie Kallini
arXiv AI
1d ago

Decision Models Are General-Purpose Process Reward Models

Decision Models Are General-Purpose Process Reward Models (DM-PRM) transforms a general-purpose decision model—one that answers yes/no questions with probabilities—into a zero‑shot process reward model for reinforcement learning. By asking a single question per step and standardising the answers, DM‑PRM provides step‑level credit without step labels, fine‑tuning, a learned critic, or costly LLM judges, and can be plugged into any policy‑gradient method. In experiments, DM‑PRM improves performance on ALFWorld and WebShop, surpassing state‑of‑the‑art methods such as GiGPO, HGPO, and GraphGPO, and enables agents to locate useful steps in failed rollouts and reduce idle actions.

By Jiajun Fan, Qinglong Zheng, Ziwen Wang, Bangji Yang, Neil He, Ruihan Guo, Chaoran Cheng, Ge Liu
arXiv AI
1d ago

MAPES: Multi-Value Alignment Pipeline via Expert Specialization

MAPES introduces a multi-value alignment paradigm that treats conflict resolution as a core component of every pipeline stage. The method decomposes supervision into value-specific experts trained in isolated parameter subspaces, then recomposes them through preference-aware value merging and a lightweight harmonization stage that aligns the merged model with the expert ensemble. On five preference alignment benchmarks, MAPES outperforms strong direct preference optimization variants and multi-objective baselines, while maintaining performance on GSM8K and GPQA.

By SungHo Kim, SangKeun Lee
arXiv AI
1d ago

EDAGoat: An EDA-Aware Agent for Project-Level GPU Optimization

EDAGoat is the first EDA‑aware agent designed to optimize GPU code for electronic design automation projects. It operates in two modes: Optimization Enhancement (OE), which applies four cross‑project GPU optimization patterns, and Mandatory Validation (MV), which ensures edits meet EDA constraints. Benchmarks on five GPU EDA projects show that EDAGoat consistently outperforms generic prompting, achieving higher speedups while preserving correctness and design quality.

By Chengxi Li, Liang Xiao, Yutao Wang, Wenhao Lin, Xinzhuang Xiong, Han Zhao, Evangeline Young
arXiv AI
1d ago

Learning Adaptive Defense Strategies: Fine-Tuned LLMs for Network Security Games under Network Mobility

The paper explores whether fine‑tuned large language models (LLMs) can replace traditional solvers for computing online equilibria in honeypot allocation games affected by network mobility. A dataset of 270 security games on 8–25 node networks was created, and the study evaluated zero‑shot and LoRA‑fine‑tuned open‑weight models, as well as proprietary baselines, across 1,524 mobility events. Fine‑tuned models consistently reduced exploitability and improved equilibrium support accuracy, outperforming zero‑shot and proprietary models, while revealing that output validity limits further gains.

By Md Abu Sayed, Asif Rahman, Ahmed Ryen, Ahmed Hemida, Charles Kamhoua, Christopher Kiekintveld
arXiv AI
1d ago

Belief-State Management Meets Rubric Rewards for Agentic Forecasting

The paper introduces a new forecasting framework that tackles two key shortcomings of large language model agents: the accumulation of reasoning in a single context and the noisy, outcome‑based reward signals. It proposes Proactive Belief‑State Management (PBM) to compress long contexts into compact belief states and a five‑dimensional, outcome‑blind rubric called SEIPH to provide process‑quality rewards. Using these innovations, a 35B model trained with PPO and GRPO—named DeepForecaster‑PPO and DeepForecaster‑GRPO—outperforms larger frontier agents on ForecastBench, Polymarket‑Sim, and FutureX metrics, while also improving the base model without training and delivering more accurate high‑confidence predictions.

By Jingyi Chai, Yun Liao, Hao Lu, Kemeng Zhang, Bingyang Zheng, Yujie Ge, Xiangrui Liu, Linfeng Zhang, Siheng Chen
arXiv AI
1d ago

No Perfect Guardrail & No Perfect Guard: On the Decidability of Output Policies for Large Language Models

The paper argues that guardrails for large language models cannot guarantee perfect safety because computational limits prevent the creation of a flawless output policy. It shows that a computable guard can block all forbidden outputs and allow all permitted ones only when the policy is decidable; otherwise, any guard will misclassify infinitely many strings. The authors apply this to arithmetic truth, program behavior, and harmful instructions, distinguishing guardrails from execution monitors and emphasizing that exact enforcement does not ensure policy adequacy.

By Ahmed Amer, Loren Kinczel, Darrell D. E. Long
arXiv AI
1d ago

GRACE: Controlled Evidence Interventions for Diagnosing and Improving Knowledge Integration in GraphRAG

GRACE is a benchmark that evaluates how GraphRAG, a system combining language model knowledge with graph evidence, handles different evidence conditions. It creates 4,028 questions with 20,140 question‑graph pairs by applying four controlled interventions—severing support paths, adding distractors, attaching hubs, and inserting counterfactual answers—to each evidence subgraph. The benchmark shows that question‑only routing cannot differentiate evidence states, while relevance guidance can help but may fail when support paths are severed, and introduces QCFSE‑SA, a model that improves accuracy on controlled and broken states.

By Minh Pham, Quang Nguyen, Phong Kieu, Cong Tran
arXiv AI
1d ago

AMARIS: Merging Generalist and Specialist LLMs via Adaptive Subspace Inheritance

AMARIS introduces a covariance‑driven method for merging generalist and specialist large language models by inheriting only selected activation subspaces, thereby reducing task‑specific interference. The approach formulates merging as a budgeted subspace inheritance problem, using ranked generalized eigendirections to build a low‑rank projection gate that concentrates transfer in high‑utility, low‑interference directions. Experiments on Qwen3‑based models across finance, instruction‑following, and multilingual SEA domains show that AMARIS achieves competitive Pareto points, retaining high specialist and core performance without additional training.

By Hwee Young Kang, Irwin De Tao Chin, Wen-Haw Chong, Hai Leong Chieu