Main Question: What are the subjective scores for the five vocoder checkpoints tested?

General Motivation: early stopping. Does vocoder training up until the current 575K steps show a significant improvement in mean opinion scores compared to stopping at earlier checkpoints?

Checkpoints (Steps): 425K (‘baseline’ figures in linear models below) 440K, 500K, 525K, 575K

Language Models Tested (with Total Amount of training data in hrs):

Welsh: 13.35 hrs

French: 12.2 hrs

Swedish: 11.65 hrs

(Brazilian) Portuguese: 10.45 hrs

German: 8.82 hrs

Danish: 7.71 hrs

Hindi: 5.15 hrs

Number Responses by Language:

French: 7

Danish: 8

Swedish: 8

Hindi: 6

Welsh: 6

German: 6

(Brazilian) Portuguese: 6

Boxplots: Scores by Checkpoint By ‘Language’: In Descending Order of Total Duration of Training Data

TL:DR:

Two groups:

Pattern 1: a big rise in scores between 425K and 440K, a ‘flatline’ or dip through 500/525K, and a further rise to 575K, ending up slightly higher than 440K. (French, Brazilian Portuguese, Danish. maybe also: Welsh, Swedish, Hindi)

Pattern 2: a steady improvement in scores from 425K to 575K (German)

Boxplots: Scores by Checkpoint: Combined

Pattern: Overall, we see the big rise to 440K, a slight ‘dip’ (at least in the lower part of the distribution) through 500K/525K, then a recovery at 575K, to roughly match 440K.

Linear Models: By ‘Language’: In Descending Order of Total Duration of Training Data

TL:DR the data (‘effects’) on the checkpoint scores here mirror what you can see in the boxplots by language.

