MagicGeo:无需训练的文本引导几何图形生成
MagicGeo: Training-Free Text-Guided Geometric Diagram Generation
AI总结:
针对文本生成几何图形难以保证空间与几何正确性的问题,本文提出无需训练的 MagicGeo 框架,结合 LLM、形式化求解与坐标优化,并构建 220 例 MagicGeoBench 验证其优越性。
摘要:
几何图形对于传达数学和科学概念至关重要,但传统的图形生成方法通常依赖人工且耗费大量资源。尽管文本到图像生成已在照片级真实图像方面取得进展,但由于需要精确的空间关系且缺乏几何专用数据集,创建准确的几何图形仍然是一项挑战。本文提出 MagicGeo,这是一种无需训练、可根据文本描述生成几何图形的框架。MagicGeo 将图形生成过程表述为坐标优化问题,通过形式化语言求解器确保几何正确性,随后采用坐标感知生成。该框架利用大型语言模型强大的语言翻译能力,同时以形式化数学求解保证几何正确性。我们进一步推出 MagicGeoBench,这是一个包含 220 条几何图形描述的基准数据集,并证明 MagicGeo 在定性和定量评估中均优于现有方法。本工作为自动化图形生成提供了可扩展且准确的解决方案,对教育和学术应用具有重要意义。
英文摘要:
Geometric diagrams are critical in conveying mathematical and scientific concepts, yet traditional diagram generation methods are often manual and resource-intensive. While text-to-image generation has made strides in photorealistic imagery, creating accurate geometric diagrams remains a challenge due to the need for precise spatial relationships and the scarcity of geometry-specific datasets. This paper presents MagicGeo, a training-free framework for generating geometric diagrams from textual descriptions. MagicGeo formulates the diagram generation process as a coordinate optimization problem, ensuring geometric correctness through a formal language solver, and then employs coordinate-aware generation. The framework leverages the strong language translation capability of large language models, while formal mathematical solving ensures geometric correctness. We further introduce MagicGeoBench, a benchmark dataset of 220 geometric diagram descriptions, and demonstrate that MagicGeo outperforms current methods in both qualitative and quantitative evaluations. This work provides a scalable, accurate solution for automated diagram generation, with significant implications for educational and academic applications.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。