1 of 38

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

2 of 38

Investigating the use of LLMs in computing education

What I’ll talk about today …

  • Context and motivation
  • Part 1: Teachers’ perspectives
  • Part 2: Developing guidance
  • Implications and takeaways

​

​

​

3 of 38

Context and motivation

4 of 38

The context

Computing in the curriculum in England since 2014

Computing teachers’ experience

LLMs available to public from November 2022

5 of 38

  • Many literature reviews and position papers around opportunities and challenges for education offered by LLM GenAI technologies.
  • Little contextualised research on teachers’ and students’ understanding and utility of LLM GenAI in teaching and learning.
  • Calls for further empirical research in these areas:
    • mitigation identified risks while maximising educational benefits in integrating LLM GenAI into education (Kasneci et al., 2023),
    • contextualised research and development (Chiu, 2023)
    • for teaching and learning approaches to keep pace with developments in GenAI (Prather et al., 2023).

LLMs in education: the literature

6 of 38

​

“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

7 of 38

From a computing teacher’s perspective

Guidance starts to emerge - but from different sources and non-specific

8 of 38

Our team

Department of Computer Science and Technology

Faculty of Education

9 of 38

Seed-funded project on Generative AI for Computing Teachers (AICT)

​

Two aims:

  1. To investigate perspectives and experiences of computing teachers with LLMs
  2. To develop guidance for teachers using a participatory approach

​

“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

10 of 38

Initially …

  1. How can LLMs benefit computing education, and what impact will they have on pedagogy, curriculum, and assessment?
  2. How can we ensure that young people understand the affordances of AI and the associated concepts and skills?
  3. How can computing teachers support their schools as they grapple with these issues?
  4. For computing teachers, is it still relevant to teach programming in the era of AI?

Focus questions for study

11 of 38

  • Purposive sampling to recruit teachers who were already thinking about LLMs in their schools
  • Establishment of working group. Total group 8 teachers, 2 academics, 3 researchers, 3 PhD students
  • Three workshops planned: Dec, Jan and March
  • Ethics guidance followed and consent obtained
  • Workshops audio-recorded, transcribed and analysed

Method

12 of 38

Part 1: Teachers’ perspectives

13 of 38

  • Held at the University of Cambridge
  • Teachers provided with costs to travel and participate
  • Two-hour session of interactive activities and discussion (and opportunity to meet others)
  • Workshop lasted 2 hours and was recorded, transcribed and analysed

​

​

​

Workshop 1: December 2023

14 of 38

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

15 of 38

  • Two main foci:
    • Discussion of themes arising from Workshop 1
    • Co-construction of guidance for other teachers (discussed later)
  • Analysis of previous workshop shared with teachers prior to meeting
  • Invitation to discuss, critique our analysis, identify other aspects of their perspectives
  • Online meeting lasted 2 hours and was recorded, transcribed and analysed

​

Workshop 2: January 2024 (online)

16 of 38

From the first workshop, the six themes identified were:

​

  1. Students and teachers need to understand how LLMs work.
  2. LLMs can be used to teach computing more effectively.
  3. LLMs can be used to teach any subject more effectively.
  4. LLMs can be used by teachers for productivity and to reduce workload.
  5. Teachers articulated a range of ethical issues associated with LLMs
  6. Action is needed at the school level to support professional development, revised policies and guidance for teachers on the use of LLMs.

​

​

Workshop 1: Key themes identified

17 of 38

  • Understanding how LLMs work can be incorporated into the teaching of AI
  • Students need to learn prompt engineering in the same way as they learned to use complex search terms on the web
  • Examples of the output of generative AI can be used to introduce discussions around ethical issues (part of computing)

Themes 2 and 3 : teaching with LLMs

  • LLMs can be used to complement lesson planning about a subject that you are confident about - for example, generating examples and similar questions
  • LLMs can be used to support students with low literacy by generating simpler explanations
  • LLMs can be used to generate quizzes on topics
  • Teachers can use more discussion to be sure of authenticity of submitted work

Teaching any subject with LLMs

