Non-stationary validation#

How well the time-resolved methods follow a coupling that switches on, off, around or briefly on, on region-level series with known truth. Generated by tools/run_nonstationary.py; do not edit the tables by hand.

What was observed#

The numbers below are from the tables that follow. They are observations in four three-region simulations at 100 Hz (one network, order chosen by BIC at most 5, BIC order 3 to 5 in practice). They do not rank the methods, and they do not carry over to other sampling rates, network sizes or real data without checking.

  1. The forgetting factors of the confirmed grid (0.95 to 0.995) are in the poor region. Their measured memory is 0.01 to 0.02 s (1 to 2 samples), the stable AUROC is 0.65 to 0.80 at 20 dB and 0.57 to 0.64 at 0 dB (ADTF, mean over the four scenarios), 15 to 56 % of the time points have an unstable model (mean over the seeds), and the direction accuracy is 0.60 to 0.74 in switch_on. The default forgetting=0.99 gives 0.75, 0.73 and 0.61 (ADTF with the dual recursion, mean over the four scenarios at 20, 10 and 0 dB) and 0.79, 0.77 and 0.63 (TPDC). In switch_on the “latency” of 0.5 s in those rows is just the first stored time point after the switch: the estimate is so noisy that its mean course passes the halfway point at once. This is not tracking. docs/timevarying.md explains why: the factor sets the process noise and does not make the filter remember 1 / (1 - forgetting) samples.

  2. With a longer measured memory the estimates become good. From forgetting = 0.9999 (memory 0.07 s) on, the median share of unstable time points is 0 (at most 7 % in any fit), and the stable AUROC (mean over the four scenarios) is 0.92 to 1.0. TPDC is at 0.990 to 1.000 for 0.99999 and 0.999999 (memory 0.2 to 0.6 s) at all three SNR. The ADTF values are 0.95 to 1.00 for the same factors, below TPDC’s at 20 and 10 dB. The windowed DTF (4 s and 8 s windows) is at 0.96 to 1.0. ADTF and WDTF are both DTFs, so the ceiling of about 0.96 to 0.98 at 10 dB is probably the indirect path A → C, which a DTF reports but the truth does not list: in switch_on at 10 dB (seed 0, forgetting = 0.99999) the mean ADTF score after the switch is 0.100 for A → C against 0.122 for the true edge B → C, while TPDC gives 0.005 and 0.154. This was checked on that one dataset only.

  3. The AUROC does not fall with the noise for the long-memory settings. For ADTF (dual) with 0.99999 or more it is 0.96 at 20 dB and 0.99 at 0 dB. The same indirect path would explain this (noise weakens a two-step path more than a direct one), but that was not tested. For the short-memory settings the AUROC falls with the noise, as expected.

  4. The latency grows with the memory and with the noise. In switch_on at 10 dB the latency of the mean course is 1.0, 1.5, 4.5 and 8.5 s for forgetting 0.9999, 0.99999, 0.999999, 0.9999999 (ADTF dual; memory 0.07, 0.19, 0.53, 1.13 s), and 1.0, 2.5, 6.5, 10.5 s at 0 dB: several times the measured memory. The windowed methods give 2.0 s for both window lengths. This is the first window centre after the switch (their time axis has a step of half a window), so their latency is not resolved below that.

  5. A burst of 10 s is seen by every setting with enough memory (stable AUROC, mean over the methods and factors from 0.9999 on, 0.98 to 1.0 at the three SNR; 0.98 to 1.0 for WDTF). The onset latency of the 8 s window is 3 s and its offset latency 1 s; the longest-memory ADTF settings (1.1 s) take 3 to 5 s to see the burst begin and 7.5 to 10 s to see it end.

  6. A flipped direction is followed, with a lag. For forgetting of 0.99999 and 0.999999 and for both windows the direction accuracy in the stable segments is 0.98 to 1.0; the flipping edge takes 1.0 to 7.5 s to be followed (TPDC, depending on the SNR). With the 0.9999999 setting the direction accuracy drops to 0.91 for ADTF (mean over the SNRs).

  7. One value per segment: the two procedures differ where theory predicts. Segment B starts 1 s after the switch. In switch_on (10 dB) the continuous ADTF with forgetting = 0.999999 gives a mean score of the switching edge of 0.111 in B (the segment fit gives 0.280) and still ranks perfectly (AUROC 1.000); the 5 s fit of segment B ranks slightly worse (0.963, 0.887 at 20 dB). In direction_flip the continuous estimate still carries the old direction in B (AUROC 0.71 to 0.79; A → B 0.136 against B → A 0.046 at 10 dB, so the old direction is still stronger), while the fit of the segment alone has AUROC 1.000 with the right direction (0.137 against 0.013). So averaging a continuous estimate over a segment carries the transition into the segment. Fitting the segment alone does not, but it has more variance when the segment is short.

