← Latest papers
💻 computer science

BiMol-Diff: A Unified Diffusion Framework for Molecular Generation and Captioning

BiMol-Diff is a unified diffusion framework that employs a token-aware noise schedule to overcome the limitations of standard diffusion and autoregressive models, achieving state-of-the-art performance in both text-conditioned molecular generation and molecule captioning by preserving structurally informative substructures.

Original authors: Aditya Hemant Shahane, Anuj Kumar Sirohi, Devansh Arora, Nitin Kumar, Prathosh A P, Sandeep Kumar

Published 2026-04-28
📖 4 min read☕ Coffee break read

Original authors: Aditya Hemant Shahane, Anuj Kumar Sirohi, Devansh Arora, Nitin Kumar, Prathosh A P, Sandeep Kumar

Original paper licensed under CC BY 4.0 (http://creativecommons.org/licenses/by/4.0/). This is an AI-generated explanation of the paper below. It is not written or endorsed by the authors. For technical accuracy, refer to the original paper. Read full disclaimer

Imagine you are trying to teach a robot two very different skills at once:

  1. Reading a chemical blueprint and describing it in plain English (like a caption for a photo).
  2. Reading a text description (like "a molecule that stops cancer cells") and drawing the exact chemical blueprint.

For a long time, scientists tried to teach these skills using "Autoregressive" models. Think of these like a person writing a sentence one word at a time, left to right. If they make a mistake in the first word, the whole sentence can go off the rails, and they can't easily go back to fix it. Also, these models treat every part of the chemical structure the same way, even though some parts (like the "skeleton" of the molecule) are much harder to get right than others.

The paper introduces BiMol-Diff, a new way to teach the robot using a technique called Diffusion.

The Core Idea: The "Dusty Sketch" Analogy

Imagine you have a perfect drawing of a molecule.

  • Standard Diffusion is like taking that drawing and throwing a bucket of dust over it. It throws the dust evenly everywhere. The delicate, important lines get covered just as much as the empty white space. When the robot tries to clean the dust off to see the drawing again, it struggles because the important lines are buried under too much dust.
  • BiMol-Diff is smarter. It knows which parts of the drawing are the "critical lines" (the chemical structure) and which parts are just "background noise."
    • It throws less dust on the critical lines so they stay visible.
    • It throws more dust on the easy parts.
    • When the robot cleans the drawing, it can easily see the important structure because it was protected, allowing it to reconstruct the molecule perfectly.

How It Works (The Two-Way Street)

The authors built a single "brain" that can do both directions of the task:

  1. From Molecule to Text (Captioning): The robot looks at a chemical structure, sees the "protected" parts, and writes a clear description.
  2. From Text to Molecule (Generation): The robot reads a description, figures out the "hard" chemical parts it needs to protect, and draws the molecule.

To do this, they didn't just use the standard chemical text format (SMILES). They broke the molecule down into a specific format: Atom-Bond-Atom triplets. Imagine taking a molecule apart and listing every connection like a recipe: "Carbon connected to Oxygen, Oxygen connected to Hydrogen." This helps the robot understand the shape better than just a string of letters.

The Secret Sauce: "Token-Aware Noise"

The biggest innovation is how they handle the "dust" (noise).

  • Old Way: "I will mess up every part of the molecule equally."
  • BiMol-Diff Way: "I will look at each part of the molecule. If a part is hard to guess (like a complex ring structure), I will keep it very clean. If a part is easy to guess, I can mess it up more."

This is like a teacher grading a test. If a student struggles with a specific math concept, the teacher gives them extra practice on that specific part, rather than giving them the same amount of practice on everything.

The Results: Did It Work?

The team tested this on two big datasets (collections of molecules and their descriptions).

  • For Describing Molecules: BiMol-Diff wrote better captions than any previous model. It was more accurate and used better vocabulary.
  • For Drawing Molecules: This is where it really shined. When asked to draw a molecule from a description, it got the structure right 15.4% more often than the best previous methods. It also produced molecules that were chemically valid (they actually exist in the real world) and looked very similar to the target.

The Trade-off (The Catch)

The paper is honest about one downside: Speed.
Because the robot has to "clean" the drawing step-by-step (iteratively), it takes longer than the "write one word at a time" models.

  • If you need a result instantly (low latency), the old models are still faster.
  • If you need high quality and accuracy (like in drug discovery where getting the shape wrong is bad), BiMol-Diff is the winner.

Summary

BiMol-Diff is a unified system that treats chemical structures and language as two sides of the same coin. By being "smart" about how it corrupts and cleans data—protecting the hard, important chemical parts while letting the easy parts get messy—it creates a much more reliable bridge between text and molecular design.

Drowning in papers in your field?

Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.

Try Digest →