TeXBLEU: Automatic Metric for Evaluate LaTeX Format
Fuente:
arXiv
Saved in:
| Main Authors: | , , , , , |
|---|---|
| Format: | Preprint |
| Published: |
2024
|
| Subjects: | |
| Online Access: | |
| Tags: |
Add Tag
No Tags, Be the first to tag this record!
|
| _version_ | 1866929499179843584 |
|---|---|
| author | Jung, Kyudan Kim, Nam-Joon Ryu, Hyongon Hyeon, Sieun Lee, Seung-jun Lee, Hyeok-jae |
| author_facet | Jung, Kyudan Kim, Nam-Joon Ryu, Hyongon Hyeon, Sieun Lee, Seung-jun Lee, Hyeok-jae |
| contents | LaTeX is suitable for creating specially formatted documents in science, technology, mathematics, and computer science. Although the use of mathematical expressions in LaTeX format along with language models is increasing, there are no proper evaluation matrices to evaluate them. In this study, we propose TeXBLEU, a metric for evaluating mathematical expressions in the LaTeX format built on the n-gram-based BLEU metric widely used in translation tasks. The proposed TeXBLEU consists of a predefined tokenizer trained on the arXiv paper dataset and a fine-tuned embedding model with positional encoding. The TeXBLEU score was calculated by replacing BLUE's modified precision score with the similarity of n-gram-based tokens. TeXBLEU showed improvements of 86\%, 121\%, and 610\% over traditional evaluation metrics, such as BLEU, sacreBLEU, and Rouge, respectively, on the MathBridge dataset with 1,000 data points. The code is available at https://github.com/KyuDan1/TeXBLEU. |
| format | Preprint |
| id |
arxiv_https___arxiv_org_abs_2409_06639 |
| institution | arXiv |
| publishDate | 2024 |
| record_format | arxiv |
| spellingShingle | TeXBLEU: Automatic Metric for Evaluate LaTeX Format Jung, Kyudan Kim, Nam-Joon Ryu, Hyongon Hyeon, Sieun Lee, Seung-jun Lee, Hyeok-jae Computation and Language LaTeX is suitable for creating specially formatted documents in science, technology, mathematics, and computer science. Although the use of mathematical expressions in LaTeX format along with language models is increasing, there are no proper evaluation matrices to evaluate them. In this study, we propose TeXBLEU, a metric for evaluating mathematical expressions in the LaTeX format built on the n-gram-based BLEU metric widely used in translation tasks. The proposed TeXBLEU consists of a predefined tokenizer trained on the arXiv paper dataset and a fine-tuned embedding model with positional encoding. The TeXBLEU score was calculated by replacing BLUE's modified precision score with the similarity of n-gram-based tokens. TeXBLEU showed improvements of 86\%, 121\%, and 610\% over traditional evaluation metrics, such as BLEU, sacreBLEU, and Rouge, respectively, on the MathBridge dataset with 1,000 data points. The code is available at https://github.com/KyuDan1/TeXBLEU. |
| title | TeXBLEU: Automatic Metric for Evaluate LaTeX Format |
| topic | Computation and Language |
| url | https://arxiv.org/abs/2409.06639 |