ɫɫ

News

Get with the program – AI-assisted coding is here to stay

Aalto’s computing education researchers are putting large language models to the test and the results are true.
AI-generated colourful images of robot-looking figures and humans programming.
Illustrations generated by using DALL-E 2 with the prompt "a colorful illustration of AI-assisted programming in hyperrealist style, digital art". Credit: Aalto University

Generative AI has hit the public imagination in full force during 2022. Perhaps the biggest splash was made by OpenAI’s launch of the text-to-image generator DALL-E 2 with its .

Under the guise of generative AI art, code-completion programs are boosting developer productivity by automating repetitive and mundane programming tasks. The world’s largest source code host GitHub its code-completion tool called Copilot in June 2022. It is trained on 45 terabytes of coding data from the GitHub code repository and runs on OpenAI’s Codex model. The company the tool can automate around 40 per cent of a developer’s tasks.

‘Copilot has a lot of potential, but also a risk of creating over-reliance on AI-generated code, if the user doesn't check its outputs properly,’ says Juho Leinonen, postdoctoral researcher at Aalto University’s Department of Computer Science, whose research is focused on educational technology and AI in education. ‘The risk is particularly high for students and beginners.’

GitHub made the tool freely available for students from the get-go, in contrast to the 10-euro monthly subscription price for developers. The decision about whether students could use the tool for cheating.

‘The question we should be asking is how do we rethink computing education to incorporate these tools?’ says Leinonen. ‘This is just the beginning.’

Leinonen and his colleagues took up the challenge and studied the question from a teacher’s perspective in their recent research article on Codex.

‘We examined how teachers can use Codex to automatically create new programming exercises and natural language explanations for code,’ says Arto Hellas, senior university lecturer at the Department of Computer Science. ‘Regardless of some small issues, our exploration with Codex showed remarkable results in creating novel exercises and code explanations. We were even able to generate exercises around a specific topic, like basketball.’

Among beginners and students, the need for programming exercises is huge. Being able to generate sufficiently accurate exercises and natural language explanations would be a major help for teachers. The research article received the best paper award at the ICER 2022 conference, which is the main research conference for the computing education community.

‘Although the generated exercises and explanations need to be verified by a human, the performance surpassed the research community’s expectations,’ says Leinonen. ‘The researchers and teachers in our field whom we’ve spoken with, are excited about the opportunities yet anxious about the challenges such as over-reliance.’

The results didn’t go unnoticed by GitHub either. The company decided to make Copilot free for teachers shortly after the ICER conference, referencing the team’s research in its .

The impact of large language models on computing education is still an emerging topic and research can be hard to come by. Leinonen, Hellas and their colleague Sami Sarsa have been busy with answering all the collaboration requests that their award-winning article generated. Moreover, the trio is digging deeper into the possibilities that the new frontier may hold.

‘Due to the rapid development of the field, it is hard to predict exactly how large language models will reshape computing education,’ says Leinonen. ‘Two things are for certain – AI-assisted coding is here to stay and we’re here to figure it out.’

Computer Science building front entrance, Aalto University, photo Matti Ahlgren / Tietotekniikan talon sisäänkäynti, Aalto-yliopisto

Department of Computer Science

We are an internationally-oriented community and home to world-class research in modern computer science.

Arto Hellas

Senior University Lecturer

Juho Leinonen

Sami Sarsa

  • Updated:
  • Published:
Share
URL copied!

Read more news

Samu Taulu
Appointments, Research & Art Published:

Samu Taulu develops next-generation brain imaging methods

Associate Professor of neurostimulation and neuroimaging Samu Taulu develops more precise methods for understanding the brain
Winners on stage for the EAA best student paper award
Awards and Recognition, Research & Art Published:

EAA Best Paper and Presentation Award for Young Researchers for postdoctoral researcher Thomas Deppisch

The awarded work shows how speech can be made clearer in noisy environments while still preserving directional cues
Curly-haired woman speaks into a microphone indoors, standing next to a screen.
Research & Art Published:

Professor Hanna Maylett: “Without time spent together, a shared vision cannot emerge”

According to Hanna Maylett, associate professor of film directing, a director doesn’t need to know all the answers; rather, their role is to create a process through which those answers can be discovered together.
Alex and Lucie Lampen
Cooperation, Research & Art Published:

From humble beginnings to a captain of industry – a visionary’s final gift lives on at Aalto University

The Lampén bequest supports Aalto University chemical engineering students and future professionals through scholarships. Honorary counsellor and Master of Science (Technology) in chemical engineering Aleksander Lampén was a significant pioneer in the Finnish wood processing and cellulose industries. His legacy continues to promote internationalisation and high-quality research in the field of bioproduct technology. A donation ɫɫ University is an impactful investment in education, innovation and the renewal of society.