[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"detail-sidebar-cat-0-en-105":3,"doc-seo-508249-105":59,"doc-detail-508249-en":130},{"code":4,"msg":5,"data":6},0,"success",[7,13,18,23,28,33,38,43,48,51,55],{"id":8,"doc_module":4,"doc_module_name":9,"category_name":10,"show_sort_weight":11,"slug":12},1,"Document","Story & Novel",90,"story-novel",{"id":14,"doc_module":4,"doc_module_name":9,"category_name":15,"show_sort_weight":16,"slug":17},2,"Literature",80,"literature",{"id":19,"doc_module":4,"doc_module_name":9,"category_name":20,"show_sort_weight":21,"slug":22},4,"Exam",70,"exam",{"id":24,"doc_module":4,"doc_module_name":9,"category_name":25,"show_sort_weight":26,"slug":27},5,"Comic",60,"comic",{"id":29,"doc_module":4,"doc_module_name":9,"category_name":30,"show_sort_weight":31,"slug":32},6,"Technology",50,"technology",{"id":34,"doc_module":4,"doc_module_name":9,"category_name":35,"show_sort_weight":36,"slug":37},7,"Healthcare",40,"healthcare",{"id":39,"doc_module":4,"doc_module_name":9,"category_name":40,"show_sort_weight":41,"slug":42},8,"Research & Report",30,"research-report",{"id":44,"doc_module":4,"doc_module_name":9,"category_name":45,"show_sort_weight":46,"slug":47},9,"Religion & Spirituality",20,"religion-spirituality",{"id":46,"doc_module":4,"doc_module_name":9,"category_name":49,"show_sort_weight":46,"slug":50},"World Cup","world-cup",{"id":52,"doc_module":4,"doc_module_name":9,"category_name":53,"show_sort_weight":52,"slug":54},10,"Lifestyle","lifestyle",{"id":56,"doc_module":4,"doc_module_name":9,"category_name":57,"show_sort_weight":24,"slug":58},19,"General","general",{"code":4,"msg":60,"data":61},"ok",{"site_id":62,"language":63,"slug":64,"title":65,"keywords":66,"description":67,"schema_data":68,"social_meta":123,"head_meta":125,"extra_data":127,"updated_unix":129},105,"en","humanizing-automated-programming-feedback-fine-tuning-generative-models-with-student-written-feedback","Humanizing Automated Programming Feedback - Fine-Tuning Generative Models with Student-Written Feedback","","The paper addresses the need for automated, personalized feedback in programming education and evaluates generative AI methods that mimic human feedback styles. It argues that prompt engineering often yields rigid, constrained responses that cannot adapt to diverse student needs or reflect tutor/peer writing. Learnersourced student feedback is used to fine-tune open models (Llama3, Phi3), producing more peer-like feedback and improving accuracy versus prompt-only approaches.",{"@graph":69,"@context":122},[70,84,105],{"@type":71,"itemListElement":72},"BreadcrumbList",[73,77,79,82],{"item":74,"name":75,"@type":76,"position":8},"https://docshare.wps.com","Home","ListItem",{"item":78,"name":9,"@type":76,"position":14},"https://docshare.wps.com/document/",{"item":80,"name":40,"@type":76,"position":81},"https://docshare.wps.com/document/research-report/",3,{"item":83,"name":65,"@type":76,"position":19},"https://docshare.wps.com/document/humanizing-automated-programming-feedback-fine-tuning-generative-models-with-student-written-feedback/508249/",{"url":83,"name":65,"@type":85,"image":86,"author":91,"headline":65,"publisher":94,"fileFormat":97,"inLanguage":63,"description":67,"dateModified":98,"datePublished":99,"encodingFormat":97,"isAccessibleForFree":100,"interactionStatistic":101},"DigitalDocument",{"url":87,"@type":88,"width":89,"height":90},"https://docshare.wps.com/thumbnails/humanizing-automated-programming-feedback-fine-tuning-generative-models-with-student-written-feedback/508249.png","ImageObject",300,407,{"name":92,"@type":93},"Blue Pony","Person",{"url":74,"name":95,"@type":96},"DocShare","Organization","application/pdf","2026-11-16","2026-10-05",true,{"@type":102,"interactionType":103,"userInteractionCount":52},"InteractionCounter",{"@type":104},"ViewAction",{"@type":106,"mainEntity":107},"FAQPage",[108,114,118],{"name":109,"@type":110,"acceptedAnswer":111},"Why is prompt engineering insufficient for automated programming feedback?","Question",{"text":112,"@type":113},"Prompt engineering relies on predefined prompts and often produces rigid, constrained feedback that does not flexibly address different bug types or student needs. It also may not capture the dynamic, human-like qualities of tutor or peer responses.","Answer",{"name":115,"@type":110,"acceptedAnswer":116},"What is learnersourcing in this study?",{"text":117,"@type":113},"Learnersourcing means collecting feedback written by students in response to buggy programs, then using that student-generated text to fine-tune generative models. Students write feedback as if they were tutors.",{"name":119,"@type":110,"acceptedAnswer":120},"How do the fine-tuned models perform compared with prompt engineering alone?",{"text":121,"@type":113},"Fine-tuning on learnersourced data generates feedback that better matches students’ writing style and improves accuracy. The results hold even though some student-written feedback contains mistakes.","https://schema.org",{"og:url":83,"og:type":124,"og:title":65,"og:site_name":95,"og:description":67},"article",{"robots":126,"canonical":83},"index,follow",{"doc_id":128,"site_id":62},508249,1791398008,{"code":4,"msg":5,"data":131},{"doc_id":128,"user_id":132,"nickname":92,"user_avatar":133,"doc_module":4,"category_id":39,"category_name":40,"doc_title":65,"doc_description":67,"doc_content":134,"file_id":135,"file_url":136,"file_type":137,"file_size":138,"view_count":52,"is_deleted":4,"is_public":8,"is_downloadable":8,"audit_status":8,"page_count":39,"language":139,"language_code":63,"site_id":62,"html_lang":63,"table_of_contents":140,"faqs":141,"seo_title":142,"seo_description":67,"update_tm":143,"read_time":46,"preview_page_count":19,"preview_urls":144},962090760266,"https://ap-avatar.wpscdn.com/davatar_276721f389ce27ea32af1340a28f341c","Humanizing Automated Programming Feedback: Fine-Tuning Generative Models with Student-Written Feedback  \nVictor-Alexandru Pdurean MPI-SWS  \n[vpadurea@mpi-sws.org](vpadurea@mpi-sws.org)[ ](vpadurea@mpi-sws.org)Michael Liut  \nUniversity of Toronto Mississauga [michael.liut@utoronto.ca](michael.liut@utoronto.ca)  \nTung Phung  \nMPI-SWS  \n[mphung@mpi-sws.org](mphung@mpi-sws.org)  \nNachiket Kotalwar  \nMPI-SWS  \n[nkotalwa@mpi-sws.org](nkotalwa@mpi-sws.org)  \nJuho Leinonen  \nAalto University  \n[juho.2.leinonen@aalto.fi](juho.2.leinonen@aalto.fi)[ ](juho.2.leinonen@aalto.fi)Adish Singla  \nMPI-SWS  \n[adishs@mpi-sws.org](adishs@mpi-sws.org)  \nPaul Denny  \nUniversity of Auckland  \n[paul@cs.auckland.ac.nz](paul@cs.auckland.ac.nz)  \nABSTRACT  \nThe growing need for automated and personalized feedback in programming education has led to recent interest in leveraging generative AI for feedback generation. However, current approaches tend to rely on prompt engineering techniques in which predefined prompts guide the AI to generate feedback. This can result in rigid and constrained responses that fail to accommodate the diverse needs of students and do not reflect the style of human-written feedback from tutors or peers. In this study, we explore learnersourcing as a means to fine-tune language models for generating feedback that is more similar to that written by humans, particularly peer students. Specifically, we asked students to actin the flipped role of a tutor and write feedback on programs containing bugs. We collected approximately 1 , 900 instances of student-written feedback on multiple programming problems and buggy programs. To establish a baseline for comparison, we analyzed a sample of 300 instances based on correctness, length, and how the bugs are described. Using this data, we fine-tuned open-access generative models, specifically Llama3 and Phi3 . Our findings indicate that fine-tuning models on learnersourced data not only produces feedback that better matches the style of feedback written by students, but also improves accuracy compared to feedback generated through prompt engineering alone, even though some student-written feedback is incorrect. This surprising finding highlights the potential of student-centered finetuning to improve automated feedback systems in programming education.  \nVictor-Alexandru P?durean, Tung Phung, Nachiket Kotalwar, Michael Liut, Juho Leinonen, Paul Denny, and Adish Singla. Humanizing Automated Programming Feedback: Fine-Tuning Generative Models with Student-Written Feedback. In Caitlin Mills, Giora Alexandron, Davide Taibi, Giosu`e Lo Bosco, and Luc Paquette (eds.) Proceedings of the 18th International Conference on Educational Data Mining, Palermo, Italy, July, 2025, pp. 434–441. International Educational Data Mining Society (2025) .  \n➞ 2025 Copyright is held by the author(s) . This work is distributed under the Creative Commons Attribution NonCommercial NoDerivatives 4.0 International (CC BY-NC-ND 4.0) license. [https://doi.org/10.5281/zenodo.15870290](https://doi.org/10.5281/zenodo.15870290)  \nKeywords  \nprogramming feedback, fine-tuning, generative AI  \n1. INTRODUCTION  \nGenerative AI offers great potential to enhance programming education by providing personalized feedback to students. This can complement feedback from human tutors by offering continuous, around-the-clock support [6, 41] . However, students often perceive AI-generated feedback as less effective than human-written feedback because it may not fully address their needs or provide the depth of support they expect [28] . In particular, students value the emotional sensitivity of human feedback. Therefore, to maximize student adoption, it is essential to refine AI models to deliver feedback with human-like characteristics, similar to what students would receive from tutors or peers.  \nMost previous studies have focused on the use of promptengineering techniques to customize feedback to meet expert educators’ standards [18, 42]","cbCaisWqRh7GCiDv","https://ap.wps.com/l/cbCaisWqRh7GCiDv","pdf",521414,"English","# Abstract\n# 1. Introduction\n## Motivation\n## Limitations of Prompt Engineering\n## Proposed Approach","[{\"question\":\"Why is prompt engineering insufficient for automated programming feedback?\",\"answer\":\"Prompt engineering relies on predefined prompts and often produces rigid, constrained feedback that does not flexibly address different bug types or student needs. It also may not capture the dynamic, human-like qualities of tutor or peer responses.\"},{\"question\":\"What is learnersourcing in this study?\",\"answer\":\"Learnersourcing means collecting feedback written by students in response to buggy programs, then using that student-generated text to fine-tune generative models. Students write feedback as if they were tutors.\"},{\"question\":\"How do the fine-tuned models perform compared with prompt engineering alone?\",\"answer\":\"Fine-tuning on learnersourced data generates feedback that better matches students’ writing style and improves accuracy. The results hold even though some student-written feedback contains mistakes.\"}]","Humanizing Automated Programming Feedback - Fine-Tuning Generative Models with Student-Written Feedback | PDF",1791214152,[145,149,153,157],{"page_no":8,"url":146,"width":147,"height":148},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-17/e2ed8d75c3775542a947614a91052620.webp",983,1272,{"page_no":14,"url":150,"width":151,"height":152},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-17/649fadfa23c8837a5dbaab171359fe40.webp",982,1270,{"page_no":81,"url":154,"width":155,"height":156},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-17/64ca7b43b366ff2a76937338c23f83f5.webp",981,1269,{"page_no":19,"url":158,"width":159,"height":160},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-17/28ab552d6da86bc5c0cd67be50b456fe.webp",980,1268]