mlsanityData to 14 Oct 2026

TeXpert: A Multi-Level Benchmark for Evaluating LaTeX Code Generation by LLMs

arXiv 2506.16990 ↗First posted 20 Jun 2025cs.CL cs.AIcited by 7

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

  1. 2021Measuring Mathematical Problem Solving With the MATH Datasetcited by 5,371
  2. 2024Gemini 1.5: Unlocking multimodal understanding across millions of tokens of contextcited by 3,224
  3. 2024DeepSeek-Coder: When the Large Language Model Meets Programming -- The Rise of Code Intelligencecited by 1,181
  4. 2024MathVerse: Does Your Multi-modal LLM Truly See the Diagrams in Visual Math Problems?cited by 586
  5. 2024InFoBench: Evaluating Instruction Following Ability in Large Language Modelscited by 135
  6. 2024MEDEC: A Benchmark for Medical Error Detection and Correction in Clinical Notescited by 80
  7. 2016Image-to-Markup Generation with Coarse-to-Fine Attentioncited by 79
  8. 2024The SIFo Benchmark: Investigating the Sequential Instruction Following Ability of Large Language Modelscited by 18
  9. 2023Struc-Bench: Are Large Language Models Really Good at Generating Complex Structured Data?cited by 16
  10. 2024MathBridge: A Large Corpus Dataset for Translating Spoken Mathematical Expressions into LaTeX Formulas for Improved Readabilitycited by 5
  11. 2024The Potential of LLMs in Automating Software Testing: From Generation to Reportingcited by 2

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2025: 2; 2026: 5.

7 papers.