Skip to main content
. Author manuscript; available in PMC: 2023 Sep 1.
Published in final edited form as: Comput Speech Lang. 2022 Mar 28;75:101380. doi: 10.1016/j.csl.2022.101380
Algorithm 1 Training/Prediction Scheme of Our Hierarchical Framework
1:Initialization:Split each conversationCinto segmentsC1,C2,Cndenote the session-level score ofCassinitialize the segment quality scores asy10=s,y20=s,,yN0=s2:3:fork=0toKdo4:Fine-tune BERT by using the local quality scoresy1k,y2k,,yNkwith aregression task to learn representations of segments.5:Feed segment representations into the LSTM-based model to train thesegment quality estimatior (SQE) with a regression task.6:Use the trained SQE to predict global qualitys^and local qualitiess^1,s^2,,s^N.7:Correcting shift and update local quality:s¯i=s^i+ss^,yik+1=s¯i8:endfor9:10:Train the predictor with either regression or classification task to make a finalprediction of the global quality.