What is not shown#

  • A comparison at equal measured memory with a window: the grid reaches memories of 0.01 to 1.2 s, and the windows are 4 s and 8 s, so the two families are not compared at the same time scale.

  • Order: the order is chosen once on the whole recording; a change of order inside the recording is not covered.

  • Other networks, other sampling rates, real data. The factor that gives a good memory depends on all of them, so a factor on its own is not a portable setting (see below).

The default#

The default forgetting of ADTF, TPDC and fit_tvar was changed from 0.99 to 0.99999 on the basis of these tables (decided 2026-10-04). The tables were produced with explicit factors, so they are unaffected. forgetting is not portable: the same factor gives a different memory for another number of nodes, order or sampling rate. The measured memory (TvarFit.memory_samples, in the provenance) is portable, so check it for your data.

Setup#

  • 10 seeds per scenario and SNR; 60 s at 100 Hz; three regions oscillating at 10, 20 and 15 Hz (A, B, C in the order of the scenario file); coupling 0.4, delay 10 ms. The scenarios are the shipped files switch_on, switch_off, direction_flip, burst; B → C is a constant control edge in all of them, so the truth always has an edge and a non-edge and the AUROC is defined at every time point.

  • Independent white observation noise at 20, 10, 0 dB (signal over noise, per channel); no forward model.

  • Every method sees the same series. Spectral results are averaged over 1 to 45 Hz and scored by magnitude.

  • Methods: adtf-dual and adtf-dekf (ADTF with the dual and the dual extended Kalman recursion), tpdc (time-varying PDC, DEKF), wdtf-4s and wdtf-8s (one fit per window of 4 s or 8 s, step half a window). adtf-rls is not run: its coefficients are identical to those of adtf-dual. The order is chosen once by BIC (cap 5) on the whole recording; ADTF and TPDC output every 0.1 s.

  • forgetting is the factor lambda of ADTF and TPDC. In this recursion it sets the process noise 1 / lambda - 1; it is not the memory of a forgetting-factor least-squares filter. The memory column is measured (the reciprocal of the mean gain along the regressor, in seconds) and is far shorter than 1 / (1 - lambda) samples.

  • Environment: python 3.11.16, platform Windows-10-10.0.26200-SP0, numpy 2.4.6, scipy 1.17.1, dirconn 0.0.1.dev0.

  • Run: 120 datasets on 4 workers. The gate measured 11.9 s for one dataset alone and a parallel efficiency of 0.45 on this machine and estimated 13.5 min; the run took 14.4 min.

How to read the numbers#

  • AUROC (stable): at every time point, how often a true edge outranks a non-edge, averaged over the time points outside the guard band after each switch and over the seeds. The guard is one third of the shortest stretch between switches (10 s; 3.3 s for burst) and the same for every method. The memory-guard and no-guard variants are in the results file (auroc_memory, auroc_all).

  • direction accuracy (stable): among the pairs that are an edge in one direction only, how often the stronger direction is the true one (chance 0.5), same time points.

  • latency (s): the time from the switch until the mean score of the switching edge has covered half the way between its levels before and after (levels over the stable parts of the neighbouring stretches), and stayed beyond it for 1 s. It is taken from the mean course over the seeds because a single fit is too noisy (a score already beyond half the way when the switch happens counts as an instant arrival). Entries are in the order listed under the table; – means not tracked or not measurable (the stretch is shorter than the guard, or the levels do not differ). The windowed methods give times on a grid of half a window, so their latency is a multiple of 2 s or 4 s at best.

  • unstable: median share of the time points whose model has a companion spectral radius of 1 or more (windowed methods: share of windows). warned: share of fits that raised a diagnostic.

