TransLaTeX: Exposing the Last-Mile Execution Gap in LLM-Agent for Scientific Formatting

Jiawen Lyn, Yvette Graham


Abstract
Large Language Models (LLMs) have achieved remarkable progress in tasks such as survey writing and language polishing, yet the final stage of LaTeX formatting and template adaptation remains a neglected and error-prone bottleneck.We identify an execution illusion, where LLMs produce linguistically fluent but unexecutable LaTeX code.To address this, we introduce TransLaTeX—the first reasoning-and-control framework that converts documents between scholarly templates with compiler-level verifiability.TransLaTeX achieves three key innovations:(1) Structure–content separation via placeholder masking, ensuring privacy and less token consumption;(2) SafeFormatBench, the first benchmark dedicated to executable LaTeX generation and template conversion; and(3) Execution-grounded verification across compilation, policy compliance, and visual consistency.TransLaTeX outperforms Pandoc and full-text LLM baselines on SafeFormatBench in compilation rate, ACL policy compliance, and layout fidelity, effectively mitigating the execution illusion.
Anthology ID:
2025.sciprodllm-1.3
Volume:
Proceedings of The First Workshop on Human–LLM Collaboration for Ethical and Responsible Science Production (SciProdLLM)
Month:
December
Year:
2025
Address:
Mumbai, India (Hybrid)
Editors:
Wei Zhao, Jennifer D’Souza, Steffen Eger, Anne Lauscher, Yufang Hou, Nafise Sadat Moosavi, Tristan Miller, Chenghua Lin
Venues:
SciProdLLM | WS
SIG:
Publisher:
Association for Computational Linguistics
Note:
Pages:
19–24
Language:
URL:
https://preview.aclanthology.org/ingest-ijcnlp-aacl/2025.sciprodllm-1.3/
DOI:
Bibkey:
Cite (ACL):
Jiawen Lyn and Yvette Graham. 2025. TransLaTeX: Exposing the Last-Mile Execution Gap in LLM-Agent for Scientific Formatting. In Proceedings of The First Workshop on Human–LLM Collaboration for Ethical and Responsible Science Production (SciProdLLM), pages 19–24, Mumbai, India (Hybrid). Association for Computational Linguistics.
Cite (Informal):
TransLaTeX: Exposing the Last-Mile Execution Gap in LLM-Agent for Scientific Formatting (Lyn & Graham, SciProdLLM 2025)
Copy Citation:
PDF:
https://preview.aclanthology.org/ingest-ijcnlp-aacl/2025.sciprodllm-1.3.pdf