SafeMol: Dual-Modality Safety Alignment for Molecular Multimodal Models
Xinmiao WangRuijie WangMenghui WangJiawei ChenHaoyue DengRan ZhangXingxuan ZhangXiao Wang
Xinmiao Wang
Ruijie Wang
Menghui Wang
Jiawei Chen
Haoyue Deng
Ran Zhang
Xingxuan Zhang
Xiao Wang
+8
SafeMol addresses safety vulnerabilities in molecular multimodal models, where attacks can succeed under both text-only and graph-conditioned inputs. The authors construct SafeMolBench, a benchmark of 3702 samples covering 618 hazardous molecules, organized into subsets for safety, over-refusal, and utility. They then propose SafeMol, a parameter-efficient framework that jointly optimizes lightweight modules across modalities and uses Maximum Mean Discrepancy (MMD) to align representations, reducing modality-induced discrepancies while explicitly modeling molecular hazardousness and harmful intent. Experiments show tens-of-percentage reductions in attack success with low over-refusal and preserved utility.

arXiv ·
· September 27, 2026