SLAI T-Rex-V2: A Full-Stack Practice of Operations Research Optimization Agents on Ascend SuperPOD

SLAI T-Rex-V2 uses failure-mode-driven data synthesis and solver-in-the-loop agents to push OR modeling accuracy above 50% on Ascend SuperPOD.
SLAI T-Rex-V2 is an agent system for operations research modeling, based on DeepSeek-V4-Flash and running on Huawei Ascend SuperPOD. Its pipeline derives data synthesis from failure modes, verifies samples with solvers, and applies cold-start SFT plus multi-stage RL. On SLAI-OR-Bench, single-turn accuracy rose from 38.26% to 50.86% (Hard set: 26.88% to 35.89%); with a solver-in-the-loop agent framework, Hard-set accuracy reaches 40.86%, rising to 49.46% with general OR skills and 55.48% with benchmark-customized priors. Engineering work addresses Ascend MoE RL numerical drift and cuts rollout tokens by 82.5%.
SLAI T-Rex-V2: A Full-Stack Practice of Operations Research Optimization Agents on Ascend SuperPOD
Turning a vague natural-language business description into a precise mathematical model, then writing solver code that actually runs—this is the most labor-intensive step when deploying operations research (OR), and also the capability where large models are most easily overestimated. SLAI T-Rex-V2 is an OR modeling system built precisely for this step, based on DeepSeekAd-V4-Flash and powered by Huawei Ascend SuperPOD. What it delivers is not a single-point trick but a complete chain spanning data synthesis, post-training, RL infrastructure, and agent orchestration.

