Investigating the Use of Large Language Models in Computing Education
Sue Sentance, Salomey Afua Addo, Jane Waite
Raspberry Pi Computing Education Research Centre
Department of Computer Science and Technology
University of Cambridge
Steve Watson, Shengpeng Shi, Bo Yu
Faculty of Education
University of Cambridge
Investigating the use of LLMs in computing education
What I’ll talk about today …
Context and motivation
The context
Computing in the curriculum in England since 2014
Computing teachers’ experience
LLMs available to public from November 2022
LLMs in education: the literature
“Despite the opportunities that LLMs may afford, educators have voiced concerns around potential misuse of these models for plagiarism, as well as over-reliance by beginners on AI-generated code [3], leading to a possible erosion of traditional coding skills [9]. New pedagogical approaches are needed to develop the changing skill sets that students require in the era of generative AI [6].” (Denny et al, 2024)
“This shift in the underlying definition of computing presents a huge opportunity, and plenty of huge risks. Yet I think it is time to accept that this is a very likely future, and evolve our thinking accordingly, rather than just sit here waiting for the meteor to hit.” (Welsh, 2023)
LLMs in computing education
From a computing teacher’s perspective
Guidance starts to emerge - but from different sources and non-specific
Our team
Department of Computer Science and Technology
Faculty of Education
Seed-funded project on Generative AI for Computing Teachers (AICT)
Two aims:
“Participatory design is an approach to design that includes user and stakeholder voices within the design process of products that will affect them” (Coenraad et al, 2021)
Aims and objectives of project
Initially …
Focus questions for study
Method
Part 1: Teachers’ perspectives
Workshop 1: December 2023
Workshop 1: December 2023 (in-person)
Session 1 - Curriculum, pedagogy and assessment and LLMs
Small group discussion around prompts/ flip chart paper
Session 2 - Ethical issues around LLMs in computing education
Whole group discussion
Session 3 - Implications for teachers and schools of LLMs
Type of activity: Post-Its
Session 4 - The future and global priorities for LLMs in computing education
Type of activity: Diamond 9
Workshop 2: January 2024 (online)
From the first workshop, the six themes identified were:
Workshop 1: Key themes identified
Themes 2 and 3 : teaching with LLMs
Teaching any subject with LLMs
Teaching computing with LLMs
Sub-themes:
Theme 5: ethical issues
Key themes identified
Workshop 2: Themes with examples
Regulations sub-themes
“[there are] ways in which students can / should use tools such as CoPilot to debug their code, or write their programs” (secondary teacher)
“LLMs can assist in generating creative writing pieces or storytelling related to computing concepts, making learning more engaging and enjoyable for children” (primary teacher)
LLMs for teaching computing
“I mainly teach computing in the afternoon, but teach reading, writing and math every day. … so reading wise use it a lot for interventions and creating specific texts.” (primary teacher)
“Introductions and example conclusions or example paragraphs that they use in English and History … just as an idea - they haven't done this yet - … they could use it in French and German and Spanish to have conversations.” (secondary teacher)
LLMs for teaching any subject
“Some of them think they were not allowed to … because it's not really been made clear whether they are aren’t, so or some of them. Maybe had used it but didn't want to admit it” (secondary teacher)
“I'm less concerned about it failing and about people's using it for assessment because I think that's part of the education with it and I think that for me it's more the GDPR issues and the age restrictions associated with certain models over others. “ (secondary teacher)
Regulations
“On our emails on on Outlook there's there's quite often prompt responses like it's obviously read the email and has got an idea of what a quick response. It it can be a bit of a quick time saver” (secondary teacher)
“Use LLMs to complement lesson planning about a subject that you are confident about - for example, generating examples and similar questions” (secondary teacher)
“In primary the main focus is reduction of teacher workload. As computing lead taking responsibility to inform others about its uses” (primary teacher)
LLMs for productivity
Ethical issues around use of AI
“We also talk about the biases and the social problems connected with AI as well “ (secondary teacher)
Teachers should teach about AI / LLM
“… learn about real-life uses of AI and real-life issues around designing AI systems” (secondary teacher)
Other themes
Summary of teachers’ perspectives and experiences
Part 2: Developing guidance
Developing guidance on generative AI for computing teachers
Workshop 2 (Jan)
Offline
Workshop 3 (March)
“participation needs to be seen as an active, agentive choice that entails ongoing dialogue and negotiation in order to sustain and develop participation to its fullest potential. School- and university-based researchers might participate differently depending on the research activities, and this participation might shift and change over the course of the project. “ (Lau and Stille, 2014, p. 168)
We published this guidance in July 2024.
The teachers in the working group felt strongly about the content covering generative AI (GenAI) beyond LLMs.
Although it sits amongst a plethora of guidance documents: it's contribution is that it is from teachers themselves and is specific to the situation of computing education (but relevant to other subjects too).
Publication of the guidance
Implications and take-aways
Learning with AI - Using AI - Learning about AI
Computing teachers
Other teachers
Primarily teachers in the WG focused on Qs 1 and 3.
Focus questions revisited
Qs 2 and 4 are substantial ongoing areas of research
What are the take-aways?
Further reading …
https://bit.ly/aict_2024
There is a shift coming in computing education, so computing teachers will be affected not just by changes to general education, but with changes to their own subject. Research is only just beginning at the school level.
We are continuing our work in AI education and AI in education in the computing context:
Our approach will continue to be collaborative and participatory
Conclusions and further work
Teachers and Advisors
Philip Arthur, St Peter's School, York
Brett Becker, University College Dublin
Sonya Coakley-Hanan, Three Bridges Primary School
Martyn Colliver, The National Mathematics and Science College
Veronica Cucuiat, Raspberry Pi Foundation
Lyndsay Hope, Monmouth School
Emma Staves, St. Francis College
Chris West, Lace Hill Academy
Aidan Weston, Long Road Sixth Form College
Eliot Williams, Merchant Taylors' School
Many thanks to the working group
Research team
Salomey Afua Addo, Raspberry Pi Computing Education Research Centre, University of Cambridge
Sue Sentance , Raspberry Pi Computing Education Research Centre, University of Cambridge
Shengpeng Shi, Faculty of Education, University of Cambridge
Steve Watson, Faculty of Education, University of Cambridge
Jane Waite, Raspberry Pi Foundation
Bo Yu, Faculty of Education, University of Cambridge
Questions?
Chiu, T. K. F. (2023). The impact of Generative AI (GenAI) on practices, policies and research direction in education: A case of ChatGPT and Midjourney. Interactive Learning Environments, 0(0), 1–17. https://doi.org/10.1080/10494820.2023.2253861
Coenraad, Merijke, Jen Palmer, Donna Eatinger, David Weintrop, and Diana Franklin. 2021. ‘Using Participatory Design to Integrate Stakeholder Voices in the Creation of a Culturally Relevant Computing Curriculum’. International Journal of Child-Computer Interaction, July, 100353. https://doi.org/10.1016/j.ijcci.2021.100353.
Denny, P., Leinonen, J., Prather, J., Luxton-Reilly, A., Amarouche, T., Becker, B. A., & Reeves, B. N. (2024, March). Prompt Problems: A new programming exercise for the generative AI era. In Proceedings of the 55th ACM Technical Symposium on Computer Science Education V. 1 (pp. 296-302).
Kasneci, E., Sessler, K., Küchemann, S., Bannert, M., Dementieva, D., Fischer, F., Gasser, U., Groh, G., Günnemann, S., Hüllermeier, E., Krusche, S., Kutyniok, G., Michaeli, T., Nerdel, C., Pfeffer, J., Poquet, O., Sailer, M., Schmidt, A., Seidel, T., … Kasneci, G. (2023). ChatGPT for good? On opportunities and challenges of large language models for education. Learning and Individual Differences, 103, 102274. https://doi.org/10.1016/j.lindif.2023.102274
Lau, Sunny Man Chu, and Saskia Stille. 2014. ‘Participatory Research with Teachers: Toward a Pragmatic and Dynamic View of Equity and Parity in Research Relationships’. European Journal of Teacher Education 37 (2): 156–70. https://doi.org/10.1080/02619768.2014.882313.
Prather, J., Denny, P., Leinonen, J., Becker, B. A., Albluwi, I., Craig, M., Keuning, H., Kiesler, N., Kohn, T., Luxton-Reilly, A., MacNeil, S., Petersen, A., Pettit, R., Reeves, B. N., & Savelka, J. (2023). The Robots Are Here: Navigating the Generative AI Revolution in Computing Education. Proceedings of the 2023 Working Group Reports on Innovation and Technology in Computer Science Education, 108–159. https://doi.org/10.1145/3623762.3633499
Welsh, M. (2022). The end of programming. Communications of the ACM, 66(1), 34-35.
References
Investigating the Use of Large Language Models in Computing Education
Sue Sentance, Salomey Afua Addo, Jane Waite
Raspberry Pi Computing Education Research Centre
Department of Computer Science and Technology
University of Cambridge
Steve Watson, Shengpeng Shi, Bo Yu
Faculty of Education
University of Cambridge