English

Learning to Scale Logits for Temperature-Conditional GFlowNets

Machine Learning 2024-06-04 v3 Machine Learning

Abstract

GFlowNets are probabilistic models that sequentially generate compositional structures through a stochastic policy. Among GFlowNets, temperature-conditional GFlowNets can introduce temperature-based controllability for exploration and exploitation. We propose \textit{Logit-scaling GFlowNets} (Logit-GFN), a novel architectural design that greatly accelerates the training of temperature-conditional GFlowNets. It is based on the idea that previously proposed approaches introduced numerical challenges in the deep network training, since different temperatures may give rise to very different gradient profiles as well as magnitudes of the policy's logits. We find that the challenge is greatly reduced if a learned function of the temperature is used to scale the policy's logits directly. Also, using Logit-GFN, GFlowNets can be improved by having better generalization capabilities in offline learning and mode discovery capabilities in online learning, which is empirically verified in various biological and chemical tasks. Our code is available at \url{https://github.com/dbsxodud-11/logit-gfn}

Cite

@article{arxiv.2310.02823,
  title  = {Learning to Scale Logits for Temperature-Conditional GFlowNets},
  author = {Minsu Kim and Joohwan Ko and Taeyoung Yun and Dinghuai Zhang and Ling Pan and Woochang Kim and Jinkyoo Park and Emmanuel Bengio and Yoshua Bengio},
  journal= {arXiv preprint arXiv:2310.02823},
  year   = {2024}
}

Comments

ICML 2024, 23 pages, 21 figures

R2 v1 2026-06-28T12:40:26.678Z