Data Synthesis Derived from Failure Modes
The design starting point of this system is quite pragmatic: first repeatedly sample the base model, get a clear picture of how it fails on OR tasks, and then construct data accordingly. The model's common failures cluster around missing modeling assumptions, incorrectly written constraints, and improper solver API calls—exactly the parts that pure manual annotation struggles to cover systematically.
Based on the failure modes, the team built a solver-verified data synthesis pipeline—a synthesized problem and its solution must actually run through the solver and produce correct results to qualify as a valid sample. This step separates "looks reasonable" from "mathematically correct," and is also the prerequisite for post-training to be effective.
Post-training is split into two stages: cold-start SFT plus multi-stage reinforcement learning. Cold start is responsible for correcting the model's output format and modeling habits, while multi-stage RL continues to apply pressure on correctness.
Solver-in-the-loop verification means feeding the synthesized mathematical modeling problems and solutions to a real optimization solver (such as Gurobi, CPLEX, GLPK, or the open-source HiGHS), checking whether the model can be parsed normally, whether the solve converges, and whether the objective value and constraints meet expectations. Only samples that pass this "machine acceptance" enter the training set. Compared with manually checking equation formulations, solver verification can catch subtle semantic errors—such as reversed constraint directions, missing variable domains, or omitted terms in the objective function—errors that often "look right" at the pure text level but render the model infeasible or unbounded. This mechanism raises data quality from "syntactically correct" to "semantically correct," and is a common approach for constructing high-quality training data in strongly verifiable domains like OR.
Cold-start SFT and multi-stage reinforcement learning are the typical two-stage path for post-training current large models. Cold-start SFT (supervised fine-tuning) uses a small number of high-quality demonstration samples to pull the model's outputs into the target distribution, solving the cold-start problem in the RL stage where "correct trajectories cannot be sampled"; multi-stage RL then builds on this with verifiable reward signals (here, whether the solver runs and whether the result is correct) to continue optimizing, usually applying pressure progressively across multiple stages by difficulty or reward granularity to avoid training collapse caused by overly sparse rewards at the outset. The key to combining the two is: SFT guarantees format and basic modeling habits, while RL is responsible for continuing to improve on objectives like correctness that are hard to imitate but automatically judgeable.
Single-Turn Accuracy: From 38.26% to 50.86%
On the team's self-built SLAI-OR-Bench, single-turn accuracy improved from 38.26% to 50.86%. This number is meaningful in horizontal comparison: 5.82 points higher than GPT-6.1-Sol and 6.59 points higher than Claude Opus 5.5. On the harder SLAI-OR-Bench-Hard, accuracy rose from 26.88% to 35.89%, slightly exceeding the single-sample frontier baseline.
It should be noted that the comparison here is against "single-sample" frontier models. The ceiling of single-turn generation itself is not high—OR modeling has little room for error, and one wrong constraint ruins the entire problem, which is the direct reason for taking the agent route discussed below.
Solver-in-the-Loop: The Agent Framework Pushes Hard-Set Accuracy to 40.86%
What really widens the gap is agent orchestration. Pairing the base model with a lightweight solver-in-the-loop framework raises SLAI-OR-Bench-Hard accuracy to 40.86%—significantly higher than the single-turn result.
Going further, if the model is equipped with reusable general OR skills, accuracy rises to 49.46%; adding benchmark-customized priors brings it to 55.48%. These three tiers are quite telling: the upper limit of model capability depends largely on whether it can call external solvers to verify its own intermediate results, and whether it has accumulated transferable modeling patterns. The benchmark-customized prior tier has the highest number but also the least generalizability; in real deployment, the first two tiers are more informative.
Making MoE Reinforcement Learning Run Stably on Ascend
Doing MoE reinforcement learning on Ascend presents engineering challenges no smaller than the algorithmic ones. Several pieces of work disclosed by the team all point to training stability and cost:
- Suppressing numerical drift: preventing numerical drift between training and inference from triggering RL collapse—one of the most insidious sources of failure in MoE RL training.
- Trajectory reuse: through calibrated trajectory reuse, rollout token generation was cut by 82.5%, directly lowering training cost.
- Native multi-token prediction: accelerating OR serving in low-concurrency scenarios, well suited to the sparse-request operations research scenarios common in real business.
- Agent RL scaling for NPU kernel optimization: applying agent reinforcement learning itself to operator optimization, forming a layer of self-reinforcement in the toolchain.
Taken together, this is an RL engineering solution for the domestic compute stack, not merely a model performance report.
Training-inference numerical drift is a typical stability issue when doing RL with MoE models. During RL training, the rollout (sampling) stage usually generates trajectories with an inference engine or a low-precision path, while parameter updates use the high-precision forward/backward of the training framework. The two are sensitive to numerical precision and operator implementations in MoE's expert routing, gating softmax, normalization, and other components; subtle differences accumulate over training steps, leading to policy probability distribution shift, KL explosion, or even training collapse. Common mitigations include unifying the numerical precision of key operators, clipping or renormalizing routing logits, and calibrating log-probs between training and inference. On Ascend NPUs, because the operator libraries differ from the CUDA ecosystem, such alignment work often requires additional kernel-level debugging.
Native multi-token prediction (MTP) means the model predicts multiple future tokens simultaneously in a single forward pass rather than autoregressively token by token. It can serve as an auxiliary training objective to improve representation quality, and can also be used at inference for speculative-decoding-style parallel generation to reduce latency. For operations research optimization services, requests are often sparse with low concurrency and insufficient GPU/NPU utilization; multi-token prediction can make fuller use of compute under low concurrency and shorten single-response time, which is exactly complementary to the optimization approach for high-concurrency batch scenarios.
A Few Judgments
The value of SLAI T-Rex-V2 lies mainly along two lines. One is methodology: using failure modes to drive data synthesis, using solvers for correctness verification, and using agents to raise the ceiling of single-turn generation—this path is transferable to other domains requiring "precise output" (such as code generation and formal verification). The other is the engineering stack: running MoE post-training and RL stably on Ascend SuperPOD may be more informative for compute-constrained teams than the model's own scores.
The attitude to maintain is that these results are built on the team's self-built benchmark, and the absolute accuracy on the Hard set remains in the 30%-50% range—still some distance from "reliable delivery." The gains from the agent framework depend on solver-in-the-loop, which also means inference cost and latency will rise accordingly. Full automation of OR modeling is still a work in progress.
One-line Summary
SLAI T-Rex-V2 uses failure-mode-driven data synthesis and solver-in-the-loop agents to push OR modeling accuracy above 50% on Ascend SuperPOD.
Paragraph Summary
SLAI T-Rex-V2 is an agent system for operations research optimization modeling, based on DeepSeek-V4-Flash and running on Huawei Ascend SuperPOD. Its methodology chain derives data synthesis from failure modes, uses solver verification to ensure samples are mathematically correct, and then applies cold-start SFT and multi-stage RL post-training. On the self-built SLAI-OR-Bench, single-turn accuracy rose from 38.26% to 50.86%, and the Hard set from 26.88% to 35.89%. With the solver-in-the-loop agent framework, Hard-set accuracy reaches 40.86%, rising to 49.46% with general OR skills and 55.48% with benchmark-customized priors. On the engineering side, it addresses numerical drift for Ascend MoE RL, cuts rollout tokens by 82.5% via trajectory reuse, and explores multi-token prediction and NPU kernel optimization.
Related articles

Jensen Huang Testifies Before Congress: Key Takeaways on Chip Export Controls
NVIDIA CEO Jensen Huang faces questioning from the U.S. House Foreign Affairs Committee on AI chip export controls, commercial interests, and national security.

Tencent WorkBuddy in Practice: Building an AI Automated Testing Workbench with SKILL Capabilities
Based on Bilibili creator Baili Yang's sharing, this article analyzes how Tencent WorkBuddy AI agent desktop workbench can be used for automated testing: the shift from AI-assisted to AI-led, the relationship among large models, agents, and SKILL capabilities, zero-configuration installation and permission control, and practical ideas for building a personal AI automated testing workbench.

Adding Authentication to Remix SaaS Apps: A Practical Guide to WorkOS AuthKit
Based on the official WorkOS AuthKit guide, this article covers the full approach to integrating authentication in Remix or React Router SaaS apps, including session management, protected routes, multi-tenant organizations, enterprise SSO, and SCIM sync, and analyzes its engineering value for SaaS teams.