Research Article

Prompting Precision: School-Enterprise Joint Exploration of Prompt Engineering and AIGC Optimization of Enterprise Text Classification Model

Shengfeng Lin*
Guangzhou City University of Technology, Guangdong, Guangzhou, 510800, China.

* Corresponding author: [email protected]

Abstract

In order to meet the needs of enterprises for accurate classification of massive text data in the process of digital transformation, this paper applies the optimized text classification model combining prompt engineering and AIGC to enterprise text classification task. And choose classical decision trees, mainstream ensemble learning models (Random Forest, AdaBoost, GBDT, ExtraTrees) and high-performance gradient enhancement model XGBoost as comparison models. The performance of the model was evaluated by five metrics: mean square error (MSE), root mean square error (RMSE), mean absolute error (MAE), mean absolute percentage error (MAPE), and coefficient of determination (R²). The experimental results show that the MSE of our model is 14.153, which is significantly lower than all comparison models and about 13.4% lower than the suboptimal AdaBoost (16.352). Its RMSE (3.762), MAE (3.069), and MAPE (5.029) are also the smallest of all models, decreasing by 7.0%, 3.7%, and 2.2% compared to the corresponding metrics of AdaBoost (4.044, 3.186, 5.142), respectively, indicating that the model has smaller prediction bias and better accuracy in category estimation. Meanwhile, the R² value of our model reaches 0.826, which is higher than the comparative models such as Random Forest (0.74), GBDT (0.783), and XGBoost (0.732). It can explain 82.6% of text category changes, capturing the mapping relationship between text features and categories more accurately. The above results validate the effectiveness of the collaborative optimization strategy of cue engineering and AIGC-cue engineering can guide the model to focus on key semantic features of text to reduce feature extraction bias, while AIGC can supplement high-quality text samples or enhance feature expression dimensions to alleviate data sparsity. The combination of the two significantly improves the prediction accuracy and stability of the text classification model.

Keywords: Prompt engineering; AIGC; text classification; school-enterprise cooperation
Published: October 28, 2025
DOI: 10.54254/2755-2721/2025.28788
Volume: ACE Vol.193
pp. 44-51
Download PDF

References

  1. Ye, Dongdong, et al. "Optimizing AIGC services by prompt engineering and edge computing: A generative diffusion model-based contract theory approach." IEEE Transactions on Vehicular Technology (2024).
  2. Liu, Yinqiu, et al. "Optimizing mobile-edge AI-generated everything (AIGX) services by prompt engineering: Fundamental, framework, and case study." Ieee Network 38.5 (2023): 220-228.
  3. Liu, Yinqiu, et al. "Cross-modal generative semantic communications for mobile AIGC: Joint semantic encoding and prompt engineering." IEEE Transactions on Mobile Computing (2024).
  4. Liu, Jiangfeng, et al. "Leveraging generative AI through prompt engineering for corpus construction and in-depth intelligent interpretation of ancient texts." Digital Scholarship in the Humanities (2025): fqaf043.
  5. Guo, Jie, et al. "Large language models and artificial intelligence generated content technologies meet communication networks." IEEE Internet of Things Journal (2024).
  6. Zhang, Mingming, et al. "Aigt: Ai generative table based on prompt."  arXiv preprint arXiv: 2412.18111  (2024).
  7. Chen, Banghao, et al. "Unleashing the potential of prompt engineering in large language models: a comprehensive review."  arXiv preprint arXiv: 2310.14735  (2023).
  8. Chen, Banghao, et al. "Unleashing the potential of prompt engineering for large language models." Patterns (2025).
  9. Yu, Zuge, and Yeming Gong. "ChatGPT, AI-generated content, and engineering management." Frontiers of Engineering Management 11.1 (2024): 159-166.
  10. Chen, Yian, et al. "Advancing AI Incidents Classification: Leveraging LLMs with Strategic Prompting." Iberoamerican Workshop on Human-Computer Interaction. Cham: Springer Nature Switzerland, 2024.