Overview#

Mean AUROC (stable) over the four scenarios, by SNR, with the median measured memory.

method

forgetting

memory (s)

20 dB

10 dB

0 dB

adtf-dual

0.95

0.01

0.656

0.643

0.566

adtf-dual

0.98

0.01

0.708

0.691

0.589

adtf-dual

0.99

0.02

0.753

0.732

0.613

adtf-dual

0.995

0.02

0.800

0.780

0.644

adtf-dual

0.999

0.03

0.901

0.893

0.748

adtf-dual

0.9999

0.07

0.962

0.970

0.924

adtf-dual

0.99999

0.19

0.962

0.974

0.993

adtf-dual

0.999999

0.54

0.961

0.978

0.998

adtf-dual

0.9999999

1.13

0.958

0.974

0.989

adtf-dekf

0.95

0.01

0.651

0.642

0.566

adtf-dekf

0.98

0.01

0.696

0.686

0.589

adtf-dekf

0.99

0.02

0.732

0.726

0.612

adtf-dekf

0.995

0.02

0.770

0.771

0.643

adtf-dekf

0.999

0.03

0.857

0.878

0.748

adtf-dekf

0.9999

0.07

0.938

0.962

0.924

adtf-dekf

0.99999

0.22

0.950

0.967

0.991

adtf-dekf

0.999999

0.60

0.948

0.969

0.997

adtf-dekf

0.9999999

1.22

0.926

0.962

0.987

tpdc

0.95

0.01

0.721

0.689

0.583

tpdc

0.98

0.01

0.758

0.729

0.606

tpdc

0.99

0.02

0.788

0.765

0.629

tpdc

0.995

0.02

0.822

0.807

0.659

tpdc

0.999

0.03

0.901

0.908

0.764

tpdc

0.9999

0.07

0.978

0.993

0.936

tpdc

0.99999

0.22

0.995

1.000

0.997

tpdc

0.999999

0.60

0.990

1.000

1.000

tpdc

0.9999999

1.22

0.956

0.988

0.987

wdtf-4s

–

–

0.959

0.973

0.982

wdtf-8s

–

–

0.957

0.975

0.997

Scenarios#

switch_on#

A -> B switches on in the middle of the recording (30 s of 60 s); B -> C is a constant control edge. A, B, C are the first three regions of the pool oscillating at 10, 20 and 15 Hz, coupling 0.4 with a delay of one sample (10 ms at 100 Hz). Tests whether a time-resolved method sees an edge appear, and how long it takes.

Guard band 10.0 s. Latency entries: A→B at 30 s.

method

forgetting

memory (s)

AUROC 20 dB

AUROC 10 dB

AUROC 0 dB

direction acc.

latency 20 dB

latency 10 dB

latency 0 dB

unstable

warned

adtf-dual

0.95

0.01

0.653

0.645

0.567

0.60

0.5

0.5

0.5

0.54

100%

adtf-dual

0.98

0.01

0.704

0.694

0.592

0.65

0.5

0.5

0.5

0.41

100%

adtf-dual

0.99

0.02

0.750

0.736

0.617

0.69

0.5

0.5

0.5

0.31

100%

adtf-dual

0.995

0.02

0.799

0.785

0.650

0.74

0.5

0.5

0.5

0.21

100%

adtf-dual

0.999

0.03

0.902

0.899

0.748

0.85

0.5

0.5

0.5

0.04

100%

adtf-dual

0.9999

0.07

0.965

0.974

0.929

0.97

0.5

1.0

1.0

0.00

100%

adtf-dual

0.99999

0.19

0.965

0.980

0.995

1.00

1.5

1.5

2.5

0.00

100%

adtf-dual

0.999999

0.53

0.971

0.995

1.000

1.00

3.0

4.5

6.5

0.00

100%

adtf-dual

0.9999999

1.13

1.000

1.000

1.000

1.00

6.5

8.5

10.5

0.00

67%

adtf-dekf

0.95

0.01

