<?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'>Enhancing Talk Moves Analysis in Mathematics Tutoring through Classroom Teaching Discourse</title></titleStmt>
			<publicationStmt>
				<publisher>Association for Computational Linguistics</publisher>
				<date>01/06/2025</date>
			</publicationStmt>
			<sourceDesc>
				<bibl> 
					<idno type="par_id">10625507</idno>
					<idno type="doi"></idno>
					
					<author>J Cao</author><author>A Suresh</author><author>J Jacobs</author><author>C Clevenger</author><author>A Howard</author><author>T Summer</author><author>C Brown</author><author>B Milne</author><author>T Fischaber</author><author>T Sumner</author><author>J Martin</author>
				</bibl>
			</sourceDesc>
		</fileDesc>
		<profileDesc>
			<abstract><ab><![CDATA[Human tutoring interventions play a crucial role in supporting student learning, improving academic performance, and promoting personal growth. This paper focuses on analyzing mathematics tutoring discourse using talk moves-a framework of dialogue acts grounded in Accountable Talk theory. However, scaling the collection, annotation, and analysis of extensive tutoring dialogues to develop machine learning models is a challenging and resource-intensive task. To address this, we present SAGA22, a compact dataset, and explore various modeling strategies, including dialogue context, speaker information, pretraining datasets, and further fine-tuning. By leveraging existing datasets and models designed for classroom teaching, our results demonstrate that supplementary pretraining on classroom data enhances model performance in tutoring settings, particularly when incorporating longer context and speaker information. Additionally, we conduct extensive ablation studies to underscore the challenges in talk move modeling.* This work was partially done when Jie Cao was a postdoctoral researcher at the University of Colorado Boulder.]]></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 n="1">Introduction</head><p>Human tutoring has become an essential component in combating learning loss due to the COVID-19 pandemic <ref type="bibr">(Robinson and Loeb, 2021;</ref><ref type="bibr">Zhou et al., 2021;</ref><ref type="bibr">Engzell et al., 2021;</ref><ref type="bibr">Lewis et al., 2021;</ref><ref type="bibr">Patarapichayatham et al., 2021)</ref>. In addition, expanding the tutoring workforce is critical to addressing teacher shortages. However, novice tutors lack adequate training in both their content area and in current pedagogical approaches and thus require extensive professional development.</p><p>Most methods for offering feedback to teachers rely on skilled human observers <ref type="bibr">(Correnti et al., 2015;</ref><ref type="bibr">Wolf et al., 2005)</ref>, making them costly, timeintensive, and generally inaccessible to paraprofessional tutors. However, recent research has demon-strated automated techniques to reliably detect educationally important discursive features such as productive dialogue, instructional talk, authentic questions, elaborated evaluation, and uptake <ref type="bibr">(Kelly et al., 2018;</ref><ref type="bibr">Suresh et al., 2018;</ref><ref type="bibr">Song et al., 2020;</ref><ref type="bibr">Demszky et al., 2021;</ref><ref type="bibr">Jensen et al., 2020)</ref>.</p><p>Much of this earlier work focuses on traditional classroom settings, not small group tutoring. Here, we address the question of whether models initially created for the classroom can serve as the basis for new models for the tutoring setting. This work mainly focus on the creation of discourse analysis tool for mathematics tutoring. Specifically, we focus on talk moves -a set of dialogue acts based on Accountable Talk theory (O <ref type="bibr">'Connor et al., 2015;</ref><ref type="bibr">Resnick et al., 2018;</ref><ref type="bibr">Michaels and O'Connor, 2015)</ref>, including both teacher and student talk moves (see &#167;3.1). Research has shown that appropriate use of talk moves in the classroom promotes student learning <ref type="bibr">(Resnick et al., 2010;</ref><ref type="bibr">Walshaw and Anthony, 2008;</ref><ref type="bibr">Webb et al., 2019)</ref>, and ensure that all students have equal access to participation, subject matter content, and developing appropriate habits of mind <ref type="bibr">(Michaels et al., 2008;</ref><ref type="bibr">O'Connor and Michaels, 2019)</ref>.</p><p>To address the mismatch between the classroom and tutoring settings, we developed a new mathematics tutoring dataset with talk move annotations on 121 tutoring sessions. We then examined existing modeling strategies and datasets for classroom mathematics teaching, and explore the best transfer learning strategies for our target domain.</p><p>Our modeling experiments and analyses demonstrate how best to use a supervised pretrainingfinetuning framework on tutoring talk move analysis, including dialogue context, speaker information, and training strategies. Our best new models outperform existing baselines by a large margin in the tutoring domain and approach the performance of existing models for the classroom domain. Finally, detailed analyses highlight the challenges and point to future work on discourse modeling for mathematics tutoring.</p><p>In short, we (1) introduce a new dataset of talk moves annotated math tutoring sessions, (2) describe talk move models for math tutoring with a thorough comparsion with existing models and datasets, (3) highlight the challenges and future work by extensive ablation studies.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="2">Related Work</head><p>Our contributions on new tutoring datasets and transfer learning from existing models build on two lines of research: existing classroom datasets and talk move models for mathematics education.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="2.1">Dialogue Datasets on Mathematics Education</head><p>Most publicly available datasets are based on mathematics classroom instruction. The Talk-Moves <ref type="bibr">(Suresh et al., 2022a)</ref> and NCTE <ref type="bibr">(Demszky and Hill, 2022)</ref> datasets are annotated dialogue corpora collected from real-world classrooms. Talk-Moves is derived from three collections of transcripts: Inside Mathematics<ref type="foot">foot_0</ref> ;the Third International Mathematics and Science Study (TIMSS) 1999 video study<ref type="foot">foot_1</ref> ; Video Mosaic<ref type="foot">foot_2</ref> . National Center for Teacher Effectiveness (NCTE)<ref type="foot">foot_3</ref> conducted a systematic collection of recorded mathematics classroom observations, from 2010 to 2013, over 300 classrooms were filmed, resulting in 1,660 lessons for elementary math. Both the TalkMoves and NCTE datasets have been used extensively to create models of classroom discourse. Creating a tutoring dataset as the size and quality of earlier TalkMoves and NCTE efforts is timeconsuming and expensive. Limited resources are available for authentic, high quality, tutoring sessions. CIMA <ref type="bibr">(Stasaski et al., 2020)</ref>, TSCC <ref type="bibr">(Caines et al., 2022)</ref> are one-to-one corpora for tutoring for language learning, either through crowdsourced role-playing or online private chatroom. Math-Dial <ref type="bibr">(Macina et al., 2023)</ref> collect one-to-one dialogue between an expert annotator as teacher and an LLM that simulates the student. Our study addresses this need by providing a small real-world math tutoring dataset annotated in a manner that is consistent with existing resources.<ref type="foot">foot_4</ref>  <ref type="bibr">et al. (2022a)</ref> report on a set of pre-trained transformer-based <ref type="bibr">(Vaswani et al., 2017)</ref> models to provide automatic, personalized feedback on the use of this limited set of talk moves. They finetuned BERT <ref type="bibr">(Devlin et al., 2019)</ref>, RoBERTa <ref type="bibr">(Liu et al., 2019)</ref>, Electra <ref type="bibr">(Clark et al., 2020)</ref> in a classification setting (with one previous utterances as context, and the target utterance, without speaker information). In later work, <ref type="bibr">Suresh et al. (2022b)</ref> employed longer contexts by concatenating previous utterances, target utterance, and subsequent utterances into a single input sequence with ordered utterances. A longitudinal pilot study points to the utility value of this tool for teachers, including its positive impact on their discourse practices over time <ref type="bibr">(Jacobs et al., 2022;</ref><ref type="bibr">Scornavacco et al., 2021)</ref>.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="2.2">Automatic Talk Moves Analysis</head></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>Suresh</head><p>Recently, <ref type="bibr">Cao et al. (2023)</ref> extended talk moves modeling to collaborative learning setting, focusing on how the noisy speech in real-world small-group classroom impacts the student talk move modeling. By providing a description and an example utterance for each talk move type, <ref type="bibr">Wang et al. (2023)</ref> introduced an instruction-based method to jointly predict the student talk move label with an explanation. Due to consent issues, we re-implement their work as an in-context learning baseline by using Mistral-0.2-instruct-7B model to replace ChatGPT. We leave more LLM studies as future work.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="3">Datasets</head></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="3.1">Talk Move Categories</head><p>Accountable Talk theory includes a large number of talk move types with varying frequency of use and likelihood of application. For tractability, the existing TalkMoves dataset focuses on 7 Teacher Talk Moves, including keeping everyone together (KPTG), getting student related (GSTUR), restating (RESTAT), revoicing (REVOIC), press for reasoning (PRSREA) or accuracy (PRSACC), none of the above (NONE) and 5 Student Talk Moves, such as making claims (MCLAIM), providing evidence and reasoning (PRSEVI), reacting to others ideas (RELTO), asking for more information (ASKMI), and none of the above (NONE). In this paper, we focus on the above talk moves for data annotation and discourse analysis.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="3.2">Data Collection on Math Tutoring</head><p>Saga Education is a non-profit organization that has forged partnerships with school districts across the U.S. with significant low-income and historically marginalized communities. Saga's tutoring model operates on a hybrid framework, wherein students physically attend sessions within a traditional school classroom. Tutors work remotely, leveraging technology to engage with students effectively. Both tutors and students are equipped with individual computers, facilitating interaction through a virtual workspace. This shared environment integrates video conferencing capabilities with speech, chat messages, digital whiteboards, and other essential tools. These features enable detailed mathematical representations, including charts, graphs, tables, and equations.</p><p>SAGA22 Dataset Our study is based on a high school dataset collected in 2022 and provided to us by Saga (denoted as SAGA22, using the year to distinguish with future version of data collections). <ref type="foot">6</ref> Institutional Research Boards approved all data collection procedures, and data were only collected from students who provided both personal assent and parent's consent. From this dataset, we selected 148 videos for analysis. The videos were manually transcribed and three annotators annotated the transcribed conversations with talk move labels with annotation guidelines adapted for tutoring sessions. On a subset of 10 videos, our interannotator agreement on all labels reaches more than 80 Cohen's kappa on most of the talk move labels, with for a slightly lower score of 75 on one of the labels. Within the 148 transcribed videos, we annotated 121 sessions, resulting in 69.7 hours of videos with 33695 teacher utterances and 11115 student utterances with talk moves labels.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="3.3">Talk Move Datasets for Teaching</head><p>In addition to the SAGA22 dataset, we reuse two previously published classroom teaching datasets: the TALKMOVES and NCTE-119 datasets described earlier in the related work section.</p><p>TALKMOVES The original TALKMOVES dataset <ref type="bibr">(Suresh et al., 2022a)</ref> contains 567 mathematics classroom sessions covering a broad array of topics from elementary school to high school. All transcripts in the dataset are human-annotated for 7 teacher and 5 student talk moves. Because the previous work didn't release a validation set, we keep the same 63 sessions in the original test set, and re-split the original training set into 441 Overall Per Session sess T-utt S-utt domain S-num len TALKMOVES 567 174168 59823 Mix-Teach 20 30-55 NCTE-119 119 27523 7241 E-Teach 20 50 SAGA22 121 33695 11115 H-Tutor 2-5 35 Table 1: Datasets Summerization training, 63 validation, thus denoting the resulting dataset as TALKMOVES. NCTE-119 The original NCTE dataset (Demszky and Hill, 2022) has 1660 sessions in total, however, without any talk move annotation on that. We randomly selected 119 sessions to annotate with talk move labels (thus denoting as NCTE-119 with the total number of 119 to distinguish with future annotation releases), which are mainly for elementary school math. Table <ref type="table">1</ref> summarizes the overall statistics for the three datasets including the total sessions (sess), Total number of teacher or tutor utterances (T-utt), the total number of student utterances (S-utt), the domain (E-Teach means Elementary Teaching, H-Tutor means High School Tutotring, while Mix-Teaching means math classroom teaching from elementary school to high schools), the average student number (S-num) and average session length in minutes (mins) for all the sessions.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="3.4">Teaching vs. Tutoring</head><p>Figure <ref type="figure">1</ref> indicates that tutor talk moves in the SAGA22 datasets have the similar distribution with teacher talk moves in TALKMOVES and NCTE-119. However, SAGA22 tutoring setting are slightly more in NONE labels, and less in every other talk moves. One possible explanation is that teachers in classroom teaching (TALKMOVES and NCTE-119) might receive more training and engage in more proactive pedagogical practices, Alternatively, the grade distribution, with a higher proportion of high school recordings, could result in reduced communication levels <ref type="bibr">(Muhonen et al., 2024)</ref>. In Figure <ref type="figure">2</ref>, students talk moves in tutoring setting are also less than the classroom teaching, which could be indirectly influenced by the reduced use of talk moves by tutors. However, more ASKMI indicates that small group tutoring provides closer interactions, allowing for more opportunities to ask questions. Overall, teaching and tutoring share similar talk move distribution while differ in various amount.In this paper, we primarily focus on transfer learning, leaving a more indepth analysis for future work. This will involve</p><p>6-PrsRea 1.2% 5-PrsAcc 13.2% 4-Revoic 2.3% 3-Restat 1.5% 2-GStuR 1.6% 1-KpTg 13.1% 0-None 67.2% TalkMoves-Teacher (a) Teacher Talk Moves in TALKMOVES 6-PrsRea 1.6% 5-PrsAcc 15.3% 4-Revoic 3.4% 3-Restat 2.3% 2-GStuR 1.0% 1-KpTg 14.0% 0-None 62.4% NCTE-119-Teacher (b) Teacher Talk Moves in NCTE-119 6-PrsRea 0.7% 5-PrsAcc 12.5% 4-Revoic 3.1% 3-Restat 0.7% 2-GStuR 0.4% 1-KpTg 8.9% 0-None 73.7% SAGA22-Tutor exploring latent factors such as class information, grade level, tutor/teacher background, and additional dialogue and discourse analyses <ref type="bibr">(Jurafsky, 1997;</ref><ref type="bibr">Mann and Thompson, 1988;</ref><ref type="bibr">Asher and Lascarides, 2003;</ref><ref type="bibr">Cai et al., 2022)</ref>.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="4">Models</head><p>Existing models on talk moves analysis could be categorized into two paradigms: pretrainfinetuning (e.g., <ref type="bibr">Suresh et al., 2018</ref><ref type="bibr">Suresh et al., , 2022b))</ref>, and in context learning (e.g, <ref type="bibr">Wang et al., 2023)</ref>. We focus on pretrain-finetuning paradigm with "RoBERTabase" model <ref type="bibr">(Liu et al., 2019)</ref> as our backbone 4-PrsEvi 13.4% 3-MClaim 30.6% 2-AskMI 3.2% 0-None 41.7% 1-RelTo 11.1% TalkMoves-Student (a) Student Talk Moves in TALKMOVES 4-PrsEvi 6.9% 3-MClaim 47.9% 0-None 35.7% 1-RelTo 6.2% 2-AskMI 3.2% NCTE-119-Student (b) Student Talk Moves in NCTE-119 4-PrsEvi 5.8% 3-MClaim 28.0% 2-AskMI 4.5% 1-RelTo 2.3% 0-None 59.5% SAGA22-Student (c) Student Talk Moves in SAGA22 foundational model<ref type="foot">foot_6</ref> .</p><p>In this paper, our final target task is talk moves analysis for tutoring. Thus, we can use either the original foundational model or the intermediate talk move models designed for teaching as bases for further fine-tuning. When using raw foundational models as bases for target finetuning, we denote it as regular pretraining or pretraining from-scratch. When using intermediate models as bases for target finetuning, we denote the secondary pretraining to build the intermediate models as supplementary pretraining.</p><p>We define a unified model search space X {P,F} {C,SI} to cover both teacher/tutor (when X = T ), and student (when X = S) models<ref type="foot">foot_7</ref> , and their potential improvements. We use subscripts to represent the fundamental modeling settings that are consistent when transiting from pretraining to finetuning, such as (1) dialogue context (variable C),</p><p>(2) speaker information (variable SI). We use superscripts to represent training strategies such as (3) the combinations of supplementary pretraining datasets (variable P) (4) whether further finetuning on SAGA22 (variable F). Hence, assigning values to all or a subset of 5 variables in X {P,F} {C,SI}</p><p>will lead to a single specific model (X</p><p>{&#177;7,} , with an empty variable value to represent all possible values for that variable).</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="4.1">Dialogue Context: C &#8712; {-1, &#177;7}</head><p>We follow two settings used in previous works:</p><p>1. Previous-One-Utterance, is used in <ref type="bibr">Suresh et al. (2018</ref><ref type="bibr">Suresh et al. ( , 2022a))</ref>, denoted as -1. More specific, for teacher models, they use the previous student utterance as context; While, for student models, they use the previous utterance no matter it is from teacher or student. We follow the same sentence pair modeling as the original papers for this context setting, where the context as sequence 1, and the current utterance as sequence 2.</p><p>2. Previous 7 and Subsequent 7, is used in <ref type="bibr">(Suresh et al., 2022b)</ref>, denoted as &#177;7. We concatenate previous 7 utterances, current utterance, and the subsequent 7 utterances into a single sequence and wrap each utterance as special sentence boundary tokens, thus we keep the original order of the dialogue. Then we force to learn the first special token [CLS] as the context-aware utterance representation of our talk move analysis task<ref type="foot">foot_8</ref> .</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="4.2">Speaker Information: SI &#8712; {spk, nospk}</head><p>In previous models <ref type="bibr">(Suresh et al., 2022a,b)</ref>, the dialogue context didn't use any speaker information during the talk move modeling, which is problematic. For example, without speaker info, when the target utterance simply restating the previous utterance, this could be hard to decide whether it is "Relating to another student" or simply follow the teacher's talk for more information. This could be even worse for longer context settings. Hence, in this paper, we prepend a prefix "T: " or "S: " in front of each utterance to indicate it is said by a teacher/tutor or a student, respectively.</p><p>1. Teacher/Tutor Prefix "T:" is used for both teacher and tutor utterances to make the model easier transferable for the encodings of "T:" from teaching datasets to tutoring datasets.</p><p>2. Student Prefix "S:" is also applied to each students' utterances without distinguishing which student that is. We could only do this for TALKMOVES and NCTE-119 datasets, because 20 students are not distinguishable in the classroom session, the transcripts always de-identify the different student speakers as the same student "S: ". Noticing this deficit, we make sure that our SAGA22 transcripts explicitly distinguish different students as "Student-1", "Student-2". However, to be consistent with previous setting, we still use the single student prefix "S:" to model our tutoring dialogue without distinguishing. We leave the transfer learning from bi-party to multiparty as future work.</p><p>When naming the models, we use "spk" and "nospk" as a subscript to indicate with or without speaker prefixes, e.g., S</p><p>{,} {,spk} means a set of student models trained with speaker information.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="4.3">Supplementary Pretraining Datasets:</head><p>P &#8712; {&#8709;, "t", "t + n", "t + s", "t + n + s"}</p><p>We have three available talkmove datasets, TALKMOVES and NCTE-119 for teaching, and SAGA22 for tutoring. When describing the model name, we use the lower-cased first letter of each dataset name to indicate the pretraining datasets.</p><p>Since the TALKMOVES has the largest amount of data, we always involve "t" in our combinations of pretraining datasets, resulting in 4 nonempty combinations and 1 empty pretraining set &#8709;, as P &#8712; {&#8709;, "t", "t + n", "t + s", "t + n + s"}.</p><p>We investigate the best combinations for our supplementary pretraining, denoted as a superscript, e.g., T {t+n+s,} {,} means a family of tutor models pretrained on the combination of all three datasets. 4.4 Fine-tuning on SAGA22: F &#8712; {0, 1}</p><p>After the above supplementary pertaining on the combination of datasets, the resultant models could be inferred on our SAGA22 dataset with or without any further fine-tuning. It is unknown which is better. When describing the model name, we indicate this further fine-tuning as a superscript on the model tag ('T' or 'S)', e.g., T {,1} {,} is a family of models eventually fine-tuned on SAGA22.</p><p>Model Search With the above 5 variables, we first fixed the variable P = "t" (given that large amount TALKMOVES will be necessary in high probability), and only searched over the rest 16 models assigned with the other four binary modeling choices (X,F,C,SI), to prioritize the investigation on more interesting modeling factors, such as the dialogue context (C) and speaker information (SI)). Then we performed extensive search over all other 4 combinations of pretraining datasets P. In total, we discovered the best models and conducted the ablation studies by searching over 80 experimental settings.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="5">Results</head><p>With extensive model search, we summarize our main results in Table 2 and 3 for tutor's and students' talk move analysis respectively. Each table contains 5 categories, the majority baseline, and 2 existing supervised learning work <ref type="bibr">(Suresh et al., 2022a,b)</ref>, 1 ICL baseline work <ref type="bibr">(Wang et al., 2023)</ref>, and the last 2 rows are the best training from-scratch model and best-of-all model. For the two existing supervised learning categories, each work can be extended to three equivalent baseline variants in our model search framework: (1) Trained from-scratch on SAGA22, X {&#981;,1} {,} . We retrain the models from scratch with only SAGA22 by following the training strategies described in the corresponding paper. Without any other pretraining, It aims to investigate how the existing modeling strategies perform if training only the 121 tutoring sessions.</p><p>(2) Trained on TALKMOVES, no finetuning on SAGA22, X {t,0} {,} . It aims to show that, without finetuning, how the models initially built for math teaching perform on tutoring data.</p><p>(3) Pretrained on TALKMOVES then finetuning on SAGA22, X {t,1} {,} . It aims to examine that, with further finetuning on SAGA22, how the models initially built for teaching dataset could be adapted to new tutoring data.</p><p>All the best-effort models are selected by the best macro F 1 score on validation set, and the table here only shows the performance on final evaluation on the held-out test sets. We show the macro F 1 score, the accuracy and detailed F 1 score for each label. Our zero-shot ICL models mimic the similar prompts (see Appendix C) used in <ref type="bibr">(Wang et al., 2023)</ref>, whiling testing on Mistral-0.2-instruct-7B models instead of ChatGPT due to consent issues on our SAGA22 datasets. However, they fail to predict the most easiest(frequent) NONE talkmoves in the supervised learning, because it requires complex reasoning to opt out all other labels. This failure causes extremely low macro F 1 on both tutor and student talkmoves. {&#177;7,spk} achieves 82.4 macro F 1 , reaching the same level of performance of existing models for the classroom domain <ref type="bibr">(Suresh et al., 2022b)</ref>. It is firstly pretrained on the combination of teachingonly datasets TALKMOVES and NCTE-119 using previous 7 and subsequent 7 utterances as context, with speaker information, then further finetuned on SAGA22. It achieves the best performance over all talk move categories except for KPTG. With our SAGA22 datasets, our besteffort model trained from-scratch can only get 70.6 macros F 1 , particularly failing at predicting GSTUR (20.5 macro F 1 ), which is using a single utterance as context but adding speaker information on that 10 . Because when we trained models with &#177;7 context with only the SAGA22 dataset, our best-effort model can get a 61.3 macros F 1 score, and 0 F 1 score on GSTUR, indicating the limited SAGA22 dataset is not enough to support learning from a longer speaker-aware context. Figure <ref type="figure">3</ref> shows the confusion matrix of best tutor model. The darkness of the diagonal indicates that our model could robustly predict all 7 labels except 10 As shown in 4.1, adding speaker info to tutor model T-1 should be similar with no speaker setting, because the previous sentence must be from the student. Although the prefix "SpeakerName:" is likely to be sparse and not a dominant feature in the training data of RoBERTa, such as OpenWeb-Text <ref type="bibr">(Gokaslan et al., 2019)</ref>, but the prefix seems still help.</p><p>for KPTG,GSTUR,REVOIC. This pattern is highly coorelated with the frequency of each label in our datasets (see 3.4). GSTUR are often predicted as KPTG, because they are relatively similar in the semantics of connecting to students, while the GSTUR is towards a specific student (on a idea) not all general students. However, our current tutoring model didn't distinguish different student speaker, all students utterances are noted as the same speaker prefix "S:", which calls for better multiparty dialogue modeling.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>Best Student Model Our best student model S {t+n+s,1}</head><p>{&#177;7,spk} is firstly pretrained on all three datasets using previous 7 and subsequent 7 utterances as context, with speaker information, then further finetuned on SAGA22. It achieves 76.5 macro F 1 , which significantly outperforms all the existing talk move models and best-effort training-fromscratch models, in all student talkmoves, particularly on RELTO and ASKMI. Figure <ref type="figure">4</ref> shows the confusion matrix of our best student model. It highlights the failure of predicting RELTO, which is widely mis-predicted with NONE, PRSEVI and MCLAIM. However, without the help of supplementary training on teaching dataset, our besteffort from-scratch model only achieves 0.0 F 1 on RELTO. This poor performance is highly due to its rare portion of 2.3% as shown in the subsec-tion 3.4), and the unified student speaker prefix "S:" may also lose important discussion thread information between different students, and causes the model confused with various student behaviors.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="6">Discussion</head><p>We first conduct ablation studies on longer context ( &#167;6.1) and speaker info ( &#167;6.2), respectively. Then we fixed the best fundamental settings using speaker info with &#177;7 context, so that we could focus on the impact of supplementary pretraining ( &#167;6.3) and finetuning ( &#167;6.4) on the model family of X {,} {&#177;7,spk} . For five combinations of pretraining datasets (including &#981;, without pretraining also can be denoted as X {s,0} {,} ), we order them in increasing size <ref type="bibr">(s, t, t+n, t+s, t+n+s)</ref>.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="6.1">Ablation Study on Longer Context</head><p>In Figure <ref type="figure">5a</ref>, each bar value shows the performance change when improving the context from -1 to &#177;7 while keeping the other modeling options consistent by comparing</p><p>Most performance change are positive(ranging from 0.1-7.2), except the SAGA22 from-scratch training setting (the first cluster). Because SAGA22 data only is insufficient to support longer context training. Further more, from the left to right, adding the large TALKMOVES dataset significantly helps to release the power of long context. However, further adding more NCTE-119 or SAGA22 only have diminished returns. This indicates the longer context in talk move analysis requires sufficient training data to help, but adding more data may not help further. Finally, the performance gains from the model with "Speaker" info (red and orange) almost always outperform their corresponding "Non-Speaker" variant (blue and yellow). This that simple speaker prefix generally make the longer context more efficient.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="6.2">Ablation Study on Speaker Information</head><p>We apply a similar method to illustrate the performance changes when adding speaker information to our models. All positive bar values in Figure <ref type="figure">5b</ref> shows that adding speaker information generally helps all models, and more significant on &#177;7 context (red and orange) than on -1 context. More results on teaching-only datasets TALKMOVES in Appendix A shows that retraining with longer context and speaker information also outperformed the previous models on TALKMOVES in large mar-gin, and RoBERTa-large could further help. However, together with the previous findings in best model analysis, the findings in the longer context ablation study, and the known deficit of bi-party speaker prefixes "T:" and "S:", we believe finegrained speaker modeling could support the personalized learning in the tutoring settings better.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="6.3">Ablation Study on Pretraining</head><p>Comparing row 2 and row 1 in Table <ref type="table">4</ref>, adding TALKMOVES into pertaining significantly boosts the performance for every talk move label. Even without using any SAGA22 tutoring dataset, the best models in the zero-shot settings (pretraining without SAGA22 and with finetuning tag F = 0) perform 81.8 and 74.4 on tutor and student talk moves. It indicates that, with large teaching talk move datasets, previous models built for teaching could just work fine on tutoring without finetuning on any the target tutoring data. Furthermore, adding NCTE-119 helps on tutor models, generally not on student models (comparing row 2/3 vs. 4/5, and 6/7 vs. 8/9). Finally, we noticed that jointly training with SAGA22 adds more information about tutoring domain, leading better performance on tutor models, while not on student models. The best performance for each talk move label (bold numbers) are achieved by different combinations of pretraining datasets, which highlight a future research direction of finding an optimal mixture or data augmentation for lab distributions that could help all labels.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="6.4">Ablation Study on Finetuning</head><p>Comparing the adjacent rows with the same pretraining datasets (e.g., {t + s, 0} vs. {t + s, 1}) in Table <ref type="table">4</ref>, we noticed that the performance gains for tutor models are all positive (ranged from 0.6-1.9 F 1 ), while not for student models (finetuning the model pretrained with TALKMOVES and SAGA22 on SAGA22 again hurt the student model performance). It indicates that further finetuning may not always help especially when the finetuning dataset is small. Appendix B shows similar finetuning results with RoBERTa-large , which could further improve tutor models from 82.4 to 85.3, but not on student models. More needs to be done to overcome the catastrophic forgetting <ref type="bibr">(Kirkpatrick et al., 2017)</ref> of continuing finetuning as shown in</p><p>Table 7 in Appendix B. Furthermore, (Moreau-Pernet et al., 2024) trained GPT-3.5-turbo to re-write transcripts by append--20 -10 0 10 {s,0} {t,0} {t,1} {t+n,0} {t+n,1} {t+s,0} {t+s,1} {t+n+s,0} {t+n+s,1} Tutor-Non-Speaker Tutor-Speaker Student-NonSpeaker Student-Speaker (a) Performance gains when improving the context from -1 to &#177;7. -5 0 5 10 15 {s,0} {t,0} {t,1} {t+n,0} {t+n,1} {t+s,0} {t+s,1} {t+n+s,0} {t+n+s,1} Tutor-1 Tutor+-7 Student-1 Student+-7</p><p>(b) Performance gains when adding speaker information.</p><p>Figure <ref type="figure">5</ref>: Ablation studies on longer context and speaker information. {&#177;7,spk} on different pretrain-finetuning settings on SAGA22 test set. Since the model checkpoints are selected from the validation set, we notice some highlighted numbers are better than our selected best student models in the main results. ing a label to the end of each tutor utterance, the promising results highlight exciting future directions on LLM-based instruction finetuning.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="7">Conclusion</head><p>In this paper, we investigate how to apply the rich resources on talk move analysis in math teaching to the tutoring domain. We collect a small math tutoring dataset with talk move annotations on 121 tutoring sessions. Then we conduct a thorough examination on existing talk move models on our new tutoring dataset. Based on a unified pretraining-finetuning framework, we systematically search over 4 modeling choices on dialogue context, speaker information, pretraining datasets, and further finetuning to reuse and improve the previous models. We show that without the help on existing models and datasets in the teaching domain, our small amount tutoring data fails to get acceptable performance, and fails to modeling longer context. Our discovered best models with RoBERTa-base achieve 82.4 macro F 1 on tutor talk moves, and 76.5 on student talk moves. Using RoBERTa-large could further improve the tutor models to 85.3, while not on student models. Lastly, extensive ablations studies show that longer context modeling requires sufficient training data and speaker information support; The current bi-party speaker information always helps; However, better tutoring discourse analysis still calls for future support on modeling multi-party speaker information, optimizing the mixture of pretraining data, and better model finetuning strategies.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="8">Limitations</head><p>Our primary focus is on the pretrain-finetuning framework to transfer the model learning from the classroom teaching to math tutoring. We keep the same foundational architectures and model components unchanged, such as the speaker information, dialogue context, etc. This is suboptimal for two reasons: (1) to be compatible with existing datasets TALKMOVES and NCTE-119, where different students are all deidentified as the same student "S". However, our analysis shows that tutoring dialogue have more personalized behaviors and closer interactions, where multiple party dialogue is required. ( <ref type="formula">2</ref>) the optimal dialogue context may be also different in the tutoring sessions, and we only demonstrate the premilinary result for ICL methods where "None" label could not be well-classified by 7B public models. We plan to conduct more comprehensive experiments in the future, incorporating longer contexts and LLMs.</p><p>Beyond the above modeling limitations, this work is also limited by the datasets themselves. Specifically: (1) the datasets are all from U.S. classrooms with English-only discourse, (2) the domain is limited to mathematics instruction, and (3) the transcripts alone do not provide sufficient context to adequately ground the participants' discourse behavior. Finally, the sensitive nature of the data, including readily available personally identifiable information about teachers, tutors, and students, poses challenges in evaluating potential biases within the models.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>A Results on TALKMOVES</head><p>When investigating the two fundamental variables such as the dialogue context (C) and speaker information (SI)) on talk move analysis, we noticed that the test set of SAGA22 is realtively small. To further verify our findings, we also conduct extensive experiments on TALKMOVES dataset. Table <ref type="table">5</ref> shows the results on the same test set used in two previous papers on teaching talk moves, where {-1, nospk} is equivalent to <ref type="bibr">Suresh et al. (2022a)</ref>, while {&#177;7, nospk} is equivalent to <ref type="bibr">Suresh et al. (2022b)</ref>. Combing both speaker information with &#177;7 dialogue context already outperform the previous models. Furthermore, using RoBERTa-large could achieve the SOTA for both teacher and student models on every talk move label.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>B Ablation Study on Finetuning with</head><p>RoBERTa-large</p><p>Our model search is mainly based on RoBERTabase. Table <ref type="table">6</ref> shows the similar ablation studies on finetuning as described in subsection 6.4, but using RoBERTa-large model. Simply scale-up the model could raise the best model performance on teacher models but not on student models. Furthermore, if comparing the adjacent rows with the same pre-training datasets (e.g., t + s, 0 vs. t + s, 1) in Table <ref type="table">6</ref>, we noticed that further finetuning the stronger RoBERTa-large model on our small SAGA22 dataset slightly hurts the performance on tutor models, and not stable in student models. Table <ref type="table">7</ref> shows the performance changes on TALKMOVES test set before and after finetuning on the tutoring setting SAGA22, which indicating the forgetting behavior of the pretrained teaching setting(TALKMOVES) after further finetuning on the small SAGA22 training set in tutoring setting. We noticed the RoBERTa-large model forget more than RoBERTa-base model, which may be related to the relative less training data for the student models, In the future work, we plan to investigate more adaptive finetuning strategies such as LoRA <ref type="bibr">(Hu et al., 2021)</ref> to finetune models on a small dataset settings, and conduct more comprehensive study one this.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>C In-Context Learning</head><p>In this paper, we only offer the preliminary studies on prompting methods with longer context and demonstrations. In this section, we describe the detailed prompts we used for each of our setting with running examples to show the possibility of LLMs and highlight the challenges of prompt engineering.</p><p>Prompt-based Baseline Models As the prompt shown in Listing 1, we first reuse a zero-shot prompt template from <ref type="bibr">(Wang et al., 2023)</ref> to predict the talkmoves. The prompt is made by using the label description and examples in Tables <ref type="table">1</ref> and <ref type="table">2</ref> in the original TALKMOVES dataset paper <ref type="bibr">(Suresh et al., 2022a)</ref>.</p><p>Listing 1: System Prompt for Student Talk Moves System : You a r e a d i a l o g u e a n a l y z e r t o u n d e r s t a n d t h e f i v e t a l k moves f o r s t u d e n t s ' u t t e r a n c e s , namely " R e l a t i n g t o a n o t h e r s t u d e n t " , " A s k i n g f o r more i n f o r m a t i o n " , " Making a c l a i m " , " P r o v i d i n g e v i d e n c e " and " None " . They h a v e t h e f o l l o w i n g meaning : " R e l a t i n g t o a n o t h e r s t u d e n t " r e f e r s t o u s i n g commenting on , o r a s k i n g q u e s t i o n s a b o u t a c l a s s m a t e s ' i d e a s , s u c h a s " I d i d n o t g e t t h e same a n s w e r a s h e r . " ; " A s k i n g f o r more i n f o r m a t i o n " r e f e r s t o a s t u d e n t r e q u e s t i n g more i n f o , s a y i n g t h e y a r e c o n f u s e d o r n e e d h e l p , s u c h a s " I don ' t u n d e r s t a n d number f o u r . " ; " Making a c l a i m " r e f e r s t o a s t u d e n t making a math c l a i m , f a c t u a l s t a t e m e n t , o r l i s t i n g a s t e p i n t h e i r answer , s u c h a s "X i s t h e number o f c a r s . " ; " P r o v i d i n g e v i d e n c e " r e f e r s t o a s t u d e n t e x p l a i n i n g t h e i r t h i n k i n g , p r o v i d i n g e v i d e n c e , o r t a l k i n g a b o u t t h e i r r e a s o n i n g , s u c h a s " You can ' t s u b t r a c t 7 b e c a u s e t h e y would o n l y g e t 28 and you n e e d 2 9 . " ; " None " r e f e r s t o a s t u d e n t u t t e r a n c e t h a t c a n n o t be c l a s s i f i e d a s one o f t h e f o u r p r e v i o u s t a l k moves . C o n s i d e r i n g c l a s s i f y i n g t h e s t u d e n t u t t e r a n c e n e e d s c o n t e x t i n f o r m a t i o n , I add i t s p r i o r s t u d e n t u t t e r a n c e s a s a c o n t e x t s e n t e n c e . F o r example , we n e e d t o c l a s s i f y t h e u t t e r a n c e " Same a s you " . P r e d i c t i n g t h i s u t t e r a n c e ' t a l k move n e e d i t s p r i o r s e n t e n c e "May a n s w e r i s two " a s a c o n t e x t .</p><p>So i f t h e p r i o r u t t e r a n c e i s "Ah , I t h o u g h t i t was a d d i t i o n " . Which k i n d o f t a l k move t h e u t t e r a n c e " Me t o o . " b e l o n g s t o ? Zero-shot Prompt: Longer Context and Normalized Output When conducting prompt-based methods with previous templates, we noticed that different LLMs could have different outputs in quite different formats.</p><p>To make our analysis easier, we strictly constrain the output format as Listing 2, and an example of the input and output example are shown in Listing 3. Given the relatively normalized output format, we automatically extract the predicted labels to analyze the generated talk moves and explanations. In this paper, we only use the response explanation to help debug and our prompt engineering. For example, when we use &#177;7 context for our input example, we found the generated explanation may mistakenly classify other text in the dialogue context instead of the target utterance in the middle.</p><p>Listing 2: Noramlizing the output format C o n s i d e r i n g c l a s s i f y i n g t h e t a r g e t s t u d e n t u t t e r a n c e n e e d s c o n t e x t i n f o r m a t i o n , I add i t s p r i o r and f u t u r e u t t e r a n c e s a s d i a l o g u e c o n t e x t . Each u t t e r a n c e c o n t a i n s a p r e f i x s p e a k e r t a g "T : " o r " S : " i n d i c a t i n g t h e s p e a k e r i s a t e a c h e r o r a s t u d e n t , r e s p e c t i v e l y . P l e a s e p r e d i c t t h e l a b e l o f t h e t a r g e t t e x t from one o f t h e f i v e t a l k move l a b e l s i n t h e f i r s t l i n e a s " l a b e l : X" and e x p l a i n t h e r e a s o n i n a new l i n e .</p><p>Listing 3: Zero-Shot ICL for Student Talk Move U s e r : p r i o r _ t e x t : T : What s h o u l d be o u r f i r s t s t e p t a r g e t _ t e x t : S : S u b t r a c t A two from b o t h s i d e s f u t u r e _ t e x t : A s s i s t a n t : l a b e l : Making a c l a i m The t a r g e t t e x t " S u b t r a c t A two from b o t h s i d e s " i s a s t e p i n s o l v i n g a math problem , which f a l l s u n d e r t h e " Making a c l a i m " t a l k move c a t e g o r y a s t h e s t u d e n t i s s t a t i n g a s t e p i n t h e i r s o l u t i o n p r o c e s s .</p><p>Besides that, to make the request more efficient to LLM, we also conduct studies on supporting batch predictions on multiple input examples.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>C.1 Results on In-Context Learning</head><p>Due to the consent issues, we cannot use our SAGA22 data in ChatGPT. Hence, we select a subset of dataset from TALKMOVES to show the baseline performance. Overall, due the limitation Table <ref type="table">7</ref>: Model forgetting of the pretrained teaching setting(TALKMOVES) after further finetuning the pretrained models on the small SAGA22 in the tutor setting. All models are based our best fundamental model settings X {,} {&#177;7,spk} . The numbers show the performance differences of TALKMOVES test sets between the models with and without finetuning on SAGA22. "base" and "large" means using RoBERTa-base and RoBERTa-large respectively.  <ref type="table">8</ref>, overall, the performance is much worse than the above supervised learning methods. While, the ICL prompt-enginering indeed took more time for manual tuning, instead of the above model search over existing modeling factors. The ChatGPT performance is using the latest gpt-3.5-0125 on a subset of TALKMOVES dataset, which is not comparable with our preliminary results on SAGA22 test set.</p></div><note xmlns="http://www.tei-c.org/ns/1.0" place="foot" n="1" xml:id="foot_0"><p>https://www.insidemathematics.org</p></note>
			<note xmlns="http://www.tei-c.org/ns/1.0" place="foot" n="2" xml:id="foot_1"><p>http://www.timssvideo.com</p></note>
			<note xmlns="http://www.tei-c.org/ns/1.0" place="foot" n="3" xml:id="foot_2"><p>https://videomosaic.org</p></note>
			<note xmlns="http://www.tei-c.org/ns/1.0" place="foot" n="4" xml:id="foot_3"><p>https://cepr.harvard.edu/ncte</p></note>
			<note xmlns="http://www.tei-c.org/ns/1.0" place="foot" n="5" xml:id="foot_4"><p>Please contact the first author for the code and datasets.</p></note>
			<note xmlns="http://www.tei-c.org/ns/1.0" place="foot" n="6" xml:id="foot_5"><p>We denote this underlined and uppercase text format (e.g.,SAGA22) to indicate a talk move dataset.</p></note>
			<note xmlns="http://www.tei-c.org/ns/1.0" place="foot" n="7" xml:id="foot_6"><p>Please refer to the appendix Appendix B for more results and analysis on "RoBERTa-large" models.</p></note>
			<note xmlns="http://www.tei-c.org/ns/1.0" place="foot" n="8" xml:id="foot_7"><p>Following previous work, we only consider two separate models for tutor and students respectively, leaving the joint model as future work.</p></note>
			<note xmlns="http://www.tei-c.org/ns/1.0" place="foot" n="9" xml:id="foot_8"><p>Empty utterances will be prepended and padded to make sure there are 15 utterances as inputs; 15 utterance is the longest window size, given we fixed roberta-base model. We decide to keep the two typical and extreme settings -1 and &#177;7 to show the overall trend across a broad range of options.</p></note>
		</body>
		</text>
</TEI>
