arXiv AI By Mohanned Ahmed

Guided Generation of Linux Kernel Semantic Patches with Small Local Language Models

Read the original on arXiv AI →

The paper investigates whether small open language models can generate Coccinelle semantic patches for Linux kernel API changes. By decomposing training examples into change variants and guiding the model with feedback, a local model (Qwen2.5-Coder 7B) achieves 35.3% conversion success on a test set of 122 driver conversions, outperforming direct prompting and other models. The framework includes a compile critic that filters non‑buildable rules, ensuring higher precision of the generated patches.

Machine-generated by The Flow from the publisher's headline and feed description — not written or checked by a human. The full article lives at arXiv AI.

arXiv AI
Sep 12

SemVerBench: Benchmarking LLM Comprehension of Version-Constraint Resolution Semantics

SemVerBench is a benchmark that evaluates how well large language models (LLMs) understand and apply version-constraint resolution semantics, such as determining whether a version satisfies constraints like ^1.2.3 or >=2.0. The study finds that many models struggle with certain corner cases, with GPT‑5.1 performing poorly while Claude and Opus perform much better. The authors suggest that the failures stem from an activation/application gap rather than a lack of knowledge, and recommend that coding agents delegate version resolution to a dedicated resolver tool.

By Qibai Chen, Zeming Liu
arXiv AI
5d ago

BugGen 2.0: Rethinking the Roles of LLMs for Scalable RTL Bug Synthesis

BugGen 2.0 redefines how large language models (LLMs) are used for generating RTL bug datasets by delegating structural analysis, target selection, and validation to deterministic algorithms, while the LLM focuses on localized semantic rewriting. Across multiple IP blocks and LLMs, BugGen 2.0 achieves all requested compilable bug scenarios with a high coverage of mutation types, reduces token usage by 6.8×–15.4× compared to BugGen 1.0, and cuts simulation effort by skipping large portions of variant simulations. The approach yields a high acceptance rate of generated bugs with minimal estimation error, demonstrating lower inference and simulation costs while maintaining consistency across models and designs.

By Minh Luu, Michael Quinn, Aakash Tyagi, David Houngninou, Jiang Hu
arXiv Machine Learning
Oct 16

Causal Syntax Circuits in CodeLMs: Budget and Probe Decide What Looks Localised

The paper investigates whether the tendency of code language models to default to Python when no language is specified is driven by a small, identifiable set of internal components. Using a comprehensive pipeline—including ablation, activation patching, greedy circuit extraction, and significance testing—across 55 model-language configurations, the authors find that this preference is large, grows with model size, and persists after instruction tuning. They also show that the apparent localization of this behavior depends heavily on analysis choices such as component budget and probe design, and that interventions can sometimes alter the model’s output.

By Harsh Kumar, Tanmay Shailesh Joshi, Rahul Maity, Anusa Saha
arXiv Computation and Language
Oct 1

QuantCode Model: Specializing Language Models for Executable Algorithmic Trading Code

The paper introduces the QuantCode Model, a specialized language model for generating executable algorithmic trading code. It combines continued pretraining on trading framework code with supervised fine‑tuning on validated request‑to‑code pairs, achieving significant gains on the QuantCode‑Bench benchmark and improving both single‑turn and multi‑turn agentic success rates. The study also highlights the importance of retaining parsing and tool‑calling capabilities during domain specialization.

By Alexey Chernysh, Orkhan Ekhtibarov, Dmitry Zmitrovich