Manuscript Offprint
arXiv:2609.07137Flow3D-OPD: Multi-Teacher On-Policy Distillation for 3D Geometry Generation with Flow-Matching Diffusion Transformer
Abstract
Recent image-to-3D generation models built on flow-matching diffusion Transformers (DiT) can produce high-fidelity meshes, yet their post-training strategy remains largely unexplored. There exist several critical bottlenecks in reinforcement learning: the inherent difficulty of defining comprehensive rewards for 3D geometric quality, and the gradient interference that arises when jointly optimizing heterogeneous objectives. Inspired by the practicability of on-policy distillation (OPD) in large language models and image generation, we propose Flow3D-OPD, a two-stage post-training framework that introduces multi-teacher distillation into 3D geometry generation. In the first stage, we utilize the semi-policy to enhance the foundational capability of the pretrained model and then design an agentic verifier for 3D geometric quality evaluation. Based on the verifier, we could cultivate domain-specialized teacher models via direct preference optimization (DPO). In the second stage, we consolidate heterogeneous expertise into a unified student model through on-policy distillation with hard task-routing sampling and gradient accumulation, which could mitigate the gradient interference in joint optimization. Without relying on elaborate modifications, our straightforward yet effective design achieves consistent improvements across all geometric quality dimensions and surpasses all teacher models in the average metric. Extensive experiments demonstrate that our approach provides an effective paradigm for reinforcement learning in 3D generation.
Introduction
Recent 3D geometry generation pipelines (Li et al. 2025; Zhao et al. 2025; Lai et al. 2026, 2025) employ a mixture architecture where a diffusion Transformer (DiT) (Peebles and Xie 2023) generates latent representations, and then the subsequent variational autoencoder (VAE) and isosurface extraction algorithm are utilized to decode the representation into explicit 3D meshes, as shown in Fig. 1. The pipeline produces high-quality 3D assets from the image, enabling a wide range of applications in virtual reality, digital twins, and embodied AI (Mildenhall et al. 2021; Poole et al. 2022).
Despite this rapid advancement, post-training approaches through reinforcement learning (RL) remain absent from the

Figure 1: Our framework focuses on the on-policy distillation of the DiT module in the 3D generation pipeline. Our Flow3D-OPD enables to achieve a higher average win ratio than three specialized teachers.
3D generation literature, which has long been employed in large language models (Ouyang et al. 2022; Rafailov et al. 2023) and image generation (Black et al. 2024; Liu et al. 2025). The fundamental obstacle lies in the ambiguity of quality evaluation for 3D geometry. Unlike text-to-image generation where verifiers have been rapidly developed and proven effective (Huang et al. 2023; Ghosh, Hajishirzi, and Schmidt 2023), precise quality assessment for 3D meshes requires multi-view rendering and geometric analysis, which relies on specific multi-modal reasoning. Existing approaches (Lai et al. 2026; Li et al. 2025) utilize ULIP or Uni3D models (Xue et al. 2023; Zhou et al. 2024) to calculate global similarity between 2D images and 3D points, yet such a score cannot reflect fine-grained geometric dimensions such as orientation alignment, pose accuracy, and textural consistency. Moreover, jointly optimizing these heterogeneous objectives via diverse rewards will encounter gradient interference where updates favoring one dimension degrade others, which hinders consistent improvement in various dimensions.
However, recent image generation works introduce the on-policy distillation (OPD) strategy to improve model performance across multiple evaluation dimensions simultaneously. DiffusionOPD (Li et al. 2026) and Flow-OPD (Fang et al. 2026) prove that multi-teacher OPD can effectively
These authors contributed equally.
Copyright © 2027, Association for the Advancement of Artificial Intelligence (www.aaai.org). All rights reserved.
unify various specialized capabilities into a single model by replacing sparse scalar rewards with dense velocity-field supervision along the denoising trajectory in the student model. This distillation paradigm could alleviate gradient interference in optimizing multiple dimensional quality in image generation. However, applying multi-teacher on-policy distillation to 3D geometry generation remains unexplored due to the difficulties in training domain-specialized teachers with 3D-specific rewards and consolidating these heterogeneous capabilities stably.
In this paper, we propose Flow3D-OPD, which innovatively introduces multi-teacher on-policy distillation into 3D geometry generation. Our approach follows a two-stage pipeline to overcome the above challenges. In the first stage, we train three teacher models targeting distinct evaluation dimensions. Specifically, we employ a semi-policy preference optimization strategy to enhance the base model's capability for fine-tuning, then decompose the quality evaluation into three different dimensions. Subsequently, an agentic verifier based on VLMs is designed for pairwise mesh comparison, which conducts multi-round structured reasoning with tool invocation and case memory mechanisms. Based on this verifier, we train the dedicated teacher for each quality dimension via direct preference optimization (DPO). In the second stage, we distill all three frozen teachers into a unified student model through on-policy distillation with hard task-routing and gradient accumulation mechanisms. At each training step, the student model generates its own denoising trajectory, and the corresponding teacher model provides step-level guidance along the hard task-routing. To alleviate gradient interference, we accumulate the gradient in a mini-batch for a single backward pass to ensure balanced multi-dimensional optimization. As shown on the right side of Fig. 1, our student model successfully surpasses all teacher models on the average win-ratio metric. In summary, our contributions are three-fold as follows:
-
We propose the Flow3D-OPD approach, which is, to the best of our knowledge, the first to introduce on-policy distillation to 3D geometric generation through a two-stage training pipeline.
-
We design an agentic reward system to enable DPO training of domain-specific teachers, followed by a multi-teacher distillation strategy with hard task-routing and gradient accumulation that consolidates their capabilities into a unified student model.
-
Extensive experiments demonstrate that our method consistently improves generation quality across all dimensions and achieves competitive or superior performance across multiple metrics.
Reinforcement Learning for Generative Models RL-based post-training has become an indispensable paradigm for further enhancing model capabilities (Ouyang et al. 2022), progressing from PPO (Schulman et al. 2017) and DPO (Rafailov et al. 2023) to GRPO (Shao et al. 2024). Its application has also been expanded from large language models to image generation. DDPO (Black et al. 2024) first demonstrates policy gradient optimization for diffusion models by treating each denoising step as an action in a Markov decision process. DPOK (Fan et al. 2023) introduces Kullback-Leibler (KL)-regularized optimization to prevent reward hacking, and DiffusionDPO (Clark et al. 2024) adapts preference optimization to the denoising trajectory. In the flow-matching regime, Flow-GRPO (Liu et al. 2025) leverages the SDE interpretation to define proper action distributions amenable to group-relative advantage estimation, while DiffusionNFT (Zheng et al. 2025) proposes negative-free training that eliminates the need for a reference model. Despite these advances in 2D generation, RL-based optimization for 3D remains largely unexplored, primarily due to the difficulty of designing reliable multi-dimensional quality judgements for 3D meshes during training.
On-Policy Distillation On-policy distillation (OPD) addresses the distribution shift of offline distillation by requiring the student to generate trajectories from its own current policy under real-time teacher supervision (Agarwal et al. 2024; Gu et al. 2024). In the LLM, GKD (Agarwal et al. 2024) first formalizes on-policy distillation by training on self-generated sequences to mitigate exposure bias. Subsequent work MiniLLM (Gu et al. 2024) adopts reverse KL to encourage the student to concentrate probability mass on high-quality modes, while DistiLLM (Ko et al. 2024) proposes skewed KL interpolation to balance mode-seeking and mode-covering behaviors. In visual generation, consistency distillation (Song et al. 2023; Luo et al. 2023) first explores distilling multi-step diffusion models into fewer-step students. DiffusionOPD (Li et al. 2026) extends OPD to diffusion models by exploiting the Markov structure of the denoising chain, deriving closed-form per-step KL divergence between Gaussian transition kernels. Flow-OPD (Fang et al. 2026) further generalizes this to flow-matching architectures

