<?xml-model href='http://www.tei-c.org/release/xml/tei/custom/schema/relaxng/tei_all.rng' schematypens='http://relaxng.org/ns/structure/1.0'?><TEI xmlns="http://www.tei-c.org/ns/1.0">
	<teiHeader>
		<fileDesc>
			<titleStmt><title level='a'>Investigating the Relationship Between Dialogue States and Partner Satisfaction During Co-Creative Learning Tasks</title></titleStmt>
			<publicationStmt>
				<publisher></publisher>
				<date>07/06/2022</date>
			</publicationStmt>
			<sourceDesc>
				<bibl> 
					<idno type="par_id">10350102</idno>
					<idno type="doi">10.1007/s40593-022-00302-5</idno>
					<title level='j'>International Journal of Artificial Intelligence in Education</title>
<idno>1560-4292</idno>
<biblScope unit="volume"></biblScope>
<biblScope unit="issue"></biblScope>					

					<author>Amanda E. Griffith</author><author>Gloria Ashiya Katuka</author><author>Joseph B. Wiggins</author><author>Kristy Elizabeth Boyer</author><author>Jason Freeman</author><author>Brian Magerko</author><author>Tom McKlin</author>
				</bibl>
			</sourceDesc>
		</fileDesc>
		<profileDesc>
			<abstract><ab><![CDATA[Collaborative learning offers numerous benefits to learners, largely due to the dialogue that is unfolding between them. However, there is still much to learn about the structure of collaborative dialogue, and especially little is known about co-creative dialogues during learning. This paper reports on a study with learners engaged in co-creative tasks where the learners wrote code to create a song and while engaging in textual dialogue as they did so. After gathering the textual dialogue and the actions within the interface, we learned a hidden Markov model (HMM) to reveal co-creative states. The seven-state model revealed four states primarily composed of coding actions that included browsing the curriculum documents, working in the code editor, compiling the code successfully, and receiving a compile error. The remaining three states are primarily composed of dialogue that can be characterized as social, aesthetic, and technical dialogue. Next, we analyzed the relationships between the co-creative states revealed by the HMM and students' partner satisfaction scores from a post-survey. The results reveal the relative frequency of actions in certain states and some transitions between states were predictive of partner satisfaction. For example, partner satisfaction was negatively associated with the Compilation Error state and with the relative frequency of transitions from the Curriculum Browsing state to the Code Editing state. Partner satisfaction was also negatively associated with the relative frequency of transitions from the Aesthetic Dialogue state to the Technical Dialogue state and the Code Editing state. This line of investigation reveals how co-creative processes are associated with partner satisfaction, and holds the potential to inform scaffolding for collaborative learning.]]></ab></abstract>
		</profileDesc>
	</teiHeader>
	<text><body xmlns="http://www.tei-c.org/ns/1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xlink="http://www.w3.org/1999/xlink">
<div xmlns="http://www.tei-c.org/ns/1.0"><head>Introduction</head><p>Collaborative learning, in which two learners work together on a shared problem or goal, offers many benefits: it has been shown to increase learner interest in solving problems during online tutoring <ref type="bibr">(Arroyo et al., 2017)</ref>, decrease attrition rate in MOOCs <ref type="bibr">(Ferschke et al., 2015)</ref>, and improve critical thinking skills <ref type="bibr">(Gokhale, 1995)</ref>. The interactions that occur during collaborative learning can be observed in many ways, such as gaze synchronization <ref type="bibr">(Schneider &amp; Pea, 2014;</ref><ref type="bibr">Dich et al., 2018)</ref>; body proximity and posture <ref type="bibr">(Radu et al., 2020;</ref><ref type="bibr">Dich et al., 2018)</ref>; and dialogue <ref type="bibr">(Samoilescu et al., 2019;</ref><ref type="bibr">Carpenter et al., 2020;</ref><ref type="bibr">Snyder et al., 2020)</ref>, which plays a fundamental role. Dialogue mediates joint problem solving and knowledge building by allowing collaborators to draw attention to problems and propose solutions <ref type="bibr">(Swain, 2000)</ref>. Research into collaborative dialogue has focused on detecting when students are off-task <ref type="bibr">(Carpenter et al., 2020)</ref>, analyzing the role of questions in collaborative computational modeling <ref type="bibr">(Snyder et al., 2020)</ref>, predicting problem-solving modes <ref type="bibr">(Rodr&#237;guez &amp; Boyer, 2015)</ref>, and identifying issues during collaboration using dialogue features <ref type="bibr">(Goodman et al., 2005)</ref>.</p><p>While many forms of collaborative dialogue have been well studied, co-creative dialogues-collaborative dialogues that occur during co-creative activitiesare understudied. Within co-creative activities, people, or people and machines, work together and share responsibility for creating an artifact <ref type="bibr">(Gl&#259;veanu, 2011;</ref><ref type="bibr">Kantosalo et al., 2014)</ref>. How key dialogue phenomena manifest within co-creative dialogues for learning is an open research question, and understanding these processes is an essential step toward to supporting collaborative co-creation in education.</p><p>To address this need, this paper investigates co-creative dialogues in the domain of computational music remixing. Specifically, we examined dialogue and system interactions between pairs of high school students learning to code through remixing musical samples. Studying the collaborative dialogues of pairs as they engage in computational music remixing provides insight into the unique exchanges that occur as they negotiate aesthetic decisions while navigating technical constraints. This work examines the following research questions in the context of computational music remixing with high school learners: RQ1: What dialogue states characterize the co-creative process between learners, and how do learners transition between these dialogue states? RQ2: What are the relationships between the outcome of partner satisfaction and the dialogue that comprised the co-creative process?</p><p>To investigate these questions, we first labeled the dialogue with dialogue acts and then modeled dialogue states with a hidden Markov model (HMM) over those sequences of dialogue acts interleaved with events in the computational music remixing interface. The HMM distinguished seven hidden states, three characterized by conversation and four characterized by task actions. After learning the seven-state HMM, we used the relative frequency of each pair's states and their transitions to conduct a regression analysis to predict the partner satisfaction ratings from the post-survey. The results from this analysis reveal that the relative frequency of actions in certain states and some transitions between states were predictive of partner satisfaction. We found that partner satisfaction was negatively associated with the relative frequency of the Compilation Error state and with the relative frequency of transitions from Curriculum Browsing &#8594; Code Editing. Partner satisfaction was also negatively associated with the relative frequency of transitions from Aesthetic Dialogue &#8594; Technical Dialogue and Aesthetic Dialogue &#8594; Code Editing.</p><p>This work is the first to model the dialogue mechanisms of high school learners' co-creative interactions and provide insights into the relationship between these interactions and partner satisfaction. Based on these findings, we provide suggestions for intelligent systems to support co-creativity. We can move toward intelligent support of co-creative learning by modeling co-creative dialogue and its relationship with partner satisfaction.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>Related Work</head><p>Collaborative learning is a complex process involving both cognitive and social dimensions. <ref type="bibr">Dillenbourg (1999)</ref> broadly defines collaborative learning as "a situation in which two or more people learn or attempt to learn something together". While there are a variety of more explicit definitions for collaborative learning, most tend to include some form of creation of shared knowledge by groups while working together towards a common goal <ref type="bibr">(Davidson &amp; Major, 2014;</ref><ref type="bibr">Roschelle &amp; Teasley, 1995)</ref>. The notion of working together towards a common goal is also part of collaborative problem solving. <ref type="bibr">Graesser et al. (2018)</ref> provide nuanced descriptions of the features that distinguish collaborative problem solving from other forms of collaboration which include solving a novel problem, objective accountability of solution quality during problem solving, differentiation of roles, and interdependency among team members.</p><p>Understanding human-human collaboration is essential for developing AI systems that support collaborative learning. For many years researchers have attempted to characterize collaboration through identifying group processes and interaction patterns. Work from <ref type="bibr">Bales and Strodtbeck (1951)</ref> provides an early example of investigating how group processes during problem-solving were distributed over time, finding that groups move through phases of collaboration and that different group processes characterize these phases. Since then, researchers have analyzed many types of collaborative interactions using a variety of coding schemes. Research on interaction processes generally uses sequences of low-level codes (e.g., dialogue acts) to identify patterns and higher-level constructs, such as cycles of turn taking <ref type="bibr">(Roschelle, 1992)</ref>, ideal communication cycles <ref type="bibr">(Tschan, 1995)</ref>, knowledge sharing events <ref type="bibr">(Soller &amp; Lesgold, 2007)</ref>, inquiry threads <ref type="bibr">(Zhang et al., 2007)</ref>, and collaborative episodes <ref type="bibr">(Chng et al., 2020)</ref>. Identifying patterns in group processes allows researchers to distinguish differences between effective and ineffective groups. <ref type="bibr">Tschan (1995)</ref> found that high-performing groups had a higher proportion of ideal communication cycles (i.e., beginning with a discussion about task preparation and ending with an evaluation) than low-performing groups. <ref type="bibr">Soller (2001)</ref> identified collaborative learning behaviors that were exhibited by effective collaborative learning teams. <ref type="bibr">Chng et al. (2020)</ref> explored how individual and collaborative patterns were associated with individual outcomes such as frustration, technical proficiency, and time spent in the makerspace.</p><p>While focus on collaborative learning has been increasing, not enough is understood about it in K-12 contexts. Specifically, while practices such as collaborative computing have been identified as core practices in the US's K-12 CS Framework <ref type="bibr">(K-12 Computer Science Framework, 2016)</ref>, most research into collaborative programming happens in undergraduate computer science courses. Researchers have found that undergraduate learners who participate in collaborative programming produce higher quality code, greater confidence in their work, and are more likely to pass their programming courses <ref type="bibr">(Braught et al., 2011;</ref><ref type="bibr">McDowell et al., 2002)</ref>. Research into K-12 collaborative programming practices include comparing the benefits of pair programming for middle school students to working individually <ref type="bibr">(Denner et al., 2014)</ref>, exploring the different ways pairs' dialogue, suggestions, and roles affect collaboration <ref type="bibr">(Tsan et al., 2018;</ref><ref type="bibr">Tsan et al., 2018)</ref>, asking how attitude toward collaboration and prior knowledge of programming influences interactions <ref type="bibr">(Campe et al., 2020)</ref>, and investigating how pair programming improves confidence and performance in primary school girls <ref type="bibr">(Zhong et al., 2016)</ref>.</p><p>Another practice identified in the US's K-12 CS Framework is creating computational artifacts, which is a process that "embraces both creative expression and the exploration of ideas to create prototypes and solve computational problems. Students create artifacts that are personally relevant or beneficial to their community and beyond". <ref type="bibr">(K-12 Computer Science Framework, 2016)</ref> Studies have consistently found benefits to incorporating more creative activities into computer science classes, such as increased motivation, engagement, and content knowledge. <ref type="bibr">Knobelsdorf and Romeike (2008)</ref> identified two types of students interested in computer science and programming. The first type viewed computer science as "fun, creative, and autonomous", and the second type was more interested in acquiring knowledge and solving problems. The first group found their computer science classes disappointing, suggesting that more opportunities for creativity in computer science courses may be necessary to prevent loss of interest. While studying the effects of computational music remixing on attitudes and knowledge of computer science on high school students, <ref type="bibr">Freeman et al. (2014)</ref> found students value these creative and personally relevant aspects, and their results suggested that these aspects may be even more engaging for female and minority students. These findings were supported by <ref type="bibr">Magerko et al. (2016)</ref>, who observed that while all groups of students showed significant increases in intent to persist in computing and content knowledge, the increase in female student interest in computing was significantly higher than the increase in male interest.</p><p>Despite the benefits of collaboration and creativity in computer science education, there is little research into the processes of co-creativity in computer science classrooms. While studying co-creative processes and how they impact concept formation, <ref type="bibr">Matsumae et al. (2021)</ref> found that, compared to non-interactive and interactive non-co-creative processes, the co-creative process enhances concept formation depth but also requires more time and a greater cognitive load. This finding indicates that we cannot assume the same processes are involved between collaborative programming and co-creative programming. In fact, <ref type="bibr">Bales and Strodtbeck (1951)</ref>, while studying phases of collaboration among different activities, notes how the phase order in "certain types of creative problems" was the reverse of what was predicted, and that these tasks may require a "different sort of phase hypothesis". When designing systems to support co-creative learning, it is essential to understand the co-creative processes that occur and how they might impact learner outcomes.</p><p>There is a growing interest in investigating partner satisfaction rather than focusing exclusively on individual outcomes in co-creative domains. Historically, partner satisfaction has been seen as important in reflecting the extent to which collaborators are engaged or adding value to the collaboration <ref type="bibr">(Waddock &amp; Bannister, 1991)</ref>. Recent work supports this finding: <ref type="bibr">Campe et al. (2020)</ref> found that students' attitudes about each other influenced the extent to which they contributed during pair programming. Similarly, <ref type="bibr">Katuka et al. (2021)</ref> found that dialogue acts reflecting higher participation were associated with higher partner satisfaction during pair programming activities. Furthermore, there seems to be a relationship between partner satisfaction and how student partners talk with one another <ref type="bibr">(Katuka et al., 2022)</ref>. However, little is know about the relationship between partner satisfaction and higher-level processes in co-creative group interactions.</p><p>Hidden Markov models (HMM) are well-suited to learning higher-level constructs from observable interactions during collaboration in computer science. <ref type="bibr">Soller and Lesgold (2007)</ref> compared five computational approaches-finite state machines, rule learners, decision trees, plan recognition, and hidden Markov models-for modeling knowledge sharing during collaborative learning. They found that the HMM performed significantly better than the other approaches. In the domain of computer science learning, <ref type="bibr">Boyer et al. (2009)</ref> learned an HMM from a corpus of human-human introductory computer science tutoring dialogues. They demonstrated that an HMM could be used to identify tutorial dialogue strategies from the structure of the dialogue act sequences. Later, <ref type="bibr">Boyer et al. (2011)</ref> used both dialogue acts and task actions from human-human tutoring and demonstrated that HMMs could identify meaningful high-level structures (i.e., hidden states) that were correlated with learning outcomes when the low level codes (i.e., observation symbols) that made up these states were not. In addition to computer science tutoring, this method has also been applied to collaborative programming processes. <ref type="bibr">Rodr&#237;guez and Boyer (2015)</ref> used HMMs to compare the problem-solving approaches of individual students and pairs of students during programming activities. The HMM was able to highlight the similarities and differences of the types of states each moved through and where the pairs employed different problem-solving patterns and strategies than the individuals. For instance, only pairs had the program planning and program building states. Researchers noted that the program planning state might be most representative of the collaborative aspect of the task. Additionally, they noted that pairs were more likely to persist in the same problem-solving state for longer than individuals.</p><p>In summary, the prior research has established that in CS education, collaboration is beneficial, creative coding can help motivate and engage students, and HMMs can be used to identify the higher-level processes of group interactions. The work presented in this paper builds on previous research to identify the group processes of collaboration and creativity in learning. While earlier research has focused on exploring these processes separately or in other learning domains, we focus on learning the processes of co-creative learning in K-12 computer science education using an HMM. Additionally, while most research into collaborative learning focuses on learning outcomes or performance on an activity or artifact, we explore the relationship between co-creative processes and partner satisfaction.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>Methods</head><p>This work analyzes a corpus collected from a study conducted in high school computer science classes. The corpus consists of textual student-student dialogue gathered while students worked together in pairs within the EarSketch learning environment, an online interface for developing computational music (Fig. <ref type="figure">1</ref>). In prior studies, students, especially those in currently underrepresented groups in computing, who used EarSketch had significant positive results related to content knowledge and attitudes towards computing, <ref type="bibr">(Magerko et al., 2016)</ref>. The EarSketch interface includes a code editor and a digital audio workstation that allows users to access the music they have written <ref type="bibr">(Freeman et al., 2015)</ref>. The EarSketch interface also Fig. <ref type="figure">1</ref> The modified EarSketch environment with chat window used during the study features a content manager with samples, which students can use to create music. A curriculum tab provides helpful resources associated with the class. Both students in each pair had access to all tools, allowing both to contribute to the code simultaneously. In this study, the interface included a chat box for partners to communicate with one another. We logged all pairs' textual dialogue, the activity in the code editor, the items viewed in the curriculum tab, and the outcome of the students running their scripts (e.g., successful compile or error received).</p><p>There were 140 participants from eight public high schools in two districts in the southern United States. More than half of the schools had a student population of majority (&gt; 50%) White students; one school was majority Black; two schools had a substantial (&gt; 25%-35%) Latinx population; one school had a substantial Asian population. Students were in grades 10-12, which is around 15-18 years old. To encourage the students to communicate through the textual chat interface (Fig. <ref type="figure">1</ref>), teachers placed the pairs either in separate rooms or different areas of the same room. Students collaborated synchronously for an average of 48 minutes to remix musical samples and create an original song or ringtone. Nine pairs split their work across two class days. We only included the first day's dialogue because including the dialogue from both days would unevenly weight the patterns of those nine pairs while training the hidden Markov models, but concatenating the dialogues from the two separate days would change the natural beginning, middle, and end of the sequences.</p><p>After their collaboration, students were given a post-survey about their satisfaction with their partner, which we will discuss in a later section. Some students were also given a pre-survey that asked students to describe their experience, confidence, and enjoyment in both computing and music. However, because pre-surveys were not administered during the first sets of classroom studies, we only have pre-survey data for 44 of the 136 students. Therefore, we did not use the pre-survey in our analyses.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>Dialogue Taxonomy</head><p>We extracted the students' textual dialogue into a corpus made up of 4,533 unique, raw utterances. We excluded sessions that included groups of three (in the case of an odd number of students) and removed two sessions that contained exclusively offtask, joking, offensive, or gibberish content. The remaining textual dialogue corpus includes 68 sessions (136 students) and 3305 utterances, with a mean of 48 utterances per session <ref type="bibr">(SD= 35,</ref><ref type="bibr">Min= 4,</ref><ref type="bibr">and Max= 214)</ref>.</p><p>To analyze the utterances within these co-creative dialogues, we developed and applied a dialogue act taxonomy that included 16 dialogue act labels to effectively capture the collaborative/technical and creative/aesthetic dialogue processes within a co-creative domain. Our dialogue act taxonomy consisted of relevant dialogue acts identified from existing taxonomies of collaborative coding <ref type="bibr">(Rodr&#237;guez et al., 2017a)</ref> and improvisational theatre <ref type="bibr">(Fuller &amp; Magerko, 2010;</ref><ref type="bibr">Fuller &amp; Magerko, 2011)</ref>. From <ref type="bibr">Rodr&#237;guez et al. (2017a)</ref>, we included the labels Statement, Acknowledgment, Positive Feedback and Non-positive Feedback. From <ref type="bibr">Fuller and Magerko (2010)</ref> and <ref type="bibr">Fuller and Magerko (2011)</ref>, we included Proposal (introducing new ideas), Directive (directing a collaborator), Proposal Acceptance or Rejection, and Directive Acceptance or Rejection. Additional dialogue acts labels were generated to capture the remaining dialogue acts within the corpus, including Social, Passing Responsibility, Confusion, Seeking Feedback, Closing, and Code/Link. Table <ref type="table">1</ref> shows these dialogue act labels. Our resulting dialogue act taxonomy captured the technical and aesthetic dimensions within the co-creative dialogue.</p><p>Three independent annotators, all graduate students, began the tagging process and labeled an initial subset of the corpus (approximately 190 utterances). After refining the dialogue act labels and descriptions, two annotators tagged another subset of the dialogue corpus (approximately 185 utterances) to arrive at a sufficiently high interrater reliability (kappa &#8805; 0.70). Annotator A then labeled the remaining 2851 utterances, and annotator B labeled 918 utterances, resulting in a kappa of 0.76, indicating substantial agreement for overlapping utterances <ref type="bibr">(Landis &amp; Koch, 1977)</ref>.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>Hidden Markov Model</head><p>We implemented a hidden Markov model (HMM) to analyze the learners' interactions and model the co-creative sequences <ref type="bibr">(Rabiner &amp; Juang, 1986)</ref> after compiling the lists of sequential observation symbols that represent the collaborative interactions. We chose to use an HMM because we were interested in the hidden discourse states of co-creative dialogue. In an HMM, sequences of observation symbols represent observable events such as textual messages and coding actions. In Fig. <ref type="figure">2</ref> the circles with the dialogue act labels represent the observation symbols. Hidden states are influences upon those observation sequences. Each hidden state is characterized by an emission distribution, which is a probability distribution over observation symbols. When the model is learned, every observation is modeled as having been "generated" by a hidden state. In Fig. <ref type="figure">2</ref>, the hidden states are represented by the unlabeled squares, and the arrow from the hidden states to the observations indicates the relationship of the observation having been generated by the hidden state. Each hidden state also has a set of transition probabilities and an initial state probability. The transition probabilities indicate how likely the model is to either continue in that state or transition to another state are represented by the arrows from one hidden state to the next in Fig. <ref type="figure">2</ref>. The initial state probability that indicates the likelihood of the Markov chain beginning in that state. The HMM also has a stationary distribution that indicates the proportion of interactions that occur in each state over the long run. By training an HMM on the data from this study, we can take a highlevel view of the learners' interactions and uncover generalizable patterns in the cocreative process.</p><p>The labeled dialogue and task actions are the observation symbols in this model. There are 20 distinct possible observation symbols-16 dialogue acts (Table <ref type="table">1</ref>) and the following actions:</p><p>&#8226; curriculum: The student accessed the curriculum or moved between lessons.</p><p>&#8226; edit: Any consecutive insertion or removal of characters in the code editor.</p><p>&#8226; success: Each time the script was run successfully. Applied API function make-Beat()</p><p>&#8226; error: Each time an error was received when the script was run.</p><p>We represented each of the 68 collaborative dialogues as a sequence of these observation symbols and trained an HMM on these sequences. We did not model time between actions, nor did we model which of the two students performed each action.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>Partner Satisfaction Survey</head><p>Each participant filled out a post-survey where they rated their partner on seven items using a 4 point scale of Strongly Disagree (1) to Strongly Agree (4) with no neutral answer. Figure <ref type="figure">3</ref> shows the summary of these results. We conducted a Principal Component Analysis (PCA) on the survey item responses that we collected. The PCA results suggest that these seven items should be considered one PCA cluster, so we combined these seven items to obtain a single partner satisfaction for each student. We then summed the two partner satisfaction scores of the students in each pair to form a combined satisfaction score. The combined satisfaction score provided a group metric that indicates overall partner satisfaction. The range for possible combined satisfaction scores is from 14 to 56, with actual scores that ranged from 19 to 56 (M = 46.4, SD = 6.17).</p><p>The post-survey also asked students to assess their partner's coding knowledge in response to the prompt My partner's coding knowledge was: with a scale of Much less than mine, Somewhat less than mine, About the same as mine, Somewhat better than mine, and Much better than mine. The post-survey also included two open response questions. The first was a follow-up to the My partner made valuable contributions item, -If so, what was the most valuable contribution your partner made? The second open response question was a follow-up to the I would like to work with this partner again item, -How come?</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>Hidden Markov Model of Co-creative Dialogue</head></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>Results</head><p>We used a hidden Markov model to answer RQ1: What are the dialogue states that characterize the co-creative process between learners, and how do learners transition between these dialogue states? One of the major decisions when learning an HMM is choosing how many hidden states to include. Sometimes the number of hidden states is known or strongly implied by physical or theoretical constraints of an application, but in our case, we had no prior notion of how many co-creative dialogue states would emerge. To identify the best number of hidden states n, we used leave-one-out cross-validation and compared the average Akaike information criterion (AIC) score for each number of hidden states <ref type="bibr">(Akaike, 1974)</ref>. We compared models using n = 4 to n = 9 states, finding the best AIC scores with n = 6 and n = 7. We then trained ten models each for both six and seven states and picked the single best model for each n using log-likelihood. The best models for each n were nearly identical: one of the dialogue states for the six-state model split into two dialogue states in the seven-state model, with the remaining states being the same. We opted to move forward with the 7-state HMM.</p><p>The HMM analysis suggests seven hidden states within the co-creative dialogues (see Fig. <ref type="figure">4</ref>). These hidden states are characterized by emission probability distributions over the observation symbols and must be interpreted as a whole. We interpret the learned hidden states as follows:</p><p>&#8226; Social Dialogue: In this state, social dialogue acts are emitted with a high probability (79%). Due mainly to greetings and other social dialogue at the outset of collaboration, around 90% of sessions begin in this state. &#8226; Aesthetic Dialogue: This state is characterized by the observation symbols proposal (34%) and proposal acceptance (17%), which are the dialogue acts involving assertions and acceptances of creativity. The dialogue that belongs to this state usually involves discussing some aspect of the music. &#8226; Curriculum Browsing: In this state, the observation symbol curriculum, which involves accessing the curriculum documents, is emitted with a very high probability (91%). A student browsing through several curriculum documents rather than accessing specific relevant documents characterizes this state.</p><p>&#8226; Code Editing: The observation symbols from this state are almost entirely code editing, which is emitted with a 99% probability. &#8226; Technical Dialogue The observation symbols that characterized this state involved dialogue acts of statement (25%), directive (15%), confusion (13%), acknowledgement (9%), and directive acceptance (6%). The dialogue that belongs to this state usually involves discussion of code features or task requirements.</p><p>Fig. <ref type="figure">4</ref> The learned HMM with n = 7 hidden states. Rectangles represent hidden states, and probability distributions within each rectangle indicate emission probabilities. Arrows among hidden states represent transition probabilities. The lower right table displays initial probabilities (probability of a dialogue session beginning in that state) and stationary distribution (proportion of interactions that occur in each state over the long run)</p><p>&#8226; Compilation Success: Mostly characterized by students running the code successfully, this state involves some positive feedback (6%) and statement (5%) dialogue acts. </p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>Discussion of Hidden States</head></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>Dialogue States</head><p>The HMM revealed how co-creative pairs moved among collaborative dialogue states characterized by conversation and task actions. Of the seven hidden states identified by the HMM, three were composed primarily of dialogue acts. Social Dialogue was the most likely state for pairs to start in, primarily composed of greetings and off-task dialogue. This is a typical feature of collaborative dialogue, prefacing discussion with periods of rapport building in which the partners become more familiar with each other <ref type="bibr">(Ogan et al., 2012)</ref>. After leaving this initial Social Dialogue state, we found that the conversation was nearly twice as likely to move directly to the Aesthetic Dialogue state (60%) as the Technical Dialogue state (31%). In the Aesthetic Dialogue state, pairs brainstorm and exchange dialogue related to the musical aspects of their co-creative task, such as genre and types of sounds. The Technical Dialogue is where pairs begin planning how to accomplish their aesthetic goals.</p><p>In the excerpt in Table <ref type="table">2</ref>, the pair sets their goal of creating a "dubstep" song and then debates how they would accomplish that in their code. This transition from Aesthetic Dialogue &#8594; Technical Dialogue accounted for 13.0% of the transitions across the sessions. In contrast, the transition from Technical Dialogue &#8594; Aesthetic Dialogue was less than half that at 6.02%. This observation suggests that most pairs tend to decide on what they want to make before they move on to making it.</p><p>We used a ridgeline plot (Fig. <ref type="figure">5</ref>) to visualize where the hidden states occur in the sessions. The highest points are where the interactions in each state occur most frequently but are not relative to the other states' frequencies. The pattern we observed using all 68 sessions was that the highest frequency of Social Dialogue occurred at the beginning, followed by the highest frequency of Aesthetic Dialogue. The highest frequency of Technical Dialogue occurred just before the editing and debugging process began, but Technical Dialogue was more consistent throughout the sessions than Social Dialogue or Aesthetic Dialogue. Overall, dialogue appears to be more frequent at the beginning of the sessions and decreases as the editing and debugging processes take precedence.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>The Debugging Process and the Conversation it Inspires</head><p>The remaining four states are primarily composed of actions in the interface:   errors focus on resolving their problems rather than discussing the aesthetic elements of the artifact.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>Model Relationship with Combined Satisfaction</head></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>Using Hidden States and Transitions to Predict Combined Satisfaction</head><p>After learning an HMM, our next step was to identify how the hidden states of the HMM (their relative frequencies out of the collaborative sessions, and the transitions between the hidden states during those collaborative sessions) were associated with the outcome of combined satisfaction. This research explores RQ2: What are the relationships between the outcome of partner satisfaction and the dialogue that comprised the co-creative process? Our goal is to build a predictive model using these state and transition features as predictors. To identify which of the hidden states and their transitions predicted combined satisfaction, first we calculated the relative frequencies for each state and for the transitions among states.</p><p>To illustrate how we computed relative frequency, we take the example in Fig. <ref type="figure">6</ref>, which depicts an HMM that includes six observations, Social, Social, Passing Responsibility, Proposal, Proposal Accept, and Statement, and their hidden states, Social Dialogue, Social Dialogue, Aesthetic Dialogue, Aesthetic Dialogue, Aesthetic Dialogue, and Technical Dialogue. If these six collaborative moves represented a pair's entire session, the session would have six observations, six (not necessarily distinct) hidden states, and five transitions. To compute the relative frequency for the Social Dialogue state, we count the number of times it occurred and divide by the total number of observations. In our simple example the model fit the Social Dialogue onto two of the six observation symbols, so the relative frequency of that state is 2 6 or 1 3 . We computed this relative frequency for all states, so for our simple example 1 2 of the interactions occurred in the Aesthetic Dialogue state, and 1 6 of the interactions occurred in the Technical Dialogue state. Every other state in this example would have a 0% for the relative frequency of interactions that occurred in that state. This relative frequency is not equivalent to the elapsed time that was spent in each state as the HMM only considers the sequence order of the discrete observations and not the time duration.</p><p>We use the relative frequencies of the transitions to investigate how the flow of the interaction is associated with combined satisfaction. To calculate the relative frequency of each transition, we divide the number of transitions from each state to the next state (e.g., the transition from Social Dialogue&#8594; Social Dialogue or the transition from Aesthetic Dialogue&#8594; Technical Dialogue) by the total number of transitions in that collaborative session. In our simple example, the transition from Social Dialogue&#8594; Aesthetic Dialogue occurs once out of the five transitions, so the relative frequency is 1 5 . Continuing this simple example, 1 5 of the pair's transitions were from Social Dialogue&#8594; Social Dialogue, 2 5 were from Aesthetic Dialogue &#8594; Aesthetic Dialogue, and 1 5 were from Aesthetic Dialogue &#8594; Technical Dialogue. Any other possible transitions would have a 0% transition relative frequency.</p><p>The model assumes that the predictors are not highly correlated, but we discovered that there was a strong correlation between the relative frequency of interactions in a specific hidden state and the relative frequency of self-transitions of that hidden state. Therefore, prior to model building we removed self transitions for each state. For example, the relative frequency of interactions in the Social Dialogue state and the relative frequency of self-transitions from the Social Dialogue &#8594; Social Dialogue state had strong positive linear relationship (r(68) = .97, p &lt; .0001), thus we removed the self-transition from Social Dia-logue&#8594; Social Dialogue from the list of predictors. There were no self-transitions from the Code Editing state, so we chose to use the relative frequency of the hidden states instead of the hidden state self-transitions. After computing the relative frequencies of states and state transitions for each pair's session, we treated those values as features within a regression model. We had 20 independent variables (predictors), which included the relative frequencies of the 7 hidden states and the relative frequencies of 13 transitions between the hidden states for each pair. The dependent variable was the combined satisfaction score for the pair. We used JMP (SAS Institute Inc. 2021), SAS's statistical analysis software suite, to conduct the regression analysis using best subset selection method to explore which of the relative frequencies of the hidden states and their transitions predicted the combined satisfaction. The best subset selection method identifies the best subset of significant predictors. It considers all possible models from the null model, which includes only the intercept and no predictive features, to k predictors-k being the number of independent variables-and chooses the best model for each size and then the best overall model from those models (SAS Institute Inc, 2020). We interpret the best model, which we selected based on the Bayesian Information Criterion (BIC) <ref type="bibr">(Neath &amp; Cavanaugh, 2012)</ref>.</p><p>The significant predictors of combined satisfaction, along with their parameters estimated, are shown in Table <ref type="table">4</ref>. For ease of interpretation, we used centered and scaled predictors to provide standardized estimates so that we may compare the coefficients when we interpret the models. The results show that the transitions from Curriculum &#8594; Code Editing, Aesthetic Dialogue &#8594;Technical Dialogue, and Aesthetic Dialogue &#8594; Code Editing have a negative relationship with combined satisfaction. This means that the larger the relative frequency of these transitions that pairs have, the lower the combined satisfaction. Additionally, the greater the relative frequency of the interactions that occur in the Compilation Error state, the lower the combined satisfaction.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>HMM's Relationship with Combined Satisfaction</head></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>Compilation Error State's Negative Relationship with Combined Satisfaction</head><p>The Compilation Error state had a negative relationship with combined satisfaction. The higher the relative frequency of interactions in the error state, the lower the combined satisfaction for the pair. Pairs that had more of their interactions in the Compilation Error state likely also had more issues completing their task, thus spending more time debugging. Prior research has established that, when compared to other programming tasks, students find the debugging process to be more tiring and less enjoyable when working in pairs <ref type="bibr">(Chaparro et al., 2005)</ref>. We compared the top and bottom one-third of pairs based on their combined satisfaction to identify their distinguishing features. There were 21 pairs, around 31%, with combined satisfaction greater-than-or-equal-to 50, and 20 pairs, around 29%, with combined satisfaction less-than-or-equal-to 44. We used a ridgeline plot (Fig. <ref type="figure">7</ref>) to compare the pairs with the highest and lowest combined satisfaction. We noted that the pairs with the highest combined satisfaction had a single peak of Compilation Error state frequency around 60% through the session with most errors being resolved by the end of their sessions. In contrast, the pairs with the lowest combined satisfaction had two peaks of Compilation Error state frequency and more unresolved errors at the end of their sessions. An example of a lower rated pair that ends their session with compile errors and expressions of confusion can be seen in the excerpt in Table <ref type="table">5</ref>. Alternatively, in the excerpt in Table <ref type="table">6</ref> we can see a pair with higher combined satisfaction ending the session with working code and positive feedback on their song. One of the main differences between the interactions of the pairs with the highest and lowest combined satisfaction is that the pairs with higher combined satisfaction tended to focus on solving errors together before moving on to other tasks and explicitly stated when they were moving onto the next task once a task was completed. For example, the excerpt in Table <ref type="table">7</ref>, we can see students trying to figure out why their song is not sounding the way they expected. Student 1 suggests a solution, saying "we need to change the track", and Student 2 replies that "... so even if it was on the same track it should work". They both edit the code, and Student 2 comments on a change made by Student 1, saying "if we add it there we would need to add a parameter". They continue to work on their artifact collaboratively, resolving one part of the issue and directing their attention to the next part with Student 2 saying "Alright lets see where the problem is from here" and Student 1 agreeing. The collaborative approach to solving errors from the previous excerpt can be contrasted with the earlier excerpt in Table <ref type="table">5</ref>, where Student 2 tries to compile and listen to the song, but receives an error. Neither student mentions anything about the error until Student 1 indirectly references it at</p><p>Table <ref type="table">5</ref> Excerpt from a student collaborative dialogue that ends their session without resolving errors. Each dialogue state was determined automatically using the HMM presented in this work the end of the session by saying "i am confused on what is going on" and Student 2 agrees by saying "idk im so confused". The lack of communication about code errors may be because when facing errors in their code, some students see the errors as a negative reflection of their abilities <ref type="bibr">(Kinnunen &amp; Simon, 2010;</ref><ref type="bibr">Gorson et al., 2021)</ref>. The negative self-assessments related to errors in code could suggest that pairs that engaged in more discussion around errors were more confident in their abilities. Additionally, expressions of uncertainty or confusion are an important aspect of collaborative dialogue and can provide learning opportunities when resolved <ref type="bibr">(Berlyne, 1978)</ref>. However, unresolved uncertainty can lead to negative affective states such as boredom and frustration (D'Mello &amp; Graesser, 2012). We found that higher rated pairs usually tried to clear up any confusion about the task or artifact, even if the error had been resolved. For example, in the excerpt in Table <ref type="table">8</ref>, Student 1 makes some changes to the code and resolving an error, but Student 2 references the removed code saying "i was trying to make that an effect". Student 2 then makes some changes to the code and is able to successfully compile it. Student 1 apologizes and indicates their confusion saying "my b i just didn't know what was wrong". Despite the problem being resolved and the code continuing to compile successfully after changes from Student 1, Student 2 elaborates on their earlier explanation by replying "your all good, im trying to make the CIARA beat slower by setting an effect to change the tempo". In contrast, an excerpt in Table <ref type="table">9</ref> shows Student 1 asking "do you know how to do the envelope?" and Student 2 responds that they do not. Student 1 returns to editing code, and the topic is never brought up again. If Student 1 did find the solution, it was not discussed with their partner. This pair went on to only have six more utterances and ended the session with more unresolved expressions of confusion and compile errors. <ref type="bibr">Rodr&#237;guez et al. (2017b)</ref> compared uncertainty in pair programming for high and low performing pairs based on task solution quality. They found a similar pattern where higher performing pairs tended to address and resolve uncertainty and also focused on resolving a single task before moving on while lower performing pairs did not.</p><p>In our examination of the Compilation Error state, we find such communication between partners to be an important part of resolving errors, which is consistent with prior research. <ref type="bibr">Teasley (1997)</ref> found more types of transactive discussion-in which partners act on each other's reasoning-in pairs and that the pairs generate a deeper understanding of the problem more quickly. Additionally, <ref type="bibr">Murphy et al. (2010)</ref> observed improvement in the number of problems The model revealed that more transitions from Curriculum Browsing &#8594; Code Editing had a negative relationship with combined satisfaction. While examining the interactions of the pairs, we noted two different ways-targeted and undirectedthat students used the curriculum resource. The first type, targeted, was when students had a specific problem they were working on, like resolving an error or writing a custom function, and they went to the specific curriculum resources that addressed their problem. Students using the curriculum documents to address a specific problem is occasionally part of the Curriculum Browsing state, but is most often included in one of the other states, such as the Compilation Error state. An excerpt of a student receiving a Type Error and then accessing the 31.7: Type Error curriculum document in the Compilation Error state can be seen in Table <ref type="table">10</ref>. However, the type of curriculum usage, undirected, that characterizes the Curriculum Browsing state, involves students clicking though the curriculum indiscriminately. <ref type="bibr">Kinnunen and Simon (2010)</ref> found that when students are not sure how to begin, they would freeze up or start looking through their resources for examples. In some of the pairs with lower combined satisfaction, one student seemed to be unsure of how to get started and did little or no coding within the session, and their partner did either all or almost all of the coding. The students that browsed the curriculum and made few contributions also asked questions like "how do I play it?" without any response from their partners. The curriculum browsing behavior usually started from the introductory unit and followed it through the subsequent topics, which is depicted in the excerpt in Table <ref type="table">11</ref>. In the same session from the excerpt in Table <ref type="table">11</ref>, Student 1 tries to add some code to the project about a quarter of the way through the session. Student 2 says "What are you trying to write?" and deletes Student 1's contribution. Student 1 does not try to add anything else to the project for the rest of the session, but does go back to access some of the basic curriculum documents again. <ref type="bibr">Chaparro et al. (2005)</ref> saw similar patterns where a higher skilled partner would take full control when paired with a more passive and lower skilled partner. We can contrast this behavior with an interaction from a pair with higher combined satisfaction. One student clicks through the curriculum at the very beginning of the session then asks their partner "so we're just making a ringtone". They continue to click through the curriculum for a couple of minutes until their partner answers "yes" and explains "we need to figure out how many measures it takes to get to 60 seconds". After this explanation from their partner, the student stopped browsing the curriculum and started the project.</p><p>Out of the two curriculum usage methods we identified-targeted and undirected-the Curriculum Browsing state is characterized by the latter. In the pairs that had a high relative frequency of Curriculum Browsing &#8594; Code Editing transitions, typically one partner browsed the curriculum while the other worked in the code editor, and the contributions to the artifact were unequal. The excerpt previously referenced in Table <ref type="table">11</ref> depicts Student 2 working in the code editor while Student 1 browses the curriculum, creating a transition from Curriculum Browsing &#8594; Code Editing. The negative relationship between the transition from Curriculum Browsing &#8594; Code Editing and combined satisfaction suggests that when one student is unsure in a way that causes this undirected curriculum usage, the student may require extra support.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>Aesthetic Dialogue &#8594; Technical Dialogue: Negative Relationship with Combined Satisfaction</head><p>Previously we observed that the typical progression of a session begins in the Social Dialogue state, then pairs typically transition to the Aesthetic Dialogue state. Next, pairs move on to the Technical Dialogue state, which is followed by the code editing states (Fig. <ref type="figure">5</ref>). However, the regression model (Table <ref type="table">4</ref>) showed a negative relationship between the relative frequency of the transition from Aesthetic Dialogue &#8594; Technical Dialogue and combined satisfaction. To understand why the transition Aesthetic Dialogue &#8594; Technical Dialogue would have a negative relationship with combined satisfaction, we will review prior literature including cognitive load and the dynamic between learning and making, then ground this discussion in excerpts from the corpus.</p><p>Mastering basic coding skills already creates a large cognitive load on the student, and the addition of a creative component greatly increases the cognitive load <ref type="bibr">(Grover, 2020, p.27)</ref>. Programming is considered to have a high intrinsic load, which is the difficulty inherent in a task <ref type="bibr">(Fincher and Robins, 2019, p.257)</ref>. Collaborative learning can help reduce this cognitive load by introducing a collective working memory, with communication being essential to its creation <ref type="bibr">(Kirschner et al., 2011;</ref><ref type="bibr">Kirschner et al., 2018)</ref>. In our corpus, as Code Editing and the debugging process increases, dialogue decreases, which can be seen in the ridgeline depicting the frequency of the hidden states over the session in Fig. <ref type="figure">5</ref>. The decrease in dialogue is more apparent when we examine the pairs with the lowest combined satisfaction. However, when we look at the pairs with the highest combined satisfaction, dialogue is relatively consistent throughout (Fig. <ref type="figure">7</ref>). <ref type="bibr">Kirschner et al. (2018)</ref> argues that during complex tasks, collaboration works as a scaffold for the knowledge acquisition process of each partner, and if it does not, it can become ineffective by causing too much extraneous load. Seeing a drop in dialogue when coding and debugging begins is unsurprising because <ref type="bibr">Lahtinen et al. (2005)</ref> found that the most difficult programming issue for students is finding bugs in their own programs. Some possible explanations for observing more consistent dialogue throughout the sessions of the pairs with the highest combined satisfaction are that these pairs did not have as much trouble with the programming aspects, like debugging, or that the partnership was effective at reducing some of the cognitive load. In the next three paragraphs we will discuss excerpts from the corpus from a cognitive load perspective.</p><p>One difference we observed between the pairs with the highest and lowest combined satisfaction was in how the pairs approached the task. The pairs with the highest combined satisfaction tended to focus on their task requirements first, preferring to get simpler code elements in place before working out the details of the music. In the excerpt in Table <ref type="table">12</ref> we can see just that-Student 1 making suggestions about the sounds they should use, but Student 2 wants to focus on making the loop before playing with the sounds. Breaking the task down into smaller more manageable parts by focusing on the basic coding elements first may help reduce the cognitive load in two ways. First, this resembles the iterative refinement process where the program is built in chunks, includes testing and debugging before adding another level of complexity, and is one of the strategies that supports the debugging process <ref type="bibr">(Grover, 2020, p.262)</ref>. Second, focusing on the aesthetic and technical concerns separately may keep students from being overburdened with the cognitive load of addressing both components simultaneously.</p><p>The iterative refinement process is demonstrated by the pair featured in Table <ref type="table">13</ref>, where initially, Student 2 suggests making a function with no arguments and then assigns the individual pieces of the function to each partner. By starting with no arguments in the function, the pair is able to get the basic elements in place and working before increasing the complexity. Additionally, this pair's dialogue was very consistent throughout the entire session with more of their Technical Dialogue occurring at the beginning of the session and more of their Aesthetic Dialogue occurring in the third quarter of the session. In comparison, another pair began their session by discussing the aesthetic parts of the project, assigning roles to each partner, but did not follow the iterative refinement process. The pair does not attempt to compile their code until 20 minutes after the session starts when they already had multiple functions written, which may have contributed to the difficulty they had trying to fix the syntax error they were receiving. The entirety of the pair's interactions, starting from about half of the way through the session, can be seen in the excerpt in Table <ref type="table">14</ref>, which includes their first attempt to compile during the session. Towards the end Student 1 asks "whats wrong with our functions". The pair did not have a single successful compilation during their entire session.</p><p>Because adding an aesthetic component can increase the cognitive load of the programming project, focusing on the aesthetic and technical elements individually may help the pairs reduce their cognitive load. Novices in particular may face increased cognitive load from the technical portion of their programming tasks because they are still working to acquire necessary schemata to handle the technical portion of their projects <ref type="bibr">(Fincher and Robins, 2019, p.258)</ref>. This compartmentalization of the aesthetic and technical components can be seen in this utterance from a pair with a higher combined satisfaction: "Now that we have a function we can call it multiple times but we can just change the sound". After their function is working, they can turn their attention to getting the song to sound the way they want. The benefits can be seen later in the session when they are working on the artifact aesthetic when one student says "Oh I see the problem... When we try and call the function again the piano tries to start playing again on track 3, but its already playing" to which their partner replies "we need to add the thing that changes the track". While this still involves changes to the code, being able to compile their code lets them focus on how to change the sound without having to deal with coding errors. As noted previously, when students enter the Compilation Error state, they tend to focus on resolving these errors instead of discussing the artifact aesthetics. While this separation of Aesthetic Dialogue and Technical Dialogue seems to work for pairs that focus on the technical first, it may not work as well for pairs initially focusing on the aesthetics. In Table <ref type="table">15</ref> we can see a pair listening to and deciding what sounds to use. One partner suggests making a loop, but the other partner says they should get all the instruments and then make it a song. When they do try to move onto making it a song towards the end of the session, Student 2 says "start finding other instruments, i will turn this part into a base". Afterwards it looks like Student 1 finds a sound and says "try it out now", but they do not get a chance to discuss it as the session ends a minute later. This pair seems to have gotten stuck on the aesthetics and were unable to progress to putting the song together. This evokes another critique of creative coding-that it can move  <ref type="bibr">(Grover, 2020, p.26)</ref>, creating what has been referred to as the 'virtuous' and 'vicious' cycles of STEAM CS education <ref type="bibr">(Moore et al., 2017)</ref>. The 'virtuous' cycle involves being motivated by the aesthetic part of the artifact to learn more advanced coding concepts to continue improving the artifact. The 'vicious' cycle happens when students learn just enough to be able to make the artifact and focus almost entirely on the artifact aesthetics and do not progress their computational learning. In the previous example, the students knew enough to be able to play the sounds they picked, but did not use custom functions, loops, or even vary the measures of the sound clips-all clips started in measure 1 and ended at 11-to turn the picked sounds into a song. When students put too much focus on the aesthetic without having a solid foundation of the fundamentals of programming, students' aesthetic ambitions can exceed their technical capabilities <ref type="bibr">(Grover, 2020, p.27)</ref>. While some challenges can motivate students to put more effort into the activity, unresolved frustration can lead to boredom and disengagement <ref type="bibr">(D'Mello &amp; Graesser, 2012)</ref>. One reason the higher rated pairs may benefit from focusing on the technical aspects first is that it may keep students' aesthetic ambitions more realistic for their programming proficiency. This can keep the challenges students face while working on their artifact motivating instead of frustrating. One pair with lower combined satisfaction in the excerpt in Table <ref type="table">16</ref>, starts the session heavily focusing on the aesthetic details, even suggesting making a jingle for a brand. While they have some success early on, they begin running into more errors as they get into the final quarter of the session. Eventually Student 2 says "it looks fine. i don't know why its not working. we should look back into unit one" and begins looking through the curriculum. They are able to get some successful compiles by removing code, but they end the session with a TypeError after adding more code in. <ref type="bibr">Murphy et al. (2010)</ref> found similar behavior when pairs became stuck during debugging. Focusing on making sure the code works first can also ensure the pairs are able to work on the aesthetic portions of their song. This is because if the code will not compile, the students cannot hear their song. The excerpt referenced previously in Table <ref type="table">5</ref> shows one student ask their partner if they want to make any changes to the song, and the other student says they need to listen to it first. They are unable to compile the code and thus unable to listen to the song they created. Then they spend the rest of their session debugging. Encountering technical errors when trying to work out the aesthetic aspects of the artifact can force students to focus on the error and potentially frustrate students that would prefer to work on the artifact aesthetics. In contrast, a pair previously referenced finished their function first and was then able to focus on the aesthetic aspects of their artifact like changing the track. This may be why the pairs that tended to get the basic code elements working first had higher combined satisfaction.</p><p>In this section, we discussed cognitive load and the dynamic between learning and making as possible reasons for the negative relationship between the transition from Aesthetic Dialogue &#8594; Technical Dialogue. Using excerpts from our corpus, we highlighted some of the differences between the pairs with the highest and lowest combined satisfaction, which include use of iterative refinement and focusing on task requirements first. We noted that the pairs with the highest combined satisfaction had more consistent dialogue throughout the session, including during the debugging phase when dialogue decreased considerably between other pairs. Some reasons for the higher levels of dialogue during the debugging phase could be that the pairs had less trouble with the programming aspects, like debugging, or that the partnership was effective at reducing some of the cognitive load. Additionally, focusing on task requirements first seemed to allow the pairs that did this to put more focus on the aesthetic elements in the later half of the session, whereas several of the pairs that focused heavily on aesthetics early tended to spend the later half of the session dealing with compile errors. If students are more motivated to discuss problems involving the aesthetic elements rather than compile errors, it could explain some of the increased dialogue in the pairs with higher combined satisfaction since they tended to be able to focus on aesthetic problems in the later half of the session. Frustration with debugging and a desire to work on the aesthetic portions may also explain some of the virtuous/viscous cycle discussed previously.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>Implications for Intelligent System Support</head><p>The findings of this research, while preliminary, provide insights into how co-creative processes are associated with combined satisfaction, and they illuminate potential opportunities around compilation errors, uncertainty, and the dynamic between learning and making to support collaboration during co-creative learning tasks. Some of these findings are specific to the co-creative process, while others apply to collaboration in general, and thus, have important implications for both co-creative agents and collaborative support systems. We will discuss each finding with its implications for both co-creative agents and collaborative support systems, but first we will define and briefly discuss the role of these two types of intelligent systems. Co-creative agents fulfill the role of collaborator on open-ended creative tasks. Using agents as partners to human learners has demonstrated benefits including significantly higher levels of shared understanding, progress monitoring, and feedback <ref type="bibr">(Rosen, 2015)</ref>. Applications of co-creative agents range from improving collaborative skills, like encouraging "deep thinking" and initiative taking <ref type="bibr">(Howard et al., 2017)</ref>, to providing emotional support for elementary school students learning to code <ref type="bibr">(Morales-Urrutia et al., 2020)</ref>. A co-creative agent can support human creativity through supporting the creation of music through code <ref type="bibr">(Truesdell et al., 2021)</ref> and supporting collaborative ideation through sketches <ref type="bibr">(Lin et al., 2020)</ref>.</p><p>Collaborative support systems are systems where the primary role is to support collaboration between humans. Some of these systems perform functions like encouraging productive dialogue during collaborative learning <ref type="bibr">(Dyke et al., 2013;</ref><ref type="bibr">Tegos et al., 2014)</ref>, while others help students regulate their collaboration by prompting students to use different reflection strategies <ref type="bibr">(Sankaranarayanan et al., 2020)</ref>.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>Support for Error Resolution</head><p>Our findings indicate that the pairs that had more interactions in the Compilation Error state tended to rate their partners lower than pairs that had fewer interactions in the Compilation Error state. We identified patterns that were common in the higher rated pairs that were frequently missing in the lower rated pairs: they tended to have more of their errors resolved by the end of the session, focused on a single task together, explicitly stated when they were done and ready to move on, and worked together to resolve uncertainty even if the coding error had already been resolved. We can use these observations from more successful pairs to guide intelligent system support.</p><p>Because dialogue was such an effective tool for resolving errors, if co-creative agents detect an extended amount of time spent in the Compilation Error state, they could try to engage the student in discussion about the error and task. If the student is still unable to resolve the issue after talking through the issue, the co-creative agent could provide extra help resolving programming errors or offer examples of working code so that the student can remain engaged with the aesthetic aspects of the work.</p><p>For collaborative support systems, support could look like ensuring both partners are working on the same problem if there is an extended amount of time spent in the Compilation Error state. That could involve prompting partners to explicitly state what they believe the problem is and encouraging them come up with a plan for how they will fix it. Additionally, after the error is resolved, the system might have partners confirm with each other what the issue was and what fixed the error. This would give both students the opportunity to benefit from the learning experience.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>Support for Help Seeking</head><p>The behavior of using curriculum documents in the way that characterizes the Curriculum Browsing state-where a student clicks through many different topics instead of seeking out a specific topic-can potentially identify when a student is having trouble getting the help they need. However, our findings show that lower combined satisfaction was only associated with the relative frequency of transitions from Curriculum Browsing &#8594; Code Editing, so this browsing behavior itself does not necessarily indicate issues in the collaboration. This transition was most common when one student would work in the code editor while their partner browsed the curriculum. In these situations, contributions to the artifact were very unequal and conversation was limited, and in many cases the editing student ignored questions from the browsing student.</p><p>While a co-creative agent would not likely be designed to work on an artifact without input and contributions from the human partner, there are still things to be learned from this finding. If an agent notices this type of curriculum browsing behavior, they could try to find out what the student is having trouble with and potentially offer resources, ideas, or encouragement. For example, if the problem is related to the aesthetic aspects, like how to decide on a genre, the agent can help the student brainstorm or give examples of different sounds. At a minimum, co-creative agents should treat this curriculum browsing behavior as a indicator to check in with the student.</p><p>Alternatively, when collaborative support systems notice this behavior, it could indicate problems with collaboration between the partners. Systems can encourage the browsing partner to communicate any uncertainty they have with their partner. Systems could also monitor chat and artifact contributions. If the browsing partner has tried to communicate, but the editing partner has not responded, the system could give a nudge or reminder to draw the attention of the editing partner to the browsing partner's message. If the browsing partner has not made many contributions to the artifact, it could encourage the pair to set specific tasks for each partner. In extreme cases, like where one partner ignores the other and possibly even removes the browsing partner's contributions, an alert to the teacher about the issue may be warranted so they can check in on the pair.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>Scaffolding Aesthetic and Technical Elements</head><p>Prior research has shown that when students talk through what they want to make first, it prevents students from putting too much emphasis on project requirements and not enough on personal relevance <ref type="bibr">(Grover, 2020, p.23)</ref>. Additionally, many students can be more motivated by the personally relevant aspects of the project, like creating music, than the programming itself <ref type="bibr">(Magerko et al., 2016)</ref>. Furthermore, when many of the aesthetic decisions of a project are left to the end, they can require major changes to the technical aspects. In EarSketch, this may look like changing or adding new code elements to add a drum fill effect to a song. This can potentially lead to sticking with an aesthetic decision that is not preferred to avoid rewriting the program or being unable to finish the changes required if students run out of time to work on their artifact. However, despite the benefits of including aesthetic elements in programming, our findings suggest that students could likely use more support during the co-creative process in two main areas-reducing cognitive load and scaffolding the aesthetic process.</p><p>For agents acting as co-creative partners, students can benefit from the knowledge scaffolding provided by collaboration described by <ref type="bibr">Kirschner et al. (2018)</ref> by having a partner that can provide the right knowledge at the appropriate time. For example, providing relevant worked or partial worked examples <ref type="bibr">(Zhi et al., 2019;</ref><ref type="bibr">McLaren &amp; Isotani, 2011)</ref> and encouraging good coding and debugging habits as they move through the project are ways that can reduce the cognitive load of the technical portion of the task and allow students to spend more time on creating. To help with the aesthetic elements, co-creative agents could use details from the artifact and make suggestions or give examples for moving what the student already has done towards a completed version of the artifact. For example, if students are just inserting sounds without progressing to a song-like structure, agents could suggest a custom function to make a chorus with sounds already present in the code editor or even provide one. This could give students a clear direction for moving forward on completing their artifact.</p><p>Collaboration support systems can identify when pairs encounter issues through dialogue features <ref type="bibr">(Goodman et al., 2005)</ref>, such as dialogue decreasing when errors increase, and encourage partners to communicate. They can even help guide the conversation when pairs are not having productive conversation <ref type="bibr">(Dyke et al., 2013)</ref>. These systems can also encourage pairs to set explicit goals or tasks-like using a custom function-and help them track which ones they've accomplished. Similar to the co-creative agent, these systems could also suggest more advanced code structures if the pair seems not to be making progress towards completing the artifact.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>Conclusion</head><p>Collaborative learning has many benefits, ranging from academic achievement to psychological well-being. In the context of computer science education, this means better code, higher retention rates, and more confidence <ref type="bibr">(Braught et al., 2011;</ref><ref type="bibr">McDowell et al., 2002)</ref>. A key component of collaboration is collaborative dialogue, a complex exchange of ideas where speakers can work together to solve problems and exchange knowledge. The complexity continues to increase in creative domains which require co-creative dialogue, such as creative coding. Understanding co-creative dialogues are a key step to furthering our understanding of co-creative learning and our ability to design intelligent systems to support it.</p><p>To understand the interactions of learners during co-creative tasks, 68 dyads of high school students in separate spaces performed collaborative coding tasks in the EarSketch learning environment. The tasks involved coding short segments of music, such as a 30 second ringtone. We collected their textual dialogue and the actions performed in the EarSketch interface and used these to learn a seven state hidden Markov model. The model has four hidden states primarily composed of interactions within the interface and three hidden states primarily composed of dialogue. We then used post-survey partner rating scores to identify the hidden states or their transitions that may impact these ratings. We found that the higher the relative frequency of interactions in the Compilation Error state and the higher the relative frequency of transitions from Aesthetic Dialogue &#8594; Technical Dialogue state and Browsing Curriculum &#8594; Code Editing state, the lower the partner satisfaction.</p><p>In this study we identified a common overall flow for the sessions where they typically begin in the Social Dialogue state, moving onto the Aesthetic Dialogue state after that, followed by the Technical Dialogue state before moving into a heavier coding and debugging phase that continues throughout the session. We also identified how the types of dialogue differ based on whether the pairs are transitioning out of the Compilation Success or the Compilation Error state. The Compilation Success state seems to be a point where pairs can renegotiate the aesthetic or technical details of an artifact whereas the Compilation Error state typically leads to pairs discussing the technical details of an artifact. Based on the relationship of the hidden states and their transitions with combined satisfaction, we identified three main areas where students may need support in these creative coding contexts. pairs that are spending a lot of time in the Compilation Error state may need help with error resolution, which can involve encouraging or structuring dialogue between partners. When one or more partners is using the curriculum in the way we see during the Curriculum Browsing state, this can indicate that students may be struggling with a broad problem like how to start a task, and if the partner is spending a lot of time in the code editor, potentially an issue with the collaboration itself. Providing projectspecific resources and encouraging dialogue can be used to help students get started on a task and answer general task questions they may have. Finally, reducing cognitive load and scaffolding the aesthetic and technical processes may be one way to help students manage the dynamic between learning and making. This work models the co-creative process and explores the relationship between the model and partner satisfaction. Despite its exploratory nature, this work identifies potential opportunities for support during co-creative learning, with some of the findings being unique to creative domains (e.g., managing the aesthetic and technical portions of a project) while the others are more broadly applicable to collaborative coding. However, there are several limitations to note. Because our findings on the relationship between the hidden states and their transitions and partner satisfaction are correlational, we are cannot establish causality. Additionally, because we only have pre-survey data for 44 of the 136 students, we were unable to investigate the impact of the students' own prior experience, confidence, and enjoyment for both computing and music on these findings. Further, this work does not consider any measures of task performance as outcomes. The only indication of task success or failure is the result of compiling the code (success or error) included as an observation symbol in the hidden Markov model. Nevertheless, this study adds to our understanding of co-creative processes and illuminates several possible directions for future research. More research is needed into how to best support students as they balance aesthetic and technical concerns during co-creative learning. Additionally, as this research only focused on partner satisfaction as outcomes, research is still needed into how cocreative processes impact artifact quality or learning outcomes as well as investigating how prior experience and attitudes may influence these outcomes. Another possible research direction for future work would be investigating how various types of feedback, such as playing the created music, impacts the co-creative process and partner satisfaction. Intelligent systems are uniquely positioned to utilize this research to support students during co-creative learning, by either identifying and encouraging good co-creative behaviors or by being good co-creative partners themselves.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>Transparency on Re-use of Material</head><p>The authors confirm that this manuscript has not been published elsewhere and is not under consideration by another journal. This manuscript extends a work that has been previously published at Artificial Intelligence in Education 2021 in Lecture Notes in Computer Science, vol 12748 which can be found at <ref type="url">https:// doi</ref>. org/ 10. 1007/ 978-3-030-78292-4_ 14. The original work reported on the hidden Markov model states and their transitions. This manuscript includes additional analyses of post-survey partner satisfaction scores and their relationship with the hidden Markov model as well as additional figures and insights about the general flow of a co-creative session.</p><p>Springer Nature or its licensor holds exclusive rights to this article under a publishing agreement with the author(s) or other rightsholder(s); author self-archiving of the accepted manuscript version of this article is solely governed by the terms of such publishing agreement and applicable law.</p></div></body>
		</text>
</TEI>
