TL;DR
Researchers have developed a computational tool to automatically measure creativity in Scratch projects by blending classical psychological theory with modern machine learning. By analyzing code rarity, structural complexity, and visual diversity (using ResNet50 and clustering), the tool identifies creative nuances that traditional "Computational Thinking" metrics often overlook.
What Problem Does This Paper Address?
Visual programming environments like Scratch are staples in modern classrooms, prized for their ability to foster both logic and creativity. However, while tools like "Dr. Scratch" can automatically assess a student's Computational Thinking (CT)—their grasp of loops, variables, and logic—there is no standard way to measure their creativity.
Currently, assessing creativity requires human experts to manually review projects, which is time-consuming and subjective. The authors argue that CT and creativity are not the same; a student might write simple code but use it to create a visually stunning, highly original interactive story. The gap lies in the lack of an automated metric that can "see" these creative choices.
Methods
The authors built a Combined Creativity Score (CCS) based on E. Paul Torrance’s seminal work on divergent thinking. They adapted three of Torrance's dimensions into computational metrics:
- Originality: This measures how "rare" a project's elements are compared to others in the same group (studio). If a student uses a block or an action key that only 3% of their peers used, they receive a higher originality score.
- Elaboration: This reflects the amount of detail and effort. It counts the total number of scripts, blocks, costumes, and sounds, as well as the "depth" (complexity) of the scripts.
- Flexibility: This is the most technically novel part of the paper. It measures diversity in two ways:
- Visual Flexibility: The tool uses a ResNet50 convolutional neural network (see architecture in Figure 4) to convert project images into vector representations. These vectors are then clustered using K-Means. A project that spans many different visual clusters is deemed more flexible.
- Textual Flexibility: Similar to the visual approach, the tool uses TF-IDF (a text frequency metric) and clustering to measure the variety of dialogue and messages used in the project.
Datasets
The researchers evaluated their tool using two distinct Scratch "studios" (collections of projects):
- Maze Games: 206 projects where students were tasked with creating a path-finding game.
- Code-Your-Hero: 205 projects where students created stories or games featuring a superhero.
These datasets provided a mix of logic-heavy (Mazes) and narrative-heavy (Heroes) programming tasks.
Key Insights and Ideas
- Creativity $\neq$ Coding Skill: The "aha moment" comes from the disagreement between CCS and Dr. Scratch. A project might be ranked low by Dr. Scratch because it uses basic loops, but ranked #1 by CCS because it features unique 3D graphics, original character designs, and complex storytelling.
- Visuals Matter: Traditional metrics ignore the "art" of Scratch. By using ResNet50, the authors treat the visual artifacts as first-class citizens in the evaluation of a programmer's work.
- Context is King: Originality is calculated relative to the "studio." This mimics a classroom environment where a teacher judges a student's work based on what the rest of the class is doing.
- Teacher Validation: Interviews with educators confirmed that they value "wit, humor, and visual flair"—elements that CCS attempts to capture but CT metrics ignore.
Key Results
The researchers compared their CCS rankings against Dr. Scratch's CT rankings using the Kendall Rank Correlation Coefficient ($\tau$):
- Maze Projects: Showed a moderate correlation ($\tau = 0.628$). Since mazes require specific logic to function, creative projects often necessitated more complex code.
- Code-Your-Hero Projects: Showed a lower correlation ($\tau = 0.433$). In storytelling tasks, students often expressed creativity through visuals and text rather than complex algorithmic structures.
Figure 5 illustrates this well: Project A and B both have four images, but Project B’s images are visually distinct (high flexibility), whereas Project A’s are repetitive (low flexibility). CCS successfully flagged this difference where a code-only metric would have seen them as identical.
Limitations and Future Work
The authors acknowledge that their tool does not yet measure Fluency (the total number of relevant ideas a user generates over time), as the current study focused on individual project snapshots.
Future work aims to:
- Correlate CCS scores directly with expert human grades to further validate the model.
- Track the "evolution" of a single student’s creativity over a whole semester.
- Refine the tool to serve as an "assistant" for teachers, helping them spot students who are thinking outside the box but perhaps struggling with the formal syntax of coding.
Summary updated