Assessment of ovarian toxicity in histopathological images using deep learning

A deep learning neural network addresses the inefficiencies of traditional ovarian toxicity assessment by accurately identifying and counting corpus luteum in ovarian tissue slices, enhancing the efficiency and accuracy of ovarian toxicity evaluation.

JP7553467B2Active Publication Date: 2024-09-18GENENTECH INC
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
JP2021560893
Authority / Receiving Office
JP · JP
Patent Type
Patents
Current Assignee / Owner
Priority Date
2019-04-15
Filing Date
2020-04-14
Publication Date
2024-09-18
Estimated Expiration
2040-04-14

AI Technical Summary

Technical Problem

Current methods for ovarian toxicity assessment in histopathological images are laborious, time-consuming, and prone to errors due to the complex morphology of the ovary and dynamic changes during the estrous cycle, making it difficult to accurately quantify corpus luteum (CL) counts for ovarian toxicity evaluation.

Method used

A deep learning neural network using a one-stage detector with focal loss is employed to identify and count CLs in ovarian tissue slices, reducing the need for manual annotation and serial sectioning, and providing accurate ovarian toxicity assessment.

Benefits of technology

The method achieves accurate and reproducible CL counting, comparable to pathologist assessments, while reducing workload and costs, and can be applied to automate H&E-stained sections, thus improving the efficiency and accuracy of ovarian toxicity evaluation.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 0007553467000012
    Figure 0007553467000012
  • Figure 0007553467000017
    Figure 0007553467000017
  • Figure 0007553467000011
    Figure 0007553467000011
Patent Text Reader

Abstract

The present disclosure relates to a deep learning neural network capable of identifying corpora lutea in ovaries and a rule-based technique capable of counting the identified corpora lutea in ovaries and inferring the ovarian toxicity of a compound based on the corpora lutea (CL) count. In particular, aspects of the disclosure relate to obtaining a set of images of tissue slices from ovaries treated with an amount of a compound, using a neural network model to generate a set of images having bounding boxes around objects identified as CLs in the set of images based on predicted coordinates for the bounding boxes, counting the bounding boxes in the set of images to obtain a CL count for the ovaries, and determining the ovarian toxicity of the amount of the compound based on the CL count.
Need to check novelty before this filing date? Find Prior Art

Description

CROSS-REFERENCE TO RELATED APPLICATIONS

[0001] This application claims priority to and the benefit of U.S. Provisional Application No. 62 / 834,237, entitled “OVARIAN TOXICITY ASSESSMENT IN HISTOPATHOLOGICAL IMAGES USING DEEP LEARNING,” filed April 15, 2019, the entire contents of which are incorporated herein by reference for all purposes. [Technical field]

[0002] The present disclosure relates to ovarian toxicity assessment, and in particular to a deep learning neural network that can identify corpora lutea in the ovaries, and a rule-based technique that can count the corpora lutea identified in the ovaries and infer the ovarian toxicity of a compound based on the corpus luteum count. [Background technology]

[0003] Identification of ovarian pathology in preclinical trials is important in the general safety evaluation of novel therapeutics, since oocytes do not have the capacity to regenerate and any abnormality in the ovaries may be directly related to impaired female fertility. Identification of ovarian pathology and provision of specific information on ovarian pathology typically involves qualitative and quantitative evaluation of follicles within the ovaries. As the ovary is a complex structure and its morphology changes with the estrous cycle, detection of ovarian dysfunction requires a thorough understanding of normal ovarian morphology and the variation of ovarian morphology throughout the estrous cycle. In particular, knowledge of the growth of ovarian follicles and their regression, as well as the hypothalamic-pituitary-gonadal control system, is essential for the evaluation of ovarian abnormalities.

[0004] Primordial germ cells within the ovaries proliferate during fetal development. At birth, the ovaries contain thousands of primordial follicles that contain primary oocytes. These primary oocytes do not undergo further mitosis, and they remain arrested in the early stages of meiosis I until sexual maturation. At sexual maturation, two hormones produced by the pituitary gland: follicle-stimulating hormone (FSH) and luteinizing hormone (LH), develop these primordial follicles. In each estrous cycle, some primordial follicles are activated and begin maturation. However, not all follicles mature completely, and the remainder contribute to the endocrine function of the ovary. Once activated, the first meiotic division is completed and the primary follicles mature into secondary follicles. The second division then begins, forming graphean follicles. Graphean follicles contain secondary oocytes. This second division is not completed unless the egg is fertilized.

[0005] The development and maturation of the primordial follicle into a graphian follicle results in an increase in estrogen levels, as estrogen is secreted by the follicular cells. This increase in estrogen levels feeds back to the pituitary gland, inhibiting further release of FSH (negative feedback). The follicle also releases a second hormone called inhibin, which also inhibits further production of FHS. As estrogen levels rise, this causes a mid-cycle surge in LH, thereby causing the graphian follicle to burst (ovulation). LH also luteinizes the ruptured graphian follicle, forming a temporary endocrine organ called the corpus luteum (CL). It appears yellow because of its pigmented lutein cells. The CL secretes progesterone and estrogen. Progesterone levels feed back to the pituitary gland, inhibiting further release of LH. If fertilization does not occur, the CL degenerates into a small white fibrous scar called the corpus albuginea. The resulting drop in progesterone (and to some extent estrogen) levels promotes menstruation. The drop in estrogen levels feeds back to the pituitary gland and there is a corresponding increase in FSH, initiating the estrous cycle again. Qualitative and quantitative follicular analysis using serial sections of the ovaries is acceptable for both fertility and toxicology assessment, but this approach is very laborious and time consuming. Summary of the Invention

[0006] In various embodiments, a method is provided that includes obtaining a set of images of tissue slices from one or more ovaries treated with an amount of a compound, inputting the set of images into a neural network model constructed as a one-stage detector using focal loss as at least a portion of a loss function, predicting coordinates of bounding boxes around one or more objects in the set of images that are identified as CLs using the neural network model, outputting a set of images having bounding boxes around the one or more objects identified as CLs based on the predicted coordinates for the bounding boxes using the neural network model, counting the bounding boxes in the set of images output from the deep learning neural network to obtain a CL count for the ovaries, and determining ovarian toxicity of the amount of the compound based on the CL count for the ovaries.

[0007] In some embodiments, tissue slices are stained with hematoxylin and eosin (H&E).

[0008] In some embodiments, the method further includes obtaining tissue slices from one or more ovaries, mounting the tissue slices onto a plurality of slides, treating the plurality of slides with a hematoxylin-eosin (H&E) stain, and imaging each slide of the plurality of slides with an imaging device to generate a set of images of the tissue slices.

[0009] In some embodiments, the one or more ovaries is a plurality of ovaries, and the set of images includes at least one image of a tissue slice from each ovary of the plurality of ovaries.

[0010] In some embodiments, the one or more ovaries are from one or more subjects.

[0011] In some embodiments, the neural network model is constructed based on a model architecture selected from the group consisting of a Single Shot Multibox Detector (SSD) architecture, a You-Only Look Once (YOLO) architecture, and a RetinaNet architecture.

[0012] In some embodiments, the neural network model comprises a plurality of parameters trained using a set of training data, the set of training data comprising: a plurality of training sets of images of H&E stained slides of tissue sections from ovaries, each training set of images from the training set of the plurality of images being from one of a plurality of different subjects, the plurality of different subjects including (i) treated with the same or different compounds, (ii) not treated with the same or different compounds, or (iii) a combination thereof; and a plurality of sets of boundary boxes, each boundary box associated with a CL identified in one of the images from the training set of the plurality of images, a loss function relating the parameters and the training set of the plurality of images to the set of the plurality of boundary boxes, a focal loss downweighting boundary boxes predicted during training on non-CL morphology or background in the training set of the plurality of images and focusing the training on the boundary boxes predicted for CLs.

[0013] In some embodiments, at least one training set of images of the training set of the multiple images is adjusted before being used for training according to a difference in image means for each of a plurality of color channels of the images in the training set of the at least one image, and the difference in image means is calculated relative to another training set of images of the training set of the multiple images.

[0014] In some embodiments, the image mean for each of multiple color channels of the image is calculated as the average value of the color channel across images in a training set of at least one image.

[0015] In some embodiments, the method further includes using the neural network model to identify one or more objects in the set of images as CLs, where the identifying includes generating a probability score for each object among the one or more objects identified as CLs, and where the counting includes only counting bounding boxes in the set of images around the one or more objects identified as CLs and having a probability score greater than a predetermined probability score threshold.

[0016] In some embodiments, determining ovarian toxicity includes comparing the CL counts for the ovaries to a predetermined toxicity threshold and determining that the amount of the compound is not toxic to the ovaries if the CL counts are above the predetermined toxicity threshold and determining that the amount of the compound is toxic to the ovaries if the CL counts are below the predetermined toxicity threshold.

[0017] In some embodiments, the set of images of tissue slices is obtained from an ovary of the subject treated with the amount of the compound, and the method further includes obtaining another set of images of tissue slices from another ovary of the subject treated with the amount of the compound, generating another set of images having a bounding box around each object among the objects identified as CL in the set of another images based on predicted coordinates for the bounding boxes using the neural network model, counting the bounding boxes in the set of another image output from the deep learning neural network to obtain another CL count for the another ovary, and averaging the CL count for the ovary and the another CL count for the another ovary to obtain an average CL count, and ovarian toxicity of the amount of the compound is determined based on the average CL.

[0018] In some embodiments, the method further includes obtaining another set of images of tissue slices from one or more other ovaries, untreated or treated with a different amount of the compound, using the neural network model to generate another set of images having a bounding box around each object identified as a CL in the another set of images based on the predicted coordinates for the bounding box, and counting the bounding boxes in the another set of images output from the deep learning neural network to obtain another CL count for the ovaries, wherein ovarian toxicity of the amount or different amounts of the compound is determined based on a trend between the CL count for the one or more ovaries and the another CL count for the one or more other ovaries.

[0019] In some embodiments, the method further includes obtaining another set of images of tissue slices from one or more other ovaries treated with an amount of the different compound, using the neural network model to generate another set of images having a bounding box around each object identified as a CL in the another set of images based on the predicted coordinates for the bounding box, counting the bounding boxes in the another set of images output from the deep learning neural network to obtain another CL count for the ovaries of the other subject, and determining ovarian toxicity of the amount of the different compound based on the CL counts for the one or more other ovaries.

[0020] In some embodiments, the method further includes providing a set of images having a bounding box around each object among the objects identified as a CL, a CL count for one or more ovaries, an ovarian toxicity of an amount of the compound, or any combination thereof.

[0021] In some embodiments, the method further comprises administering treatment with a compound based on the ovarian toxicity of an amount of the compound.

[0022] In some embodiments, the method further comprises producing or having produced the compound based on the ovarian toxicity of an amount of the compound.

[0023] In some embodiments, a system is provided that includes one or more data processors and a non-transitory computer-readable storage medium that includes instructions that, when executed on the one or more data processors, cause the one or more data processors to perform some or all of one or more of the methods disclosed herein.

[0024] In some embodiments, a computer program product is provided that is tangibly embodied in a non-transitory machine-readable storage medium and includes instructions configured to cause one or more data processors to perform some or all of one or more of the methods disclosed herein.

