Using Large Language Models to Extract Key Formulas from Scientific Article Texts
Abstract:
This article studies the problem of extracting formulas of scientific articles presented in pdf format, as well as converting the selected formulas from pdf to LaTeX format. The extraction of the main formulas of a mathematical article and their subsequent presentation in LaTeX format using the large language model DeepSeek is considered. Extraction of the main results of the papers bases on the paper annotations. Then, using a large language model we search fragments of papers describing the main results and highlighting the main formulas within the found fragments. The solution was evaluated using the metrics of precision, recall, and F-measure; the average values of the F-measure for the test collection was 0.93459 and 0,9294. The MySQL database management system is given as a method for storing the obtained data and the description of the database structure is given in text form: database tables, their attributes, as well as types of stored data.
Keywords:
large language model, mathematical paper, basic formula, main formula, LaTeX format, formula extraction