We next studied how the multitask representations emerged through processing in the network (
Fig. 5). Whereas in the initial layers, data points representing active nAMD were still uniformly distributed (see
Figs. 5A-C), a clear separation of active nAMD cases developed gradually in later layers of the DNN (see
Figs. 5D-G), leading to best separation in the shared representation (see
Fig. 5H). The decision head for active AMD refined this representation only very little (see
Fig. 5I). We finally analyzed the saliency maps of the multitask DNNs and asked whether the saliency maps for the subtasks of SRF and IRF detection obtained from the multitask model allowed reasoning about evidence specific to these tasks. We generated saliency maps on four exemplary OCT scans using LRP
48 (see
Fig. 6). For an OCT scan with clearly active AMD and both SRF and IRF present (see
Fig. 6A), we found that the active AMD saliency map focused on intraretinal fluids, which were also clearly visible in the task-specific saliency map, and faintly highlighted regions with SRF. The SRF saliency map, however, clearly highlighted SRF. In two further example scans with either IRF or SRF, respectively, active AMD saliency maps clearly corresponded to the individual task maps (see
Figs. 6B,
6C). We also identified a rare failure case of the obtained saliency maps (see
Fig. 6D), where an OCT scan was falsely classified positive for SRF with a confidence of 0.614 due to the misclassification of IRF to SRF. We hypothesize that the DNN misclassified the superior border of the IRF as photoreceptor layer detached from the retinal pigment epithelium. The assumption that the DNN primarily recognizes contrast-rich interfaces, such as SRF and IRF, is further supported by the false labeling of cystoid spaces within choroid in
Figures 6B and
6D, whereas in a smoother, lower-contrast choroid saliency, maps do not highlight any structures (see
Fig. 6). Comparison with saliency maps from the single-task DNNs (
Fig. 7) to those generated from the multitask models shows that those single-task saliency maps appear slightly more defined, but generally highlight similar areas.