[0025] Some embodiments of the present disclosure include a system including one or more data processors. In some embodiments, the system includes a non-transitory computer-readable storage medium including instructions that, when executed on the one or more data processors, cause the one or more data processors to perform some or all of the methods and / or some or all of the processes disclosed herein. Some embodiments of the present disclosure include a computer program product tangibly embodied in a non-transitory machine-readable storage medium including instructions configured to cause the one or more data processors to perform some or all of the methods and / or some or all of the processes disclosed herein.

[0026] The terms and expressions used are used as terms of description and not of limitation, and in the use of such terms and expressions there is no intention to exclude equivalents of the features shown and described or portions thereof, but it is recognized that various modifications are possible within the scope of the invention as claimed. Thus, although the invention as claimed has been specifically disclosed by embodiments and optional features, it will be understood that modifications and variations of the concepts disclosed herein may be resorted to by those skilled in the art, and such modifications and variations are considered to be within the scope of the invention as defined by the appended claims. [Brief description of the drawings]

[0027] The present disclosure is described in conjunction with the accompanying drawings, in which:

[0028] [Figure 1] 1 illustrates an exemplary computing environment for ovarian toxicity assessment in accordance with various embodiments.

[0029] [Diagram 2] 1 shows an exemplary schematic diagram illustrating a RetinaNet architecture in accordance with various embodiments.

[0030] [Diagram 3] 1 illustrates a process for assessing ovarian toxicity according to various embodiments.

[0031] [Figure 4] 1 shows a flowchart illustrating an exemplary method and an exemplary model for detecting ovarian toxicity, according to various embodiments.

[0032] [Figure 5A] It is shown that the trained exemplary model, according to various embodiments, can accurately detect CL. [Figure 5B] It is shown that the trained exemplary model, according to various embodiments, can accurately detect CL. [Figure 5C] It is shown that the trained exemplary model, according to various embodiments, can accurately detect CL. [Figure 5D] It is shown that the trained exemplary model, according to various embodiments, can accurately detect CL.

[0033] [Figure 6A] FIG. 13 shows the performance of an exemplary model according to various embodiments, where the error in CL counts from the trained model resembled the variation between pathologists and the CL counts from the trained model were highly correlated with the pathologists' results. [Figure 6B] FIG. 13 shows the performance of an exemplary model according to various embodiments, where the error in CL counts from the trained model resembled the variation between pathologists and the CL counts from the trained model were highly correlated with the pathologists' results. [Figure 6C] FIG. 13 shows the performance of an exemplary model according to various embodiments, where the error in CL counts from the trained model resembled the variation between pathologists and the CL counts from the trained model were highly correlated with the pathologists' results. [Figure 6D] FIG. 13 shows the performance of an exemplary model according to various embodiments, where the error in CL counts from the trained model resembled the variation between pathologists and the CL counts from the trained model were highly correlated with the pathologists' results.

[0034] [Figure 7A] 1 shows exemplary results showing that CL counts are affected by ovarian tissue area and level, according to various embodiments. [Figure 7B] 1 shows exemplary results showing that CL counts are affected by ovarian tissue area and level, according to various embodiments. [Figure 7C] 1 shows exemplary results showing that CL counts are affected by ovarian tissue area and level, according to various embodiments.

[0035] [Figure 8A] 1 shows exemplary results showing that tissues with ovarian toxicity exhibited significantly lower CL counts normalized to tissue area, according to various embodiments. [Figure 8B] 1 shows exemplary results showing that tissues with ovarian toxicity exhibited significantly lower CL counts normalized to tissue area, according to various embodiments. [Figure 8C] 1 shows exemplary results showing that tissues with ovarian toxicity exhibited significantly lower CL counts normalized to tissue area, according to various embodiments.

[0036] In the accompanying drawings, similar components and / or features may have the same reference label. Furthermore, various components of the same type may be distinguished by following the reference label with a dash and a second label that distinguishes the similar components. If only a first reference label is used in this specification, the description is applicable to any of the similar components having the same first reference label, regardless of the second reference label. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0037] I. Overview The present disclosure describes a technique for evaluating ovarian toxicity. More specifically, various embodiments of the present disclosure provide a deep learning neural network that can identify CL in ovary, and a rule-based technique that can count the identified CL in ovary and infer the ovarian toxicity of a compound based on the count of CL.

[0038] Identification of ovarian pathology in animal toxicity studies (e.g., mouse studies) is important in the general safety evaluation of novel therapeutics. In some patient populations, the tolerability of drug-related ovarian toxicity must be carefully considered with respect to patient risk / benefit, and specific information regarding ovarian pathology can inform the clinical management of reproductive toxicity, such as the potential need for egg storage and other assisted reproductive procedures.

[0039] The current gold standard for evaluation of the ovaries in general toxicity and fertility studies is histopathological examination by a pathologist of hematoxylin-and-eosin (H&E)-stained sections. Pathologists typically evaluate the presence or absence of CL, the stage and number of follicles, and integrate ovarian pathological changes in the context of histological changes in other organs of the reproductive tract. Given the short estrous cycle of rats of approximately 4-6 days, there is considerable dynamic structural and physiological heterogeneity in rodent ovaries. This can make it difficult to discern clear test article-related effects (e.g., effects from therapeutic candidate compounds) using standard single-section evaluations.

[0040] In a cross-industry collaborative study comparing the validity of ovarian histopathological evaluation of single H&E sections from repeated-dose and fertility studies, both significant increases and decreases in CL counts were identified by pathologists as evidence of ovarian toxicity. (Sanbuissho, A., Yoshida, M., Hisada, S., Sagami, F., Kudo, S., Kumazawa, T., Ube, M., Komatsu, S., Ohno, Y., 2009. Collaborative work on evaluation of ovarian toxicity by repeated-dose and fertility studies in female rats. J Toxicol Sci 34 Suppl 1, SP1-22). However, it has been reported that enumeration of CL from single tissue sections is subject to sampling error. (Meredith, S., Dudenhoeffer, G., Jackson, K., 1999. Single-section counting error when distinguishing between primordial and early primary follicles in sections of rat ovary of different thickness. J Reprod Fertil 117(2), 339-343). In addition, Bucci et al. also demonstrated that follicle counts from the 1% sample strategy have a larger error term. (Bolon, B., Bucci, TJ, Warbritton, AR, Chen, JJ, Mattison, DR, Heindel, JJ, 1997. Differential follicle counts as a screen for chemically induced ovarian toxicity in mice: results from continuous breeding bioassays. Fundam Appl Toxicol 39(1), 1-10). Furthermore, given the large number of animals included in a single study combined with the numerous ovarian structures that need to be evaluated in each tissue section, histopathological evaluation of these sections is time consuming and has the potential for error.Quantification of CL from studies using single H&E sections can detect ovarian toxicity, but limited studies have investigated the effect of ovarian sectioning location or tissue area on CL counts and interpretation of potential test articles (e.g., therapeutic candidate compounds) due to the sectioning location and number of sections examined histologically. Taking all this into consideration, for a complete morphological characterization of the ovary, stereology or modified stereology approaches to quantify CL or follicles should be performed, however, this type of analysis requires time-consuming examination and manual annotation of serial sections by a pathologist.

[0041] To address these limitations and problems, the techniques described herein for assessing ovarian toxicity include the use of a deep learning neural network that can identify ovarian corpora lutea, and a rule-based technique that can count the CLs identified in the ovaries and infer the ovarian toxicity of the compound based on the CL counts. One exemplary embodiment of the present disclosure relates to a method including: obtaining a set of images of tissue slices from one or more ovaries treated with a quantity of a compound; inputting the set of images into a neural network model constructed as a one-stage detector using focal loss as at least a portion of a loss function; identifying an object in each image of the set of images using the neural network model; predicting coordinates of a bounding box around one or more of the objects identified as CLs based on identifying the object; outputting a set of images having a bounding box around each of the one or more objects classified as CLs based on the predicted coordinates for the bounding box using the neural network model; counting the bounding boxes in the set of images output from the deep learning neural network to obtain the CL counts of the ovaries; and determining the ovarian toxicity of the compound based on the CL counts for the ovaries.

[0042] Advantageously, these approaches provide deep neural network architectures that can accurately identify ovarian CLs and reproducibly detect ovarian toxicity, potentially reducing pathologist workload, including reducing the time and expense of examining and manually annotating serial ovarian sections. Additionally, these approaches can provide automated digital image analysis of hematoxylin-eosin-stained (H&E-stained) sections to quantify ovarian (e.g., mammalian ovaries) CLs with similar accuracy as gold-standard pathologist light microscopy evaluation. By utilizing H&E-stained sections, the need for special stains (e.g., progesterone / prolactin to highlight CLs) that would add cost and time delays in routine screening of therapeutic candidate compounds can be avoided. II. Definition

[0043] As used herein, when an action is "based on" something, this means that the action is based at least in part on at least a part of the something.

[0044] As used herein, the terms "substantially," "approximately," and "about" are defined as being largely, but not necessarily entirely, specified (and including that which is entirely specified), as would be understood by one of ordinary skill in the art. In any disclosed embodiment, the terms "substantially," "approximately," or "about" can be replaced with "within [a percentage]" of that which is specified, where the percentage includes 0.1, 1, 5, and 10%.

[0045] As used herein, a "subject" includes one or more cells, tissues, or organisms. A subject can be human or non-human, whether in vivo, ex vivo, or in vitro, male or female. A subject can be a mammal, such as a human, mouse, or rat.

[0046] As used herein, a "compound" is two or more distinct elements chemically bonded together. The compound may be a therapeutic candidate compound, such as an antibody or a pharmacological drug. III. Evaluation techniques for ovarian toxicity

[0047] In various embodiments, the evaluation of ovarian toxicity is divided into two parts. The first part of the evaluation involves using a deep learning neural network to identify ovarian CLs. The deep learning neural network is constructed with a modified loss function (i.e., focal loss) to downweight simple examples, thus focusing on hard negatives and overcoming the imbalanced nature of the training data used to train the deep learning neural network. Additionally, the deep learning neural network may be trained using an extended dataset such that the trained deep learning neural network can identify CLs in ovarian morphology across an extended range of colors and / or saturation levels found in images of a typical use case of ovarian slices. The trained deep learning neural network takes as input images of ovarian slices and outputs an image having bounding boxes around each instance of an inferred CL in the ovarian slice. In some examples, each bounding box has an associated probability score of the CL present within the bounding box. The second part of the evaluation involves counting ovarian CLs based on the bounding boxes and using rule-based techniques to infer the ovarian toxicity of the compound based on the count of CLs. Images with bounding boxes and probability scores for CL instances, CL counts, and / or compound ovarian toxicity are then output for storage and use by the end user. III.A Exemplary Computing Environment

