arXiv(opens in a new tab)cs.ROOct 2026Cited by 1 paper on PaperVantage

Manuscript Offprint

arXiv:2610.22193

MOSS: Mode-Oriented Source Shaping for Robot Flow Matching Policies

Zirun Ma, Jindou Jia, Tuo An, Jiaqi Bai, Jiahua Dong, Jianfei Yang

Zirun Ma ∗1,2^{*1,2}, Jindou Jia ∗1^{*1}, Tuo An 1^{1}, Jiaqi Bai 1^{1}, Jiahua Dong 1^{1}, Jianfei Yang †1^{\dagger1}

1^{1}MARS Lab, Nanyang Technological University, 2^{2}Tsinghua University

∗^{*} Equal contribution, †^{\dagger} Corresponding author.

In robotic manipulation, the same observation often admits multiple feasible actions. Generative policies such as diffusion and flow matching naturally capture such multimodal behaviors, yet which mode is executed is left to random sampling and cannot be actively controlled. We propose Mode-Oriented Source Shaping (MOSS), which turns mode selection into an explicit choice of where generation starts. We first reveal, both empirically and theoretically, that deterministic flow transport induces mode-dependent structure in the source space. Under ideal deterministic ODE transport, distinct behavioral modes have distinct source-space preimages, while practical approximation errors can blur their boundaries due to imbalanced data, limited model capacity, and few inference steps. Motivated by this source-space structure, MOSS constructs semantically aligned mode-specific Gaussian sources that encode mode identity in the initial noise. A modality-strength estimator predicts the local degree of multimodality, which adaptively controls the geometry of the mode-specific sources. It contracts them toward a shared Gaussian where behaviors are similar and separates them near behavioral branching points. During deployment, the desired behavior is selected at inference simply by sampling from the corresponding component. Across 6 simulated and 3 real-world manipulation tasks, MOSS steers to the target mode up to 100% of the time with high task success, recovers minority modes at over 90% guidance rate under a 10:90 imbalance dataset, and surpasses mode-conditioned flow policy by 43.3 points of guidance rate on real robots.

Correspondence: Jianfei Yang (jianfei.yang@ntu.edu.sg).

Project Page: https://mmmmazr.github.io/moss

Figure

MARS

Lab

1 Introduction

Generative models have recently become a prominent paradigm in robot imitation learning (Pearce et al., 2023; Physical Intelligence et al., 2026). Unlike conventional policies that regress toward an optimal action, representative approaches such as Diffusion Policy (DP) (Chi et al., 2023) and Flow Matching (FM) (Lipman et al., 2023; Bai et al., 2026) generate action trajectories from random noise, allowing them to represent multiple feasible behaviors under the same observation, i.e., multimodal behaviors (Zhai et al., 2025). Here, a behavior mode denotes a semantically coherent family of action sequences that follow the same qualitative strategy for accomplishing the task (Chi et al., 2023). For instance, a robot may approach the same object from the left or the right, or interact with different targets in different orders, while still completing the task successfully. However, in existing generative policies, which mode is ultimately executed is largely determined implicitly by random sampling (Lipman et al., 2023; Zhang et al., 2026). This limits their applicability in settings that require user-specified preferences, test-time constraints, or human intervention (Zoellner et al., 2026; He et al., 2025).

Existing solutions fall into two categories. The straightforward one explicitly conditions the generative model on a mode indicator, in practice most often a language instruction, so that different conditions induce different action distributions (Yang et al., 2026; Zhang and Gienger, 2024; Liu et al., 2025). Such conditioning, however, often fails to steer the policy reliably when the training data are imbalanced (Fang et al., 2026), since high-dimensional visual scenes are strongly correlated with task execution, the model tends to learn scene-action shortcuts that bypass the weaker, low-dimensional language condition (Ren et al., 2026). The other line instead operates on the source distribution of FM, controlling multimodal behaviors by implicitly

(a) Multimodal task

(b) Evolution of initial noise

Figure

(c) Architecture of MOSS

