[Paper Review] G-LLaVA: Solving Geometric Problem with Multi-Modal Large Language Model
This paper proposes G-LLaVA, a multimodal large language model fine-tuned on Geo170K—a synthetic dataset of 170K geometric image-caption and question-answer pairs generated using LLMs to enhance geometric reasoning. G-LLaVA achieves state-of-the-art performance on MathVista's geometry benchmark, surpassing GPT-4-V with only 7B parameters, demonstrating the effectiveness of in-domain data augmentation for geometric problem solving.
Large language models (LLMs) have shown remarkable proficiency in human-level reasoning and generation capabilities, which encourages extensive research on their application in mathematical problem solving. However, current work has been largely focused on text-based mathematical problems, with limited investigation in problems involving geometric information. Addressing this gap, we aim to enable LLMs to solve geometric problems by understanding image input. We first analyze the limitations of current Multimodal Large Language Models (MLLMs) in this area: they struggle to accurately comprehending basic geometric elements and their relationships. To overcome these challenges, we take advantage of the unique characteristics of geometric problems (such as unique geometric logical form, and geometric scalability) and the capacity of the textual LLMs to build an enriched multimodal geometry dataset based on existing data. The augmented dataset, Geo170K, contains more than 170K geometric image-caption and question-answer pairs. Utilizing our constructed Geo170K dataset, we develop G-LLaVA, which demonstrates exceptional performance in solving geometric problems, significantly outperforming GPT-4-V on the MathVista benchmark with only 7B parameters.
Motivation & Objective
- To address the limited capability of existing multimodal large language models (MLLMs) in understanding geometric figures and relationships.
- To overcome the scarcity and low quality of existing geometric reasoning datasets in the multimodal learning space.
- To develop a method for synthesizing high-quality, diverse geometric visual-text data using text-only LLMs.
- To train a multimodal model that excels in solving geometric problems through in-domain pre-training and instruction tuning.
- To demonstrate that data augmentation leveraging geometric logic and scalability can significantly improve MLLM performance on geometric reasoning tasks.
Proposed method
- The authors generate the Geo170K dataset by leveraging the unique structural and logical properties of geometry—such as geometric scalability, representation uniqueness, and logical form—using text-only LLMs to synthesize image-caption and question-answer pairs from existing datasets.
- The model is trained in two stages: cross-modal alignment using a projection head to align visual and textual features, followed by instruction tuning with curated, in-domain data.
- During training, images are resized to square format with white padding, and data augmentation includes up to 25% translation of image content.
- The model uses a learnable projection layer and fine-tunes both the vision encoder and language model during alignment and instruction tuning phases.
- Evaluation uses Top-1 accuracy with regex-based answer extraction, and the model is prompted to output choices in a fixed format to ensure consistency.
- The alignment phase is explicitly ablated to validate its contribution to geometric understanding.
Experimental results
Research questions
- RQ1Can synthetic data generation using LLMs significantly improve MLLMs' performance on geometric reasoning tasks?
- RQ2Does in-domain pre-training on a curated, large-scale geometric dataset enhance MLLM understanding of geometric figures and relationships?
- RQ3Can a 7B-parameter MLLM outperform larger, more powerful models like GPT-4-V on geometric problem solving?
- RQ4How does cross-modal alignment contribute to the model's ability to interpret geometric elements such as angles, lines, and shapes?
- RQ5To what extent does the model generalize across different types and difficulty levels of geometric problems?
Key findings
- G-LLaVA-7B surpasses GPT-4-V on the geometry split of the MathVista benchmark, achieving 64.2% Top-1 accuracy, demonstrating that smaller models can outperform larger ones with better in-domain data.
- G-LLaVA-13B achieves 67.0% Top-1 accuracy on the same benchmark, outperforming LLaVA-13B by 27.4 percentage points on the GPS minitest split.
- On problems with higher reasoning complexity (OP >= 4), G-LLaVA-7B maintains 40.9% accuracy, significantly outperforming LLaVA-7B’s 22.9%.
- The model achieves 70.7% accuracy on angle-related problems and 56.5% on length problems, outperforming baselines across all geometric problem types.
- Ablation studies confirm that the cross-modal alignment phase improves performance by 1.4 percentage points (from 62.8% to 64.2%), proving its effectiveness in enhancing visual understanding.
- G-LLaVA’s Top-1 accuracy exceeds the Top-10 accuracy of prior SOTA methods like Geoformer (46.8%) and UniMath (50.0%), indicating superior predictive precision.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.