0.648

0.644

0.567

0.60

0.5

0.5

0.5

0.56

100%

adtf-dekf

0.98

0.01

0.693

0.690

0.592

0.64

0.5

0.5

0.5

0.45

100%

adtf-dekf

0.99

0.02

0.728

0.730

0.615

0.68

0.5

0.5

0.5

0.36

100%

adtf-dekf

0.995

0.02

0.768

0.776

0.648

0.72

0.5

0.5

0.5

0.26

100%

adtf-dekf

0.999

0.03

0.857

0.885

0.748

0.83

0.5

0.5

0.5

0.07

100%

adtf-dekf

0.9999

0.07

0.940

0.967

0.929

0.96

0.5

0.5

1.0

0.00

100%

adtf-dekf

0.99999

0.21

0.953

0.973

0.994

1.00

1.0

1.5

2.5

0.00

100%

adtf-dekf

0.999999

0.59

0.954

0.987

1.000

1.00

2.0

4.0

6.5

0.00

100%

adtf-dekf

0.9999999

1.22

0.981

1.000

0.999

0.99

4.0

7.5

10.5

0.00

40%

tpdc

0.95

0.01

0.720

0.693

0.583

0.62

0.5

0.5

0.5

0.56

100%

tpdc

0.98

0.01

0.758

0.735

0.607

0.66

0.5

0.5

0.5

0.45

100%

tpdc

0.99

0.02

0.791

0.773

0.633

0.70

0.5

0.5

0.5

0.36

100%

tpdc

0.995

0.02

0.825

0.819

0.664

0.74

0.5

0.5

0.5

0.26

100%

tpdc

0.999

0.03

0.905

0.919

0.769

0.84

0.5

0.5

0.5

0.07

100%

tpdc

0.9999

0.07

0.980

0.996

0.944

0.96

0.5

0.5

1.0

0.00

100%

tpdc

0.99999

0.21

0.998

1.000

0.999

1.00

1.0

1.5

2.5

0.00

100%

tpdc

0.999999

0.59

0.999

1.000

1.000

1.00

2.0

4.0

6.5

0.00

100%

tpdc

0.9999999

1.22

0.991

1.000

1.000

0.99

4.0

7.5

10.5

0.00

40%

wdtf-4s

–

–

0.961

0.979

0.989

0.99

2.0

2.0

2.0

–

100%

wdtf-8s

–

–

0.968

0.983

1.000

1.00

2.0

2.0

2.0

–

0%

switch_off#

A -> B switches off in the middle of the recording (acts for the first 30 s of 60 s); B -> C is a constant control edge. The mirror image of switch_on: tests whether a time-resolved method lets an edge go, and how long it takes.

Guard band 10.0 s. Latency entries: A→B at 30 s.

method

forgetting

memory (s)

AUROC 20 dB

AUROC 10 dB

AUROC 0 dB

direction acc.

latency 20 dB

latency 10 dB

latency 0 dB

unstable

warned

adtf-dual

0.95

0.01

0.676

0.653

0.564

0.61

0.5

0.5

2.5

0.54

100%

adtf-dual

0.98

0.01

0.725

0.700

0.588

0.65

0.5

0.5

2.5

0.41

100%

adtf-dual

0.99

0.02

0.768

0.740

0.614

0.70

0.5

0.5

1.5

0.31

100%

adtf-dual

0.995

0.02

0.813

0.786

0.647

0.74

0.5

0.5

0.5

0.20

100%

adtf-dual

0.999

0.03

0.906

0.893

0.754

0.86

0.5

0.5

0.5

0.04

100%

adtf-dual

0.9999

0.07

0.954

0.962

0.931

0.97

0.5

0.5

0.5

0.00

100%

adtf-dual

0.99999

0.19

0.951

0.964

0.987

1.00

1.5

1.5

1.5

0.00

100%

adtf-dual

0.999999

0.54

0.945

0.962

0.994

1.00

4.0

3.5

3.5

0.00

100%

adtf-dual

0.9999999

1.13

0.934

0.959

0.994

1.00

7.5

7.0

6.5

0.00

67%

adtf-dekf

0.95

0.01

0.670

0.653

