Papers

Trajectory Matching:让离散流匹配支持结构化动作序列

Trajectory Matching: Discrete Flow Matching with Structured Actions

Why we picked it

对分子生成或图生成感兴趣的人可以看这篇:把动作序列当条件,MOSES 有效率从 92.8% 涨到 99.2%,还有配套交互式讲解页面。

论文提出 trajectory matching,将离散流匹配(DFM)的条件从端点扩展为连接端点的完整动作序列,从而支持改变状态大小、修改多个组件、依赖先前动作等复杂操作。作者证明该目标能恢复边缘流,且严格涵盖因子化 DFM。在树和分子图生成实验中,使用领域对齐动作将 MOSES 有效性从 92.8% 提升到 99.2%,并可免训练迁移到子结构扩展与链接任务。

Original · arXiv cs.LG

Trajectory Matching: Discrete Flow Matching with Structured Actions

The natural units of structured discrete generation are often not independent single-component edits but richer actions: attaching a fragment to a molecule, inserting a node together with an incident edge, or growing a hierarchy by adding a child. Yet most existing discrete flow matching methods (DFM) are restricted to independent component-wise edits over fixed-size states. This restriction stems from endpoint conditioning: endpoints fix the source and target during training but not the action sequence between them, making tractable conditional rates hard to define for complex actions that cannot be factorized component-wise. We propose trajectory matching, which conditions the flow on a full sequence of actions connecting the endpoints. This yields principled, simulation-free training targets for user-defined action spaces, including actions that change state size, modify multiple components, or depend on earlier actions. We prove that the resulting objective recovers the marginal flow and that trajectory matching strictly subsumes factorized DFM, while additionally capturing actions with prerequisite structure such as hierarchy growth or fragment-based molecule generation. Empirically, on tree and molecular graph generation, trajectory matching with domain-aligned actions matches or surpasses factorized DFM baselines (lifting MOSES validity from 92.8% to 99.2%) and transfers without retraining to substructure extension and linking. Trajectory matching enlarges the design space of discrete flow matching by turning the action vocabulary into a modeling choice. An interactive explanation of trajectory matching is available at https://niklaskemper.com/blog/trajectory-matching/.