TeXpert: A Multi-Level Benchmark for Evaluating LaTeX Code Generation by LLMs
Not on the map. Why?
Abstract (arXiv)
LaTeX's precision and flexibility in typesetting have made it the gold standard for the preparation of scientific documentation. Large Language Models (LLMs) present a promising opportunity for researchers to produce publication-ready material using LaTeX with natural language instructions, yet current benchmarks completely lack evaluation of this ability. By introducing TeXpert, our benchmark dataset with natural language prompts for generating LaTeX code focused on components of scientific documents across multiple difficulty levels, we conduct an in-depth analysis of LLM performance in this regard and identify frequent error types. Our evaluation across open and closed-source LLMs highlights multiple key findings: LLMs excelling on standard benchmarks perform poorly in LaTeX generation with a significant accuracy drop-off as the complexity of tasks increases; open-source models like DeepSeek v3 and DeepSeek Coder strongly rival closed-source counterparts in LaTeX tasks; and formatting and package errors are unexpectedly prevalent, suggesting a lack of diverse LaTeX examples in the training datasets of most LLMs. Our dataset, code, and model evaluations are available at https://github.com/knowledge-verse-ai/TeXpert.
Key facts. Cited by 7 papers in the map (data through 14 Oct 2026). Builds on 11 of its 23 references that are in the map. First posted on arXiv 20 Jun 2025.
Builds on
11 of 23 references.
References · 11
- 2021Measuring Mathematical Problem Solving With the MATH Datasetcited by 5,371
- 2024Gemini 1.5: Unlocking multimodal understanding across millions of tokens of contextcited by 3,224
- 2024DeepSeek-Coder: When the Large Language Model Meets Programming -- The Rise of Code Intelligencecited by 1,181
- 2024MathVerse: Does Your Multi-modal LLM Truly See the Diagrams in Visual Math Problems?cited by 586
- 2024InFoBench: Evaluating Instruction Following Ability in Large Language Modelscited by 135
- 2024MEDEC: A Benchmark for Medical Error Detection and Correction in Clinical Notescited by 80
- 2016Image-to-Markup Generation with Coarse-to-Fine Attentioncited by 79
- 2024The SIFo Benchmark: Investigating the Sequential Instruction Following Ability of Large Language Modelscited by 18
- 2023Struc-Bench: Are Large Language Models Really Good at Generating Complex Structured Data?cited by 16
- 2024MathBridge: A Large Corpus Dataset for Translating Spoken Mathematical Expressions into LaTeX Formulas for Improved Readabilitycited by 5
- 2024The Potential of LLMs in Automating Software Testing: From Generation to Reportingcited by 2
Built on by
Citing papers per year: 2025: 2; 2026: 5.
7 papers.
- 2026AI for Auto-Research: Roadmap & User Guidecited by 11
- 2025Visual-TableQA: Open-Domain Benchmark for Reasoning over Table Imagescited by 6
- 2025Speech-to-LaTeX: New Models and Datasets for Converting Spoken Equations and Sentencescited by 1
- 2026.tmu: A Low-Entropy Tree-Structured Representation for LLM-Assisted Scientific Writingcited by 0
- 2026CangjieBench: Benchmarking LLMs on a Low-Resource General-Purpose Programming Languagecited by 0
- 2026A Dual-Track Framework for Template-Constrained LaTeX Conversioncited by 0
- 2026Curriculum as Code: An AI-Assisted Architecture for Instructional Design in STEM Educationcited by 0
- 2026Curriculum as Code: An AI-Assisted Architecture for Instructional Design in STEM Education7 Aug 2026
- 2026A Dual-Track Framework for Template-Constrained LaTeX Conversion22 Jun 2026
- 2026AI for Auto-Research: Roadmap & User Guide18 May 2026
- 2026CangjieBench: Benchmarking LLMs on a Low-Resource General-Purpose Programming Language15 Mar 2026
- 2026.tmu: A Low-Entropy Tree-Structured Representation for LLM-Assisted Scientific Writing3 Mar 2026
- 2025Visual-TableQA: Open-Domain Benchmark for Reasoning over Table Images9 Sep 2025
- 2025Speech-to-LaTeX: New Models and Datasets for Converting Spoken Equations and Sentences5 Aug 2025