Skip to Content

Validation Measure

Context

The Validation Measure is available to be plotted within the Curve window as part of the Structural Coefficient Analysis. Formally, the Validation Measure VM\mathrm{VM} is defined as

VM=E(LLTest)×max⁡(1,var⁡(LLTest)var⁡(LLLearning))\mathrm{VM} = \mathbb{E} (\mathrm{LL}_{\text{Test}}) \times \max \left( 1, \frac{\operatorname{var} (\mathrm{LL}_{\text{Test}})}{\operatorname{var} (\mathrm{LL}_{\text{Learning}})} \right)

where LL\mathrm{LL} stands for Log-Loss.

As with all measures provided by the Structural Coefficient Analysis, the Validation Measure supports you in choosing an appropriate value for the Structural Coefficient. The Validation Measure is based on the Log-Loss statistics of the Learning Set and the Test Set. Hence, the associated dataset must already be split into a Learning Set and the Test Set. The Confidence Analysis Report also reports the Validation Measure corresponding to each Comparison Structure.

Usage

To illustrate the use of the Validation Measure, we use a sample network that represents the joint distribution of symptoms related to COVID-19:

CovidSymptoms.xbl
XBL

The dataset associated with this model is split into a Learning Set and a Test Set, as indicated by the symbol tagged onto the database icon in the lower right-hand corner of the Graph Window. With this network, we now perform a Structural Coefficient Analysis: Menus > Tools > Multi-Run > Structural Coefficient Analysis. We follow the overall workflow introduced in Structural Coefficient Analysis. Given that the Validation Measure is particularly relevant in the context of Unsupervised Learning, we use EQ as the Learning Algorithm and set a Structural Coefficient range from 0.5 to 2.

Structural Coefficient Analysis settings for the Validation Measure

Upon clicking the Curve button at the bottom of the report, we obtain the following plot. Each point represents one iteration.

Loading SVG...
Click to Zoom

The x-axis represents the Structural Coefficient values, and the y-axis shows the Validation Measure computed for each network learned with the corresponding value of the Structural Coefficient. Note that the y-values are normalized to a 0-to-1 range, i.e., the smallest computed Validation Measure is displayed as 0 and the largest value as 1. Hovering over a point shows the normalized value plus the unnormalized value in parentheses.

Interpretation

The smallest observed Validation Measure is 15.2370 at both 0.7 and 0.8. It rises to 15.2750 at 0.6 and 15.3177 at 0.9. For this dataset and split, the two coefficients at the bottom of the curve are candidates for further evaluation.

Recall the definition of the Validation Measure VM\mathrm{VM}:

VM=E(LLTest)×max⁡(1,var⁡(LLTest)var⁡(LLLearning))\mathrm{VM} = \mathbb{E} (\mathrm{LL}_{\text{Test}}) \times \max \left( 1, \frac{\operatorname{var}(\mathrm{LL}_{\text{Test}})}{\operatorname{var}(\mathrm{LL}_{\text{Learning}})} \right)

where LL\mathrm{LL} stands for Log-Loss.

The Validation Measure is the mean Test Set Log-Loss multiplied by the larger of 1 and the ratio of the Test Set Log-Loss variance to the Learning Set Log-Loss variance. The multiplier penalizes models whose Test Set variance exceeds their Learning Set variance. Minimizing the measure depends on this combined product; it does not require the variance ratio to be at most 1. A larger Test Set variance alone does not establish poor generalization.