cs.AISep 11, 2026

Fraglingo: Molecular Design via Attachment-Aware Autoregressive Fragment Generation

Authors: Thao Nguyen, Jeonghwan Kim, Zhenhailong Wang, Heng Ji

Organizations: Siebel School of Computing and Data Science University of Illinois Urbana-Champaign Urbana, IL 61801, USA

Abstract

We introduce Fraglingo, an autoregressive molecular generator that constructs molecules step by step from chemically meaningful fragments connected through predefined attachment sites. At each generation step, Fraglingo jointly predicts which fragment to add and how it should attach by producing an attachment-aware fragment embedding and retrieving the nearest fragment through latent-space search. A wildcard-anchored readout represents both the growing molecule and candidate fragments relative to their attachment sites, enabling a single latent prediction to determine both fragment identity and attachment configuration. Because prediction operates in a continuous embedding space rather than over fixed fragment identifiers, larger fragment libraries can be introduced at inference time without retraining. This retrieval-based formulation provides a unified generation primitive for molecule generation, scaffold generation, scaffold decoration, and molecule optimization. Fraglingo also supports property-conditional generation, allowing desired molecular properties to guide the generation process. On controlled property-conditional benchmarks, Fraglingo achieves stronger joint property control than comparably trained baselines while maintaining competitive validity, uniqueness, and novelty. It also generalizes to fragment libraries up to four times larger than those used during training without retraining. Code is available at: https://anonymous.4open.science/r/FragLingo-3551.

Figures & tables

Appendix figures & tables11 assets

Supplementary material from the paper’s appendix.

Appendix

Explore similar work

CardsList
  1. FragFlex: Fragment-Based Flexible Molecular Generation for Exploring Vast Chemical Space

    Oct 11, 2026Sihyun Park, David Ryan KoesMolecular Graph GenerationMolecular Generation

  2. MolMiner: Toward Controllable, 3D-Aware, Fragment-Based Molecular Design

    Nov 10, 2024Raul Ortega-Ochoa, Tejs Vegge, Jes Frellsen3D Molecular GenerationAutoregressive Generation

  3. Autoregressive latent diffusion for 3D molecule generation

    Jul 10, 2026Federico Ottomano, Gaopeng Ren, Yingzhen Li +2Latent Diffusion ModelsMolecular Graph Generation