Research on AI-Powered Essay Writing Assistant with Contextual Revision System
Abstract
This report presents an AI-powered essay writing assistant that combines three advanced modules: a fine-tuned DeepSeek-R1-Distill-Llama-8B language model for contextual revisions, retrieval-augmented generation (RAG) for evidence-based suggestions, and a DeBERTaV3-based ordinal regression model for essay scoring. By combining the two models, the system demonstrates high grammatical accuracy in revisions and achieves a satisfactory value of quadratic weighted Kappa in scoring while providing detailed suggestions for further improvement, significantly outperforming baseline approaches. Through systematic integration of these components, the writing assistant offers holistic writing support while maintaining computational efficiency. It can provide real-time feedback, contextual suggestions, and rubric-aligned scoring, significantly enhancing the writing process as well as the user experience. The work may offer a method of using AI techniques in essay writing, demonstrating how context-aware systems can enhance writing quality while maintaining computational practicality. By streamlining the writing and grading processes, this project has the potential to boost productivity and improve learning outcomes, making it a valuable tool in modern educational environments.
References
- Pereira J., & Barcina, M.A. (2019). A chatbot assistant for writing good quality technical reports. In Proceedings of the Seventh International Conference on Technological Ecosystems for Enhancing Multiculturality (TEEM'19), 59–64.
- Shi, S., Zhao, E., Tang, D., Wang, Y., Li, P., Bi, W., Jiang, H., Huang, G., Cui, L., Huang, X., Zhou, C., Dai, Y., & Ma, D. (2022). Effidit: Your AI Writing Assistant.
- Han, J., Yoo, H., Myung, J., Kim, M., Lim, H., Kim, Y., Lee, T.Y., Hong, H., Kim, J., Ahn, S.Y., & Oh. A. (2024). LLM-as-a-tutor in EFL Writing Education: Focusing on Evaluation of Student-LLM Interaction. In Proceedings of the 1st Workshop on Customizable NLP: Progress and Challenges in Customizing NLP for a Domain, Application, Group, or Individual (CustomNLP4U), 284–293.
- Deepika, K., Tilekya, V., Mamatha J., & Subetha, T. (2020). Jollity Chatbot- A contextual AI Assistant. 2020 Third International Conference on Smart Systems and Inventive Technology (ICSSIT), 1196-1200.
- DeepSeek-AI. (2025). DeepSeek-R1: Incentivizing Reasoning Capability in LLMs via Reinforcement Learning.
- Kostic, M., Witschel, H. F., Hinkelmann, K., & Spahic-Bogdanovic, M. (2024). LLMs in automated essay evaluation: A case study. In Proceedings of the AAAI Symposium Series, 3(1), 143-147.
- Resch, O., & Yankova, A. (2019). Open knowledge interface: a digital assistant to support students in writing academic assignments. In Proceedings of the 1st ACM SIGSOFT International Workshop on Education through Advanced Software Engineering and Artificial Intelligence, 13-16.
- Clement, C.B., Bierbaum, M., Keeffe, K.P.O, & Alemi A.A. (2019). On the Use of ArXiv as a Dataset.
- Bai, Y.S., Zhang, J.J., Lv, X., Zheng, L.Z., Zhu, S.Q., Hou, L., Dong, Y.X., Tang, J., & Li, J.Z. (2024). LongWriter: Unleashing 10,000+ Word Generation from Long Context LLMs.
- Bai, Y.S., Zhang, J.J., Lv, X., Zheng, L.Z., Zhu, S.Q., Hou, L., Dong, Y.X., Tang, J., & Li, J.Z. (2024). LongWriter: Unleashing 10,000+ Word Generation from Long Context LLMs.
- Stahl, M., Biermann, L., Nehring, A., & Wachsmuth, H. (2024). Exploring LLM prompting strategies for joint essay scoring and feedback generation. arXiv preprint.
- Gruda, D. (2024). Three ways ChatGPT helps me in my academic writing. Nature, 10.
- Katsnelson, A. (2022). Poor English skills? New AIs help researchers to write better. Nature 609, 208-209.
- Zhao, X. (2023). Leveraging Artificial Intelligence (AI) Technology for English Writing: Introducing Wordtune as a Digital Writing Assistant for EFL Writers. RELC Journal, 54(3), 890-894.
- Koike, R., Kaneko, M., & Okazaki, N. (2024). Outfox: LLM-Generated Essay Detection Through In-Context Learning with Adversarially Generated Examples. In Proceedings of the AAAI Conference on Artificial Intelligence, 38(19), 21258-21266.