[0048] 1 illustrates an exemplary computing environment 100 (i.e., a data processing system) for ovarian toxicity assessment using deep learning neural networks, according to various embodiments. As illustrated in FIG. 1, the ovarian toxicity assessment performed by the computing environment 100 in this example includes several stages, namely, a model training stage 105, a CL identification stage 110, a CL counting stage 115, and an ovarian toxicity assessment stage 120. The model training stage 105 builds and trains one or more models 125a-125n (where "n" represents any natural number) (which may be referred to herein individually as models 125 or collectively as models 125) to be used by the other stages. The model 125 can be, for example, a convolutional neural network ("CNN"), such as an initial neural network, a residual neural network ("Resnet"), a RetinaNet, a single shot multibox detector ("SSD") network, a you-only look once ("YOLO") network, or a recurrent neural network ("RNN"), such as a long short-term memory ("LSTM") model or a gated recurrent unit ("GRU") model, or any combination thereof. The model 125 can also be any other suitable ML model trained in object detection from images, such as a three-dimensional CNN ("3DCNN"), a dynamic time warping ("DTW") technique, a hidden Markov model ("HMM"), or the like, or a combination of one or more of such techniques, such as a CNN-HMM or an MCNN (multiscale convolutional neural network). The computing environment 100 can use the same type of model or a different type of model for the identification of CLs in the ovaries. In a particular example, model 125 is constructed with a focal loss as a loss function that compensates for the imbalanced nature within each image between the non-CL morphology of the ovary and the CL of the ovary, as described in further detail herein.

[0049] To train the model 125 in this example, samples 130 are generated by acquiring digital images, splitting the images into a subset of images 130a (e.g., 90%) for training and a subset of images 130b (e.g., 10%) for validation, preprocessing the subset of images 130a and the subset of images 130b, enhancing the subset of images 130a, and annotating the subset of images 130a with labels 135. The images are of ovarian tissue sections and can be acquired from a data storage structure such as a database, an imaging system (e.g., an optical microscope camera) (e.g., a 5x magnification scan of the ovarian tissue section can be extracted from a 20x scan acquired by an optical microscope camera). The images can be of ovarian tissue sections from various levels within the right and / or left ovaries of one or more subjects. In some examples, the images are of ovarian tissue sections stained with histological stains such as carmine, silver nitrate, Giemsa, trichrome stain, Gram stain, hematoxylin, and H&E stain. In certain examples, the histological stain is an H&E stain. In certain examples, the images in the training image subset 130a are images in which substantially all or all of the images have not been treated with a compound and have normal counts of CL (e.g., 1 to 1.5 counts / mm of tissue area). 2 ) of the subject's ovaries are acquired according to a protocol or constraints, whereas images in validation image subset 130b are images in which a portion of the images have not been treated with the compound and have normal counts of CL (e.g., 1.0 to 1.5 counts / mm of tissue area). 2 ) of a subject's ovary, where a portion of the image has been treated with a compound and the CL counts are reduced or abnormal (e.g., 0.5 to 1.0 counts / mm2 of tissue area). 2 ) of the subject's ovaries and / or where a portion of the image has been treated with a compound and the CL counts are very low and abnormal (e.g., 0.0 to 0.5 counts / mm2 of tissue area). 2 ) of a subject's ovaries, which are obtained according to different protocols or constraints.

[0050] The splitting may be performed randomly (e.g., 90 / 10% or 70 / 30%), or the splitting may be performed according to more complex validation techniques such as K-fold cross-validation, leave-one-out cross-validation, leave-one-out cross-validation, nested cross-validation, etc., to minimize sampling bias and overfitting. Pre-processing may include cropping the images so that each image contains only a single ovarian section. In some examples, pre-processing may further include standardization or normalization to place all features on the same scale (e.g., the same size scale or the same color scale or saturation scale, as described in more detail herein). In certain examples, the images are resized with a minimum side (width or height) of a given number of pixels (e.g., 2500 pixels) or a maximum side (width or height) of a given number of pixels (e.g., 3000 pixels) to maintain the original aspect ratio.

[0051] Augmentation may be used to artificially expand the size of the subset of images 130a by creating modified versions of the images in the dataset. Image data augmentation may be performed by creating transformed versions of images in the dataset that belong to the same class as the original image. Transformations include a range of operations from the field of image manipulation such as shift, flip, zoom, etc. In some examples, operations include random erasure, shift, brightness, rotation, Gaussian blur, and / or elastic transformation to ensure that the model 125 can perform under circumstances outside those available from the subset of images 130a. Additionally or alternatively, as described in more detail herein, augmentation may be used to artificially expand the color spectrum and / or saturation levels of images that the model 125 can take as input after deployment. The color spectrum and / or saturation level augmentation can be performed by taking a difference between the image average of color and / or saturation (e.g., red channel) between the images of the group of images of the image subset 130a (e.g., images obtained from a first toxicological test) and the image average of color and / or saturation (e.g., red channel) of one or more other groups of images of the image subset 130a (e.g., images obtained from other toxicological tests), multiplying the difference by a random coefficient (e.g., in the range of -20 to -40) to obtain an extended color spectrum and / or saturation level, and adding the extended color spectrum and / or saturation level to different groups of images of the image subset 130a for further data augmentation. This further data augmentation can improve the performance of the model 125 on images input for inference from various sources or tests.

[0052] Annotation can be performed manually by one or more humans (annotators, such as pathologists) who identify the presence of one or more instances of CL in each image of the image subset 130a and provide labels 135 for the one or more instances of CL, e.g., using annotation software to draw bounding boxes (ground truth) around areas identified by the humans to contain one or more instances of CL. In a particular example, bounding boxes may be drawn only for instances that have a probability of being a CL greater than 50%. For images that are annotated by multiple annotators, the bounding boxes from all annotators are used. If the same CL is identified by multiple annotators, the individual annotations are combined into a single bounding box. Smaller bounding boxes are replaced with larger bounding boxes. A total CL count for each image can be calculated by counting the number of bounding boxes for each ovarian section, and the information can be annotated to the image using the labels 135.

[0053] The training process of the model 125 includes selecting hyperparameters for the model 125 and performing iterations of inputting images from the subset of images 130a into the model 125 to find a set of model parameters (e.g., weights and / or biases) that minimizes a loss or error function of the model 125. Hyperparameters are settings that can be tuned or optimized to control the behavior of the model 125. Most models explicitly define hyperparameters that control different aspects of the model, such as memory or execution cost. However, additional hyperparameters can be defined to adapt the model to specific scenarios. For example, hyperparameters can include the number of hidden units of the model, the learning rate of the model, or the convolution kernel width of the model. Each iteration of training can include finding a set of model parameters of the model 125 (configured by the defined set of hyperparameters) such that the value of the loss or error function using the set of model parameters is less than the value of the loss or error function using a different set of model parameters in the previous iteration. A loss or error function can be constructed to measure the difference between the output inferred using model 125 (in this example, a bounding box around one or more instances of CL) and a ground truth bounding box annotated to the image using labels 135.

[0054] Once a set of model parameters has been identified, the model 125 can be trained and validated using a subset 130a of images (a test or validation data set). The validation process involves iterative operations of inputting images from the subset 130b of images into the model 125 using validation techniques such as K-fold cross-validation, leave-one-out cross-validation, leave-one-out cross-validation, nested cross-validation, etc., to tune the hyper-parameters and ultimately find an optimal set of hyper-parameters. Once an optimal set of hyper-parameters is obtained, a reserved test set of images from the subset 130b of images is input into the model 125 to obtain an output (in this example, a bounding box around one or more instances of CL), which is then evaluated against the ground truth bounding boxes using correlation techniques such as Bland-Altman and Spearman's rank correlation coefficients, and calculating performance metrics such as error, precision, accuracy, recall, and receiver operating characteristic curves (ROC).

[0055] As should be understood, other training / validation mechanisms are envisioned and may be implemented within the computing environment 100. For example, a model may be trained and hyperparameters may be tuned on images from the subset of images 130a, and images from the subset of images 130b may be used only to test and evaluate the performance of the model. Furthermore, the training mechanisms described herein focus on training new models 125. These training mechanisms may also be utilized to fine-tune existing models 125 trained from other datasets. For example, in some instances, the model 125 may have been pre-trained using images of other biological structures (non-ovarian sections) or from ovarian sections from other subjects or studies (e.g., human studies or mouse experiments). In those cases, the model 125 may be used for transfer learning and retrained / validated using samples 130 as described herein.

[0056] The model training stage 105 outputs trained models including one or more trained CL object detection models 140. In the CL identification stage 110, the one or more CL object detection models 140 can be used to obtain a bounding box around each instance of a putative CL where the associated probability score of the CL is present in the bounding box. The CL identification stage 110 can include a process (e.g., instructions that, when executed on one or more data processors, cause the one or more data processors to perform part or all of one or more methods and / or part or all of one or more processes) for acquiring image data 145. In some examples, the acquiring includes acquiring images of ovarian tissue sections from a data storage structure such as a database, an image system, etc. The images can be of ovarian tissue sections from various levels within the right and / or left ovaries of one or more subjects. In some examples, the images are of ovarian tissue sections stained with a histological stain such as carmine, silver nitrate, Giemsa, trichrome stain, Gram stain, hematoxylin, and H&E stain. The images in image data 145 can be of ovaries of the same or different subjects, untreated or treated with the same or different compounds.

[0057] The CL identification stage 110 may further include an optional process for pre-processing the image data 145. In some examples, the pre-processing includes standardization or normalization to put all features on the same scale (e.g., the same size scale or the same color or saturation scale, as described in more detail herein). In a particular example, the image is resized with a minimum side (width or height) of a given number of pixels (e.g., 2500 pixels) or a maximum side (width or height) of a given number of pixels (e.g., 3000 pixels) to maintain the original aspect ratio. The CL identification stage 110 further includes a process for inputting the image data 145 (with or without pre-processing) into a CL object detection model 140 to run the CL object detection model 140. The CL object detection model 140 infers one or more instances of CLs in each image based on the model parameters and outputs an image 150 having a bounding box around each instance of the inferred CL. In a particular example, each bounding box has an associated probability score of the CL present in the bounding box.

[0058] The CL counting stage 115 includes processes (e.g., instructions that, when executed on one or more data processors, cause the one or more data processors to perform part or all of one or more methods and / or part or all of one or more processes) for obtaining or receiving the output image 150 from the CL identification stage 110. The CL counting stage 115 further includes processes for executing a rule-based technique to count the inferred one or more instances of CL in the output image 150. In some examples, the rule-based technique can count bounding boxes in each image associated with an ovary from a non-subject to obtain a total ovarian CL count 155. In other examples, the rule-based technique can count bounding boxes in each image associated with a first ovary (e.g., left ovary) from the subject to obtain a total ovarian CL count 155, and count bounding boxes in each image associated with a second ovary (e.g., right ovary) from the subject to obtain a total ovarian CL count 155. In certain examples, the rule-based technique can average the total CL count for the first ovary and the total CL count for the second ovary (or apply another similar statistical approach) to obtain an average CL count 155 for the subject. Bounding boxes with a probability score below a predetermined threshold (e.g., 0.5 or 0.75) may not be counted by the rule-based technique. In yet other examples, the rule-based technique can use any other counting method for the bounding boxes in each image associated with the sample, optionally taking into account the associated probability scores, to obtain a total CL count for the sample.

[0059] The CL ovarian toxicity assessment stage 120 includes a process (e.g., instructions that, when executed on one or more data processors, cause the one or more data processors to perform part or all of one or more methods and / or part or all of one or more processes) for obtaining or receiving the total or average counts 155 from the CL counting stage 115. The CL ovarian toxicity assessment stage 120 further includes a process for executing a rule-based technique for inferring the ovarian toxicity 160 (mammalian ovarian toxicity) of the compound based on the total or average counts 155. Ovarian toxicity can be determined across different amounts and different compounds using the same CL object detection model 140. First, it was surprisingly discovered how good and accurate the individual counts of CL tracks with ovarian toxicity of a compound are (as supported by the data described herein with respect to the examples). Traditionally, ovarian toxicity assessment of a compound or environment is based on qualitative and quantitative analysis of several factors, including the morphology and number of follicles combined with the presence or absence of CL. Second, it was surprising to discover how well and accurately the individual counts of the CL track were able to be used to assess the ovarian toxicity of a wide range of different compounds (as supported by the data discussed herein with respect to examples for multiple compounds).

