TL;DR
InCoder-32B-Thinking introduces an open-weight 32-billion-parameter coding model that brings extended chain-of-thought reasoning to complex industrial domains like chip design, GPU optimization, and 3D modeling. By combining an Error-driven Chain-of-Thought (ECoT) framework with a learned Industrial Code World Model (ICWM), the system successfully models the iterative debugging behavior of expert engineers to achieve state-of-the-art results.
What Problem Does This Paper Address?
While large language models (LLMs) excel at writing standard Python or JavaScript code, they frequently stumble when applied to industrial engineering tasks (e.g., writing Verilog for hardware design or Triton/CUDA for GPU optimization). These specialized domains require strict adherence to hardware constraints, timing semantics, and physical limitations.
The core challenge is twofold:
- Lack of expert data: Web-scale text corpora rarely contain the internal reasoning traces of how engineers diagnose compilation errors or hardware exceptions.
- Expensive toolchains: Relying on real hardware simulators and compilers to provide feedback during synthetic data generation is computationally slow and difficult to scale.
Methods
The authors develop a novel data engine pipeline to train InCoder-32B-Thinking using two synergistic components:
- Error-driven Chain-of-Thought (ECoT) Synthesis: Instead of expecting the model to generate perfect code on the first try, ECoT mimics human engineering. It structures training data as multi-turn dialogues (up to 4 correction rounds) where the model receives environmental error feedback, explicitly reasons about the failure, and iteratively refines its implementation.
- Industrial Code World Model (ICWM): To scale up data generation without constantly invoking slow real-world backends, the authors train a language model to act as a proxy environment. The ICWM takes the task description and candidate code as input and predicts execution outcomes, diagnostic logs, and compiler warnings with high fidelity.
Every synthesized trajectory is verified against either real execution or the world model proxy, accumulating 540 million tokens of grounded reasoning traces.
Datasets
The model is evaluated across an extensive suite of general and industrial benchmarks:
- General Coding: 14 benchmarks including LiveCodeBench (v5/v6), EvalPlus (HumanEval, MBPP), BigCodeBench, FullStackBench, CruxEval, and SWE-bench Verified.
- Industrial Coding: 9 benchmarks spanning chip design (RealBench, ArchXBench, and two newly introduced benchmarks: VeriScope for Verilog generation and VeriRepair for error diagnosis), GPU kernel optimization (KernelBench, TritonBench), low-level code optimization (SuperCoder and the newly contributed EmbedCGen for bare-metal embedded C), and 3D modeling (CAD-Coder).
Key Insights and Ideas
- Adaptive Thinking Depth: The model doesn't use a fixed reasoning budget. Its internal
<think>block length naturally scales based on task difficulty. GPU kernel optimization demands the deepest reasoning (a median of 19,000 characters) to diagnose complex hardware layouts, while agentic coding requires only 91 characters per step. - World Models as High-Fidelity Simulators: The ICWM achieves a mean outcome prediction accuracy of 96.7% across industrial domains. This proves that language models can effectively internalize the causal dynamics of complex hardware compilers and simulators.
- Reasoning Compensates for Scale: By allowing the model to deliberate and self-correct, the 32B parameter model can outperform dense models with an order of magnitude more parameters (such as Qwen3.5-397B) on reasoning-heavy tasks.
Key Results
- LiveCodeBench v5: InCoder-32B-Thinking achieved 81.3%, setting a top-tier result among open-source models.
- Industrial Performance: The model established dominant open-source benchmarks, scoring 84.0% on CAD-Coder (pass rate) and 38.0% on KernelBench L2.
- Surpassing Proprietary Models: On specialized benchmarks like CAD-Coder and SuperCoder, the model outperformed the leading closed-source reference model, Claude-Sonnet-4.6.
Limitations and Future Work
- Geometric Blind Spots: The world model exhibits its widest fidelity gap in 3D modeling (95.9% accuracy / 93.1% trajectory agreement). It struggles to predict floating-point tolerances and implicit Boolean operations purely from code text, occasionally generating false positives that require real-backend spot checks to fix.
- Diminishing Returns on Extreme Optimization: While scaling up thinking data consistently improved most metrics, performance on the hardest optimization problems (KernelBench L3) remained flat. The authors note that solving extreme hardware constraints requires specialized algorithmic strategies rather than simply scaling data volume.
Summary updated