Stage 1: Domain-Specialized Teacher Training
Stage 2: Multiple Teacher On-policy Distillation
Figure 2: Overview of our Flow3D-OPD framework. Stage 1 (left): the pretrained flow-matching DiT is first fine-tuned with , then three teachers are trained through DPO with dimension-specific agentic reward. Stage 2 (right): the student model generates its own denoising trajectory via on-policy sampling, and a hard task-routing cycles through the three frozen teachers with mini-batch gradient accumulation.
with stochastic differential equation (SDE) formulations and time-adaptive weighting, showing that multi-teacher distillation resolves the reward sparsity and gradient interference of joint multi-objective RL. Our work adapts the OPD mechanism on 3D geometry generation, where the inherently heterogeneous nature of quality assessment makes multi-teacher distillation a particularly natural fit.
Preliminary
DPO in Diffusion Models. Direct preference optimization (DPO) (Rafailov et al. 2023) enables learning from pairwise preferences without explicit reward modeling. For language models, given winning and losing responses conditioned on prompt , DPO directly optimizes the policy model via:
where is the sigmoid function, defines the penalty coefficient, and indicates the reference model. DiffusionDPO (Clark et al. 2024) extends this to diffusion models by deriving an equivalent loss over the denoising trajectory. Under the evidence lower bound (ELBO), the log-likelihood ratio decomposes into per-step noise prediction differences. The final loss for flow-matching models takes the form:
(2)
where and are noisy intermediates of the winner and loser at timestep , defined via .
and are the target velocities. and are the policy and reference velocity predictions, and is a weighting function (Ho, Jain, and Abbeel 2020; Kingma et al. 2021).
On-Policy Distillation. On-policy distillation (OPD) addresses the distribution shift inherent in offline distillation by requiring the student to generate trajectories from its own current policy under real-time teacher supervision (Agarwal et al. 2024). For autoregressive models, this is formulated as minimizing the reverse Kullback-Leibler (KL) divergence:
where denotes the student policy, is the frozen teacher, and are trajectories sampled on-policy from the student. By training on self-generated distributions, OPD suppresses exposure bias and ensures the student receives supervision at the states it actually visits during inference.
Our Method
Our model follows the architecture of Hunyuan3D-2.1 (Lai et al. 2025), where the flow-matching DiT generates structured latent conditioned on the image features. We employ a two-stage post-training strategy to optimize the pretrained DiT model, as illustrated in Fig. 2.
Stage 1: Domain-Specialized Teacher Training
Considering the defective capability of the basic model in rolling out high-quality samples for reliable preference learning, we first fine-tune the basic model via semi-policy preference optimization, and then train our teacher models on top of this fine-tuned (FT) model in stage 1.
Fine-Tuning with Semi-Policy Preference Optimization. In this phase, offline ground-truth 3D meshes serve as the preferred samples, while the current policy generates the rejected samples. Specifically, we replace in (Eq. 2) with the ground-truth latent to obtain the semi-policy DPO loss . This formulation enables the model to optimize its own denoising trajectory along the stochastic differential equation (SDE) or ordinary differential equation (ODE) sampling. The overall fine-tuning loss combines with an mean squared error (MSE) loss function:
where , . Based on the supervision, we enhance the foundational capability of the basic model and obtain the FT model for subsequent teacher model training.
Agentic Reward Design and Teacher Training. We design an agentic reward system based on Gemini-3-Flash (Google DeepMind 2025) for pairwise mesh comparison. Given a 3D mesh pair and the reference image I, our agent performs multi-round structured reasoning:
where is the dimension-specific evaluation prompt ( ), denotes the tool set, including zoom-in rendering, viewpoint rotation, and difference-map overlay, which are necessary in geometric quality evaluation. And is the case memory for judgment consistency. The agent is allowed up to four rounds of tool invocation before outputting structured preference scores ( ). Compared to global scalar metrics like ULIP/Uni3D, our agentic reward provides fine-grained and dimension-specific supervision with multi-view reasoning. Details of prompts and tools are provided in the supplementary material.
Building upon the agentic reward , we train each teacher via DPO. At each step, the sampling model rolls out two candidate latents , which are then decoded to meshes and compared by the agentic reward to produce preference scores . Based on the scores, we filter out pairs with a small margin and form the winner-loser pair . Following Eq. 2, each teacher is optimized via:
In practice, we observe that the majority of sampled pairs yield score differences below , leading to inefficient training under fully online rollout. To address this, we adopt an iterative “rollout-then-train” strategy: the model first generates a batch of candidate pairs over multiple steps and saves the valid ones filtered by , then trains on this collected data before the next rollout stage. Based on these training objectives and strategies, we obtain three domain-specialized teacher models, each excelling at its target quality dimension.
Stage 2: Multi-Teacher On-Policy Distillation
Given three trained teacher models , we then integrate them into a single student with on-policy distillation supervision in this stage.
On-Policy Distillation in Flow-Matching. Following the OPD loss function formulated in Eq. 3, we minimize the reverse KL divergence between the student and teacher transition kernels at each step along the student's on-policy trajectory. Under the SDE discretization (Euler-Maruyama), the one-step transition kernel is Gaussian:
where define the denoising timesteps and . is the per-step diffusion coefficient determined solely by the noise schedule, and the transition mean is deterministically parameterized by the student velocity field. The teacher transition kernel uses the teacher velocity to compute its mean but shares the same covariance . Since both kernels share the same isotropic covariance, their reverse KL admits a closed form:
(8)
The stochastic transition degenerates to a deterministic map under the ODE regime, and distribution matching reduces to direct velocity-field alignment with L2 loss. The reverse KL defines the per-step distillation objective for a single teacher.
Hard Task-Routing and Mini-Batch Gradient Accumulation. To consolidate all three teachers while mitigating gradient interference, we introduce a hard task-routing mechanism. At each training step, the sample carries a data-type label that deterministically routes supervision to the corresponding teacher , so that its gradient stays free from cross-teacher conflict. The routed OPD loss aggregates per-step velocity-matching objectives along the on-policy trajectory via:
where the stop-gradient operator detaches the teacher output. The weighting function controls the distillation strength across different denoising timestep , which equals under SDE sampling and reduces to a constant 1 under ODE sampling. The detailed derivation is provided in the supplementary material.
While hard task-routing keeps each mini-batch conflict-free, a single update from one dimension alone is still biased toward that teacher. We therefore organize training data such that every three consecutive mini-batches cycle through all data types in round-robin order: orient pose consistency. Gradient accumulation across this full cycle before each optimizer step ensures every parameter update incorporates guidance from all three teachers simultaneously:
In this way, hard task-routing isolates each teacher's supervision at the mini-batch level, while gradient accumulation
| Method | Gemini-3-Flash | Average | GPT-5.5 | User Study ↑ | |||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Orient-Eval | Pose-Eval | Consistency-Eval | Average | Average | |||||||
| A wins ↓ | B wins ↑ | A wins ↓ | B wins ↑ | A wins ↓ | B wins ↑ | A wins ↓ | B wins ↑ | A wins ↓ | B wins ↑ | ||
| FT (semi-policy) | 5.5 | 11.2 | 0.5 | 85.1 | 12.4 | 79.4 | 5.9 | 54.9 | 15.7 | 45.7 | - |
| Orient-Teacher | 2.7 | 22.7 | 0.8 | 89.0 | 30.8 | 53.2 | 10.3 | 53.0 | 13.4 | 47.3 | 4.14 |
| Pose-Teacher | 10.1 | 14.3 | 0.0 | 93.7 | 41.7 | 41.7 | 16.0 | 47.9 | 15.1 | 43.6 | 4.06 |
| Consistency-Teacher | 6.5 | 15.9 | 1.0 | 83.5 | 8.0 | 82.0 | 5.2 | 56.9 | 11.8 | 50.9 | 3.40 |
| DPO | 13.4 | 7.2 | 19.1 | 71.8 | 13.0 | 77.0 | 15.1 | 48.3 | 20.4 | 41.5 | 3.56 |
| FT + DPO | 5.9 | 14.4 | 0.9 | 91.8 | 14.0 | 76.0 | 6.6 | 57.2 | 14.1 | 44.7 | 4.08 |
| OPD | 10.9 | 10.9 | 0.0 | 93.4 | 15.0 | 79.0 | 8.6 | 57.3 | 11.6 | 48.3 | 4.36 |
| FT + OPD (Ours) | 5.1 | 18.8 | 0.0 | 93.5 | 10.0 | 81.0 | 4.9 | 61.0 | 9.9 | 51.4 | 4.40 |
Table 1: Pairwise evaluation across three quality dimensions, with cross-evaluator and human validation. Model A is the pretrained baseline (Hunyuan3D-2.1); Model B is the evaluated model. A/B wins (%) denote the percentage of cases each is judged superior. The left columns use Gemini-3-Flash; GPT-5.5 Avg reports averaged results under the independent GPT-5.5 evaluator; User Study reports the average human ranking score. Best results are in bold, second best are underlined.
| Method | ULIP-T | ULIP-I | Uni3D-T | Uni3D-I |
|---|---|---|---|---|
| Craftsman 1.5 | 0.074 | 0.129 | 0.233 | 0.299 |
| Michelangelo | 0.075 | 0.115 | 0.206 | 0.261 |
| Direct3D-s2 | 0.074 | 0.122 | 0.247 | 0.314 |
| Hi3DGen | 0.076 | 0.131 | 0.237 | 0.299 |
| Trellis2 | 0.080 | 0.129 | 0.241 | 0.307 |
| HY3D 2.0 | 0.077 | 0.130 | 0.245 | 0.315 |
| HY3D 2.1 | 0.081 | 0.133 | 0.246 | 0.314 |
| Flow3D-OPD (Ours) | 0.083 | 0.138 | 0.252 | 0.321 |
Table 2: Comparison with previous works on 3D-text (T) and 3D-image (I) similarity calculated by ULIP/Uni3D models. The best results are in bold.
aggregates them into a balanced consensus at the update level, substantially mitigating the gradient interference of multi-objective optimization.
Experiments
Experimental Setup
Training Settings. We build upon Hunyuan3D-2.1 (Lai et al. 2025), a 3B-parameter DiT architecture for 3D latent representation generation. Three domain-specialized teachers are refined from the fine-tuned model via on-policy DPO with learning rate , SDE sampling with noise level , and a minimum confidence margin of across H20 GPUs. During the second stage, the student is also initialized from the fine-tuned model and distilled by randomly sampling states along the 50-step denoising trajectory. To handle the imbalanced sizes of the three sub-datasets, we employ dataset sampling with replacement across data types. At inference, we apply classifier-free guidance with a default scale of 3.0.
Evaluation Metrics. We adopt two complementary evaluation protocols. For multi-dimensional quality assessment, we employ pairwise judgement to report the win rates across orientation, pose, and consistency dimensions. For overall generation quality evaluation, we report ULIP (Xue et al. 2023) and Uni3D (Zhou et al. 2024) scores to measure 3D-text and 3D-image cosine similarities in LATTICE-Bench (Lai et al. 2026). We also provide qualitative visualizations of generated 3D meshes for intuitive comparison.
Main Results
Multi-Dimensional Quality Evaluation Table 1 demonstrates the effectiveness of our method across multiple quality dimensions. We compare the meshes generated by each model (denoted as model B) against those from the pretrained baseline Hunyuan3D-2.1 (Lai et al. 2025) (denoted as model A) with our agentic verifier for pairwise evaluation. “A wins” indicates the ratio that the baseline produces higher quality, while “B wins” indicates that the evaluated model is superior. Compared with the fine-tuned (FT) model, each teacher achieves strong performance on its target dimension but degrades on others. For instance, the orient teacher achieves the lowest A wins (2.7%) on orientation evaluation but causes consistency to drop significantly (30.8% A wins). This phenomenon confirms that the three evaluated dimensions are inherently heterogeneous, and agentic-based DPO can yield substantial improvements on specific target objectives.
We further present our final Flow3D-OPD result and compare with different training strategies at the bottom of the table. Directly applying DPO on the initial model without fine-tuning leads to degraded performance due to insufficient basic capability. Applying OPD without the semi-policy stage yields moderate improvements across all dimensions but falls short of the full pipeline. In contrast, our Flow3D-OPD achieves the best overall balance: 18.8%, 93.5%, and 81% B wins ratio on orient, pose, and consistency, respectively. Finally, our method consistently outperforms all teachers on the averaged metrics with 61.0% B wins.
To validate the generalization and effectiveness of our model, we additionally conduct two complementary assessments on the right of Table 1. First, we employ GPT-5.5 as an independent evaluator, which is a different model from the Gemini-3-Flash used in the teacher training reward. Our Flow3D-OPD model also achieves the lowest A wins (9.9%) and highest B wins (51.4%) under GPT-5.5, confirming that the observed improvements are not artifacts of evaluator-specific optimization. Second, we conduct a blind user study where human annotators rank all methods by their generation quality from best to worst without knowing model identities.
| Update Strategy | A-wins ↓ | B-wins↑ | Uni3D-I |
|---|---|---|---|
| Single-step (sequential) | 7.1 | 59.8 | 0.319 |
| Single-step (hard task-routing) | 6.6 | 58.5 | 0.320 |
| Multi-step (hard task-routing) | 4.9 | 61.0 | 0.321 |
Table 3: Ablation on different gradient update strategies during OPD. Best results are in bold.
| Stage | Strategy | A-wins ↓ | B-wins↑ | Uni3D-T | Uni3D-I |
|---|---|---|---|---|---|
| FT | ODE | 6.4 | 51.7 | 0.245 | 0.314 |
| SDE | 5.9 | 54.9 | 0.248 | 0.315 | |
| OPD | ODE | 4.9 | 61.0 | 0.252 | 0.321 |
| SDE | 7.3 | 54.8 | 0.251 | 0.319 |
Table 4: Ablation on SDE and ODE sampling in both FT and OPD stages (NFE=50). Best results are in bold.

