TL;DR
IndustryCode is a new multi-domain, multi-lingual benchmark designed to evaluate Large Language Models (LLMs) on real-world industrial code generation across fields like aerospace, finance, and automation. By testing models on a hierarchical structure of 125 complex main problems broken down into 579 sub-problems, the benchmark reveals that even top-tier models like Claude 4.5 Opus struggle significantly to synthesize modular code into complete, production-grade systems.
What Problem Does This Paper Address?
While LLMs excel at general software development benchmarks (like HumanEval or SWE-bench), these standard evaluations typically focus on consumer-level web applications or standalone Python scripts. They fail to capture the rigorous demands of vertical industrial sectors—such as aerospace engineering, industrial automation, and quantitative finance.
Industrial coding introduces unique challenges:
- Domain Specificity: Code must adhere to strict physical constraints (e.g., orbital mechanics) and specialized business logic.
- Linguistic Diversity: Heavy reliance on specialized, low-resource languages like MATLAB for scientific computing or Stata for econometric analysis.
- Task Complexity: Real-world engineering requires decomposing high-level requirements into interconnected, modular sub-tasks rather than writing isolated code snippets.
To bridge this gap, the authors introduce IndustryCode to evaluate cross-lingual generalization and system-level engineering capabilities in authentic industrial contexts.
Methods
The authors constructed IndustryCode using a rigorous human-AI collaborative pipeline:
- Authentic Sourcing & Decontamination: Raw data was collected from proprietary, closed-source production codebases used by industry professionals. To prevent data contamination, the problems were manually reconstructed and adversarially revised.
- Difficulty Enhancement: The authors intentionally injected complexity across four dimensions: mathematical rigor (e.g., non-linear optimization), algorithmic density, engineering complexity (inter-module coupling and exception handling), and strict architectural design patterns.
- Hierarchical Decomposition: Complex engineering projects ("Main Problems") are factorized into smaller, functionally independent modules ("Sub-problems") to mimic real-world workflows.
- Dual-Component Evaluation: The evaluation framework combines Execution-based Numerical Validation (verifying precise I/O matching at the computational level) and an LLM-based Semantic Evaluation (LLM-Judge) to check for structural integrity and adherence to industry coding standards.
Datasets
The paper introduces the IndustryCode dataset, which consists of:
- 125 Main Problems broken down into 579 Sub-problems.
- It spans multiple programming languages: Python, C++, MATLAB, and Stata.
- The data is split into a Development Set (19 main problems / 80 sub-problems) and a Test Set (106 main problems / 499 sub-problems).
Key Insights and Ideas
- The Execution Gap: Models consistently perform significantly better on atomic sub-problems than on main problems. This reveals a major bottleneck in multi-step planning and long-term context maintenance; as errors accumulate sequentially across sub-modules, the overall system fails.
- The Data Scarcity Bottleneck: There is a stark performance divide based on language popularity. Models achieve high accuracy in Python and C++ due to massive open-source pre-training corpora (e.g., GitHub), but perform poorly in proprietary, closed-circle languages like MATLAB and Stata.
- The Cost of "Thinking Mode": Activating explicit reasoning/Chain-of-Thought (CoT) modes presents a distinct Pareto trade-off. While it nearly eliminates logical reasoning failures, it causes a massive surge in syntax errors and context confusion. The prolonged reasoning process frequently causes models to over-engineer solutions, leading to formatting violations and hallucinated variables.
Key Results
The authors evaluated a wide range of proprietary flagships and open-weights models:
- Top Performer: Claude 4.5 Opus achieved the highest overall accuracy, scoring 68.1% on sub-problems and 42.5% on main problems.
- Open-Weights Competitiveness: Open-source models showed remarkable strength in specific domains. For instance, Qwen3-Max outperformed top proprietary models in C++ sub-problems and achieved the highest individual score in Information Technology (86.5%) and Semiconductors (60.0%), proving the efficiency of Mixture-of-Experts (MoE) architectures for targeted routing.
- Reasoning Mode Impact: For models like GLM-4.7 and Doubao-seed-1.8, enabling thinking mode improved main problem accuracy by an average of 7.65%, though it introduced complexity-induced fragility.
Limitations and Future Work
The authors highlight several persistent limitations in current LLM architectures:
- Sequential Token Generation vs. Concurrent Logic: Models trained on sequential software languages struggle with the concurrent nature of Hardware Description Languages (HDLs) like Verilog, frequently misapplying blocking assignments.
- KV Cache Decay: As sequence lengths grow during complex tasks, Key-Value cache fidelity diminishes, causing models to lose track of global symbol tables and violate rules like the One Definition Rule (ODR) by redundantly redefining structures.
Future work points toward developing specialized architectures capable of maintaining global state consistency over long horizons and integrating better domain-specific corpora during pre-training.
Summary updated