Mirrored Min-of-K Training
Jiaru Zhang, Zeyun Deng, Hyunsoo Yun, Yupeng Zhou, Bingyao Du, Juntong Peng, Zichong Yang, Can Cui, Chuheng Wei, Ruqi Zhang, Ziran Wang
Abstract
Min-of-K (MoK) training is widely used to train models that produce diverse outputs from random noise. For each target, it draws K outputs from the model and backpropagates only through the one closest to the target. However, MoK generally does not make the generated distribution match the data distribution. In this paper, we analyze the MoK bias across all values of K and show that tuning K shifts between failure modes, from mode dropping at small K to distribution flattening at large K. We further prove that every nontrivial loss based only on target-candidate distances fails to recover some data distribution, since these distances do not reveal how the candidates are placed relative to each other. Based on these analyses, we propose mirrored MoK (MMoK), a drop-in modification of MoK training that draws one extra sample from the model, applies the closest-candidate selection rule against it, and subtracts the resulting distance. Since this distance is measured between samples of the model, it provides additional information about how the candidates are placed relative to each other. We prove that MMoK can in principle recover data distributions that MoK cannot. We empirically validate MMoK on five scenarios, namely synthetic mixtures, pedestrian and vehicle trajectory prediction, tropical cyclone forecasting, robotic policy learning, and ambiguous medical image segmentation. The results confirm the effectiveness and generality of MMoK in both distribution learning and task performance.
Create a lesson
Related papers
Mirror Descent at the Edge of Stability
Shared title terminology · Vincent X. Wang, Vikas Garg
Interaction Retention and Output-Likelihood Training in Parallel Sampling
Shared title terminology · Da Li, Bo Jin, Xiaopeng Wei et al.
Hidden Sensitivity in LLM Pre-training: A Dynamic System View
Shared title terminology · Bo Liu, Yuan Xie, Junan Chen et al.
Don't Train It, Write It: An AI Agent Writes New Capabilities into Language Model Weights
Shared title terminology · Santiago Rivadeneira Quintero
Model Carving: Training Transformers That Optimize Their Own Topology
Shared title terminology · Kaden Zheng, Pratyusha Sharma
\mathtt{DistP}: Scaling Local-Update Training with Zero-Shot Hyperparameter Transfer
Shared title terminology · Andrej Jovanović, Alex Iacob, Philipp Wiesner et al.