0.565

0.61

0.5

0.5

2.5

0.56

100%

adtf-dekf

0.98

0.01

0.714

0.695

0.588

0.65

0.5

0.5

2.5

0.46

100%

adtf-dekf

0.99

0.02

0.750

0.734

0.614

0.69

0.5

0.5

1.5

0.36

100%

adtf-dekf

0.995

0.02

0.786

0.776

0.645

0.73

0.5

0.5

0.5

0.25

100%

adtf-dekf

0.999

0.03

0.867

0.878

0.755

0.84

0.5

0.5

0.5

0.08

100%

adtf-dekf

0.9999

0.07

0.935

0.954

0.928

0.97

0.5

0.5

0.5

0.00

100%

adtf-dekf

0.99999

0.22

0.938

0.953

0.984

1.00

2.0

1.5

1.5

0.00

100%

adtf-dekf

0.999999

0.60

0.931

0.950

0.991

1.00

6.0

4.0

3.5

0.00

100%

adtf-dekf

0.9999999

1.23

0.881

0.936

0.988

1.00

10.5

8.0

6.5

0.00

37%

tpdc

0.95

0.01

0.753

0.715

0.594

0.64

0.5

0.5

1.5

0.56

100%

tpdc

0.98

0.01

0.789

0.755

0.620

0.68

0.5

0.5

0.5

0.46

100%

tpdc

0.99

0.02

0.821

0.792

0.642

0.71

0.5

0.5

0.5

0.36

100%

tpdc

0.995

0.02

0.855

0.830

0.675

0.75

0.5

0.5

0.5

0.25

100%

tpdc

0.999

0.03

0.929

0.924

0.784

0.85

0.5

0.5

0.5

0.08

100%

tpdc

0.9999

0.07

0.990

0.996

0.955

0.97

0.5

0.5

0.5

0.00

100%

tpdc

0.99999

0.22

0.999

1.000

0.999

1.00

2.0

1.5

1.5

0.00

100%

tpdc

0.999999

0.60

0.999

1.000

1.000

1.00

6.0

4.0

3.5

0.00

100%

tpdc

0.9999999

1.23

0.950

0.990

0.999

1.00

10.5

8.0

6.5

0.00

37%

wdtf-4s

–

–

0.950

0.963

0.976

0.99

2.0

2.0

2.0

–

100%

wdtf-8s

–

–

0.948

0.961

0.988

1.00

2.0

2.0

2.0

–

0%

direction_flip#

The coupling between A and B reverses in the middle of the recording: A -> B for the first 30 s, B -> A for the last 30 s; B -> C is a constant control edge. Tests whether a time-resolved method follows a change of direction, where the pair is coupled all the time and only the direction changes.

Guard band 10.0 s. Latency entries: A→B at 30 s, B→A at 30 s.

method

forgetting

memory (s)

AUROC 20 dB

AUROC 10 dB

AUROC 0 dB

direction acc.

latency 20 dB

latency 10 dB

latency 0 dB

unstable

warned

adtf-dual

0.95

0.01

0.676

0.659

0.572

0.63

0.5 / 0.5

0.5 / 1.5

0.5 / 1.0

0.54

100%

adtf-dual

0.98

0.01

0.725

0.706

0.597

0.67

0.5 / 0.5

0.5 / 0.5

0.5 / 2.0

0.40

100%

adtf-dual

0.99

0.02

0.767

0.748

0.621

0.71

0.5 / 0.5

0.5 / 0.5

0.5 / 0.0

0.30

100%

adtf-dual

0.995

0.02

0.810

0.794

0.652

0.76

0.5 / 0.5

0.5 / 0.5

0.5 / 0.5

0.20

100%

adtf-dual

0.999

0.03

0.898

0.892

0.751

0.86

0.5 / 0.5

0.5 / 0.5

0.5 / 0.5

0.04

100%

adtf-dual

0.9999

0.07

0.947

0.956

0.910

0.97

0.5 / 1.0

0.5 / 0.5

0.5 / 1.5

0.00

100%

adtf-dual

0.99999

0.19

0.942

0.957

0.992

1.00

1.5 / 1.5

1.0 / 2.5

