Organizations: Department of Physics & Centre for Artificial Intelligence, University of Bath, United Kingdom · Department of Philosophy, University of Bristol, United Kingdom
Machine learning (ML) models are said to predict. Philosophers draw a line between accommodation and prediction, depending on whether or not the evidence a theory succeeds on was used in constructing it. Does this distinction survive when a theory is replaced by an ML model? We argue so, yet the dividing line becomes fuzzy. Whether an output of an ML model counts as an accommodation or as a prediction hinges upon the relationship between the patterns the input instantiate and those on which the model was selected through its training. Once this relation is taken into account, most successful outputs of ML models, we suggest, bear a strong accommodation character. We further trace the consequences of our account for confirmation, novelty, and scientific realism.
Figures & tables
Figure 1: a , Random patches (96 × 96 pixels; 4 × 4 per hospital) cropped from hematoxylin-and-eosin-stained whole-slide images of sentinel lymph node sections from breast cancer patients, for the two hospitals considered, RUMC and CWZ. b , AUC of ResNet18 models trained from scratch on RUMC over five seeds, i.e., 0.98 ± 0.02 for in-hospital (ID), as obtained on two held-out RUMC slides, and 0.94 ± 0.01 for cross-hospital (OOD), as obtained on all 34,904 patches of CWZ. The dashed line marks chance level (AUC = 0.5).
Figure 2: a , RUMC training patches in the first two principal components of the representation space (i.e., the 512-dimensional output of the network’s last pooling layer, normalized to unit length). Blue and red dots denote non-metastatic and metastatic patches, respectively. Circled, with their images, are two representative, correctly classified CWZ patches with the highest (top right inset) and lowest (bottom left inset) accommodation character. b , Distribution of the prediction score S for correctly (blue) and incorrectly (red) classified CWZ patches for nearest-neighbor numbers k=1,10,100,1000 . c , Model confidence (i.e., probability of the predicted class) for correctly classified patches: median (line) and 10th to 90th percentile (shading) in 20 equal-count bins of S for k=100 . The dashed line marks confidence 0.5 , at which the model assigns equal probability to both metastatic and non-metastatic classes. All panels use one model.
socius labs, London, United Kingdom · Department of Computer and Information Science, University of Pennsylvania, Philadelphia, Pennsylvania, United States.