[0060] In some instances, the rule-based techniques use a predefined toxicity threshold (e.g., 1.5 counts / mm of tissue area). 2A total CL count or average CL count less than 100 indicates toxicity of the compound to the ovaries) can be used to infer ovarian toxicity 160 from the total or average count 155 as a binary outcome (e.g., the compound is toxic or the compound is not toxic) based on the total or average count 155 being indicative of toxicity of the compound to the ovaries. In other examples, the rule-based techniques can infer ovarian toxicity 160 from a trend in the total or average count 155 associated with two or more dose levels of the compound (e.g., baseline or no compound introduced to the subject, and a dose level of the compound introduced to the subject). In yet other examples, the rule-based techniques can use any other inferential method (e.g., non-binary) for toxicity assessment associated with a sample, optionally considering two or more dose levels of the compound to determine ovarian toxicity 160 of the compound.

[0061] Although not explicitly shown, it will be understood that computing environment 100 can further include a developer device associated with a developer. Communications from the developer device to components of computing environment 100 can indicate what types of input images should be used for the deep learning neural networks, the number and types of deep learning neural networks to be used, the hyperparameters of each deep learning neural network, e.g., learning rate and number of hidden layers, how data requests should be formatted, what training data should be used (e.g., and how to gain access to the training data) and what validation techniques should be used, and / or how the rule-based techniques should be configured. III.B Exemplary Data Augmentation for Model Training

[0062] In some embodiments, the deep learning neural network is trained on images of ovarian sections from the ovaries of subjects that have not been treated with a compound and that have been stained with histological stains, such as carmine, silver nitrate, Giemsa, trichrome stain, Gram stain, hematoxylin, and H&E stain. Histological stains are colorants used to visualize native morphology within a sample, and not stains such as immunohistochemical stains to selectively identify specific structures within a sample. This allows the deep learning neural network to be trained and used on images obtained through inexpensive and fairly simple staining processes, such as H&E staining, compared to images obtained through more expensive and complex staining processes, such as immunohistochemical staining.

[0063] However, samples stained by histological stains are prone to color variation (e.g., H&E staining can result in the same structure of a sample being stained along a color spectrum between dark purple to light pink). This color variation can be due to variations in the stain or staining process, e.g., variations in the timing of the staining process, e.g., leaving the stain on the slide for a long period of time versus a short period of time can result in darker or lighter colors, and variations in the ingredients used to make the stain, e.g., different chemicals in the water used to reconstitute the pigment or dye can result in different colors along the spectrum. To address this variation in color and / or saturation levels, images of the training data are augmented such that a deep learning neural network is trained to identify CLs within ovarian morphology over an extended range of color and / or saturation levels. Furthermore, conventional techniques such as color mapping of RGB colors of images from other datasets are inadequate to address this variation issue as such variations typically introduce noise (in either hue, saturation, or value) in the remapped colors, affecting model performance. Instead, to address these limitations and issues, an augmentation technique is provided for capturing color and / or saturation differences between different subsets of training data, augmenting one or more subsets of the training data with the captured differences to obtain an augmented subset of the training data, and training a deep learning neural network using the original subsets of the training data and the augmented subset of the training data to expand the color space and saturation levels that the deep learning neural network can take as input after deployment.

[0064] More specifically, the augmentation may be performed by obtaining an image mean for color and / or saturation (e.g., red channel) between images of a group of images from the training data (e.g., images obtained from a first toxicology test) and an image mean for color and / or saturation (e.g., red channel) of one or more other group of images (e.g., images obtained from other toxicology tests) from the training data. The calculated difference is then multiplied by a random factor (e.g., a range of random values ​​such as -20 to -40, 0 to -40, -10 to -60, etc.) to obtain an extended color spectrum and / or saturation level. The extended color spectrum and / or saturation are added (enhanced image = original image + difference * random factor) to generate one or more group of images of the training data for data augmentation.

[0065] As an example, assume that hypothetical trial A has two images (image-1 and image-2) to be used as training data, and hypothetical trial B has two images (image-3 and image-4) to be used as training data. In trial A, the image-1-red (image-1-R) channel (summed over each image) and the image-2-R channel are averaged into a single number meanAR, as well as generating numbers meanAG and meanAB for the green and blue channels. In trial B, the image-1-R and image-2-R channels are averaged into a single number meanBR, as well as for the green and blue channels meanBG and meanBB.

[0066] The image mean difference (for each color) can then be calculated as follows: Red difference dR=meanAR-meanBR Green difference dG=meanAG-meanBG Blue difference dB=meanAR-meanBB The red, green, and blue differences (dR, dB, and dG) are multiplied by random coefficients (e.g., a range of random values ​​such as -20 to -40, 0 to -40, -10 to -60, etc.) to obtain an extended color spectrum and / or saturation level (exR, exB, exG). The extended color spectrum and / or saturation level (exR, exB, exG) are added to the RGB channels of the two images of test A and / or the two images of test B to obtain a set of augmented images. The original two images and the augmented image from each of test A and test B are then used to train the model. This data augmentation can improve the performance of the model for images input for inference from various sources or tests (images that tend to have color and / or saturation variations). III.C. Exemplary Deep Learning Neural Networks

[0067] In various embodiments, a deep learning neural network capable of identifying ovarian CLs (object detection task involving predicting all four coordinate values ​​describing a bounding box) is provided. For object detection tasks, two different approaches can be used: (i) making a fixed number of predictions on a grid (one-stage); (ii) or leveraging a proposal network to find objects, then using a second network to fine-tune the proposals and output the final predictions (two-stage). One-stage detection (i.e., direct) was chosen for the deep learning network of this embodiment because it is easier to train with a smaller set of available training data and the model architecture is much simpler and faster. In some examples, the deep learning neural network is a CNN, such as an early neural network, Resnet, RetinaNet, or any combination thereof.

[0068] The deep learning neural network was trained on images of ovarian sections from subjects' ovaries at various stages of the estrous cycle and untreated with compounds (e.g., therapeutic candidate compounds). This resulted in an average of approximately 10 to 30 CL per ovary and approximately 1 to 1.5 CL counts / mm of tissue area for each slice. 2 Ensure a sufficiently large pool of images for training, with a CL count of 100%. However, the images have a large amount of non-CL morphology and background compared to a small amount of CL, if present, and therefore have a large set of candidate bounding box locations dominated by easily classified background examples. During training, the model often ends up with a large amount of bounding boxes that do not contain objects due to the nature of our "prediction on a grid" approach, which does not have an intermediate step of regional proposals to narrow down the number of candidate object locations to a smaller number, thus causing a class imbalance problem for one-stage detectors. Traditionally, this class imbalance problem is addressed by bootstrapping or online hard example mining. However, these techniques do not work efficiently in this example because: (i) the training examples used all contain CL (positive class), and therefore a set of images without CL cannot be used for bootstrapping purposes, and (ii) online hard example mining completely discards the easy examples, which are a large part of the training dataset, causing another class imbalance problem.

[0069] To overcome the class imbalance problem and achieve accurate identification and quantification of CL with limited training datasets, deep learning neural networks are constructed with a modified loss function (i.e., focal loss). The focal loss compensates for the imbalanced nature of images by reshaping the cross-entropy loss, thereby downweighting the loss assigned to well-classified examples and focusing training on hard negatives. For example, the cross-entropy loss for binary classification is expressed as: JPEG0007553467000001.jpg13170, where y∈{±1} is the ground truth class and p∈[0,1] is the estimated probability of the model. For convenience of notation, we use p t is defined and CE is rewritten as: JPEG0007553467000002.jpg21170This cross entropy loss function CE is a function of the cross entropy loss CE plus a modulation coefficient (1-p t ) γ where γ is a predetermined positive scalar value or focusing parameter. JPEG0007553467000003.jpg9170

[0070] Therefore, if an example is misclassified, p t When is small, the modulation factor (1-p t ) γ is close to 1 and the loss is unaffected. t →1, the modulation factor (1-p t ) γ becomes 0 and the loss for well-classified examples is downweighted. The focus parameter γ smoothly adjusts the rate at which easy examples are downweighted. When γ = 0, FL corresponds to CE. As γ increases, so does the modulation factor (1-p t ) γ The effect of the focal loss is increased. The focal loss is essentially a means of avoiding the gradient being overwhelmed by the accumulation of losses on easy examples (e.g., all non-CL ovarian morphologies and background). Instead, the focal loss focuses training on a sparse set of hard examples (e.g., rare CL examples), preventing a huge number of easy negatives (e.g., non-CL ovarian morphologies and background) from overwhelming the detector during training.

[0071] In various embodiments, the focal loss is implemented in RetinaNet as a classification loss function. As shown in FIG. 2, RetinaNet200 can be composed of: (i) a backbone network 205 composed of a feature pyramid network 210 built on top of ResNet215 in a fully convolutional manner that allows the backbone network 205 to capture images of any size and output proportionally sized feature maps at multiple levels in the feature pyramid network 210; (ii) a first sub-network 220 responsible for predicting the probability of an object being present at each spatial location for each anchor box and object class using the output of the backbone; (iii) a second sub-network 225 responsible for regressing the offset of the bounding box from the anchor box for each ground truth object using the output of the backbone. ResNet215 provides a bottom-up path, which computes feature maps at different scales regardless of the input image size or backbone. Several successive layers of ResNet215 can output feature maps of the same scale, but in general, feature maps of deeper layers have smaller scale / resolution. The bottom-up path is achieved by selecting the last feature map in each set of successive layers that outputs feature maps of the same scale.

[0072] These selected feature maps are used as the basis of the feature pyramid network 210, which provides a top-down path and lateral connections. The top-down path upsamples spatially coarse feature maps from higher pyramid levels, and the lateral connections merge top-down and bottom-up layers that have the same spatial size. More specifically, using nearest neighbor upsampling, the last feature map from the bottom-up path is expanded to the same scale as the penultimate feature map. These two feature maps are then merged by element-wise addition to form a new feature map. This process is repeated until each feature map from the bottom-up path has a corresponding new feature map connected by lateral connections. The higher level feature maps contain grid cells that cover a larger area of ​​the image and are therefore better suited to detect larger objects. In contrast, grid cells from lower level feature maps are better at detecting smaller objects. These feature maps can be used independently to make bounding box predictions, thus contributing to a model that is scale invariant and can provide better performance in terms of both speed and accuracy.

[0073] The first sub-network 220 is a fully convolutional network (FCN) mounted at each level of the feature pyramid network 210, which predicts the probability that an object exists at each spatial location for each anchor box (A) and object class (K). The first sub-network 220 may consist of multiple (e.g., 4) convolutional layers with multiple filters (e.g., 256) followed by rectified linear unit (RELU) activation. Then, another convolutional layer with K×AK×A filters can be applied, followed by a sigmoid activation. The first sub-network 220 shares parameters across all levels. The shape of the output feature map may be (W,H,KA), where W and H are proportional to the width and height of the input feature map, and K and A are the number of object classes and anchor boxes. Each anchor box is responsible for detecting the presence of objects from K classes in the area it covers. Thus, each anchor box corresponds to K numbers indicating class probabilities, and since there are A bounding boxes per grid, the output feature map of the first sub-network 220 has KA channels.

