English

GeoLoom: High-quality Geometric Diagram Generation from Textual Input

Computer Vision and Pattern Recognition 2025-12-10 v1

Abstract

High-quality geometric diagram generation presents both a challenge and an opportunity: it demands strict spatial accuracy while offering well-defined constraints to guide generation. Inspired by recent advances in geometry problem solving that employ formal languages and symbolic solvers for enhanced correctness and interpretability, we propose GeoLoom, a novel framework for text-to-diagram generation in geometric domains. GeoLoom comprises two core components: an autoformalization module that translates natural language into a specifically designed generation-oriented formal language GeoLingua, and a coordinate solver that maps formal constraints to precise coordinates using the efficient Monte Carlo optimization. To support this framework, we introduce GeoNF, a dataset aligning natural language geometric descriptions with formal GeoLingua descriptions. We further propose a constraint-based evaluation metric that quantifies structural deviation, offering mathematically grounded supervision for iterative refinement. Empirical results demonstrate that GeoLoom significantly outperforms state-of-the-art baselines in structural fidelity, providing a principled foundation for interpretable and scalable diagram generation.

Keywords

Cite

@article{arxiv.2512.08180,
  title  = {GeoLoom: High-quality Geometric Diagram Generation from Textual Input},
  author = {Xiaojing Wei and Ting Zhang and Wei He and Jingdong Wang and Hua Huang},
  journal= {arXiv preprint arXiv:2512.08180},
  year   = {2025}
}
R2 v1 2026-07-01T08:16:00.370Z