1.0 / 4.0

0.00

100%

adtf-dual

0.999999

0.54

0.934

0.956

1.000

1.00

4.0 / 3.5

3.0 / 5.0

3.5 / 7.0

0.00

100%

adtf-dual

0.9999999

1.12

0.903

0.935

0.966

0.91

7.0 / 8.0

6.5 / 10.0

6.5 / 13.5

0.00

67%

adtf-dekf

0.95

0.01

0.671

0.658

0.571

0.63

0.5 / 0.5

0.5 / 0.5

0.5 / 1.0

0.56

100%

adtf-dekf

0.98

0.01

0.715

0.704

0.596

0.67

0.5 / 0.5

0.5 / 0.5

0.5 / 2.0

0.45

100%

adtf-dekf

0.99

0.02

0.750

0.743

0.620

0.71

0.5 / 0.5

0.5 / 0.5

0.5 / 0.0

0.35

100%

adtf-dekf

0.995

0.02

0.782

0.785

0.652

0.74

0.5 / 0.5

0.5 / 0.5

0.5 / 0.5

0.26

100%

adtf-dekf

0.999

0.03

0.857

0.878

0.752

0.84

0.5 / 0.5

0.5 / 0.5

0.5 / 1.0

0.07

100%

adtf-dekf

0.9999

0.07

0.924

0.946

0.910

0.96

0.5 / 1.0

0.5 / 0.5

0.5 / 1.5

0.00

100%

adtf-dekf

0.99999

0.22

0.928

0.948

0.992

1.00

2.0 / 1.0

1.5 / 2.0

1.5 / 4.0

0.00

100%

adtf-dekf

0.999999

0.60

0.924

0.940

0.999

1.00

5.0 / 1.5

4.0 / 4.5

4.0 / 7.0

0.00

100%

adtf-dekf

0.9999999

1.22

0.870

0.912

0.961

0.89

8.5 / 4.5

7.5 / 8.5

6.5 / 13.5

0.00

40%

tpdc

0.95

0.01

0.738

0.703

0.589

0.64

0.5 / 0.5

0.5 / 0.5

0.5 / 0.0

0.56

100%

tpdc

0.98

0.01

0.769

0.740

0.614

0.67

0.5 / 0.5

0.5 / 0.5

0.5 / 0.0

0.45

100%

tpdc

0.99

0.02

0.796

0.774

0.636

0.70

0.5 / 0.5

0.5 / 0.5

0.5 / 0.5

0.35

100%

tpdc

0.995

0.02

0.825

0.812

0.663

0.73

0.5 / 0.5

0.5 / 0.5

0.5 / 0.5

0.26

100%

tpdc

0.999

0.03

0.895

0.900

0.760

0.82

0.5 / 0.5

0.5 / 0.5

0.5 / 0.5

0.07

100%

tpdc

0.9999

0.07

0.970

0.987

0.912

0.94

0.5 / 0.5

0.5 / 0.5

0.5 / 1.0

0.00

100%

tpdc

0.99999

0.22

0.985

1.000

0.994

0.99

2.0 / 1.0

1.5 / 2.5

1.5 / 4.0

0.00

100%

tpdc

0.999999

0.60

0.971

0.999

1.000

0.98

5.0 / 2.0

4.0 / 5.5

4.0 / 7.5

0.00

100%

tpdc

0.9999999

1.22

0.908

0.964

0.954

0.86

9.0 / 6.5

7.5 / 10.0

6.5 / 14.0

0.00

40%

wdtf-4s

–

–

0.939

0.955

0.973

0.99

2.0 / 2.0

2.0 / 2.0

2.0 / 2.0

–

100%

wdtf-8s

–

–

0.933

0.958

1.000

1.00

2.0 / 2.0

2.0 / 2.0

2.0 / 2.0

–

0%

burst#

A -> B acts only for a short burst (25 s to 35 s of a 60 s recording, off - on - off); B -> C is a constant control edge. Tests whether a time-resolved method can see a coupling that is on for a time comparable to its own memory, and how a long window or memory smears it.

Guard band 3.3 s. Latency entries: A→B at 25 s, A→B at 35 s.

method

forgetting

memory (s)