[0074] The second sub-network 225 is a recurrent sub-network mounted on each feature map of the feature pyramid network 210 and parallel to the first sub-network 220. The design of the second sub-network 225 is identical to that of the first sub-network 220, except that the last convolutional layer has 4A filters. Thus, the shape of the output feature map is (W, H, 4A), where W and H are proportional to the width and height of the input feature map, and A is the number of anchor boxes. Both the first sub-network 220 and the second sub-network 225 have an output feature map with width W and height H, and each of the W×H slices corresponds to a region in the input image. In addition to the first sub-network 220 detecting the presence / class of an object, each anchor box is also responsible for detecting the size / shape of the object. This is done via the second sub-network 225, which outputs four numbers for each anchor box that predict the relative offset (in terms of center coordinates, width, and height) between the anchor box and the ground truth box. The output feature map of the regression subnet thus has 4A channels. The subnet thus generates multiple values ​​(K from the first subnetwork 220, 4A channels from the second subnetwork 225) for the total count, expressed as: JPEG0007553467000004.jpg15170, where l denotes the level of the pyramid, and W and H are the width and height of the output feature map of the subnet of the anchor box. By using these numbers to refine the anchor box, it is possible for the model to output predictions of the four coordinates of the bounding box.

[0075] To calculate the loss for training RetinaNet200, a comparison is made between the predictions of the four bounding box coordinates and the ground truth bounding box coordinates. The loss of RetinaNet is a multitask loss that includes two terms: localization (L loc ) and the other is classification (L clsThe multitasking loss can be expressed as: JPEG0007553467000005.jpg9170Here, λ is the sum of the two task losses L loc and L cls The localization loss (L loc ) and classification loss (L cls ) is calculated based on a comparison between the predicted four coordinates of the bounding box and the coordinates of the ground truth bounding box. loc ) is the regression loss. As described herein, for each matching anchor box, the second subnet 225 predicts four numbers. The first two numbers specify the offset between the anchor box center and the ground truth, while the last two numbers specify the offset between the anchor box width / height and the ground truth. Correspondingly, for each of these predictions, there is a regression target calculated as the offset between the anchor box and the ground truth. Based on this regression target, a regression loss can be defined. The classification loss (L cls ) is a focal loss, as described in detail herein. The focal loss reduces the loss contribution from easy examples and increases the importance of correcting misclassified examples.

[0076] RetinaNet200 generates predictions of four coordinate values ​​that describe a bounding box around a putative instance of a CL in the ovary. For each input image of an ovary section, there are a number of anchor boxes from all levels of the feature pyramid network 210, represented as follows: JPEG0007553467000006.jpg14170For each anchor box, the first sub-network 220 predicts K numbers indicating the probability distribution of the presence of CLs in the image, while the second sub-network 225 predicts four numbers indicating the offset between each anchor box and the corresponding bounding box. To consider performance, the hyper-parameters of RetinaNet200 can be set so that the model selects at most a predetermined number of anchor boxes (e.g., 100) from each level of the feature pyramid network 210 that have the highest probability score of CLs existing in the bounding box, or selects anchor boxes (e.g., 100) from each level of the feature pyramid network 210 that exceed a predetermined threshold probability score (e.g., 0.75) of CLs existing in the anchor box, or a combination thereof based on a predetermined number of anchor boxes and a predetermined threshold probability score. Only these anchor boxes are included in the remaining stages performed by RetinaNet200. At this stage, CLs in the image can be predicted using multiple anchor boxes. To remove redundancy, non-maximum suppression (NMS) can be applied to the CL prediction, which iteratively selects the anchor box with the highest probability score and removes any duplicate anchor boxes with Intersection over Union greater than a set value, such as 0.5. In the final stage, for each remaining anchor box for CL identification, the second sub-network 225 provides an offset prediction that can be used to refine the anchor box to obtain a final bounding box prediction for each instance of the identified CL. IV. Techniques for assessing ovarian toxicity

[0077] FIG. 3 illustrates a process 300 for assessing ovarian toxicity according to various embodiments.

[0078] Process 300 begins at block 305, where tissue slices are obtained from one or more ovaries of one or more subjects (e.g., left and right ovaries of a mouse subject). In some examples, the subject has been treated with an amount of a compound (e.g., a dose of a therapeutic agent). In other examples, the subject has not been treated with an amount of a compound (e.g., a baseline). At block 310, the tissue slices are mounted on slides. The slides are substrates for use with a microscope. At block 315, the slides are treated with a histological stain, such as an H&E stain. In certain examples, the multiple slides are not treated with any other stains other than the H&E stain. At block 320, each slide is imaged with an imaging device (e.g., a camera attached to a microscope) to generate an image of the tissue slice. The images can be a set of images including at least one image of a tissue slice from each ovary of the multiple ovaries. The association of the images with the ovaries may be maintained in the image data using an identifier, such as a metadata tag.

[0079] At optional block 325, the images of the tissue slices are pre-processed. Pre-processing can include cropping the images so that each image contains only a single ovarian section. In some examples, pre-processing can further include standardization or normalization to place all features on the same scale (e.g., the same size scale or the same color or saturation scale, as described in more detail herein). In certain examples, the images are resized with a minimum side (width or height) of a given number of pixels (e.g., 2500 pixels) or a maximum side (width or height) of a given number of pixels (e.g., 3000 pixels) to maintain the original aspect ratio.

[0080] At block 330, the images are input to a neural network model constructed as a one-stage detector using focal loss as at least a portion of the loss function. The inputting can include iteratively inputting each image from a set of images of tissue slices from one ovary, then iteratively inputting each image from another set of images of tissue slices from another ovary, repeating this process until all images in the set of images have been processed by the neural network model.

[0081] The neural network model can be constructed based on an object detection model architecture, such as an SSD architecture, a YOLO architecture, or a RetinaNet architecture. In some examples, the neural network model includes a plurality of parameters trained using a set of training data, the plurality of parameters including: (i) a plurality of training sets of images of stained slides, such as H&E stained slides of tissue sections from ovaries, where each training set of images from the plurality of training sets of images is from one of a plurality of different subjects; and (ii) a plurality of sets of bounding boxes associated with CLs identified in one of the images from the plurality of training sets of images. A loss function of the neural network model relates the parameters and the training set of the plurality of images to the set of bounding boxes, and a focal loss downweights the bounding boxes predicted during training on non-CL morphology or background in the training set of the plurality of images and focuses the training on the bounding boxes predicted for CLs. In a particular example, the training set of at least one image of the training set of the plurality of images is adjusted before being used for training according to the difference of image means for each of a plurality of color channels of the images in the training set of the at least one image, and the difference of image means is calculated relative to another training set of images of the training set of the plurality of images. An image mean for each of a plurality of color channels of the image is calculated as the average value of the color channel across images in the training set of at least one image.

[0082] At block 335, one or more objects in the image are identified as being CLs using a neural network model (e.g., identifying can be performed as part of a classification scheme of CL objects from background objects or as a multi-class classification scheme of CL objects from other ovarian structures and / or cell types and background objects). In some examples, the CLs are identified or classified based on a feature map generated via a feature pyramid network in the neural network model. In particular examples, identifying or classifying includes generating a probability score for each object of the one or more objects identified or classified as a CL. At block 340, coordinates for a bounding box around one or more of the objects identified as CLs are predicted based on the identification or classification of the objects from block 335. At block 345, an image having a bounding box around one or more of the objects identified as CLs is output based on the predicted coordinates for the bounding box.

[0083] At block 350, bounding boxes in the image output from the deep learning neural network are counted to obtain a CL count for one or more ovaries of one or more subjects. The CL count can be generated based on a count per subject, where all bounding boxes in the image associated with a given subject (one or more ovaries of the subject) are counted to obtain a CL count. Alternatively, the CL count can be generated based on a count per ovary, where all bounding boxes in the image associated with a given ovary are counted to obtain a CL count. The CL accounts generated for each ovary associated with the same subject can then be averaged to obtain an average CL count for the subject. In a particular example, counting includes only counting bounding boxes in the image around objects classified as CL and having a probability score greater than a predetermined probability score threshold. In other examples,

[0084] In block 355, ovarian toxicity is determined for an amount of a compound (e.g., a dose of a therapeutic agent) based on the CL count of the ovary or the subject, or the average CL count of the subject. Ovarian toxicity can be determined across different amounts and different compounds using the same neural network model. In some examples (e.g., when images are obtained from a subject exposed to a single amount of a compound), determining ovarian toxicity includes comparing the CL count of the ovary or the subject, or the average CL count of the subject, to a predetermined toxicity threshold. If the CL count of the ovary or the subject, or the average CL count of the subject, exceeds the predetermined toxicity threshold, the amount of the compound is determined to be not toxic to the ovary. If the CL count of the ovary or the subject, or the average CL count of the subject, is equal to or less than the predetermined toxicity threshold, the amount of the compound is determined to be toxic to the ovary. In other examples (e.g., when images are obtained from multiple subjects exposed to multiple amounts of a compound (images from subjects treated with multiple amounts of a compound and baseline images from subjects not treated with any amount of a compound)), determining ovarian toxicity includes comparing a first CL count for an ovary or subject, or an average CL count for a subject, to a second, third, fourth, etc. CL count for another ovary or subject, or an average CL count for another subject, and determining a trend between the first, second, third, fourth, etc. CL counts based on the comparison, and determining ovarian toxicity based on the trend. For example, if the trend shows that the CL counts decrease as the amount of the compound increases, it can be determined that the compound is toxic to the ovary. On the other hand, if the trend shows that the CL counts are stable as the amount of the compound increases, it can be determined that the compound is not toxic to the ovary. This trend-based determination can further take into account a predetermined toxicity threshold to better understand and infer the amount at which the compound is or is not toxic to the ovary.

[0085] In block 360, a set of images is provided having a bounding box around each object of the objects classified as CL, ovarian CL count, ovarian toxicity of a quantity of a compound, or any combination thereof. For example, the set of images, ovarian CL count, ovarian toxicity of a quantity of a compound, or any combination thereof can be presented locally or transmitted to another device. The set of images, ovarian CL count, ovarian toxicity of a quantity of a compound, or any combination thereof can be output with a subject's identifier. In some examples, the set of images, ovarian CL count, ovarian toxicity of a quantity of a compound, or any combination thereof is output to an end user or storage device. In optional block 365, a compound is manufactured or has been manufactured based on the ovarian toxicity of the quantity of a compound. In optional block 370, a treatment with a compound is performed based on the ovarian toxicity of the quantity of a compound. V. Working Examples

[0086] The systems and methods implemented in various embodiments may be better understood with reference to the following examples. V. A. Example 1. - Ovarian sections from five repeated dose toxicity studies

[0087] Ovarian sections from five repeat-dose toxicity studies conducted in support of a completed compound development program were included in this retrospective study. Female Sprague-Dawley rats were used in all five studies. VA1 Test Design and Training Overview