Figure 3: Distillation loss curves under different gradient update strategies. Gradient accumulation in mini-batch exhibits smoother convergence and lower final loss compared to single-step updates.
Our method also achieves the highest average ranking score, further validating that the improvements reflect genuine 3D quality gains perceived by human evaluators.
Comparison with Previous Methods Table 2 compares our method with previous 3D generation approaches on previous 3D-text and 3D-image similarity benchmarks (Lai et al. 2026), including Craftsman 1.5 (Li et al. 2024), Michelangelo (Zhao et al. 2023), Trellis2/512 (Xiang et al. 2026), Direct3D-S2 (Wu et al. 2026), Hi3DGen (Ye et al. 2025), and Hunyuan3D 2.0 (Zhao et al. 2025). We evaluate the global similarity with ULIP (Xue et al. 2023) and Uni3D (Zhou et al. 2024) metrics. Results demonstrate that our Flow3D-OPD achieves consistent gains over the baseline Hunyuan3D-2.1 (Lai et al. 2025) across all four metrics and outperforms all compared previous methods.
Ablation Studies
Effect of Gradient Update Strategy We compare three gradient update strategies during the OPD stage in Table 3. The first is single-step backward and uses sequential sampling, where all samples of one dimension are processed before moving to the next. The second is also a single-step