Teaching computing with LLMs

18 of 38

Sub-themes:

  • Teaching the ethics of LLMs is an extension of online safety (which computing teachers already teach extensively)
  • Students should be educated about ethics through real-world tangible issues (e.g., sentencing model)
  • Students should learn the concepts of AI at an earlier age in order to think critically about it
  • Teachers and parents need to be explicitly educated about ethics and AI

​

Theme 5: ethical issues

19 of 38

Key themes identified

  • LLM for non-computing pedagogy
  • LLM for computing pedagogy
  • Regulations
  • LLMs as productivity tools for teachers
  • Ethical issues around use of AI
  • Teachers should teach about AI / LLM

​

Workshop 2: Themes with examples

Regulations sub-themes

  • Teachers are unsure of GDPR
  • Schools need to give guidance on LLMs
  • Schools need to lead on use of LLMs
  • Students unsure whether to use LLMs

20 of 38

“[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

21 of 38

“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

22 of 38

“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

​

  • Teachers are unsure of GDPR
  • Schools need to give guidance on LLMs
  • Schools need to lead on use of LLMs
  • Students unsure whether to use LLMs

23 of 38

“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

24 of 38

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

25 of 38

  • Analysis of the workshop discussions separately revealed a very similar set of themes, with regulations becoming more important in workshop 2
  • Primary teachers highlighted productivity/workload benefits more than use for teaching computing
  • Computing teachers were both excited and anxious about the potential of LLMs
  • Computing teachers were unsure of their role in leading whole-school issues
  • Ethical issues surrounding LLMs in school were frequently mentioned, and teachers’ responsibility for safety and security online
  • Some teachers were able to give concrete examples of where they had been using LLMs in teaching and learning, of computing and more generally

​

Summary of teachers’ perspectives and experiences

26 of 38

Part 2: Developing guidance

27 of 38

Developing guidance on generative AI for computing teachers

Workshop 2 (Jan)

  • Discussion of W1 themes
  • Creating an outline for the guidance
  • Resources to support other teachers

Offline

  • Teachers sent early draft of guidance
  • Gathered written feedback

Workshop 3 (March)

  • Co-construction of guidance
  • Comments and discussion on early draft
  • In total 133 items of feedback were incorporated
  • Further offline iterations until June

“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)

28 of 38

​

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

29 of 38

Implications and take-aways

30 of 38

​

​

​

Learning with AI - Using AI - Learning about AI

Computing teachers

Other teachers

31 of 38

Primarily teachers in the WG focused on Qs 1 and 3.

  1. How can LLMs benefit computing education, and what impact will they have on pedagogy, curriculum, and assessment?
  2. How can we ensure that young people understand the affordances of AI and the associated concepts and skills?
  3. How can computing teachers support their schools as they grapple with these issues?
  4. For computing teachers, is it still relevant to teach programming in the era of AI?

Focus questions revisited

Qs 2 and 4 are substantial ongoing areas of research

32 of 38

  1. There is an interface between learning about AI and learning with AI that isn't being articulated in the current discourse.
    • What should be taught about AI and when?
    • How much technical / ethical knowledge of AI is needed to be an informed and critical user of this technology?
    • Increasingly, AI = Generative AI in the way the term AI is now used in the media and public discourse. AI is much more than Generative AI.
  2. The hype about LLMs and other forms of generative AI has left lots of teachers feeling nervous and unprepared - and they look to computing teachers for some leadership (and these teachers are not being prepared either)
  3. Teachers are concerned about whole-school issues surrounding AI for teaching and learning - regulation, direction, privacy, safeguarding, etc.

​

​

What are the take-aways?

33 of 38

Further reading …

https://bit.ly/aict_2024

34 of 38

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:

  • How programming education will evolve from rule-based to data-driven
  • How programming pedagogy changes with generative AI (eg enhanced IDEs)
  • How young people learn about AI - what, when and where

​

Our approach will continue to be collaborative and participatory

​

​

Conclusions and further work

35 of 38

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

36 of 38

Questions?

37 of 38

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

38 of 38

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