[0088] Figure 4 summarizes the study design of this example. In the exemplary embodiment described herein, an object detection deep learning neural network, RetinaNet, was trained with all sections from Study 1 (90% of the sections in the training set and 10% of the sections in the validation set) to identify CLs. The model was trained with annotations from pathologists A and B in the training set. A subset of sections in Study 1 (Study 1 subset) was also annotated by both pathologist A and pathologist B and served as part of the validation set. Within this subset, pathologists A and B were blinded to each other's annotations and variance was calculated. Next, in a subset of sections in Study 2, CLs were counted by pathologists A and C and used as the gold standard test set. The trained model was applied to this same test set to evaluate the accuracy of the model in CL counts compared to the gold standard. The accuracy of CL counts from the model in the test set was compared to the inter-pathologist variance in Study 1. In the final validation step, the model was applied to studies with and without ovarian pathology findings to investigate whether the deep learning method yielded findings similar to those from pathologists. For studies 3, 4, and 5, model CL counts between treatment and control groups were compared. For study 3, the relationship between tissue area and CL counts was also investigated. Table 1 summarizes the five toxicity studies and whether or not the pathologist found ovarian pathology for each study.

[0089] Table 1 provides an overview of the study design. Study 1 was annotated by two pathologists and used to train and validate the model. Study 2 was used to assess agreement between the model and pathologists. CL counts for studies 3, 4, and 5 were obtained from the model. *50 rats underwent a 15-week recovery period after 26 weeks of treatment. **Only 79 of 100 animals had manual CL counts from the pathologist. JPEG0007553467000007.jpg73170V.A.2 Tissue sectioning and digitization

[0090] For the study, rats were macroscopically examined at necropsy and fixed for processing into sections for microscopic examination. Although a single H&E section was expected to be adequate for our analysis, we examined whether stage sections of the ovaries would potentially alter the general conclusions of the individual study results (change in CL counts compared to controls), and therefore prospectively analyzed six 5 μm thick sections spaced 150 μm apart. Sections were labeled L1 (as defined by the first stage section), L2, L3, L4, L5, and L6 (the last stage section was likely to have the least amount of tissue in the block), respectively. Individual 150 μm stage sections were selected based on the size of the CL to detect most individual CLs while limiting the possibility of capturing the same CL in multiple sections. Based on findings from the analysis of stage sections, we proceeded with the study using a single 5 μm thick H&E section from each ovary for studies 2, 4, and 5. All H&E sections were digitized using a whole-slide brightfield scanner. Sections from studies 1, 2, and 3 were scanned with a Nanozoomer scanner, and sections from studies 4 and 5 were scanned with an Aperio scanner at 20x magnification. VA3 Manual annotation from a pathologist

[0091] All H&E sections in study 1 were manually annotated by pathologist A and pathologist B for CL. Bounding boxes were drawn around all CL present in the tissue sections for identification purposes using Aperio ImageScope. Total CL counts were calculated by counting the number of bounding boxes in each ovarian section. To assess inter-pathologist variability, 224 ovarian H&E sections from all levels were randomly selected and annotated by both pathologists. These 224 sections were defined as the study 1 subset as previously described. The remaining ovarian sections were split in half and annotated by either pathologist A or pathologist B. In study 2, only total CL counts from the study set (155 ovarian sections) were reported by pathologists A and C. No total CL counts were reported for the remaining ovarian sections in study 2. No CLs were manually annotated by the pathologists in studies 3, 4, and 5. VA4 Image processing, model training and inference

[0092] 5x magnification images were extracted from 20x scans for all studies. After converting the images to greyscale, ovarian tissue was identified using Otsu's method. Images were then cropped so that each image contained only a single ovary. Ovarian area was calculated by summing the number of positive pixels after applying Otsu's threshold.

[0093] In an exemplary embodiment, RetinaNet, which is composed of a deep residual neural network (50-layer version) as a backbone, was used for CL detection. A pre-trained deep residual neural network from ImageNet was used for transfer learning. RetinaNet was trained using the cropped ovarian images and annotations from Test 1. For Test 1 subsets that were annotated by both pathologist A and pathologist B, the bounding boxes from both pathologists were used. If the same CL was identified by both pathologists, the individual annotations were combined into a single bounding box. Smaller bounding boxes were replaced with larger bounding boxes.

[0094] Sections from Study 1 were randomly split into a training set (90%) and a validation set (10%). Cropped images were resized with a minimum side (width or height) of 2500 pixels or a maximum side (width or height) of 3000 pixels to maintain the original aspect ratio. Random erasure, shifts, brightness, rotation, Gaussian blur, and elastic transformations were used for data augmentation to ensure that the model could perform under circumstances outside of those available from the training data alone. Notably, the various studies were captured in different scenarios such that the model may have performed on images captured in a similar manner to Study 1, but not necessarily in other studies (e.g., Studies 4 and 5).

[0095] Furthermore, conventional augmentation techniques such as color mapping of RGB colors of other test images were insufficient. Such changes usually introduce noise (either in hue, saturation, or value) of the remapped colors, which affects model performance. To address this issue, the difference between the image mean between images of test 1 and the image mean of images of other tests was multiplied by a random coefficient (ranging from -20 to -40) and added to the original training images for further data augmentation. This further data augmentation improved the model performance of images inserted for inference from various tests.

[0096] Model training was performed with a step size of 3000 for 30 epochs using a batch size of 1. A smooth L1 loss (σ = 3) was used for the regression loss and a focal loss (α = 0.4 and γ = 2) was used for the classification loss. The Adam optimizer was used for optimization (learning rate = 1 × 10-5).

[0097] The trained model was applied to the cropped ovary images in trials 2, 3, 4 and 5. During inference, the cropped ovary images were first resized using the same method as above and then fed to the trained model. Bounding boxes with probability scores of CL were generated after applying the trained model to the cropped ovary images. Bounding boxes with probability scores less than 0.5 were ignored. For each ovary, the total count of identified model CLs was counted. The average CL count from both the left and right ovaries was also calculated. VA5 statistical analysis

[0098] To evaluate the accuracy of the exemplary models described in the previous section for total CL counts, the trained models were tested in trials with different experimental protocols and validated against co-assessment from pathologists A and C in the test set. The Bland-Altman method and Spearman's rank correlation coefficient were used to evaluate the agreement of total CL counts per ovary between pathologist A and pathologist B in the test 1 subset, as well as the agreement between the co-assessment from pathologists (A and C) and the trained models in the test set.

[0099] Tissue area was expected to be linearly correlated with CL counts. To assess the relationship between tissue area and CL counts in relation to sectioning level, Spearman's rank correlation coefficients were calculated between tissue area and CL counts from all levels and each level in study 3. Because tissues with smaller areas are likely to have fewer CLs, CL counts were divided by ovarian tissue area for normalization. Kruskal-Wallis tests were performed between normalized CL counts from all levels as well as between normalized CL counts from all treatment and control groups in study 3. Then, the average CL counts normalized to tissue area from all levels were calculated per rat. The average CL counts normalized to tissue area between treatment groups (low, medium and high dose) and the control group in studies 3, 4 and 5, respectively, were compared using Wilcoxon rank sum tests. Image and statistical analysis was performed by Python. The model was trained using Keras / Tensorflow. Training and inference were performed using a single graphics processing unit (Nvidia, P6000). VA6 Detailed study protocols for each toxicity test

[0100] Study 1: A total of 80 rats were included in Study 1. The rats were divided into 20 control, low-dose, medium-dose and high-dose groups, and Compound A was administered twice daily by oral gavage at dose levels of 0, 15, 50 and 100 (mg / kg / day) in vehicle (0.5% (w / v) hydroxypropyl methylcellulose and 0.2% (w / v) polysorbate 80 in reverse osmosis water, pH 3.0), respectively, for 26 weeks.

[0101] Study 2: A total of 100 female rats were included in study 2. The rats were divided into two terminal and two recovery groups (n=25 rats / group). The two terminal groups were treated with 0 and 100 (mg / kg / day) vehicle and Compound B in vehicle (0.5% (w / v) hydroxypropyl methylcellulose and 0.2% (w / v) polysorbate 80 in reverse osmosis water) by oral gavage twice a day, respectively. The treated terminal groups were mated with untreated rats 5 days after the last dose administration. After the end of the cohabitation period, the treated and untreated female rats were euthanized for pathological examination on the 13th day of estimated pregnancy. The same administration protocol was applied to the two recovery groups, and the treated rats in the recovery groups were mated with untreated male rats after 15 weeks of recovery after the last dose administration. After the cohabitation period, the females were euthanized on the 13th day of estimated pregnancy.

[0102] Study 3: 75 rats were included in Study 3. The rats were divided into control, low, medium, medium-high, and high dose groups (n=15 rats / group). Compound A was administered twice daily by oral gavage at dose levels of 0, 10, 15, 150, and 500 (mg / kg / day), respectively, for 13 weeks.

[0103] Study 4: 40 rats were assigned to 4 groups (n=10 rats / group; control, low, medium and high dose groups). Animals were orally administered either vehicle (10% polyethylene glycol 400 (PEG) / 100 mM N-methylglucamine (NMG), pH 8.5) or Compound C in vehicle once daily at dose levels of 50, 100 or 200 mg Compound C / kg body weight (mg / kg) for 13 weeks.

[0104] Study 5: Forty rats were assigned to four groups (n=10 rats / group; control, low, medium and high dose groups). Animals were orally dosed once daily for four weeks with either vehicle (0.5% (w / v) methylcellulose (20 to 30 cps) and 0.2% (w / v) polysorbate 80 in water for injection (pH 6.7±0.3)) or Compound D in vehicle at dose levels of 10, 30 or 100 mg / kg body weight (mg / kg) of Compound D. VA6 Overall tissue area analyzed influences the number of CLs present

[0105] The first step in developing and testing the method was to train a model to accurately identify CLs in tissues. Figure 5A, Figure 5B, Figure 5C, and Figure 5D show representative images with multiple CLs or no CLs from studies 2, 3, 4, and 5. CLs were accurately identified when present in ovarian tissues and vice versa. The numbers above the bounding boxes indicate the probability score of CLs present within the box. (Scale bar: 1 mm). The presence of CLs was confirmed by a pathologist in the representative images. Bounding boxes were drawn around areas with a probability of containing CLs greater than 50%. Next, to quantify the accuracy of the trained model in CL counting, the trained model was applied to study 2 and the results were compared to the inter-pathologist variability in study 1 subset. Figure 6A shows a Bland-Altman plot evaluating the inter-pathologist variability (between pathologist A and pathologist B) of CL counts from 224 ovarian tissues in study 1. Figure 6B is a Bland-Altman plot evaluating the agreement between the pathologists (reviewed by both pathologists A and C) and the trained model of CL counts in study 3 for 155 ovarian tissues. Study 2 is blinded to the model in the training process. The mean absolute difference in CL counts was 0.64 ± 0.088 (mean and standard error) between pathologist A and pathologist B in the study 1 subset, and the mean absolute difference in CL counts was 0.57 ± 0.096 between the pathologist and the trained model in the test set. Figure 6C and Figure 6D show scatter plots of CL counts from pathologist A and pathologist B in the study 1 subset, and CL counts from pathologists and the trained model in the test set, respectively. The dashed red lines indicate the 95% limits of agreement. The solid red lines indicate the mean difference in CL counts for pathologist A vs. pathologist B or pathologists (A and C) vs. the model. The dot size represents the log scale of identical CL counts. The black dashed lines indicate perfect agreement of CL counts, which were divided by the maximum CL counts from pathologists A and B in the study 1 subset, and the maximum CL counts from pathologists and models in the study set, respectively, for visualization purposes.The CL counts between pathologists A and B were strongly correlated (R=0.99, p<<0.01), and the CL counts between the pathologists and the trained RetinaNet were also strongly correlated (R=0.97 p<<0.01). VA7 Overall tissue area analyzed influences the number of CLs present