Figure 4: Reward margin and distill loss curves in SDE/ODE Sampling. SDE achieves higher reward margins during FT stage, indicating more discriminative preference pairs. ODE converges faster and reaches a lower final loss than SDE during the OPD stage.
backward strategy but with hard task-routing sampling. The third is our gradient accumulation strategy with hard task-routing sampling. The results suggest that our configuration achieves the best performance across all metrics, while hard task-routing sampling is better than sequential sampling. Moreover, we compare the distillation loss curves of single-step and multi-step updates under the same hard task-routing sampling strategy, as shown in Fig. 3. Our gradient accumulation strategy produces more stable distillation loss curves than the single-step backward variant, and also converges to a lower final loss across both total and per-task objectives. This confirms that accumulating multi-task gradients in a mini-batch before each update effectively prevents inter-task interference and achieves better performance.
Effect of SDE vs. ODE Sampling We compare the effectiveness of SDE and ODE sampling mechanisms across the FT and OPD stages in Table 4. In the FT stage, SDE sampling outperforms ODE across both global and specialized metrics. We attribute this to the additional stochasticity that generates more diverse on-policy losers and produces higher reward margins between winner and loser pairs, as demonstrated by the dashed curves in Fig. 4. Therefore, we initialize the student model with FT model with SDE sampling. However, in the OPD stage, the deterministic ODE formulation proves more effective than SDE. As illustrated in the bottom of Table 4 and Fig. 4, ODE achieves better results with faster loss convergence and lower distillation loss. This is because the student model can align more precisely with the teacher's velocity field at each step without the interference introduced by the stochastic diffusion term. This asymmetric finding suggests that exploration diversity benefits preference learning during model fine-tuning, while deterministic trajectory is more suitable for distillation in the OPD stage.
Qualitative Visualization
Fig. 8 presents qualitative comparisons across various approaches or training strategies: Hi3DGen, Trellis2, Hunyuan3D-2,1, OPD-only (distillation without the FT stage), and our full pipeline Flow3D-OPD model. Previous models exhibit limited capability in generating fine-grained details, such as the geometric structures of buildings.

