Applications of Large Language Models in Data Analysis
Abstract
With the background of the ever-increasing data volumes, data analysis becomes even more significant in the context of scientific studies and business decisions. Nevertheless, the conventional data analysis approaches usually consist of programming and statistical expertise, which to a certain degree restricts their fields of application. In this paper, the author explores the use of large language models in the analysis of data, performing a systematic analysis of the data analysis process in four phases: data processing, data planning, data reasoning and data feedback. The study reveals that big language models can automatically undertake actions like cleaning data and feature engineering, thus efficiently boosting the processing of data. Moreover, they are capable of breaking down more complicated analytical challenges to create systematic analytical processes. The reasoning ability of the models has been highly improved by utilizing the architecture of Transformer and prompt-based learning techniques. Moreover, with the addition of a reinforcement learning mechanism through human feedback (RLHF), the model is further optimized in performance and improved in the interpretation of results. Despite still having issues with inference stability, the accuracy of results and training costs, large language models show that they have enormous benefits in reducing the entry threshold to data analysis and improving the efficiency of the analysis process, which promises them a promising future.
References
- Bommasani, R., Hudson, D. A., Adeli, E., Altman, R., Arora, S., von Arx, S., ... & Liang, P. (2021). On the opportunities and risks of foundation models. arXiv preprint arXiv: 2108.07258.
- Zhao, W. X., Zhou, K., Li, J., Tang, T., Wang, X., Hou, Y., ... & Wen, J. R. (2023). A survey of large language models. arXiv preprint arXiv: 2303.18223.
- Shen, L., Shen, E., Luo, Y., Yang, X., Hu, X., Zhang, X., & Tai, C. L. (2022). Towards natural language interfaces for data visualization: A survey. IEEE Transactions on Visualization and Computer Graphics, 29(6), 3121–3144.
- Bubeck, S., Chandrasekaran, V., Eldan, R., Gehrke, J., Horvitz, E., Kamar, E., ... & Zhang, Y. (2023). Sparks of artificial general intelligence: Early experiments with GPT-4. arXiv preprint arXiv: 2303.12712.
- Zhang, H., Li, J., Wang, Y., et al. (2023). Integrating automated knowledge extraction with large language models for explainable medical decision-making. In 2023 IEEE International Conference on Bioinformatics and Biomedicine (BIBM). IEEE.
- Bendinelli, T., Dox, A., & Holz, C. (2025). Exploring LLM agents for cleaning tabular machine learning datasets. arXiv preprint arXiv: 2503.06664.
- Deva, S. (2025). Scalable real-time feature engineering pipelines for large language model training: A distributed systems approach. International Journal of Applied Mathematics, 38(6s), 206–229.
- Rahman, M., Bhuiyan, A., Islam, M. S., et al. (2025). Llm-based data science agents: A survey of capabilities, challenges, and future directions. arXiv preprint arXiv: 2510.04023.
- Raza, M., Jahangir, Z., Riaz, M. B., et al. (2025). Industrial applications of large language models. Scientific Reports, 15(1), 13755.
- Brown, T., Mann, B., Ryder, N., Subbiah, M., Kaplan, J. D., Dhariwal, P., ... & Amodei, D. (2020). Language models are few-shot learners. Advances in Neural Information Processing Systems, 33, 1877–1901.
- Touvron, H., Lavril, T., Izacard, G., Martinet, X., Lachaux, M. A., Lacroix, T., ... & Lample, G. (2023). Llama: Open and efficient foundation language models. arXiv preprint arXiv: 2302.13971.
- OpenAI. (2023). GPT-4 technical report. arXiv preprint arXiv: 2303.08774.
- Liu, P., Yuan, W., Fu, J., Jiang, Z., Hayashi, H., & Neubig, G. (2023). Pre-train, prompt, and predict: A systematic survey of prompting methods in natural language processing. ACM Computing Surveys, 55(9), 1–35.
- Wei, J., Wang, X., Schuurmans, D., Bosma, M., Ichter, B., Xia, F., ... & Zhou, D. (2022). Chain-of-thought prompting elicits reasoning in large language models. Advances in Neural Information Processing Systems, 35, 24824–24837.
- Wang, X., Wei, J., Schuurmans, D., Le, Q. V., Chi, E., Narang, S., ... & Zhou, D. (2022). Self-consistency improves chain of thought reasoning in language models. arXiv preprint arXiv: 2203.11171.
- Ouyang, L., Wu, J., Jiang, X., Almeida, D., Wainwright, C., Mishkin, P., ... & Lowe, R. (2022). Training language models to follow instructions with human feedback. Advances in Neural Information Processing Systems, 35, 27730–27744.
- Kaufmann, T., Weng, P., Bengs, V., & Hüllermeier, E. (2023). A survey of reinforcement learning from human feedback. arXiv preprint arXiv: 2312.14925.
- Liu, Q., Yang, R., Gao, Q., et al. (2024). A review of applying large language models in healthcare. IEEE Access, 13, 6878–6892..