arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2505.20152cs.CVcs.AIcs.CL
收藏

MMGeoLM:面向大多模态模型细粒度几何理解的难负例对比学习

MMGeoLM: Hard Negative Contrastive Learning for Fine-Grained Geometric Understanding in Large Multimodal Models

Tsinghua University(清华大学)

Kai Sun, Yushi Bai, Zhen Yang, Jiajie Zhang, Ji Qi, Lei Hou, Juanzi Li

AI总结:

针对大多模态模型在几何场景下细粒度视觉理解能力不足的问题,提出融合图像与文本难负例的对比学习框架,训练出的MMGeoLM模型在几何推理任务上性能优异,可媲美闭源模型。

摘要:

大多模态模型(LMMs)通常基于视觉Transformer(ViTs,例如CLIP)构建,但其采用简单的随机批次内负例进行训练,限制了捕捉细粒度视觉差异的能力,在几何场景中尤为突出。为解决这一挑战,我们提出一种面向视觉编码器的新型难负例对比学习框架,该框架结合了两种对比学习方式:一是基于图像的对比学习,使用通过扰动示意图生成代码创建的生成式难负例;二是基于文本的对比学习,使用由修改后的几何描述衍生的规则式负例,以及根据字幕相似度选择的检索式负例。我们使用所提出的难负例训练方法训练视觉编码器(CLIP),即MMCLIP(多模态数学CLIP),随后训练用于几何问题求解的LMM。实验表明,我们训练的模型MMGeoLM在三个几何推理基准上显著优于其他开源模型。即便参数量为7B,它也能与GPT-4o等强大的闭源模型相媲美。我们进一步开展消融实验,分析了三个关键因素:难负例类型、基于图像的负例的效率以及训练配置。这些分析为优化面向细粒度几何推理任务的视觉编码器训练流程提供了重要见解。项目地址:https://github.com/THU-KEG/MMGeoLM。

英文摘要:

Large Multimodal Models (LMMs) typically build on ViTs (e.g., CLIP), yet their training with simple random in-batch negatives limits the ability to capture fine-grained visual differences, particularly in geometric scenarios. To address this challenge, we propose a novel hard negative contrastive learning framework for the vision encoder, which combines image-based contrastive learning using generation-based hard negatives created by perturbing diagram generation code, and text-based contrastive learning using rule-based negatives derived from modified geometric descriptions and retrieval-based negatives selected based on caption similarity. We train a vision encoder (CLIP) using our hard negative training method, namely MMCLIP (Multimodal Math CLIP), and subsequently train an LMM for geometric problem-solving. Experiments show that our trained model, MMGeoLM, significantly outperforms other open-source models on three geometric reasoning benchmarks. Even with a size of 7B, it can rival powerful closed-source models like GPT-4o. We further conduct ablation studies to analyze three key factors: hard negative types, the efficiency of image-based negatives, and training configurations. These analyses yield important insights into optimizing the training pipeline of vision encoder for fine-grained geometric reasoning tasks. https://github.com/THU-KEG/MMGeoLM.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