SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2312.11370 · 2023

G-LLaVA: Solving Geometric Problem with Multi-Modal Large Language Model

arXiv · PDF · Open in the Atlas

Code that ran

We lifted 6 functions out of this paper's own repositories and ran 4 of them in a sandbox. "Ran" means the function executed on a synthesized input and returned a value. It is not a reproduction of the paper's results.

RepositoryRoleRan
pipilurj/g-llava canonical 4 of 6
FunctionStatusWhere it lives
get_chunk Ran pipilurj/g-llava/gllava/eval/model_vqa_llava.py
pointer only (licence: NONE) · get_code("42a46570620cd9fa")
load_image Ran pipilurj/g-llava/gllava/eval/run_llava.py
pointer only (licence: NONE) · get_code("9b3c1cb391672ccb")
split_list Ran pipilurj/g-llava/gllava/eval/model_vqa_llava.py
pointer only (licence: NONE) · get_code("076c252c52cbb161")
split_to_even_chunks Ran pipilurj/g-llava/gllava/train/llava_trainer.py
pointer only (licence: NONE) · get_code("10893c4608c08075")
get_mm_adapter_state_maybe_zero_3 Not yet run pipilurj/g-llava/gllava/train/llava_trainer.py
pointer only (licence: NONE) · get_code("bb35e3ac741bb2c9")
maybe_zero_3 Not yet run pipilurj/g-llava/gllava/train/llava_trainer.py
pointer only (licence: NONE) · get_code("735025744c1ab0cf")

Repositories linked to this paper

Some links come from the archived Papers with Code dataset (CC BY-SA 4.0): attribution and licence.

Abstract

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.

For agents

The same record, over MCP at https://syntology.ai/mcp:

get_harvested_code_for_paper("2312.11370")
get_code_for_paper("2312.11370")
have("2312.11370")

Connect an agent — have() is free.