Figure 5: Qualitative comparison on 3D meshes generated with various approaches or training strategies. Our model produces 3D meshes with accurate and consistent structure.

Figure 6: Visualization comparison between our model and individual teachers on orientation (top), pose (middle), and consistency (bottom) validation dimensions.
and the propellers of aircraft models. Our baseline model, Hunyuan3D-2.1, produces geometrically plausible but misaligned or structurally inconsistent meshes. OPD-only model yields moderate improvements yet lacks the stable foundation for consistent high-quality generation. Our full model produces meshes with coherent and precise multi-view structure, demonstrating the complementary benefits of basic capability scaling and multi-teacher on-policy distillation.
Fig. 6 further compares our distilled student model against
the three individual teacher models on their respective areas of expertise. In the first row of orientation validation, the pose teacher and consistency teacher fail to align the mesh to the canonical front-facing direction, which further introduces asymmetric artifacts in the head region, while our student maintains correct orientation. In the second row of pose validation, the orient teacher and consistency teacher produce visible deformations at the elbows of the people, whereas our student preserves faithful articulated pose though it is unseen in the reference image. In the third row, our student exhibits richer detail in the surface texture compared to the non-specialized teachers. These results confirm that the student model unifies the strengths of all three teachers while avoiding their individual weaknesses in other dimensions.
Conclusion
We present Flow3D-OPD, a two-stage post-training framework that first introduces multi-teacher on-policy distillation into 3D geometry generation. In the first stage, we design an agentic reward system for fine-grained geometric evaluation and train domain-specialized teachers via DPO across three quality dimensions. In the second stage, multiple teacher distillation with hard task-routing and gradient accumulation enables the student to absorb heterogeneous expertise through velocity-field supervision along its own denoising trajectory. Extensive experiments demonstrate that Flow3D-OPD achieves consistent improvements across all geometric dimensions and surpasses teachers on the averaged metric.
References
Agarwal, R.; Vieillard, N.; Zhou, Y.; Stanczyk, P.; Ramos Garea, S.; Geist, M.; and Bachem, O. 2024. On-policy distillation of language models: Learning from self-generated mistakes. In International Conference on Learning Representations, volume 2024, 21246–21263.
Black, K.; Janner, M.; Du, Y.; Kostrikov, I.; and Levine, S. 2024. Training diffusion models with reinforcement learning. In International Conference on Learning Representations, volume 2024, 4965–4987.
Clark, K.; Vicol, P.; Swersky, K.; and Fleet, D. 2024. Directly fine-tuning diffusion models on differentiable rewards. In International Conference on Learning Representations, volume 2024, 4793–4822.
Fan, Y.; Watkins, O.; Du, Y.; Liu, H.; Ryu, M.; Boutilier, C.; Abbeel, P.; Ghavamzadeh, M.; Lee, K.; and Lee, K. 2023. Dpok: Reinforcement learning for fine-tuning text-to-image diffusion models. Advances in Neural Information Processing Systems, 36: 79858–79885.
Fang, Z.; Huang, W.; Zeng, Y.; Zhao, Y.; Chen, S.; Feng, K.; Lin, Y.; Chen, L.; Chen, Z.; Cao, S.; et al. 2026. FlowOPD: On-policy distillation for flow matching models. arXiv preprint arXiv:2605.08063.
Ghosh, D.; Hajishirzi, H.; and Schmidt, L. 2023. Geneval: An object-focused framework for evaluating text-to-image alignment. Advances in Neural Information Processing Systems, 36: 52132–52152.
Google DeepMind. 2025. Gemini 3 Flash. Google AI Blog.
Gu, Y.; Dong, L.; Wei, F.; and Huang, M. 2024. Minillm: Knowledge distillation of large language models. In International Conference on Learning Representations, volume 2024, 32694–32717.
Ho, J.; Jain, A.; and Abbeel, P. 2020. Denoising diffusion probabilistic models. Advances in neural information processing systems, 33: 6840–6851.
Huang, K.; Sun, K.; Xie, E.; Li, Z.; and Liu, X. 2023. T2i-comppench: A comprehensive benchmark for open-world compositional text-to-image generation. Advances in Neural Information Processing Systems, 36: 78723–78747.
Kingma, D.; Salimans, T.; Poole, B.; and Ho, J. 2021. Variational diffusion models. Advances in neural information processing systems, 34: 21696–21707.
Ko, J.; Kim, S.; Chen, T.; and Yun, S.-Y. 2024. Distillm: Towards streamlined distillation for large language models. arXiv preprint arXiv:2402.03898.
Lai, Z.; Zhao, Y.; Liu, H.; Zhao, Z.; Lin, Q.; Shi, H.; Yang, X.; Yang, M.; Yang, S.; Feng, Y.; et al. 2025. Hunyuan3d 2.5: Towards high-fidelity 3d assets generation with ultimate details. arXiv preprint arXiv:2506.16504.
Lai, Z.; Zhao, Y.; Zhao, Z.; Liu, H.; Lin, Q.; Huang, J.; Guo, C.; and Yue, X. 2026. Lattice: Democratize high-fidelity 3d generation at scale. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, 19982–19992.
Li, Q.; Yu, J.; Jiang, K.; Wei, Y.; Xing, Z.; Li, P.; Chu, R.; Zhang, S.; Liu, Y.; and Wu, Z. 2026. DiffusionOPD: A unified perspective of on-policy distillation in diffusion models. arXiv preprint arXiv:2605.15055.
Li, W.; Liu, J.; Yan, H.; Chen, R.; Liang, Y.; Chen, X.; Tan, P.; and Long, X. 2024. Craftsman3d: High-fidelity mesh generation with 3d native generation and interactive geometry refiner. arXiv preprint arXiv:2405.14979.
Li, Y.; Zou, Z.-X.; Liu, Z.; Wang, D.; Liang, Y.; Yu, Z.; Liu, X.; Guo, Y.-C.; Liang, D.; Ouyang, W.; et al. 2025. Triposg: High-fidelity 3d shape synthesis using large-scale rectified flow models. IEEE Transactions on Pattern Analysis and Machine Intelligence.
Lin, C.-H.; Gao, J.; Tang, L.; Takikawa, T.; Zeng, X.; Huang, X.; Kreis, K.; Fidler, S.; Liu, M.-Y.; and Lin, T.-Y. 2023. Magic3d: High-resolution text-to-3d content creation. In Proceedings of the IEEE/CVF conference on computer vision and pattern recognition, 300–309.
Liu, J.; Liu, G.; Liang, J.; Li, Y.; Liu, J.; Wang, X.; Wan, P.; Zhang, D.; and Ouyang, W. 2025. Flow-grpo: Training flow matching models via online rl. arXiv preprint arXiv:2505.05470.
Luo, S.; Tan, Y.; Huang, L.; Li, J.; and Zhao, H. 2023. Latent consistency models: Synthesizing high-resolution images with few-step inference. arXiv preprint arXiv:2310.04378.
Mildenhall, B.; Srinivasan, P. P.; Tancik, M.; Barron, J. T.; Ramamoorthi, R.; and Ng, R. 2021. Nerf: Representing scenes as neural radiance fields for view synthesis. Communications of the ACM, 65(1): 99–106.
Ouyang, L.; Wu, J.; Jiang, X.; Almeida, D.; Wainwright, C.; Mishkin, P.; Zhang, C.; Agarwal, S.; Slama, K.; Ray, A.; et al. 2022. Training language models to follow instructions with human feedback. Advances in neural information processing systems, 35: 27730–27744.
Peebles, W.; and Xie, S. 2023. Scalable diffusion models with transformers. In Proceedings of the IEEE/CVF international conference on computer vision, 4172–4182.
Poole, B.; Jain, A.; Barron, J. T.; and Mildenhall, B. 2022. Dreamfusion: Text-to-3d using 2d diffusion. arXiv preprint arXiv:2209.14988.
Rafailov, R.; Sharma, A.; Mitchell, E.; Manning, C. D.; Ermon, S.; and Finn, C. 2023. Direct preference optimization: Your language model is secretly a reward model. Advances in neural information processing systems, 36: 53728–53741.
Rombach, R.; Blattmann, A.; Lorenz, D.; Esser, P.; and Ommer, B. 2022. High-resolution image synthesis with latent diffusion models. In Proceedings of the IEEE/CVF conference on computer vision and pattern recognition, 10684–10695.
Sanghi, A.; Chu, H.; Lambourne, J. G.; Wang, Y.; Cheng, C.-Y.; Fumero, M.; and Malekshan, K. R. 2022. Clip-forge: Towards zero-shot text-to-shape generation. In Proceedings of the IEEE/CVF conference on computer vision and pattern recognition, 18582–18592.
Schulman, J.; Wolski, F.; Dhariwal, P.; Radford, A.; and Klimov, O. 2017. Proximal policy optimization algorithms. arXiv preprint arXiv:1707.06347.
Shao, Z.; Wang, P.; Zhu, Q.; Xu, R.; Song, J.; Bi, X.; Zhang, H.; Zhang, M.; Li, Y.; Wu, Y.; et al. 2024. Deepseekmath: Pushing the limits of mathematical reasoning in open language models. arXiv preprint arXiv:2402.03300.
Song, Y.; Dhariwal, P.; Chen, M.; and Sutskever, I. 2023. Consistency models. arXiv preprint arXiv:2303.01469.
Wu, J.; Zhang, C.; Xue, T.; Freeman, B.; and Tenenbaum, J. 2016. Learning a probabilistic latent space of object shapes via 3d generative-adversarial modeling. Advances in neural information processing systems, 29.
Wu, S.; Lin, Y.; Zhang, F.; Zeng, Y.; Yang, Y.; Qian, J.; Zhu, S.; Cao, X.; Torr, P.; Yao, Y.; et al. 2026. Direct3d-s2: Gigascale 3d generation made easy with spatial sparse attention. Advances in Neural Information Processing Systems, 38: 170778–170804.
Xiang, J.; Chen, X.; Xu, S.; Wang, R.; Lv, Z.; Deng, Y.; Zhu, H.; Dong, Y.; Zhao, H.; Yuan, N. J.; et al. 2026. Native and compact structured latents for 3d generation. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, 14419–14429.
Xue, L.; Gao, M.; Xing, C.; Martín-Martín, R.; Wu, J.; Xiong, C.; Xu, R.; Niebles, J. C.; and Savarese, S. 2023. Ulip: Learning a unified representation of language, images, and point clouds for 3d understanding. In Proceedings of the IEEE/CVF conference on computer vision and pattern recognition, 1179–1189.
Yan, X.; Lin, L.; Mitra, N. J.; Lischinski, D.; Cohen-Or, D.; and Huang, H. 2022. Shapeformer: Transformer-based shape completion via sparse representation. In Proceedings of the IEEE/CVF conference on computer vision and pattern recognition, 6229–6239.
Ye, C.; Wu, Y.; Lu, Z.; Chang, J.; Guo, X.; Zhou, J.; Zhao, H.; and Han, X. 2025. Hi3dgen: High-fidelity 3d geometry generation from images via normal bridging. In Proceedings of the IEEE/CVF International Conference on Computer Vision, 01–12.
Yin, F.; Chen, X.; Zhang, C.; Jiang, B.; Zhao, Z.; Liu, W.; Yu, G.; and Chen, T. 2025. Shapept: 3d shape generation with a unified multi-modal language model. IEEE Transactions on Multimedia, 27: 4107–4120.
Zhao, Z.; Lai, Z.; Lin, Q.; Zhao, Y.; Liu, H.; Yang, S.; Feng, Y.; Yang, M.; Zhang, S.; Yang, X.; et al. 2025. Hunyuan3d 2.0: Scaling diffusion models for high resolution textured 3d assets generation. arXiv preprint arXiv:2501.12202.
Zhao, Z.; Liu, W.; Chen, X.; Zeng, X.; Wang, R.; Cheng, P.; Fu, B.; Chen, T.; Yu, G.; and Gao, S. 2023. Michelangelo: Conditional 3d shape generation based on shape-image-text aligned latent representation. Advances in neural information processing systems, 36: 73969–73982.
Zheng, K.; Chen, H.; Ye, H.; Wang, H.; Zhang, Q.; Jiang, K.; Su, H.; Ermon, S.; Zhu, J.; and Liu, M.-Y. 2025. Diffusionnft: Online diffusion reinforcement with forward process. arXiv preprint arXiv:2509.16117.
Zhou, J.; Wang, J.; Ma, B.; Liu, Y.-S.; Huang, T.; and Wang, X. 2024. Uni3d: Exploring unified 3d representation at scale. In International Conference on Learning Representations, volume 2024, 46766–46782.
Supplementary Material
Details of the Training Pipeline
Hyperparameter Configuration Table 5 summarizes the hyperparameter configurations for all training stages. All stages are trained with 5K steps on 2 × 8 H20(90G) GPUS. The pipeline begins with semi-policy fine-tuning (stage 1a) on the offline ground-truth winners and on-policy generated losers. The resulting fine-tuned model serves as the initialization for both the domain-specialized teachers (stage 1b) and the final student (stage 2). Each teacher is trained via on-policy DPO with Gemini-3-Flash pairwise reward using an iterative rollout-then-train strategy to handle the low valid-pair ratio. In stage 2, the three frozen teachers are distilled into the student through on-policy trajectory sampling with hard task-routing and gradient accumulation across the three data types.
Dataset Statistics Table 6 reports the dataset sizes and the description for each quality dimension. Specifically, in the training stage, we curate three separate preference datasets, one per dimension: an orientation set targeting canonical axis alignment, a pose set covering diverse articulated human configurations, and a consistency set emphasizing multi-view structural and textural coherence. In the evaluation stage, to isolate the model's generation ability along each aspect, we construct three dedicated test sets that mirror the three training dimensions.