AUROC 20 dB

AUROC 10 dB

AUROC 0 dB

direction acc.

latency 20 dB

latency 10 dB

latency 0 dB

unstable

warned

adtf-dual

0.95

0.01

0.621

0.615

0.563

0.56

0.5 / 0.5

0.5 / 0.5

0.0 / 0.5

0.53

100%

adtf-dual

0.98

0.01

0.677

0.662

0.581

0.61

0.5 / 0.5

0.5 / 0.5

0.0 / 0.5

0.40

100%

adtf-dual

0.99

0.02

0.724

0.706

0.600

0.66

0.5 / 0.5

0.5 / 0.5

0.0 / 0.5

0.29

100%

adtf-dual

0.995

0.02

0.777

0.757

0.628

0.70

0.5 / 0.5

0.5 / 0.5

0.5 / 0.5

0.19

100%

adtf-dual

0.999

0.03

0.897

0.890

0.739

0.83

0.5 / 0.5

0.5 / 0.5

0.5 / 0.5

0.04

100%

adtf-dual

0.9999

0.07

0.982

0.987

0.927

0.96

0.5 / 0.5

1.0 / 0.5

0.5 / 0.5

0.00

100%

adtf-dual

0.99999

0.19

0.987

0.994

0.996

1.00

1.0 / 1.5

1.5 / 1.5

2.5 / 1.5

0.00

100%

adtf-dual

0.999999

0.55

0.995

1.000

1.000

1.00

2.0 / 4.0

3.0 / 4.0

4.0 / 4.5

0.00

100%

adtf-dual

0.9999999

1.14

0.997

1.000

0.998

1.00

3.0 / 7.5

4.0 / 8.0

5.0 / 10.0

0.00

67%

adtf-dekf

0.95

0.01

0.615

0.614

0.562

0.56

0.5 / 0.5

0.5 / 0.5

0.0 / 0.5

0.55

100%

adtf-dekf

0.98

0.01

0.663

0.656

0.580

0.61

0.5 / 0.5

0.5 / 0.5

0.0 / 0.5

0.44

100%

adtf-dekf

0.99

0.02

0.700

0.698

0.600

0.65

0.5 / 0.5

0.5 / 0.5

0.0 / 0.5

0.34

100%

adtf-dekf

0.995

0.02

0.743

0.745

0.628

0.69

0.5 / 0.5

0.5 / 0.5

0.5 / 0.5

0.24

100%

adtf-dekf

0.999

0.03

0.845

0.870

0.737

0.80

0.5 / 0.5

0.5 / 0.5

0.5 / 0.5

0.07

100%

adtf-dekf

0.9999

0.08

0.956

0.981

0.926

0.95

0.5 / 0.5

1.0 / 0.5

1.0 / 0.5

0.00

100%

adtf-dekf

0.99999

0.22

0.982

0.992

0.995

1.00

1.0 / 2.0

1.5 / 1.5

2.5 / 1.5

0.00

100%

adtf-dekf

0.999999

0.60

0.982

0.999

0.999

1.00

1.5 / 5.0

2.5 / 4.0

4.0 / 5.0

0.00

100%

adtf-dekf

0.9999999

1.23

0.973

1.000

0.997

1.00

2.5 / 8.0

3.5 / 8.0

5.0 / 10.5

0.00

37%

tpdc

0.95

0.01

0.672

0.645

0.565

0.56

0.5 / 0.5

0.5 / 0.5

0.0 / 0.5

0.55

100%

tpdc

0.98

0.01

0.715

0.683

0.583

0.61

0.5 / 0.5

0.5 / 0.5

0.0 / 0.5

0.44

100%

tpdc

0.99

0.02

0.746

0.722

0.605

0.65

0.5 / 0.5

0.5 / 0.5

0.0 / 0.5

0.34

100%

tpdc

0.995

0.02

0.783

0.767

0.632

0.69

0.5 / 0.5

0.5 / 0.5

0.5 / 0.5

0.24

100%

tpdc

0.999

0.03

0.874

0.887

0.743

0.80

0.5 / 0.5

0.5 / 0.5

0.5 / 0.5

0.07

100%

tpdc

0.9999

