Monday 30 November 2026
Updated hourlyThe SI news that matters
Research

Code as Explanations: Executable and Verifiable LLM Explanations

arXiv cs.LG

Researchers propose code explanations: programs intended to reproduce a language model’s outputs across multiple inputs, with execution enabling automatic checks. In tests across three open-source models and eight tasks, the programs were shorter than chain-of-thought explanations and performed unevenly, with lower consistency on linguistically complex tasks.

AI-generated summary based on the headline and feed excerpt.

arXiv cs.LG reports a method for explaining language-model behavior with programs that aim to reproduce the model’s outputs across a dataset. The researchers define a consistency metric based on the share of inputs for which a program matches those outputs, using it to assess and select candidate explanations.

Across three open-source code-capable models and eight tasks, code explanations were 6 to 100 times shorter than chain-of-thought explanations and aligned better with model behavior in 9 of 24 settings. Performance declined on tasks with more complex linguistic components; there, programs matched outputs no more often than an uninformative baseline and often used longer hard-coded patterns. Experiments with Claude Opus 5.5 found that consistency feedback and code execution improved explanation consistency, though complex tasks remained more difficult. Why it matters: Executable explanations offer a way to test whether an account of model behavior holds across multiple inputs.

Written by SINN with AI assistance from arXiv cs.LG's reporting.

Originally reported by arXiv cs.LG

Read the full story at arXiv cs.LG

Related stories

LLM-Based Threat Detection and Prevention Framework for IoT Ecosystems

A proposed SI-based framework combines IoT network anomaly detection with adaptive threat-response recommendations. In a Docker-based edge-cloud test, BERT Small recorded 99.75% on accuracy, F1-score, precision, and recall, while the prevention component achieved 98.3% accuracy in selecting mitigation actions.

arXiv cs.LG

MambaLIFT: Reference-Based Mechanism-Aware Attribution for VMamba

MambaLIFT is a reference-based attribution framework for VMamba that breaks down class-logit differences by image position, model block, scan direction and computational mechanism. In ImageNet-1K tests, it outperformed the evaluated methods under mean-colour pixel flipping, while results under blurred replacement were comparable to MambaLRP.

arXiv cs.AI

SiliconGym: A Versatile Reinforcement Learning Environment for Agentic EDA

Researchers present SiliconGym, a reinforcement learning environment for hardware design and verification that supports multiple tasks, toolchains, and scales of work. They report faster batch processing than native ChipSeek and evaluate how results from open-source tools transfer to commercial simulation and synthesis.

arXiv cs.AI