arXiv:2611.05231cs.CVNov 2026

Manuscript Offprint

arXiv:2611.05231

Diagnosis by Composition: Detecting and Localizing Unseen Diseases by Composing Learned Radiological Findings

Kaihua Hou, Wei Liu, Yi Huang, Hao Zhang, Haibo Jin, Yifei Sun, Yuan gao, Zuoou Li, Ling Zhang, Ahmed Alaa, Geoffrey H. Tison, Xu Han, Ke Yan

Abstract

Deep models for radiological diagnosis are typically trained to predict disease labels directly from images, which limits them to diseases seen during training and makes their decisions hard to interpret in radiologists' terms. Radiology, however, proceeds from visual findings to disease through published guidelines that make this decision rule explicit, interpretable, and reproducible. We introduce diagnosis by composition (DbC), a representation learning framework that encodes this findings-first logic. DbC learns a vocabulary of radiological findings by aligning image features with the text embeddings of the findings, each finding represented as a dense map over the scan. A disease is defined by a set of required findings derived from its guidelines, and its diagnosis map is a fixed, parameter-free composition of the corresponding finding maps. Because the finding-to-disease mapping is derived from guidelines rather than learned, DbC is interpretable and auditable by design, can extend to new diseases by specifying their findings without retraining, and can diagnose unseen diseases by composing their findings. On multi-phase liver CT, DbC detects and localizes unseen diseases, rare diseases from a different institution, and an external cohort significantly better than all comparators, including models that align images with disease names. DbC also improves detection and localization in the fully supervised setting and remains superior across training-set sizes. Although demonstrated on liver CT, DbC applies wherever radiological guidelines define diseases through findings.

Code: https://anonymous.4open.science/r/DiagnosisByComposition

1 Introduction

Most machine learning models for radiological diagnosis are trained to predict a disease label directly from the image (Yasaka et al., 2018; Hamm et al., 2019). In this pattern, which we call disease-first, the disease is the unit of learning, and the visual findings a radiologist reasons about either never explicitly enter the model or are recovered from it afterwards (Wang et al., 2019). Such a model cannot explain a decision in a radiologist's terms, and it is closed-set, with one output for each disease it was trained on. Vision-language aligned models, which bridge images with text in a shared space (Radford et al., 2021), appear to lift the closed-set limit, because a disease can be named at test time (Hamamci et al., 2026; Blankemeier et al., 2026; Du et al., 2024; Zhao et al., 2025; Rokuss et al., 2026). The image is still aligned with the name of the disease, however, and recent models aligned at the finer grain of individual anatomies (Shui et al., 2025) still construct representations around diagnosis targets.

Radiology itself is organized the other way around, in a pattern we call findings-first. A radiologist first identifies the visual findings in a scan, properties that are directly visible such as how dense a lesion is or how it takes up contrast, and then reads the disease as the combination of findings that defines it. For most diseases

Figure

Figure 1: Disease-first versus findings-first learning. (a) Disease anchors leave an unseen disease D without a trained anchor, while finding anchors express it as a composition. (b) With hemangioma (Heman) seen and ICC unseen in training, only DbC localizes the ICC, by composing four of its finding maps.

that combination is tracked in published radiological guidelines (Chernyak et al., 2018), which makes the diagnosis interpretable, reproducible, and teachable. Radiologists also learn in this order, trained to identify the findings first and to reason from them to diagnose (Accreditation Council for Graduate Medical Education, 2019; Hartung et al., 2020; European Society of Radiology, 2011; American College of Radiology, 2025), which is one reason they can take on a disease they rarely encountered, usually as a new combination of findings they already recognize.

Here, we propose diagnosis by composition (DbC), a representation learning framework that builds this findings-first order into a model in three steps. First, the rule from findings to each disease is derived from published radiological guidelines by clinical experts on our team, who reviewed these guidelines and wrote the definitions of common liver diseases in one shared vocabulary of findings. Second, the model learns to recognize the findings by aligning image features at every location of the scan with the text embedding of each finding, supervised densely by the findings each disease requires and diversely by the further findings that reports record, with the loss computed on the findings alone. Third, at inference, a disease is diagnosed by localizing the findings its definition requires and combining the resulting finding maps with a fixed, parameter-free operation (Figure 1b).

Defining diseases as compositions over a shared finding vocabulary gives the DbC model three properties by design. Because a diagnosis is a combination of named finding maps, the model is interpretable and auditable finding by finding. Because a disease is added by stating the findings it requires, the model is extensible by declaration and reaches a new disease without retraining. And because the findings a disease requires can be recognized even when the disease never appeared in training, the model is zero-shot by composition (Figure 1a). Rigorous zero-shot experiments therefore can test whether the model has learned a reusable vocabulary of findings rather than a set of disease labels, and their results show that findings-first learning yields a more generalizable representation than disease-first learning. We make three main contributions in this work:

• We introduce diagnosis by composition (DbC), a findings-first representation learning framework for radiological diagnosis that is interpretable and auditable by design and extends to diseases never seen in training.

• We show that DbC localizes diseases never seen in training significantly better than every comparator, including models that align images with disease names.

• We show that this advantage extends to rare diseases and external institutions, and that DbC remains significantly better than its disease-first counterpart at every training-set size.

References (62)