2025-05-27 · 专家 · 机器学习 · 自然语言处理 · 计算机视觉

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

这篇论文提出了一种名为MMGeoLM的新型硬负样本对比学习框架,通过增强视觉编码器来提高大型多模态模型在几何推理任务中的性能。

更新于 2025-05-27。作者:Kai Sun、Yushi Bai、Zhen Yang、Jiajie Zhang、Ji Qi、Lei Hou、Juanzi Li。

中文摘要

受益于在大规模自然场景图像上对比训练的视觉编码器,大型多模态模型(LMMs)在多种视觉感知任务上取得了显著的性能。然而,对比学习在总结描述上的固有局限性从根本上限制了模型在细致推理方面的能力,尤其是在解决几何问题的关键场景中。为了增强几何理解,我们提出了一种针对视觉编码器的新型硬负对比学习框架,该框架结合了基于图像的对比学习,使用通过扰动图表生成代码创建的基于生成的硬负样本,以及基于文本的对比学习,使用基于修改的几何描述的规则负样本和基于标题相似度的检索负样本。我们使用我们的强大负学习方法MMCLIP(多模态数学CLIP)训练CLIP,随后训练一个用于几何问题解决的LMM。实验表明,我们训练的模型MMGeoLM在三个几何推理基准测试上显著优于其他开源模型。即使规模达到70亿,它也能与GPT-4o等强大的闭源模型相媲美。我们进一步研究了不同负样本构建方法和负样本数量对LMM几何推理性能的影响,得出了有价值的结论。代码和数据集可在https://github.com/THU-KEG/MMGeoLM上获取。

英文摘要

Benefiting from contrastively trained visual encoders on large-scale natural scene images, Large Multimodal Models (LMMs) have achieved remarkable performance across various visual perception tasks. However, the inherent limitations of contrastive learning upon summarized descriptions fundamentally restrict the capabilities of models in meticulous reasoning, particularly in crucial scenarios of geometric problem-solving. To enhance geometric understanding, 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 CLIP using our strong negative learning 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 study the impact of different negative sample construction methods and the number of negative samples on the geometric reasoning performance of LMM, yielding fruitful conclusions. The code and dataset are available at https://github.com/THU-KEG/MMGeoLM.

解读

一句话总结

这篇论文提出了一种名为MMGeoLM的新型硬负样本对比学习框架,通过增强视觉编码器来提高大型多模态模型在几何推理任务中的性能。

问题1:这篇论文想要解决什么具体问题?

问题2:论文的核心创新点是什么?

问题3:实验结果如何验证了方法的有效性?

问题4:这个研究的实际应用价值是什么?

来源