Figure 1 Overview of MOSS. (a) A real-world open-drawer task whose shared approach trajectory branches into two feasible modes. (b) Evolution of the initial noise. Standard FM starts from one isotropic Gaussian and separates modes only implicitly. MOSS shapes the source by the estimated modality strength, merging the components where the modes behave alike and separating them at branching. (c) Architecture of MOSS. The modality-strength estimator sets the source separation, while a single flow network is shared across modes.

learning a set of Gaussian priors (Zhang et al., 2026; Machado et al., 2026). These priors, however, carry no explicit semantic correspondence to behavioral modes, so aligning them with user-defined modes still demands additional networks and laborious post-alignment (Zhang et al., 2026).

Toward a more reliable handle on mode selection, we first analyze how a well-trained FM policy behaves on multimodal tasks. We find that, even with a standard isotropic Gaussian source, the final behavior does not arise randomly from the entire noise space. Under deterministic Ordinary Differential Equation (ODE) transport, different behavioral modes tend to occupy distinct, albeit noticeably entangled, regions of the source space. We further show theoretically that, under ideal transport conditions, such mode-specific initial-noise regions are guaranteed to be implicitly separated. In practice, however, imbalanced mode distributions, limited model capacity, and a restricted number of inference steps leave these partitions interleaved, weakly separated, or severely imbalanced, sometimes resulting in mode preference or even mode collapse (Zhai et al., 2025; Mazza et al., 2026). This raises a natural question: can we make the existing partitioning more explicit, and steer behavior directly through the initial distribution?

Based on this insight, we propose Mode-Oriented Source Shaping, termed MOSS, which enables controllable multimodal generation by dynamically shaping the source distribution of FM, as shown in Figure 1. Specifically, we first construct semantically defined mode-specific Gaussian sources, explicitly encoding mode identity into the initial noise and making the resulting control more robust to imbalanced mode distributions, limited model capacity, and limited inference steps. Since multiple modes typically arise only during certain critical phases rather than throughout the entire task (Jia et al., 2026a), a modality-strength estimator then predicts the local degree of multimodality from previous observation and action history, and uses it to continuously modulate the separability of the Gaussian components. When demonstrations from different modes behave alike, the components contract toward a shared Gaussian and maximize data sharing. As the robot approaches a behavioral branch, they gradually separate and give the initial noise a clear, stable mode identity.

MOSS provides several practical advantages beyond explicit mode selection. First, when different modes in the training demonstrations are highly imbalanced, the generation probabilities of standard FM tend to inherit the empirical data distribution. In contrast, our method can directly adjust the deployment probability of each mode by changing the source sampling distribution. Second, for data-scarce modes, we find that the proposed strategy can effectively leverage shared trajectory data from other modes, allowing the policy to learn more stable common motion structures while preserving clear mode boundaries, thereby improving both sample efficiency and task success for minority modes. Finally, compared with methods that apply strong guidance to shift the learned vector field at inference time, mode-specific sources still initialize transport from regions already established during training. This can potentially reduce trajectory-quality degradation caused by inference-time guidance (Yu et al., 2026), while naturally extending to currently emerging one-step denoising algorithms that do not support guidance (Ho and Salimans, 2022; Jia et al., 2026b).

We systematically evaluate our method on multiple robotic manipulation tasks with multimodal structure, including 6 simulation tasks and 3 real-world robot tasks. Compared with standard FM (Lipman et al., 2023), explicit mode-conditioned FM (Lei et al., 2026), and source-based methods (Zhang et al., 2026; Luo et al., 2026), MOSS achieves up to 100% target-mode steering while maintaining high task success rate (SR). Even under a highly imbalanced mode distribution (10:90), our method can reliably recover the minority mode, achieving over 90% guidance rate (GR). Ablations show that adaptive source geometry improves GR over fixed Gaussian separation by 12-14 percentage points in average GR at the same training budget. On real-world tasks, MOSS achieves an average GR/SR of 84.2%/85.3%, outperforming mode-conditioned FM by 43.3 and 12.0 percentage points in average GR and SR, respectively. These results validate the effectiveness of source-space control under visual noise, limited demonstrations, and execution errors.

References (30)