arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2605.01299cs.LG
收藏

GA-VisAgent:一种用于交互式学习中代码生成和可视化的多智能体应用

GA-VisAgent: A Multi-Agent application for code generation and visualization in interactive learning

School of Geography, Nanjing Normal University, Nanjing 210023, Jiangsu, China(地理学院,南京师范大学);School of Environment, Nanjing Normal University, Nanjing 210023, Jiangsu, China(环境学院,南京师范大学);Key Laboratory of Virtual Geographic Environment, Ministry of Education, Nanjing Normal University, Nanjing 210023, Jiangsu, China(虚拟地理环境重点实验室,南京师范大学);Jiangsu Center for Collaborative Innovation in Geographical Information Resource Development(江苏省地理信息资源开发与应用协同创新中心)

Wang Jian, Zhou Jianbo, Xiong Yuhao, Liu Zhenxia, Luo Wen, Yuan LinWang, Yu ZhaoYuan

AI总结:

GA-VisAgent基于GAGPT提出多智能体应用,通过任务规划和ReAct策略生成代码并提供可视化,实验显示在40个典型Conformal GA任务中代码生成成功率达90%,比GPT-4o提升70%。

摘要:

几何代数(GA)因其高度抽象的数学结构和复杂的运算规则给学习者带来挑战,将代数操作转化为具体的几何解释是一个非直观的过程。现有的GA软件包依赖手动编写脚本生成代码和可视化,但其高学习曲线限制了广泛应用。同时,基于大语言模型(LLM)的方法在生成特定GA脚本时常产生逻辑错误,如GAALOPScript,导致准确性较低。为解决这些问题,本研究提出了GA-VisAgent——一种用于GA代码生成和可视化的多智能体交互学习应用,基于几何代数大语言模型(GAGPT)。通过整合任务规划机制与ReAct推理策略,GA-VisAgent可将复杂操作分解为五个标准化子任务,包括几何积、旋转和反射等核心操作。它支持自然语言和数学公式作为输入,自动生成可执行代码,并提供交互式可视化以帮助用户理解。实验结果表明,GA-VisAgent在40个典型Conformal GA任务中实现了90%的代码生成成功率,比GPT-4o提升了70%。该应用引入了教学GA和开发相关数学概念可视化工具的新可扩展范式。该项目的在线服务将在http://gagis.cn/gacrac上提供。

英文摘要:

Geometric Algebra (GA) presents challenges to learners due to its highly abstract mathematical structure and complex operational rules, as translating algebraic manipulations into concrete geometric interpretations is a non-intuitive process when developing related code. Currently, some existing GA software packages rely on manually written scripts for code generation and visualization, but their high learning curve hinders widespread adoption. Meanwhile, methods based on Large Language Models (LLMs) often produce logical errors when generating specific GA scripts, such as GAALOPScript, resulting in generally low accuracy. To address these issues, this study proposes GA-VisAgent -- a multi-agent interactive learning application for GA code generation and visualization -- building upon a Geometric algebra large language model (GAGPT). Integrating task planning mechanisms with ReAct reasoning strategies, GA-VisAgent can decompose complex operations into five standardized subtasks, including core operations like geometric products, rotations, and reflections. It supports natural language and mathematical formulas as input to automatically generate executable code, accompanied by interactive visualizations to aid user comprehension. Experimental results show that GA-VisAgent achieved a 90% code generation success rate across 40 typical Conformal GA tasks, representing a 70% improvement over GPT-4o. This application introduces an extensible new paradigm for teaching GA and developing visualization tools for related mathematical concepts. The online service for this project will be available at http://gagis.cn/gacrac.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