Figure 7: The detailed pipeline of our agentic verifier.
Agentic Verifier Details
In this section, we introduce the details of the agentic verifier used to construct preference pairs during DPO training, depicted in Fig. 7. The verifier is built on the Gemini-3-Flash proprietary model and follows a structured, tool-augmented reasoning process to compare two candidate meshes gener-
ated from the same reference image. Below we describe its system prompt, tool call, and case-memory mechanism.
System Prompt The reward agent receives a structured system prompt that defines its role, input context, dimension-specific instructions, and metrics. The key components are shown as follows.
Role and Input. The agent acts as a strict 3D geometry review agent that compares two candidate meshes (model A vs. model B) generated from the same reference image. It receives: (1) the reference image, (2) multi-view rendered images of two meshes.
Dimension-Specific Instructions. Based on the shared system prompt, we design a dedicated instruction for each of the three judge dimensions. In the orientation dimension, the agent enforces canonical axis alignment and treats perspective baking as a fatal defect. In the human-pose dimension, the agent prioritizes correct limb counts and connectivity, then joint angles and overall posture relative to the reference. In the consistency dimension, the agent checks that structures and texture inferred from one viewpoint remain plausible and coherent with the reference image. The three prompts are summarized below.
Orientation Prompt
You are a review agent focused on canonical orientation. The generated 3D model must be aligned to the standard world axes, while baking in the diagonal tilt, skewed perspective, or dynamic camera angle of the 2D reference is strictly prohibited. For example, an object with a dominant axis (e.g., a trumpet, a standing animal) must have that axis horizontally or vertically aligned in the orthographic views, not slanted. A bilaterally symmetric object (e.g., a forward-facing human) must appear macroscopically symmetric in the front view. Any retained diagonal slant or perspective baking is a fatal defect and must be scored "Bad".
Pose Prompt
You are a review agent focused on human pose and body structure. Evaluate, in descending priority: Macro limb structure - exactly two arms and two legs, each a single continuous limb, with no forking, and with limbs/head smoothly connected to the torso (no floating or severed parts). Pose accuracy - limb angles, bend directions, and global posture must match the reference; penalize mirrored poses, collapsed poses, and residual T-pose. Overall shape and accessories - clothing, hats, and attachments should
| Hyperparameter | Stage 1a: Semi-Policy FT | Stage 1b: On-Policy DPO | Stage 2: Multi-Teacher OPD |
|---|---|---|---|
| Base / InitializationDPO DPO type | Hunyuan3D-2.1 (3B DiT)10000.2Semi-policy | Fine-tuned model (1a)10001.0On-policy (fully online) | Fine-tuned model (1a)—1.0— |
| Rollout samplerRollout NFECandidates per stepConfidence margin Run mode | SDE ()501 (loser only)—End-to-end | SDE ()502 (pairs)0.167Iterative rollout/train(400/100) | ODE (deterministic)501—End-to-end |
Table 5: Hyperparameter configurations across all training stages.
| Dimension | Train Samples | Eval Samples |
|---|---|---|
| Orientation | 3,661 | 133 |
| Pose | 4,083 | 111 |
| Consistency | 1,063 | 100 |
Table 6: Dataset statistics across the three quality dimensions.
be consistent with the reference.
Consistency Prompt
You are a senior 3D geometry review agent specialized in geometric consistency. Your task is to evaluate how faithfully two 3D models reproduce the geometric or textural structures visible in the reference image (Image-to-3D consistency). You evaluate whether the 3D model accurately reconstructs what is shown in the reference image -- silhouette match, structural element count, proportions, and geometric details. You do NOT evaluate orientation alignment or artistic style -- only consistency with the reference.
Tool Interface Specifications The agent has access to three tools during evaluation:
render_extra_views renders additional viewpoints of both models for closer inspection.
- Parameters:
-
angles: List of viewpoints (1–6 items), each specifying yaw (0=Front, 90=Left, 180=Back, 270=Right), pitch (0=eye-level, ±30=tilted, ±90=top/bottom), label (descriptive name), and optional render_normal (boolean).
-
reason: Text explanation of why these views are needed.
- Returns: The rendered images at the specified viewpoints, plus corresponding difference maps.
render_zoom_views renders zoomed close-up views for fine detail inspection.
- Parameters:
-
zoom_configs: List of zoom viewpoints (1–4 items), each specifying yaw, pitch, label, and optional fov_deg controlling zoom level (~50°=standard, ~30°=moderate zoom, ~15°=strong zoom, ~8°=extreme close-up).
-
reason: Text explanation of what detail to inspect.
- Returns: Zoomed rendered images at the specified viewpoint and zoom level.
different_overlap outputs a heatmap that facilitates the agent to evaluate the difference.
- Parameters:
- image_index: The index of the rendered image pairs that the agent needs to compare.
- Returns: Difference heatmap between the rendered images of the two meshes from the same viewpoint
Case Memory Mechanism The agent maintains a case memory of previously judged hard examples to improve judgment accuracy. Before evaluating a new pair, the system retrieves similar past cases (based on object category) and includes them as few-shot examples in the context. This mechanism addresses the variance inherent in VLM-based evaluation by anchoring judgments to established precedents.
Derivation of OPD in Flow-Matching
We provide the complete derivation of reverse-KL on-policy distillation (OPD) objective in Eq. 9. Let and denote the student and teacher policies. The denoising trajectory of the student policy is defined as , where . Considering the denoising process is Markovian, we decompose the whole OPD objective into stepwise KL along the student rollout:
(11) where and are the student and teacher one-step transition kernels at the same state .
For flow-matching denoising with SDE sampling, we discretize the reverse time by Euler-Maruyama with step . Let be the SDE diffusion coefficient with global noise level , and define and for the student and teacher velocity fields in . The student SDE step is:
where , and . Collecting the deterministic drift as the transition mean and the noise term as the covariance, the one-step kernel is the isotropic Gaussian:
where the mean is defined as:
The transition kernel in the teacher policy is defined in a similar formulation:
(15)
Because the covariance is identical, and differ only in their means. For two -dimensional Gaussians with common isotropic covariance :
Applying (16) to the kernels (13) and (15) gives the per-step KL as:
Subtracting from , the state-dependent terms cancel, and only the velocity-dependent term remains:
(18)
Substituting (18) into (17), the per-step KL becomes a weighted squared velocity difference:
(19)
Based on Eq. 19, we apply the stop-gradient operator to the frozen teacher. The final OPD objective is the time-weighted velocity-matching loss , defined as:
Deterministic (ODE) regime. Setting the noise level makes the transition deterministic: for a given , the student and teacher each induce a single transition target. Distribution matching then reduces to pointwise matching of the predicted velocities, and the reverse-KL objective is replaced by a direct squared loss, which is formulated as:
which is the ODE instantiation used in our OPD stage. This closed-form, zero-variance objective is the flow-matching analogue of the per-step KL distillation used for autoregressive models, replacing high-variance policy gradients with direct backpropagation through the student velocity field.
Additional Experiments
Impact of the CFG Weights We further study the effect of the CFG weight w in both the training and the inference stages, as reported in Table 7 and Table 8. During the OPD stage, we find that using the velocity field predicted under the default conditional signal (i.e., w = 1.0, without classifier-free amplification) as the distillation target yields the best student, indicating that the raw conditional guidance already provides a sufficiently informative supervision signal. At inference time, the model performs best under the default CFG configuration used in Hunyuan3D-2.1 (w = 3.0), which balances conditional fidelity and generation quality.
| CFG Scale w | A-wins/B-wins | ||
|---|---|---|---|
| Orient-Eval | Pose-Eval | Consist-Eval | |
| w = 1.0 | 5.1/18.8 | 0.0/93.5 | 10.0/81.0 |
| w = 3.0 | 7.1/17.6 | 1.0/91.9 | 15.7/77.5 |
| w = 6.0 | 7.1/17.9 | 0.0/88.7 | 14.0/75.3 |
Table 7: Per-dimension ablation on the CFG scale w used for the teacher during the OPD stage. Best results are in bold.
| CFG Scale w | A-wins | B-wins | ULIP-I | Uni3D-I |
|---|---|---|---|---|
| w = 1.0 | 32.3 | 38.5 | 0.133 | 0.314 |
| w = 3.0 | 4.9 | 61.0 | 0.138 | 0.321 |
| w = 6.0 | 5.2 | 60.6 | 0.137 | 0.320 |
Table 8: Ablation on the CFG scale w during inference after OPD. Best results are in bold.
More Quality Visualization In this section, we provide additional quality visualizations, as shown in Fig. 8. These cases are based on meshes generated by our Flow3D-OPD and further post-processed with LATTICE for high-resolution refinement.

Figure 8: The quality visualization of the refinement in our Flow3D-OPD