MolHIT: Advancing Molecular-Graph Generation with Hierarchical Discrete Diffusion Models

Hojung Jung, Rodrigo Hormázabal, Jaehyeong Jo, Youngrok Park, Kyunggeun Roh, Se-Young Yun, Sehui Han, Dae-Woong Jeong · DOI

TL;DR

MolHIT is a new molecular graph generation framework that achieves near-perfect chemical validity (99.1%) while maintaining superior structural novelty. By combining a hierarchical diffusion process with a "decoupled" atom encoding scheme, it bridges the long-standing performance gap between 1D sequence-based models and 2D graph-based models.

What Problem Does This Paper Address?

In the world of AI-driven drug discovery, researchers typically represent molecules in two ways: 1D strings (SMILES) or 2D graphs.

  • 1D models are great at producing "valid" molecules (things that follow chemical rules) because they leverage powerful language modeling techniques, but they tend to "memorize" the training data, leading to low structural novelty.
  • 2D graph diffusion models are better at exploring new chemical spaces, but they frequently produce "chemical junk"—structures that are physically impossible or synthetically inaccessible.

The authors identify two core reasons for this failure in graph models:

  1. Ill-posed encoding: Standard models identify atoms only by their atomic number. However, a Nitrogen atom in a ring (aromatic) behaves very differently from one in a chain. Treating them as the same "category" makes the learning task unnecessarily difficult.
  2. Uniform corruption: Standard diffusion models "noise" every atom type equally. In reality, certain chemical groups share relationships that should be preserved or transitioned through during the generation process.

Methods

MolHIT introduces three key innovations to solve these issues:

  1. Hierarchical Discrete Diffusion Model (HDDM): Instead of jumping straight from a "masked" state to a specific atom (like Carbon), the model uses a coarse-to-fine approach. It first predicts a broad chemical category (e.g., "Halogens" or "Aromatics") before refining it into a specific atom type. This is mathematically supported by a new transition kernel that ensures a guaranteed Evidence Lower Bound (ELBO).
  2. Decoupled Atom Encoding (DAE): The authors expand the atom vocabulary to explicitly include chemical roles. Instead of just "Nitrogen," the model sees distinct tokens for aromatic nitrogen, charged nitrogen, or pyrrolic nitrogen ($[nH]$). This resolves the "reconstruction failure" seen in previous models where the AI couldn't figure out where to put implicit hydrogens.
  3. Project-and-Noise (PN) Sampler: To prevent the model from getting "stuck" in narrow, valid regions of chemical space, this sampler projects denoising predictions onto a clean manifold and then re-noises them. This encourages the model to explore more diverse, novel structures without sacrificing validity.

Datasets

The model was evaluated on two massive, industry-standard benchmarks:

  • MOSES: 1.9 million lead-like molecules. The authors augmented the standard 7 atom types into 12 tokens using DAE.
  • GuacaMol: A broader chemical space where the authors expanded the 12 elemental types into 56 semantic tokens to account for formal charges and hypervalent states.

Key Insights and Ideas

  • The "Aha!" Moment on Encoding: The authors proved that standard atom encoding is "ill-posed." In their experiments, previous models failed to reconstruct molecules containing pyrrolic nitrogen ($[nH]$) nearly 100% of the time. By simply splitting the tokens by chemical role (DAE), they achieved near-perfect reconstruction.
  • Coarse-to-Fine Denoising: By forcing the model to decide on a "semantic group" (like Chalcogens) before the specific atom (Oxygen vs. Sulfur), the model learns the high-level "logic" of a molecule's skeleton before sweating the details.
  • The Pareto Frontier: MolHIT is the first graph model to sit on the "Pareto frontier" of the quality-novelty trade-off, meaning it doesn't have to trade away validity to find new, interesting scaffolds.

Key Results

  • Near-Perfect Validity: On the MOSES dataset, MolHIT achieved 99.1% validity, a massive jump from previous graph SOTA models like DeFoG (92.8%) and DiGress (87.1%).
  • Surpassing 1D Models: It outperformed strong 1D baselines (like VAE and CharRNN) in Scaffold Novelty (0.39), proving it can find new drug-like shapes that sequence models miss.
  • Multi-Property Guidance: In conditional generation tasks (targeting specific molecular weight, solubility, etc.), MolHIT reduced the Mean Absolute Error (MAE) by 52.4% compared to standard marginal diffusion baselines.
  • Scaffold Extension: The model showed a significantly higher "Hit@5" rate (9.79) in completing partial molecular structures compared to previous methods.

Limitations and Future Work

The authors acknowledge a few areas for growth:

  • Scaling: The model hasn't yet been tested with massive parameter scaling or the latest architectural "tricks" used in Large Language Models.
  • Training Saturation: On the GuacaMol dataset, the model was only trained for 40 epochs (compared to 1,000 for some baselines), suggesting there is still "performance left on the table."
  • 3D and Proteins: A natural next step is applying this hierarchical logic to 3D molecular generation and protein design, where structural hierarchy is even more pronounced.

Summary updated

BibTeX
@inproceedings{jung2026molhit,
  author = {Hojung Jung and Rodrigo Hormázabal and Jaehyeong Jo and Youngrok Park and Kyunggeun Roh and Se-Young Yun and Sehui Han and Dae-Woong Jeong},
  title = {{MolHIT: Advancing Molecular-Graph Generation with Hierarchical Discrete Diffusion Models}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2026},
  url = {https://openreview.net/forum?id=QkdUSTr5Md},
}
Figure