## 
## Call:
## lm(formula = RATING ~ checkpoint, data = welsh_results_csv)
## 
## Residuals:
##     Min      1Q  Median      3Q     Max 
## -3.7857 -1.3167  0.0738  1.2143  3.5333 
## 
## Coefficients:
##                    Estimate Std. Error t value Pr(>|t|)    
## (Intercept)          3.7857     0.3213  11.782  < 2e-16 ***
## checkpoint00440000   1.2810     0.4468   2.867 0.004768 ** 
## checkpoint00500000   1.6810     0.4468   3.762 0.000245 ***
## checkpoint00525000   0.6810     0.4468   1.524 0.129673    
## checkpoint00575000   1.4810     0.4468   3.315 0.001162 ** 
## ---
## Signif. codes:  0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1
## 
## Residual standard error: 1.7 on 143 degrees of freedom
## Multiple R-squared:  0.1156, Adjusted R-squared:  0.0909 
## F-statistic: 4.674 on 4 and 143 DF,  p-value: 0.001416
## 
## Call:
## lm(formula = RATING ~ checkpoint, data = french_results_csv)
## 
## Residuals:
##     Min      1Q  Median      3Q     Max 
## -5.4000 -1.4000  0.3429  1.3286  4.2857 
## 
## Coefficients:
##                    Estimate Std. Error t value Pr(>|t|)    
## (Intercept)          2.4333     0.3342   7.280 1.29e-11 ***
## checkpoint00440000   3.1952     0.4555   7.015 5.64e-11 ***
## checkpoint00500000   3.2810     0.4555   7.203 1.99e-11 ***
## checkpoint00525000   3.2238     0.4555   7.078 3.99e-11 ***
## checkpoint00575000   3.9667     0.4555   8.709 3.07e-15 ***
## ---
## Signif. codes:  0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1
## 
## Residual standard error: 1.831 on 165 degrees of freedom
## Multiple R-squared:  0.3537, Adjusted R-squared:  0.3381 
## F-statistic: 22.58 on 4 and 165 DF,  p-value: 6.904e-15
## 
## Call:
## lm(formula = RATING ~ checkpoint, data = swedish_results_csv)
## 
## Residuals:
##     Min      1Q  Median      3Q     Max 
## -4.5152 -0.8056  0.2222  1.2222  4.4848 
## 
## Coefficients:
##                    Estimate Std. Error t value Pr(>|t|)    
## (Intercept)          4.5152     0.3166  14.260  < 2e-16 ***
## checkpoint00440000   2.2626     0.4384   5.161 6.71e-07 ***
## checkpoint00500000   2.2904     0.4384   5.225 5.00e-07 ***
## checkpoint00525000   2.2626     0.4384   5.161 6.71e-07 ***
## checkpoint00575000   2.2348     0.4384   5.098 8.98e-07 ***
## ---
## Signif. codes:  0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1
## 
## Residual standard error: 1.819 on 172 degrees of freedom
## Multiple R-squared:  0.1946, Adjusted R-squared:  0.1759 
## F-statistic: 10.39 on 4 and 172 DF,  p-value: 1.465e-07
## 
## Call:
## lm(formula = RATING ~ checkpoint, data = brazilian_portuguese_results_csv)
## 
## Residuals:
##     Min      1Q  Median      3Q     Max 
## -3.0667 -1.1000 -0.1000  0.9333  4.9000 
## 
## Coefficients:
##                    Estimate Std. Error t value Pr(>|t|)    
## (Intercept)          3.1000     0.2889  10.729  < 2e-16 ***
## checkpoint00440000   2.3333     0.4086   5.710 6.16e-08 ***
## checkpoint00500000   1.1333     0.4086   2.774 0.006275 ** 
## checkpoint00525000   1.9667     0.4086   4.813 3.70e-06 ***
## checkpoint00575000   1.6333     0.4086   3.997 0.000102 ***
## ---
## Signif. codes:  0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1
## 
## Residual standard error: 1.583 on 145 degrees of freedom
## Multiple R-squared:  0.213,  Adjusted R-squared:  0.1913 
## F-statistic: 9.813 on 4 and 145 DF,  p-value: 4.711e-07
## 
## Call:
## lm(formula = RATING ~ checkpoint, data = german_results_csv)
## 
## Residuals:
##     Min      1Q  Median      3Q     Max 
## -3.6000 -1.5417  0.0667  1.4000  4.8667 
## 
## Coefficients:
##                    Estimate Std. Error t value Pr(>|t|)    
## (Intercept)          4.1333     0.3482  11.872  < 2e-16 ***
## checkpoint00440000   1.4667     0.4924   2.979 0.003394 ** 
## checkpoint00500000   1.8333     0.4924   3.723 0.000281 ***
## checkpoint00525000   1.7667     0.4924   3.588 0.000455 ***
## checkpoint00575000   2.2333     0.4924   4.536 1.19e-05 ***
## ---
## Signif. codes:  0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1
## 
## Residual standard error: 1.907 on 145 degrees of freedom
## Multiple R-squared:  0.1443, Adjusted R-squared:  0.1207 
## F-statistic: 6.111 on 4 and 145 DF,  p-value: 0.0001425
## 
## Call:
## lm(formula = RATING ~ checkpoint, data = danish_results_csv)
## 
## Residuals:
##     Min      1Q  Median      3Q     Max 
## -5.9545 -1.0909 -0.0526  1.2381  3.9474 
## 
## Coefficients:
##                    Estimate Std. Error t value Pr(>|t|)    
## (Intercept)          4.0526     0.4186   9.681 4.53e-16 ***
## checkpoint00440000   4.0383     0.5715   7.066 2.09e-10 ***
## checkpoint00500000   1.7093     0.5778   2.958 0.003851 ** 
## checkpoint00525000   1.9019     0.5715   3.328 0.001221 ** 
## checkpoint00575000   2.2656     0.5715   3.964 0.000138 ***
## ---
## Signif. codes:  0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1
## 
## Residual standard error: 1.825 on 101 degrees of freedom
## Multiple R-squared:  0.3368, Adjusted R-squared:  0.3105 
## F-statistic: 12.82 on 4 and 101 DF,  p-value: 1.778e-08
## 
## Call:
## lm(formula = RATING ~ checkpoint, data = hindi_results_csv)
## 
## Residuals:
##     Min      1Q  Median      3Q     Max 
## -3.6111 -0.7222  0.2778  0.6667  3.9375 
## 
## Coefficients:
##                    Estimate Std. Error t value Pr(>|t|)    
## (Intercept)          5.0625     0.3592  14.095  < 2e-16 ***
## checkpoint00440000   2.2708     0.4936   4.600 1.50e-05 ***
## checkpoint00500000   2.4375     0.4936   4.938 4.03e-06 ***
## checkpoint00525000   2.5486     0.4936   5.163 1.64e-06 ***
## checkpoint00575000   2.6597     0.4936   5.388 6.53e-07 ***
## ---
## Signif. codes:  0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1
## 
## Residual standard error: 1.437 on 83 degrees of freedom
## Multiple R-squared:  0.3235, Adjusted R-squared:  0.2909 
## F-statistic: 9.925 on 4 and 83 DF,  p-value: 1.3e-06

Linear Model: Combined

Overall linear model: again the same story as previously: ‘big’ rise to 440K (2.35, low p), dipping (slightly) through 500K/525K, then a rise again to 575K (2.37, low p).

## 
## Call:
## lm(formula = RATING ~ checkpoint, data = combined_df)
## 
## Residuals:
##    Min     1Q Median     3Q    Max 
## -5.836 -1.149  0.145  1.220  5.220 
## 
## Coefficients:
##                    Estimate Std. Error t value Pr(>|t|)    
## (Intercept)          3.7796     0.1425   26.52   <2e-16 ***
## checkpoint00440000   2.3597     0.1978   11.93   <2e-16 ***
## checkpoint00500000   2.0754     0.1980   10.48   <2e-16 ***
## checkpoint00525000   2.0563     0.1978   10.40   <2e-16 ***
## checkpoint00575000   2.3697     0.1978   11.98   <2e-16 ***
## ---
## Signif. codes:  0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1
## 
## Residual standard error: 1.944 on 984 degrees of freedom
## Multiple R-squared:  0.1696, Adjusted R-squared:  0.1662 
## F-statistic: 50.23 on 4 and 984 DF,  p-value: < 2.2e-16

