Validation of impute-profiles ============================= This page documents the validation of ``dmrifiberprofile impute-profiles`` with ``--validate`` (see `Imputing the profiles `_ for the command and its outputs) on a normative infant cohort, in phases: every method imputing a scan from its own observed values (phase 1, 2026-10-15), from its deviations from the age-bin norm (phase 2, 2026-10-16), with a population model of the normative cohort (phase 3, 2026-10-16), and with continuous age norms and a second cohort pooled with a batch correction (phase 3b, 2026-10-22), with a graph U-Net after CONFETTI (phase 4, 2026-10-28), a functa model, which was not adopted (phase 5, 2026-11-06), and a transformer blended with the default (phase 6, 2026-11-07). The results set the defaults of the command. `Phases 1-3 with the phase-4 protocol`_ compares all phases on the same scans. Phase 6: transformer and ensembles ---------------------------------- Phase 6 (2026-11-06 to 2026-11-07) tried six ideas on the 7 measures (FA, MD, RD, AD, NDI, ODI, FWF) and changed the default: every value imputed by the default (population model + SIREN on its residuals within 4 mm) is blended with the prediction of a **transformer** of the deviations (``--ensemble transformer``), with weights per metric and distance to the nearest observed value (``--ensemble-weights table``), the transformer trained for 400 epochs. Over 3 seeds x 54 scans this has about 7.5% less error than the default of 0.9.5 (0.567 of the age-bin mean's against 0.614), and 12% less (0.538) when a reference cohort (HBCD) is added to the training of the transformer (``--transformer-reference-dir``, opt-in). .. table:: :class: longtable ==================================================================== ======= ===== ======= ============= ====== ============ =========== setting (3 seeds x 54 scans) overall gap end gap whole profile region whole tensor whole NODDI ==================================================================== ======= ===== ======= ============= ====== ============ =========== default + transformer trained with HBCD, weight table 0.538 0.397 0.479 0.601 0.676 0.426 0.644 default + transformer (400 epochs), weight table (**new default**) 0.567 0.417 0.504 0.636 0.712 0.422 0.621 default + transformer (200 epochs), fixed weights 0.25 / 0.75 0.582 0.424 0.518 0.658 0.729 0.460 0.643 SIREN near + graph U-Net beyond (phase 4) 0.610 0.436 0.550 0.697 0.757 0.530 0.703 default of 0.9.5 (population + SIREN) 0.614 0.440 0.552 0.697 0.766 0.696 0.798 transformer alone (200 epochs) 0.654 0.547 0.627 0.704 0.738 0.446 0.636 graph U-Net alone 0.673 0.596 0.686 0.676 0.735 0.530 0.703 ==================================================================== ======= ===== ======= ============= ====== ============ =========== The weight-table rows are cross-fitted by subject (5 folds: the weights of a scan fitted without its subject) on the cells of the validation, scored as the validation (completed errors, relative to the age-bin mean, the mean over pattern, metric and age bin); the others are the validation's own results. Paired per scan, the fixed blend was 0.947 of the default of 0.9.5's error (better on all 162 scan x seed pairs), the table with 400 epochs 0.975 of the fixed blend's and the table with HBCD about 0.93 (better on 95%). Phase 6: what was tried ----------------------- - **Ensembles** (``--validate``, ``ensemble`` settings): the default blended with a model of the deviations, with a weight of the model within 4 mm of an observed value and beyond, or by the inverse variances. Fixed weights 0.25 / 0.75 were best (with the graph U-Net 0.594, with the transformer 0.582); precision weights were worse (0.605, 0.588), as the SD of a SIREN value is that of the population model, an upper bound next to an observed value. - **Acquisition correction** (``--acquisition-correction yes``): the offset of each acquisition from the most common one (``_acq-