InCoder-32B-Thinking: Industrial Code World Model for Thinking

Jian Yang, Wei Zhang, Jiajun Wu, Junhang Cheng, Tuney Zheng, Fanglin Xu, Weicheng Gu, Lin Jing, Yaxin Du, Joseph Li, Yizhi Li, Yan Xing, Chuan Hao, Ran Tao, Ruihao Gong, Aishan Liu, Zhoujun Li, Mingjie Tang, Chenghua Lin, Siheng Chen, Wayne Xin Zhao, Xianglong Liu, Ming Zhou, Bryan Dai, Weifeng LvarXiv 2026

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:

  1. Lack of expert data: Web-scale text corpora rarely contain the internal reasoning traces of how engineers diagnose compilation errors or hardware exceptions.
  2. 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:

  1. 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.
  2. 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.

Figure 4. Overview of the data engine pipeline. Left: task seeds and environment bundles are passed through an elicitation, execution, feedback loop against real backends, producing multi-turn trajectories Dreal. Right: Dreal trains an ICWM that simulates the real backends during large-scale synthesis; periodic audits keep the world model calibrated across iterations.

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.
Figure 3. Comparison of CUDA kernel implementations for Hinge Loss. Through reasoning, InCoder-32B-Thinking identifies the shape mismatch between the 2D predictions and 1D targets tensors, correctly mapping flat indices to row indices for proper broadcasting. The non-thinking model indexes both tensors with the same flat index, causing out-of-bounds error.

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.
Figure 2. The performance of InCoder-32B-Thinking on code benchmarks.

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

BibTeX
@misc{yang2026incoder,
  author = {Jian Yang and Wei Zhang and Jiajun Wu and Junhang Cheng and Tuney Zheng and Fanglin Xu and Weicheng Gu and Lin Jing and Yaxin Du and Joseph Li and Yizhi Li and Yan Xing and Chuan Hao and Ran Tao and Ruihao Gong and Aishan Liu and Zhoujun Li and Mingjie Tang and Chenghua Lin and Siheng Chen and Wayne Xin Zhao and Xianglong Liu and Ming Zhou and Bryan Dai and Weifeng Lv},
  title = {{InCoder-32B-Thinking: Industrial Code World Model for Thinking}},
  year = {2026},
  eprint = {2604.03144},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2604.03144},
}
Figure