[0106] To address the question of whether further sectioning of the ovaries (compared to standard single slides) would affect the CL enumeration counts and overall interpretation of the study findings, six stage sections spaced 150 μm apart were used for evaluation. Figure 7A shows a scatter plot of ovarian tissue area versus CL counts from all levels of study 3. Using all CL counts at all levels, a strong correlation (R=0.73, p<<0.01) was observed between CL counts and ovarian tissue area, indicating that the less tissue area assessed, the fewer the number of CLs present. At each level, CL counts and ovarian tissue area were also significantly correlated (R=0.57, 0.52, 0.64, 0.73, 0.75, 0.73 for L1, L2, L3, L4, L5, and L6, respectively, all p<<0.01). Because CL counts were significantly correlated with tissue area at each level, normalizing CL counts by tissue area could reduce the effect of tissue area. The CL counts and tissue areas at each level as well as the means and standard errors of the normalized CL counts are summarized in Table 2.

[0107] Table 2 shows a summary of CL counts and tissue area at each level in Study 3. Means and standard errors of CL counts, tissue areas, and normalized CL counts were calculated. When the sectioning level changed from level 1 to 6, CL counts and tissue areas decreased by approximately 50%, while normalized CL counts remained relatively the same. (N=75 ovarian sections) JPEG0007553467000008.jpg39170

[0108] As the levels increased, both CL counts and tissue area decreased. The normalized CL counts remained relatively stable as the levels increased. Figure 7B shows the CL counts normalized to tissue area at different levels of sectioning. The Kruskal-Wallis test revealed no significant differences in normalized CL counts to tissue area among all levels. To investigate the relationship between CL counts and tissue area at each level and each dose group in Study 3, the means and standard errors of CL counts and tissue area as well as normalized CL counts at each level for all dose groups are summarized in Table 3.

[0109] Table 3 is a summary of the CL endpoints at each level for each dose group in Study 3. The mean and standard error of the CL count endpoints were calculated. Both CL counts and tissue area decreased with increasing levels, but the normalized CL counts remained relatively the same for each dose group. Furthermore, within the same sectioning level, the CL counts and tissue area were relatively the same, where no toxicity was noted in the ovaries for all dose groups. Normalization is recommended, as maintaining the same sectioning level can be difficult. (N=15 ovarian sections / level per dose group) JPEG0007553467000009.jpg198170

[0110] As the levels increased, both CL counts and tissue area decreased for each dose group. Although the CL counts and tissue area between all dose groups were in a similar range within each level, normalization can still reduce the effect of tissue area on CL counts and is therefore recommended. From Figure 7C, the CL counts normalized to tissue area show that the CL counts normalized to tissue area for all dose groups were not significantly different. The CL counts normalized to tissue area were relatively stable across different levels and dose groups compared to the untreated CL counts. When normalized to VA8 tissue area, model-generated CL counts agree with pathologist test interpretation

[0111] To test the methodology for the pathologist's overall interpretation of the images and the conclusion of the study, sections from two studies in which dose-dependent changes in CL counts were observed by the pathologist were used in addition to study 3, which had ovarian toxicity findings. Figures 8A, 8B, and 8C show the average CL counts normalized to tissue area for rats in the control and treated groups in studies 3, 4, and 5. In study 3, no ovarian toxicity was identified for rats treated with compound A (see Figure 8A). Ovarian toxicity was identified for rats treated with compound C in study 4 (see Figure 8B) and compound D in study 5 (see Figure 8C). Control rats showed significantly higher CL counts normalized to tissue area than treated rats in both studies 4 and 5, but the CL counts normalized to tissue area for control and treated rats were similar. Furthermore, rats in the 100 mg / kg / day dose group showed significantly higher CL counts normalized to tissue area than the 10 mg / kg / day dose group. P values ​​were calculated from Wilcoxon rank sum test (*: p<0.05, **: p<0.01). CL counts normalized to tissue area in the control groups in studies 4 and 5 were both significantly higher than all treatment groups in both studies (p<<0.01 when comparing control to any treatment group), whereas no significant difference in normalized CL counts was observed in study 3 (p=0.27). Interestingly, in Figure 8C, CL counts normalized to tissue area were significantly lower in the low dose group when compared to the high dose group in study 5 (p<0.05). VI. Further Considerations

[0112] Some embodiments of the present disclosure include a system including one or more data processors. In some embodiments, the system includes a non-transitory computer-readable storage medium including instructions that, when executed on the one or more data processors, cause the one or more data processors to perform some or all of the methods and / or some or all of the processes disclosed herein. Some embodiments of the present disclosure include a computer program product tangibly embodied in a non-transitory machine-readable storage medium including instructions configured to cause the one or more data processors to perform some or all of the methods and / or some or all of the processes disclosed herein.

[0113] The terms and expressions used are used as terms of description and not of limitation, and in the use of such terms and expressions there is no intention to exclude equivalents of the features shown and described or portions thereof, but it is recognized that various modifications are possible within the scope of the invention as claimed. Thus, although the invention as claimed has been specifically disclosed by embodiments and optional features, it will be understood that modifications and variations of the concepts disclosed herein may be resorted to by those skilled in the art, and such modifications and variations are considered to be within the scope of the invention as defined by the appended claims.

[0114] The following description provides only preferred exemplary embodiments and is not intended to limit the scope, applicability, or configuration of the present disclosure. Rather, the following description of preferred exemplary embodiments provides those skilled in the art with an enabling description for implementing various embodiments. It will be understood that various changes can be made in the function and arrangement of elements without departing from the spirit and scope of the appended claims.

[0115] Specific details are given in the following description to provide a thorough understanding of the embodiments. However, it will be understood that the embodiments can be practiced without these specific details. For example, circuits, systems, networks, processes, and other components may be shown as components in block diagram form so as not to obscure the embodiments in unnecessary detail. In other examples, well-known circuits, processes, algorithms, structures, and techniques may be shown without unnecessary detail so as to avoid obscuring the embodiments.

Claims

1. obtaining a set of images of tissue slices from one or more ovaries treated with an amount of a compound; inputting the set of images into a neural network model constructed as a one-stage detector that uses focal loss as at least a portion of a loss function; using the neural network model to predict coordinates of a bounding box around one or more objects in the set of images that are identified as corpora lutea (CL); using the neural network model to output the set of images having the bounding boxes around the one or more objects identified as the CLs based on the predicted coordinates for the bounding boxes; counting the bounding boxes in the set of images output from the neural network to obtain a CL count for the ovary; determining ovarian toxicity of the amount of compound based on the CL counts for the ovaries.

2. The method of claim 1 , wherein the tissue slice is stained with hematoxylin and eosin (H&E).

3. moreover, obtaining the tissue slice from the one or more ovaries; mounting the tissue slices onto a plurality of slides; treating the plurality of slides with hematoxylin and eosin (H&E) stain; and imaging each slide of the plurality of slides with an imaging device to generate the set of images of the tissue slices.

4. 4. The method of claim 1, 2 or 3, wherein the one or more ovaries is a plurality of ovaries, and the set of images includes at least one image of a tissue slice from each ovary of the plurality of ovaries.

5. 5. The method of claim 1, 2, 3, or 4, wherein the one or more ovaries are from one or more subjects.

6. 6. The method of claim 1, 2, 3, 4 or 5, wherein the neural network model is constructed based on a model architecture selected from the group consisting of a Single Shot Multibox Detector (SSD) architecture, a You-Only Look Once (YOLO) architecture, and a RetinaNet architecture.

7. The neural network model includes a plurality of parameters trained using a set of training data, the set of training data comprising: a training set of a plurality of images of H&E stained slides of tissue sections from ovaries, wherein each image from said training set of a plurality of images is from one of a plurality of different subjects, said plurality of different subjects (i) being treated with the same or different compounds, (ii) not being treated with said same or different compounds, or (iii) a combination thereof; a set of bounding boxes, each bounding box associated with the CL identified in one of the images from the training set of images; 7. The method of claim 1, wherein the loss function relates the parameters and the training set of images to the set of bounding boxes, and the focal loss downweights bounding boxes predicted during training for non-CL morphology or background in the training set of images and focuses training on bounding boxes predicted for the CL.

8. 8. The method of claim 7, wherein at least one training set of images of the training set of multiple images is adjusted before being used for training according to a difference in image means for each of a plurality of color channels of images in the training set of at least one image, the difference in image means being calculated relative to another training set of images of the training set of multiple images.

9. The method of claim 8 , wherein the image mean for each of a plurality of color channels of the image is calculated as an average value of the color channel across images in a training set of the at least one image.

10. 10. The method of claim 1, further comprising: using the neural network model to identify the one or more objects in the set of images as being the CL, wherein the identifying comprises generating a probability score for each object of the one or more objects identified as the CL, and wherein the counting comprises only counting the bounding boxes in the set of images around the one or more objects identified as the CL and having a probability score greater than a predetermined probability score threshold.

11. 11. The method of claim 1, wherein determining ovarian toxicity comprises comparing the CL counts for the ovary to a predetermined toxicity threshold, determining that the amount of compound is not toxic to the ovary if the CL counts are above the predetermined toxicity threshold, and determining that the amount of compound is toxic to the ovary if the CL counts are below the predetermined toxicity threshold.

12. the set of images of the tissue slices are obtained from an ovary of a subject treated with the amount of a compound, the method comprising: obtaining another set of images of tissue slices from another ovary of the subject treated with the amount of compound; generating, using the neural network model, another set of images having bounding boxes around one or more of the objects identified as the CLs in the another set of images based on the predicted coordinates for the bounding boxes; counting the bounding boxes in the set of images output from the neural network to obtain a different CL count for the different ovary; and averaging the CL count for the ovary and the another CL count for the another ovary to obtain an average CL count; 12. The method of claim 1, wherein the ovarian toxicity of the amount of compound is determined based on the average CL.

13. obtaining another set of images of tissue slices from one or more other ovaries that are either untreated or treated with different amounts of said compound; generating, using the neural network model, another set of images having bounding boxes around one or more of the objects identified as the CLs in the another set of images based on the predicted coordinates for the bounding boxes; and counting the bounding boxes in the set of images output from the neural network to obtain a further CL count for the ovary.

13. The method of any one of claims 1 to 12, wherein the ovarian toxicity of the amount or the different amounts of a compound is determined based on a trend between the CL count for the one or more ovaries and the other CL count for the one or more other ovaries.

14. obtaining another set of images of tissue slices from one or more other ovaries treated with a different amount of the compound; generating, using the neural network model, another set of images having bounding boxes around one or more of the objects identified as the CLs in the another set of images based on the predicted coordinates for the bounding boxes; counting the bounding boxes in the other set of images output from the neural network to obtain another CL count for the ovaries of the other subject; and and determining ovarian toxicity of the amount of a different compound based on the CL counts for the one or more other ovaries.

