Research & Papers

MioFFAn: Open-source tool uses LLMs to turn math formulas into executable code

Automating the translation of equations into symbolic code with human-in-the-loop LLM assistance

Deep Dive

The paper titled "MioFFAn: an Annotation Software for Formula Formalization with LLM Automation Capabilities" introduces a new open-source framework designed to tackle the challenge of automatically translating mathematical expressions from scientific literature into executable symbolic code (a process called Formula Formalization). The authors—Nicolas Sibuet, Horacio Saggion, and Riccardo Rossi—identify a severe scarcity of high-quality ground-truth datasets specialized for technical scientific domains as a key bottleneck.

MioFFAn builds upon the MioGatto architecture, extending its features to support custom taxonomies, selection of equations of interest, and aided symbolic code specification. Critically, it incorporates partial automation via large language models by defining a modular set of sub-tasks with strict output formats. This allows researchers to iteratively refine automation strategies and evaluate them using standard NLP metrics. The preliminary evaluation demonstrates the effectiveness of this human-in-the-loop approach. The work was presented at the 3rd International Workshop on Natural Scientific Language Processing (NSLP 2026), co-located with LREC2026.

Key Points
  • Open-source, document-centric framework for annotating math formulas into executable symbolic code
  • Built on MioGatto architecture with custom taxonomies and partial LLM automation via modular sub-tasks
  • Preliminary evaluation shows strong human-in-the-loop efficacy for formula formalization

Why It Matters

Bridges the data scarcity gap for AI-driven translation of scientific math into usable code, accelerating research.

📬 Get the top 10 AI stories daily