Linear Model: Interaction with Hours of Training Data per Model

## 
## Call:
## lm(formula = RATING ~ checkpoint * TrainingData, data = combined_df)
## 
## Residuals:
##     Min      1Q  Median      3Q     Max 
## -6.4556 -1.4152  0.1734  1.3753  5.4401 
## 
## Coefficients:
##                                  Estimate Std. Error t value Pr(>|t|)    
## (Intercept)                      5.580077   0.621545   8.978  < 2e-16 ***
## checkpoint00440000               3.262376   0.857264   3.806  0.00015 ***
## checkpoint00500000               1.702245   0.859017   1.982  0.04780 *  
## checkpoint00525000               2.662145   0.857264   3.105  0.00195 ** 
## checkpoint00575000               2.414954   0.857264   2.817  0.00494 ** 
## TrainingData                    -0.173409   0.058359  -2.971  0.00304 ** 
## checkpoint00440000:TrainingData -0.086893   0.080460  -1.080  0.28043    
## checkpoint00500000:TrainingData  0.036141   0.080579   0.449  0.65388    
## checkpoint00525000:TrainingData -0.058317   0.080460  -0.725  0.46875    
## checkpoint00575000:TrainingData -0.004332   0.080460  -0.054  0.95708    
## ---
## Signif. codes:  0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1
## 
## Residual standard error: 1.887 on 979 degrees of freedom
## Multiple R-squared:  0.2211, Adjusted R-squared:  0.214 
## F-statistic: 30.89 on 9 and 979 DF,  p-value: < 2.2e-16
## 
## Call:
## lm(formula = RATING ~ checkpoint + NumberResponses, data = combined_df)
## 
## Residuals:
##     Min      1Q  Median      3Q     Max 
## -6.3630 -1.4754  0.1679  1.4595  5.5246 
## 
## Coefficients:
##                    Estimate Std. Error t value Pr(>|t|)    
## (Intercept)         0.94254    0.48777   1.932   0.0536 .  
## checkpoint00440000  2.34673    0.19427  12.080  < 2e-16 ***
## checkpoint00500000  2.06506    0.19450  10.617  < 2e-16 ***
## checkpoint00525000  2.04324    0.19427  10.517  < 2e-16 ***
## checkpoint00575000  2.35668    0.19427  12.131  < 2e-16 ***
## NumberResponses     0.42215    0.06953   6.072 1.81e-09 ***
## ---
## Signif. codes:  0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1
## 
## Residual standard error: 1.909 on 983 degrees of freedom
## Multiple R-squared:  0.1996, Adjusted R-squared:  0.1955 
## F-statistic: 49.02 on 5 and 983 DF,  p-value: < 2.2e-16

440K vs 575K t-test:

T-test 440K vs 575K:

Based on the previous results: just for completeness.

Based on the scores for all languages, is it worth continuing training from 440K to 575K?

Answer: no, there is no significant increase in quality associated with 575K steps of training vs 440K steps overall (mean is slightly higher for 575K, but the p is very high, so not a significant result)

## 
##  Welch Two Sample t-test
## 
## data:  RATING by checkpoint
## t = -0.052987, df = 399.64, p-value = 0.5211
## alternative hypothesis: true difference in means between group 00440000 and group 00575000 is greater than 0
## 95 percent confidence interval:
##  -0.3195512        Inf
## sample estimates:
## mean in group 00440000 mean in group 00575000 
##               6.139303               6.149254

Recommendation:

Stop (fine-tune) training the vocoder at 440K

Mixed Effects Models:

library(lme4)
## Loading required package: Matrix
mix_effects_lm <- lmer(RATING ~ checkpoint + (1 | TrainingData), data = combined_df)
summary(mix_effects_lm)
## Linear mixed model fit by REML ['lmerMod']
## Formula: RATING ~ checkpoint + (1 | TrainingData)
##    Data: combined_df
## 
## REML criterion at convergence: 3981.9
## 
## Scaled residuals: 
##     Min      1Q  Median      3Q     Max 
## -3.5334 -0.6881  0.0594  0.6799  2.9191 
## 
## Random effects:
##  Groups       Name        Variance Std.Dev.
##  TrainingData (Intercept) 0.7695   0.8772  
##  Residual                 3.1912   1.7864  
## Number of obs: 989, groups:  TrainingData, 7
## 
## Fixed effects:
##                    Estimate Std. Error t value
## (Intercept)          3.8843     0.3568   10.89
## checkpoint00440000   2.3418     0.1818   12.88
## checkpoint00500000   2.0598     0.1820   11.32
## checkpoint00525000   2.0383     0.1818   11.21
## checkpoint00575000   2.3517     0.1818   12.94
## 
## Correlation of Fixed Effects:
##             (Intr) c00440 c00500 c00525
## chc00440000 -0.265                     
## chc00500000 -0.264  0.519              
## chc00525000 -0.265  0.520  0.519       
## chc00575000 -0.265  0.520  0.519  0.520