Domain Adaptation Fine-Tuning LLM for Text Error Detection in Industrial Documents

Complex product manufacturing involves multiple production stages. Since each stage is relatively independent, many documents are needed to assure completeness and improve efficiency. Text errors in industrial documents can reduce the readability of documents. Therefore, text error detection in industrial documents is necessary. Manual detection is not only time-consuming, but also prone to missing some potential errors. Current automatic text error detection strategies primarily focus on specific types of text errors in general corpora, but do not address the need for detecting multiple types of text errors in industrial scenarios. Addressing the above limitations, this paper presents a framework based on domain adaptation fine-tuning, adapting pre-trained Large Language Models (LLMs) to text error detection in industrial documents. Before fine-tuning, we create a text error detection instruction dataset from industrial documents through data preprocessing and prompt design. This dataset serves as the foundation for domain adaptation finetuning of LLMs. To improve fine-tuning efficiency, the model is fine-tuned with Low-Rank Adaptation (LoRA), which reduces training time and lowers memory usage compared to full finetuning. Experimental results show that the assessment score of the domain-adapted LLM for text error detection in industrial documents is significantly improved. Furthermore, the performance of fine-tuned model with fewer parameters can be comparable to, or even exceed, that of larger models on specific tasks. Based on the preceding discussion, we demonstrate the effectiveness of the proposed framework.

Authors

Institutions

Publication Details

Published
2024-10-19
DOI
https://doi.org/10.1109/uv63228.2024.11189196
Primary Topic
Educational Technology and Assessment
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Domain Adaptation Fine-Tuning LLM for Text Error Detection in Industrial Documents

Yuanjun Laili, Haiteng Wang, Chengwen Qi, D.S.W. Tan et al.
Educational Technology and Assessment
article

Domain Adaptation Fine-Tuning LLM for Text Error Detection in Industrial Documents

Yuanjun Laili, Haiteng Wang, Chengwen Qi, D.S.W. Tan, Lin Zhang
article en

Abstract

Complex product manufacturing involves multiple production stages. Since each stage is relatively independent, many documents are needed to assure completeness and improve efficiency. Text errors in industrial documents can reduce the readability of documents. Therefore, text error detection in industrial documents is necessary. Manual detection is not only time-consuming, but also prone to missing some potential errors. Current automatic text error detection strategies primarily focus on specific types of text errors in general corpora, but do not address the need for detecting multiple types of text errors in industrial scenarios. Addressing the above limitations, this paper presents a framework based on domain adaptation fine-tuning, adapting pre-trained Large Language Models (LLMs) to text error detection in industrial documents. Before fine-tuning, we create a text error detection instruction dataset from industrial documents through data preprocessing and prompt design. This dataset serves as the foundation for domain adaptation finetuning of LLMs. To improve fine-tuning efficiency, the model is fine-tuned with Low-Rank Adaptation (LoRA), which reduces training time and lowers memory usage compared to full finetuning. Experimental results show that the assessment score of the domain-adapted LLM for text error detection in industrial documents is significantly improved. Furthermore, the performance of fine-tuned model with fewer parameters can be comparable to, or even exceed, that of larger models on specific tasks. Based on the preceding discussion, we demonstrate the effectiveness of the proposed framework.

Beihang University (CN)
Openalex Percentile: Top 49%
Educational Technology and Assessment
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.