0.08

0.973

0.991

0.932

0.95

0.5 / 0.5

1.0 / 0.5

1.0 / 0.5

0.00

100%

tpdc

0.99999

0.22

0.997

1.000

0.997

1.00

1.0 / 2.0

1.5 / 1.5

2.5 / 1.5

0.00

100%

tpdc

0.999999

0.60

0.990

1.000

0.999

1.00

1.5 / 5.0

2.5 / 4.0

4.0 / 5.0

0.00

100%

tpdc

0.9999999

1.23

0.973

1.000

0.997

1.00

2.5 / 8.0

4.0 / 8.0

5.0 / 10.5

0.00

37%

wdtf-4s

–

–

0.987

0.993

0.989

1.00

1.0 / 1.0

1.0 / 1.0

1.0 / 1.0

–

100%

wdtf-8s

–

–

0.981

0.999

1.000

1.00

3.0 / 1.0

3.0 / 1.0

3.0 / 1.0

–

0%

One value per segment: continuous ADTF or a fit per segment#

Two ways to get a result for a stretch of the recording: run ADTF over the whole recording and average it over the segment (reduce_time; forgetting 0.999999), or fit the segment on its own (WDTF(segments=...)). The segments are A = 10 to 29 s (well before the switch at 30 s) and B = 31 to 36 s (1 s to 6 s after it). The first approach carries the memory of the preceding samples and the transition after the switch; the second has only the 5 s of segment B to estimate from and depends on the order chosen for the whole recording. Scores are the AUROC against the truth at the centre of the segment and the mean score of the switching pair(s); the table shows what was observed in these two scenarios, not which approach is better.

scenario

SNR

approach

AUROC A

AUROC B

switching pair

score A

score B

switch_on

20 dB

adtf_reduce_time

1.000

1.000

transversetemporal-rh->cuneus-rh

0.004

0.178

switch_on

20 dB

wdtf_segments

1.000

0.887

transversetemporal-rh->cuneus-rh

0.003

0.354

switch_on

10 dB

adtf_reduce_time

1.000

1.000

transversetemporal-rh->cuneus-rh

0.005

0.111

switch_on

10 dB

wdtf_segments

1.000

0.963

transversetemporal-rh->cuneus-rh

0.002

0.280

switch_on

0 dB

adtf_reduce_time

1.000

0.988

transversetemporal-rh->cuneus-rh

0.004

0.028

switch_on

0 dB

wdtf_segments

1.000

0.988

transversetemporal-rh->cuneus-rh

0.003

0.118

direction_flip

20 dB

adtf_reduce_time

0.875

0.713

transversetemporal-rh->cuneus-rh

0.357

0.190

direction_flip

20 dB

adtf_reduce_time

0.875

0.713

cuneus-rh->transversetemporal-rh

0.002

0.069

direction_flip

20 dB

wdtf_segments

0.875

1.000

transversetemporal-rh->cuneus-rh

0.358

0.011

direction_flip

20 dB

wdtf_segments

0.875

1.000

cuneus-rh->transversetemporal-rh

0.001

0.152

direction_flip

10 dB

adtf_reduce_time

0.925

0.787

transversetemporal-rh->cuneus-rh

0.291

0.136

direction_flip

10 dB

adtf_reduce_time

0.925

0.787

cuneus-rh->transversetemporal-rh

0.005

0.046

direction_flip

10 dB

wdtf_segments

0.925

1.000

transversetemporal-rh->cuneus-rh

0.292

0.013

direction_flip

10 dB

wdtf_segments

0.925

1.000

cuneus-rh->transversetemporal-rh

0.004

0.137

direction_flip

0 dB

adtf_reduce_time

1.000

0.738

transversetemporal-rh->cuneus-rh

0.109

0.057

direction_flip

0 dB

adtf_reduce_time

1.000

0.738

cuneus-rh->transversetemporal-rh

0.012

0.015

direction_flip

0 dB

wdtf_segments

1.000

1.000

transversetemporal-rh->cuneus-rh

0.114

0.012

direction_flip

0 dB

wdtf_segments

1.000

1.000

cuneus-rh->transversetemporal-rh

0.010

0.050