15. 15. The method of claim 1, further comprising: assigning to the set of images the bounding box around each object among the objects identified as a CL, the CL count for the one or more ovaries, the ovarian toxicity of the amount of the compound, or any combination thereof.

16. 16. The method of claim 15, further comprising administering a treatment with the compound based on the ovarian toxicity of the amount of the compound.

17. 16. The method of claim 15, further comprising manufacturing or having manufactured the compound based on the ovarian toxicity of the amount of the compound.

18. A computer program comprising instructions configured to cause one or more data processors to perform operations, said operations comprising: obtaining a set of images of tissue slices from one or more ovaries treated with an amount of a compound; inputting the set of images into a neural network model constructed as a one-stage detector that uses focal loss as at least a portion of a loss function; using the neural network model to predict coordinates of a bounding box around one or more objects in the set of images that are identified as corpora lutea (CL); using the neural network model to output the set of images having the bounding boxes around the one or more objects identified as the CLs based on the predicted coordinates for the bounding boxes; counting the bounding boxes in the set of images output from the neural network to obtain a CL count for the ovary; determining ovarian toxicity of the amount of the compound based on the CL counts for the ovaries.

19. 20. The computer program of claim 18, wherein the tissue slices are stained with Hematoxylin and Eosin (H&E).

20. The operation, obtaining the tissue slice from the one or more ovaries; mounting the tissue slices onto a plurality of slides; treating the plurality of slides with hematoxylin and eosin (H&E) stain; 20. The computer program of claim 18 or 19, further comprising imaging each slide of the plurality of slides with an imaging device to generate the set of images of the tissue slices.

21. 21. The computer program of claim 18, 19 or 20, wherein the one or more ovaries is a plurality of ovaries, and the set of images comprises at least one image of a tissue slice from each ovary of the plurality of ovaries.

22. 22. The computer program of claim 18, 19, 20 or 21, wherein the one or more ovaries are from one or more subjects.

23. 23. The computer program of claim 18, 19, 20, 21 or 22, wherein the neural network model is constructed based on a model architecture selected from the group consisting of a Single Shot Multibox Detector (SSD) architecture, a You-Only Look Once (YOLO) architecture, and a RetinaNet architecture.

24. The neural network model includes a plurality of parameters trained using a set of training data, the set of training data comprising: a training set of a plurality of images of H&E stained slides of tissue sections from ovaries, wherein each image from said training set of a plurality of images is from one of a plurality of different subjects, said plurality of different subjects (i) being treated with the same or different compounds, (ii) not being treated with said same or different compounds, or (iii) a combination thereof; a set of bounding boxes, each bounding box associated with the CL identified in one of the images from the training set of images; 24. The computer program product of claim 18, wherein the loss function relates the parameters and the training set of images to the set of bounding boxes, and the focal loss downweights bounding boxes predicted during training for non-CL morphology or background in the training set of images and focuses training on bounding boxes predicted for the CL.

25. 25. The computer program product of claim 24, wherein at least one training set of images of the training set of multiple images is conditioned before being used for training according to a difference in image means for each of a plurality of color channels of images in the training set of at least one image, the difference in image means being calculated relative to another training set of images of the training set of multiple images.

26. 26. The computer program product of claim 25, wherein the image mean for each of a plurality of color channels of the image is calculated as an average value of the color channel across images in a training set of the at least one image.

27. 27. The computer program product of claim 18, wherein the operations further include identifying, by the neural network model, the one or more objects in the set of images to be the CL, wherein the identifying includes generating a probability score for each object of the one or more objects identified as the CL, and wherein the counting includes only counting the bounding boxes in the set of images around the one or more objects identified as the CL and having a probability score greater than a predetermined probability score threshold.

28. 28. The computer program of claim 18, wherein determining ovarian toxicity comprises comparing the CL counts for the ovary to a predetermined toxicity threshold, determining that the amount of compound is not toxic to the ovary if the CL counts are above the predetermined toxicity threshold, and determining that the amount of compound is toxic to the ovary if the CL counts are below the predetermined toxicity threshold.

29. The set of images of the tissue slices are obtained from an ovary of a subject treated with the amount of a compound, and the operation comprises: obtaining another set of images of tissue slices from another ovary of the subject treated with the amount of compound; generating, using the neural network model, another set of images having bounding boxes around one or more of the objects identified as the CLs in the another set of images based on the predicted coordinates for the bounding boxes; counting the bounding boxes in the set of images output from the neural network to obtain a different CL count for the different ovary; and averaging the CL count for the ovary and the another CL count for the another ovary to obtain an average CL count; 29. The computer program of any one of claims 18 to 28, wherein the ovarian toxicity of the amount of compound is determined based on the average CL.

30. The operation, obtaining another set of images of tissue slices from one or more other ovaries that are either untreated or treated with different amounts of said compound; generating, using the neural network model, another set of images having bounding boxes around one or more of the objects identified as the CLs in the another set of images based on the predicted coordinates for the bounding boxes; and counting the bounding boxes in the set of images output from the neural network to obtain a further CL count for the ovary.

29. The computer program of any one of claims 18 to 28, wherein the ovarian toxicity of the amount or the different amounts of a compound is determined based on a trend between the CL counts for the one or more ovaries and the other CL counts for the one or more other ovaries.

31. The operation, obtaining another set of images of tissue slices from one or more other ovaries treated with a different amount of the compound; generating, using the neural network model, another set of images having bounding boxes around one or more of the objects identified as the CLs in the another set of images based on the predicted coordinates for the bounding boxes; counting the bounding boxes in the other set of images output from the neural network to obtain another CL count for the ovaries of the other subject; and 29. The computer program of claim 18, further comprising determining ovarian toxicity of the amount of a different compound based on the CL counts for the one or more other ovaries.

32. 32. The computer program of claim 18, wherein the operations further comprise: assigning to the set of images the bounding box around each object among the objects identified as the CL, the CL count for the one or more ovaries, the ovarian toxicity of the amount of the compound, or any combination thereof.

33. one or more data processors; and a non-transitory computer-readable storage medium comprising instructions that, when executed on the one or more data processors, cause the one or more data processors to perform operations, the operations including: obtaining a set of images of tissue slices from one or more ovaries treated with an amount of a compound; inputting the set of images into a neural network model constructed as a one-stage detector that uses focal loss as at least a portion of a loss function; using the neural network model to predict coordinates of bounding boxes around the objects in the set of images that are identified as corpora lutea (CL) based on one or more object classifications; using the neural network model to output the set of images having the bounding boxes around the one or more objects identified as the CLs based on the predicted coordinates for the bounding boxes; counting the bounding boxes in the set of images output from the neural network to obtain a CL count for the ovary; determining ovarian toxicity of the amount of compound based on the CL count for the ovaries.

34. 34. The system of claim 33, wherein the tissue slice is stained with hematoxylin and eosin (H&E).

35. The operation, obtaining the tissue slice from the one or more ovaries; mounting the tissue slices onto a plurality of slides; treating the plurality of slides with hematoxylin and eosin (H&E) stain; 35. The system of claim 33 or 34, further comprising imaging each slide of the plurality of slides with an imaging device to generate the set of images of the tissue slices.

36. 36. The system of claim 33, 34 or 35, wherein the one or more ovaries is a plurality of ovaries, and the set of images includes at least one image of a tissue slice from each ovary of the plurality of ovaries.

37. 37. The system of claim 33, 34, 35 or 36, wherein the one or more ovaries are from one or more subjects.

38. 38. The system of claim 33, 34, 35, 36 or 37, wherein the neural network model is constructed based on a model architecture selected from the group consisting of a Single Shot Multibox Detector (SSD) architecture, a You-Only Look Once (YOLO) architecture, and a RetinaNet architecture.

39. The neural network model includes a plurality of parameters trained using a set of training data, the set of training data comprising: a training set of a plurality of images of H&E stained slides of tissue sections from ovaries, wherein each image from said training set of a plurality of images is from one of a plurality of different subjects, said plurality of different subjects (i) being treated with the same or different compounds, (ii) not being treated with said same or different compounds, or (iii) a combination thereof; a set of bounding boxes, each bounding box associated with the CL identified in one of the images from the training set of images; 39. The system of claim 33, wherein the loss function relates the parameters and the training set of images to the set of bounding boxes, and the focal loss downweights bounding boxes predicted during training for non-CL morphology or background in the training set of images and focuses training on bounding boxes predicted for the CL.

40. 40. The system of claim 39, wherein at least one training set of images of the training set of the plurality of images is adjusted before being used for training according to a difference in image means for each of a plurality of color channels of images in the training set of the at least one image, the difference in image means being calculated relative to another training set of images of the training set of the plurality of images.

41. 41. The system of claim 40, wherein the image mean for each of a plurality of color channels of the image is calculated as an average value of the color channel across images in a training set of the at least one image.

42. 42. The system of claim 33, wherein the operations further include identifying, by the neural network model, the one or more objects in the set of images as being the CL, wherein the identifying includes generating a probability score for each object of the one or more objects identified as the CL, and wherein the counting includes only counting the bounding boxes in the set of images around the one or more objects identified as the CL and having a probability score greater than a predetermined probability score threshold.

43. 43. The system of any one of claims 33 to 42, wherein determining the ovarian toxicity comprises comparing the CL counts for the ovary to a predetermined toxicity threshold, determining that the amount of compound is not toxic to the ovary if the CL counts are above the predetermined toxicity threshold, and determining that the amount of compound is toxic to the ovary if the CL counts are below the predetermined toxicity threshold.

44. The set of images of the tissue slices are obtained from an ovary of a subject treated with the amount of a compound, and the operation comprises: obtaining another set of images of tissue slices from another ovary of the subject treated with the amount of compound; generating, using the neural network model, another set of images having bounding boxes around one or more of the objects identified as the CLs in the another set of images based on the predicted coordinates for the bounding boxes; counting the bounding boxes in the set of images output from the neural network to obtain a different CL count for the different ovary; and averaging the CL count for the ovary and the another CL count for the another ovary to obtain an average CL count; 44. The system of any one of claims 33 to 43, wherein the ovarian toxicity of the amount of compound is determined based on the average CL.

45. The operation, obtaining another set of images of tissue slices from one or more other ovaries that are either untreated or treated with different amounts of said compound; generating, using the neural network model, another set of images having bounding boxes around one or more of the objects identified as the CLs in the another set of images based on the predicted coordinates for the bounding boxes; and counting the bounding boxes in the set of images output from the neural network to obtain a further CL count for the ovary.

44. The system of any one of claims 33 to 43, wherein the ovarian toxicity of the amount or the different amounts of a compound is determined based on a trend between the CL count for the one or more ovaries and the another CL count for the ovary.

46. The operation, obtaining another set of images of tissue slices from one or more other ovaries treated with a different amount of the compound; generating, using the neural network model, another set of images having bounding boxes around one or more of the objects identified as the CLs in the another set of images based on the predicted coordinates for the bounding boxes; counting the bounding boxes in the other set of images output from the neural network to obtain another CL count for the ovaries of the other subject; and 44. The system of any one of claims 33 to 43, further comprising determining ovarian toxicity of the amount of a different compound based on the CL counts for the one or more other ovaries.

47. 47. The system of any one of claims 33 to 46, wherein the operations further comprise: assigning to the set of images the bounding box around each object among the objects identified as the CL, the CL count for the one or more ovaries, the ovarian toxicity of the amount of the compound, or any combination thereof.