Exploring Optimal Transport-Based Multi-Grained Alignments for Text-Molecule Retrieval

Zijun Min, Bingshuai Liu, Liang Zhang, Jia Song, Jinsong Su +2 more
11/4/2024
cs.IRcs.AIcs.CL

No official code found. Best implementation: XMUDeepLIT/Orma (3 stars, last commit 2025-03-21).

Abstract

The field of bioinformatics has seen significant progress, making the cross-modal text-molecule retrieval task increasingly vital. This task focuses on accurately retrieving molecule structures based on textual descriptions, by effectively aligning textual descriptions and molecules to assist researchers in identifying suitable molecular candidates. However, many existing approaches overlook the details inherent in molecule sub-structures. In this work, we introduce the Optimal TRansport-based Multi-grained Alignments model (ORMA), a novel approach that facilitates multi-grained alignments between textual descriptions and molecules. Our model features a text encoder and a molecule encoder. The text encoder processes textual descriptions to generate both token-level and sentence-level representations, while molecules are modeled as hierarchical heterogeneous graphs, encompassing atom, motif, and molecule nodes to extract representations at these three levels. A key innovation in ORMA is the application of Optimal Transport (OT) to align tokens with motifs, creating multi-token representations that integrate multiple token alignments with their corresponding motifs. Additionally, we employ contrastive learning to refine cross-modal alignments at three distinct scales: token-atom, multitoken-motif, and sentence-molecule, ensuring that the similarities between correctly matched text-molecule pairs are maximized while those of unmatched pairs are minimized. To our knowledge, this is the first attempt to explore alignments at both the motif and multi-token levels. Experimental results on the ChEBI-20 and PCdes datasets demonstrate that ORMA significantly outperforms existing state-of-the-art (SOTA) models.

View on arXivView PDF

Code Implementations(1)

XMUDeepLIT/OrmaCommunity57%

Code from "Exploring optimal transport-based multi-grained alignments for text-molecule retrieval" (IEEE BIBM 2024)

30Shell, PythonDec 31, 20241 years ago

Similar Papers

Cite this paper

@article{min2024exploring,
  title  = {Exploring Optimal Transport-Based Multi-Grained Alignments for Text-Molecule Retrieval},
  author = {Zijun Min and Bingshuai Liu and Liang Zhang and Jia Song and Jinsong Su and Song He and Xiaochen Bo},
  year   = {2024},
  eprint = {2411.11875},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2411.11875v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2411.11875.svg)](https://codeofpaper.com/paper/2411.11875)

Discussion