Optimization of Microscopy Workflow
By using the deep learning training model in the microscope system to automatically detect data and optimize the workflow, it solves the existing problems of high data acquisition costs and outdated systems in multi-sample and complex experiments in the microscope system, and achieves a more complete system. High image processing accuracy and equipment reliability.
Patent Information
- Application Number
- CN201980068891.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Priority Date
- 2018-10-18
- Filing Date
- 2019-09-25
- Publication Date
- 2024-10-01
- Estimated Expiration
- 2039-09-25
AI Technical Summary
When the existing microscope system handles multiple samples and complex experiments, the cost of data acquisition is high, the system is old, it is difficult to expand the scope of application, the image processing accuracy is low, the equipment parameters do not meet the specifications, resulting in experimental failure, and the lack of monitoring of the microscope status leads to Unexpected failure.
By using training models in microscopy systems, deep learning-based neural networks automatically detect data and determine suitable workflows, allowing rapid adaptation to special situations during measurements, adjusting and updating models to optimize workflows, and enable the detection of unknown samples and applications. better versatility and predictive accuracy.
It realizes automated workflow on multiple samples, reduces data acquisition costs, expands the scope of microscope applications, improves image processing accuracy and equipment reliability, reduces the risk of experimental failure, and improves user-friendliness and experimental efficiency. Security.
Smart Images

Figure CN112868027B_ABST
Abstract
Description
Technical Field
[0001] The invention relates to a method and a device for optimizing the workflow of one or more microscopes, a microscope system or a complex of microscope systems by means of trained models, which can be used for predictions (inference) in measurements in the microscope. Background Art
[0002] Microscopes are used in a variety of fields and can be used to examine a variety of different samples and objects. In particular, in basic research or clinical applications, the samples can vary greatly and the acquired data have a high degree of variability. In addition, experiments or measurements performed with microscopes are becoming more and more extensive and complex in order to gain as much new information and knowledge as possible from the measurements. Automatic measurements using microscopes enable these measurements to be performed permanently without human intervention. However, the prior art exhibits some disadvantages and problems of existing systems that will be examined below.
[0003] Previous microscopes could, for example, perform experiments according to pre-programmed protocols. However, this either resulted in too much non-informative data being collected or important biological phenomena being missed, since the pre-programmed protocols did not allow intervention in the workflow without completely terminating the experiment if the biological phenomenon was not part of the protocol. This led to high costs for data storage and evaluation, since a large number of experiments had to be performed in order to observe the biological phenomenon.
[0004] Furthermore, previous systems could only support a limited, previously determined pool of applications, especially when image processing was involved. As a result, systems became obsolete and the range of applications could often not be expanded or could only be expanded at great expense. For conventional systems, this resulted in high costs for new purchases or additional expansions from third-party providers. Microscopes with image processing feedback can detect image acquisition conditions based on the results of asynchronously working image processing. However, this approach only offers low accuracy and can only be used for the specific case of the sample being examined. Unknown applications or samples with a high degree of variability require new, time-consuming image processing to be carried out from scratch for each individual problem. In addition, previous feedback methods were mostly ineffective, as reliable feedback was only possible after a sufficiently large number of acquired images.
[0005] Neural networks are currently only used to evaluate and / or process images acquired by a microscope. For example, US 2010 / 0183217 describes the use of neural networks in order to restore images acquired by an electron microscope that contain noise or have low color gradients or grayscale gradients. The disadvantage of methods based on image post-processing for optimizing the measurement results is that information in the acquired original image is lost by post-processing and the causes of image errors cannot be eliminated because the neural networks used for post-processing the images do not allow intervention in the workflow during the measurement.
[0006] Another problem is that the equipment parameters do not meet the specifications. For example, if the photoelectric sensor is overcontrolled, the illumination fails, the temperature is too high or the focus drifts. Usually, the experiment is then unusable and must be completely repeated, which leads to high costs and a lot of time. Alternatively, the previous system may also fail unexpectedly, for example due to lack of monitoring of the microscope status. Such failures, which the user could not foresee, can lead to costs for the destruction of the experiment and disruptions in the workflow. Summary of the invention
[0007] It is therefore an object of the present invention to optimize the workflow performed by a microscope or its components.
[0008] The invention solves the problems and objects mentioned above by a method and a device for optimizing a workflow of at least one microscope or a microscope system. The method comprises the following steps: executing a workflow by one or more components of at least one microscope and / or a microscope system, wherein the workflow comprises detecting first data; and determining a training model for the workflow, wherein the determination is at least partially based on the detected first data.
[0009] The apparatus according to the present invention comprises one or more processors and one or more computer-readable storage media, wherein computer-executable instructions are stored on the one or more computer-readable storage media, which instructions, when executed by the one or more processors, cause one or more microscopes and / or one or more components in a microscope system to perform a workflow, wherein the workflow comprises detecting first data and determining one or more training models for the workflow based at least in part on the detected first data.
[0010] The method according to the invention and the device according to the invention have the advantage that a training model, which can be based on a neural network, for example in the sense of deep learning, is determined for a workflow executed by one or more microscopes and / or one or more components of a microscope system. This enables the workflow of one or more microscopes to be automated on samples with a large variability and allows the optimal workflow to be executed depending on the sample. In addition, the training model enables precise predictions of the workflow based on small amounts of data and, compared to the methods of the prior art, allows a better generalizability to previously unknown applications.
[0011] The method according to the present invention and the device according to the present invention can be further improved by specific designs respectively. The various technical features of the design of the present invention described below can be arbitrarily combined with each other and / or omitted here, as long as the technical effect achieved by the omitted technical features is not expected.
[0012] In one embodiment, the determination of the training model includes analyzing the first data with the aid of one or more trained master models. The one or more trained master models can determine the one or more trained models based on information from the analysis of the detected first data. In one embodiment, the step of determining the one or more training models includes selecting one or more models trained in a specific manner from a plurality of models. The one or more trained master models can, for example, classify the detected first data in a first step, and select one or more training models that match the detected data or data category from a large number of models, which can then be used. The multiple models can include multiple training models, and can be classified and / or hierarchically organized by application field. Individual training models from a large number of training models can be specific to various samples, experiments, measurements, or equipment settings.
[0013] In one embodiment, the method further includes the step of automatically applying one or more specific training models. One or more specific training models can be applied to the first data or the newly detected data. For example, after determining the one or more training models, new data can be detected in a further step, and the one or more specific training models can be applied to the newly detected data. In addition, the method may include the following steps: based on the application of one or more specific training models, at least one decision about the workflow is made. Determining one or more training models can achieve rapid adaptation to special situations while still taking measurements. In addition, the determination of the training model allows for larger differences in the measured data because a model trained for a special situation is determined and used, and the model trained for a special situation can have a high prediction accuracy. The hierarchical structure and the selection of the training model can achieve the stepwise selection of a suitable model for the appropriate measurement.
[0014] In another design, a method for optimizing a work process may include the step of adjusting one or more training models. The step of adjusting may include training a portion of the trained model at least in part with the aid of aggregated data. Additionally or alternatively, the step of adjusting may include training the trained model with the aid of aggregated data, wherein the aggregated data originates from one or more sources. The aggregated data may include data automatically, semi-automatically, or manually uploaded to a cloud, server, or workstation computer. The aggregated data may include at least one of the following: a training model or a portion thereof, detected data (which includes input data for the training model), annotations of the input data, hidden representations of the data, output value evaluations of the training model (which are applied to the input data), and user input.
[0015] In this advantageous embodiment, the training model can therefore be modified or adapted to the workflow with little effort, so that it is updated or tailored to the field of application. This allows for a continuous further development of the model and optimization of the workflow. Furthermore, by retraining or adapting the model, the field of application of the microscope can be expanded or clarified without having to purchase new image processing software or reprogramming from scratch.
[0016] In one design of the method for optimizing the working process according to the present invention, the method includes the step of detecting and / or sending second data. Detecting the second data may include detecting a user-defined state different from the state defined by the training model, wherein the second data includes a representation of the deviation of the state defined by the training model relative to the user-defined state or a representation of the user-defined state. With the help of these data, the training model can be adjusted or further trained so that it is trained to the settings desired by the user. This opens up new application areas and can optimize the workflow in terms of the user-friendliness of the microscope and make it compound user expectations. In one embodiment, the detected second data can be sent to a cloud, server or workstation computer, where it is aggregated and used to train new data or improve (adjust) existing data. Therefore, the microscope can become a data source for developing other models based on machine learning, deep learning or similar processes. The training model can be trained on a cloud, server or workstation computer for data from one or more sources and then loaded onto a microscope or microscope system and / or onto an attached component of a microscope or microscope system.
[0017] In one embodiment, the method can be designed as a web service, wherein one or more training models are applied in the cloud. Alternatively, one or more training models can be applied on a workstation computer, on at least one microscope or microscope system and / or on at least one microscope or attached component of a microscope system.
[0018] In one design of the device according to the invention, the application of one or more training models may include an analysis of the detected first data. The device may be part of the microscope (e.g. a microcomputer) or an embedded computer or system computer separate from the microscope and connected to the microscope via a network. In addition, the device may enable the running of the training models at maximum speed or in real time. The microscope may consist of functionally interconnected subsystems or interconnected modules.
[0019] Subsystems, components or modules include all systems that contribute to achieving the mentioned purpose in the microscopy task. Microscopy subsystems can be located on the microscope itself, such as cameras, detectors, microscope stages, motors, software modules, firmware modules, etc. However, they can also be spatially separated from the microscope, such as databases, network connections, analysis software, microtomes, automatic pipettes, robots, other microscopes, microscope or computer clusters, etc.
[0020] In some embodiments, one or more processors of the apparatus according to the present invention may include a computing accelerator, such as a graphics processing unit GPU, a TensorFlow processing unit TPU, an application-specific integrated circuit ASIC or a field programmable gate array FPGA dedicated to machine learning ML and / or deep learning DL, or at least one central processing unit CPU. A distinction must be made here between training and reasoning, which includes the application of one or more training models. In training, the model "learns" to make certain predictions based on hidden representations of data representing the "experience" of the model by changing its parameters. For training, a large amount of data, a large storage bandwidth and a strong computing power are required. Reasoning is about making predictions for one or a few data points as quickly as possible. Here, a small computing power and storage bandwidth can cope. Therefore, one or more training models can be applied locally at a small cost in order to optimize the workflow of the microscope.
[0021] The model can be trained on a stand-alone computer, a server or a cloud, since, as described, training requires large storage bandwidth and computing power. In one or more designs of the system according to the invention, the model can be continuously trained or retrained. The improved model can then be loaded onto the device according to the invention. The advantage of such training or fine-tuning is that data from many sources (users, microscopes or microscope systems) can be aggregated and used for training or fine-tuning. In addition, microscope data that have already been measured on unknown samples or in new situations can be used. Thus, a suitable training model can already be provided to the microscope, even though the microscope has not yet been measured on unknown samples or in new situations.
[0022] The detected first data may include at least one of the following: image data, user input, error notification, metadata, parameter data of one or more components, data during an experiment, information about reagents and materials, information about an object or sample, data related to a user, and device data from a device controlled during a measurement performed by one or more microscopes and / or microscope systems. In addition, based on information from the analysis of the detected first data, the master model may preferably automatically or semi-automatically determine one or more training models to be applied to the detected data or newly acquired data. These one or more training models may be stored locally. Therefore, the device can effectively and quickly provide a suitable model for a specific measurement because the training model is selected locally on the device.
[0023] In a design that can be combined with the previous design, the device according to the present invention is designed to adjust at least one of the one or more training models. The adjustment may include training only a portion or multiple portions of at least one of the one or more training models. Additionally or alternatively, the adjustment may include training at least one of the one or more training models with the aid of second data. The second data may, for example, include annotated first data. The annotation of the first data may include a given output value of at least one training model applied to the detected first data, or include an evaluation of the output value for a corresponding input value from the detected first data. In some embodiments, at least one decision made based on the application of one or more training models may be evaluated. For example, a microscope illumination setting set according to the application of a training model to image data may be evaluated by a user as poor or insufficient. At least one of the one or more training models may be adjusted by one or more users according to one or more negative evaluations. By this adjustment, the prediction accuracy of at least one training model applied to the detected first data may be improved, and the workflow may be further optimized by better predictions of the training model. The training model may be adjusted (fine-tuned) locally on the device or in the cloud with the aid of the aggregated second data. In contrast to training a model, tuning a model requires much less training data in order to improve the trained model's predictive accuracy for new but similar classes of data for which the model was not originally trained.
[0024] In one or more designs of the device according to the invention, the device can communicate with a server or cloud as part of the system via a network connection. In particular, one or more devices according to the invention, workstation computers and microscopes or microscope systems and components thereof can communicate with each other. Here, data (detected data such as images, device data, data during the experiment, models or parts thereof, hidden representations of data or other data compressed in terms of their dimensions, input data of at least one training model, annotations on a given output value of at least one training model applied to the input data, evaluation of the output value of at least one training model, parameter data of at least one of the one or more components, user input, error notifications, information about reagents, samples and materials, device data of the controlled device during the measurement performed by one or more microscopes and / or microscope systems or data related to the user) can be sent to a server or cloud. Existing models can be fine-tuned ("Fine-Tuning") and improved there. Then, a new improved version of the training model can be automatically or semi-automatically loaded onto the one or more devices and applied. Thus, not only feedback is generated between the experimental process using the microscope and the static image processing process, but the feedback also affects the content of the data or image processing and can change the decisions and evaluations made by the model during the measurement process. Thus, the workflow can be optimized and, in some cases, changed by modifying the model. A part of the software, called the model manager, can take over the control and organization of the communication of the individual systems with the microscope or microscope group and the version management of the model. The model manager can be designed to implement at least one adjusted or fine-tuned training model on at least one of the one or more devices. This can be done during a measurement process or during a work process performed by at least one microscope and / or one or more components of the microscope system.
[0025] In some embodiments, the system may further include a model store as a software component on at least one of the one or more devices. The trained model may be selected with the aid of the model store. The system may download the trained model through the interface and the model store for running locally on one or more devices. In addition, the model manager may implement one or more trained models on at least one of the one or more devices based on an event. The event may include at least one of the following: obtaining a user request via a network service; obtaining a request based on an analysis result of the first data with the aid of one of the one or more training models; obtaining a request based on a step in a workflow; obtaining one or more results by data mining of model metadata, hidden representations, or model parameters; obtaining a request from a model store; obtaining a request based on detection of explicit model parameters (which include experimental conditions). In one embodiment, the model manager can be designed to: regulate permission management with the help of a model database, wherein the model database stores at least one of the following information: model architecture, model parameters, model metadata and model permissions; control communication between individual devices or device groups in one or more devices; manage versions of training models; assign training models to application fields; output the training model in a container to at least one of one or more devices, wherein the model manager includes a container manager, and the container manager creates or provides a container for running the training model; and / or manage metadata of the training model, wherein the metadata is used to manage the training model, and / or wherein the metadata includes at least one of the following: a unique identifier of the training model, a version number of the training model, an identifier of the usage location in the device, a category of the training model, and a task of the training model. BRIEF DESCRIPTION OF THE DRAWINGS
[0026] The subject matter of the invention is explained in more detail below with reference to exemplary drawings, in which examples of advantageous embodiments of the invention are shown.
[0027] Figure 1 A schematic diagram of a device for optimizing a workflow according to one embodiment of the present invention;
[0028] Figure 2 is a schematic diagram of a system for optimizing a workflow according to one embodiment of the present invention;
[0029] Figure 3 is a schematic diagram of a system for optimizing a workflow according to one embodiment of the present invention;
[0030] Figure 4 A schematic diagram of a method for applying a model according to one embodiment of the present invention;
[0031] Figure 5 A schematic diagram of a method for applying a model according to one embodiment of the present invention;
[0032] Figure 6 A schematic diagram of a system for providing a deep learning model in a container according to one embodiment of the present invention;
[0033] Figure 7 A schematic diagram of a system for providing deep learning reasoning as a network service according to one embodiment of the present invention;
[0034] Figure 8 A schematic diagram of a system for training a model on an independent working computer or on a server in a local area network according to one embodiment of the present invention;
[0035] Fig. 9 A schematic diagram of a system for training a model in the cloud as a web service according to one embodiment of the present invention;
[0036] Fig.10 is a schematic diagram of a model manager according to one embodiment;
[0037] Fig.11 is a schematic diagram of a model store according to one embodiment;
[0038] Fig.12 A schematic flow chart of one embodiment of the method of the present invention;
[0039] Fig.13 A schematic flow chart of one embodiment of the method of the present invention. DETAILED DESCRIPTION
[0040] Figure 1 A device 100 is shown, which includes one or more processors 110 and one or more storage media 120. The device can be a part of a microscope and / or a microscope system. Alternatively, the device 100 can also be separated from the microscope or microscope system in space and connected to the microscope or microscope system through a network. The microscope system can include one or more components, modules, microscopes and / or subsystems. The one or more components, modules, microscopes and / or subsystems can be interconnected through a network such as a radio network. The microscope system can include all subsystems, components or modules that contribute to achieving the proposed purpose within the scope of the microscope task. These subsystems, components or modules can be located on the microscope itself, such as a camera, a detector, a microscope stage, a motor, a software module, a hardware module, etc. But they can also be located outside the microscope, such as a database, a network connector, an analysis software, a slicer, an automatic liquid transfer machine, a robot, other microscopes, a microscope group or a workstation computer.
[0041] The device 100 may be a microcomputer, a workstation computer, a computer or an embedded computer. One or more processors 110 may include a computing accelerator, such as a graphics processing unit (GPU), a TensorFlow processing unit (TPU), an application-specific integrated circuit (ASIC) or a field programmable gate array (FPGA) dedicated to machine learning (ML) and / or deep learning (DL), or at least one CPU (central processing unit). Application-specific integrated circuits (ASICs, also custom chips) are electronic circuits that can be implemented as integrated circuits. Because its architecture is adapted to work on specific problems, ASICs work very efficiently and are much faster than implementing the same functions through software in a microcontroller. The TensorFlow processing unit (TPU), also known as the TensorFlow processor, is a chip dedicated to applications and can accelerate applications within the scope of machine learning compared to a CPU. These or similar dedicated hardware can be used to optimize deep learning tasks. In particular, reasoning can also work on ordinary CPUs, and reasoning requires several orders of magnitude less computing power than training, i.e., model development. In addition, in some embodiments, the device may include one or more trained models 130. The device may be enabled to make decisions related to the workflow of the microscope or microscope system by means of artificial intelligence (KI) by means of one or more trained models 130. The one or more trained models 130 may be executed by one or more processors.
[0042] Reasoning includes transmitting the trained neural network to the application machine or device so that the application machine or device gains additional "intelligence" through this transmission. As a result, the application machine or device can be able to independently solve the desired task. This results in a cognitively extended device. Cognitively extended means that the device can semantically recognize and process image content or other data by using neural networks (or deep learning models) or other machine learning methods.
[0043] Figure 2 In one embodiment, the communication of the microscope 210 with the devices 220 and 230 supporting KI is shown. The single microscope itself can include a hardware acceleration unit and / or a microcomputer that can implement the execution of the trained model (such as a neural network) and support KI. The training model can include a deep learning result network. These neural networks can represent results, where these results are learned by at least one deep learning process and / or at least one deep learning method. These neural networks condense the collected knowledge into a specific set of tasks through automatic learning in an appropriate manner, so that the specific tasks can be automatically performed with the highest quality thereafter.
[0044] Microscope 210 may include one or more components 260 and 270. Different components of the microscope, such as actuator 260 and sensor 270, may themselves support KI and include a microcomputer or FPGA. Microscope 210 includes at least one component designed to detect data, such as sensor 270. The detected data may include image data and metadata. The at least one component may include a plurality of different components that detect different data respectively. In one embodiment, the detected data includes structured data, such as extensible markup language (XML) data. This enables the unified provision and processing of detected data from different components of one or more microscopes or microscope systems.
[0045] Figure 2 and all the following figures show a microscope, exemplarily only as an optical microscope. In some embodiments, the microscope can include all types of microscopes. For example, the microscope can include one of the following: an optical microscope, a stereo microscope, a confocal microscope, a slit lamp microscope, a surgical microscope, a digital microscope, a USB microscope, an electron microscope, a scanning electron microscope, a reflection microscope, a fluorescence microscope, a focused ion beam microscope (FIB), a helium ion microscope, a magnetic resonance microscope, a neutron microscope, a SQUID scanning microscope, an X-ray microscope, an ultrasound microscope, a light sheet microscope (SPIM) or an acoustic microscope, etc.
[0046] The microscope 210 is designed to communicate with an embedded system 220 and its control computer 230. In one example, the microscope communicates simultaneously or in parallel with one or more embedded systems 220 with hardware-accelerated KI and its control computer 230 via bidirectional communication links 240 and 250. Through the bidirectional communication links 240 and 250, such as a deep learning bus, data (e.g., images, device parameters, experimental parameters, biological data) and models, their components or hidden representations of the data can be exchanged. The model can be changed during the experiment (by training or adapting parts of the model). In addition, a new model can be loaded onto the microscope or device and used. This can be done based on the recognition and interpretation of the data provided by the model itself.
[0047] The model can also evaluate user-related usage data and, more precisely, improve user-friendliness. Data that can be used for this purpose are, inter alia, mouse movements, number of clicks, time between clicks, interaction with image data and device parameter settings that have been made by the user. This provides data that can improve the operability of the microscope. Likewise, a trained model can dynamically or non-dynamically adapt the user interface during an experiment, so that relevant operating elements are highlighted and / or they are brought spatially close to one another, thus immediately improving user-friendliness. With the help of a learned user interface, this can lead to a lasting improvement in user-friendliness.
[0048] In order to continuously improve the model, in one embodiment, data from as many users as possible are detected. Users can indicate their preferences for which data they allow to be collected and anonymized. In addition, at the right point in the user interface for the experimental process, it is possible to evaluate the predictions of the model. In one example, the system can indicate the number of cells transfected. In one embodiment, the user can overwrite this value. This in turn provides new data points for fine-tuning the model. The advantage for the user is therefore that he can always download improved models. For the manufacturer, this in turn provides the possibility to continuously improve its offer.
[0049] Figure 3 Several microscopes 330a, 330b, and 330c are shown, which are combined into a microscope compound system 310. In addition, Figure 3 A heterogeneous composite system 320 including microscope systems 350a and 350c and microscope 350b is shown. These composite systems are not fixed to a specific number of microscopes and / or microscope systems. The number of microscopes and microscope systems can vary depending on the application area and measurement range.
[0050] Microscope 330 and microscope system 350 may include one or more components that support KI. Figure 2 Like the microscope in the embodiment of the present invention, the microscope system can communicate with other KI-enabled devices or systems via a network. The microscope system 350 can exchange data (not shown) with one or more embedded systems and / or one or more control computers or workstation computers, for example, via a bidirectional connection. The data may include data, models, or hidden representations detected by the microscope system or components of the microscope system. The microscope 330 and / or the microscope system 350 may include an integrated microcomputer having a hardware acceleration unit for the KI model, such as a GPU, a TPU, an application-specific integrated circuit (ASIC) or an FPGA dedicated to machine learning (ML) and / or deep learning (DL).
[0051] Figure 3Also shown is the communication between the microscope 330 and the microscope system 350 in the composite system. The microscope 330 or the microscope system 350 of the composite system 310 and their attached components, such as an embedded computer or a system computer (not shown), can communicate with each other and with the cloud 300 or a server, for example, to exchange data or models.
[0052] Communication within the complex can be used to coordinate complex, multimodal and / or parallelized experiments or measurements. Control signals, data (images, device parameters, hidden representations) and models can be exchanged there. In particular, models that have been trained or modified on a device in conjunction with a microscope, a microscope system or a complex system can be exchanged with other devices in the complex, in other complexes, or with the cloud. This is done by managing user permissions and project affiliations. Here, users can decide for themselves who is allowed to view and use the generated data flows and models. Models uploaded to the cloud aggregate the experience of all relevant laboratories or facilities, so that models that can be used by all users can be continuously developed.
[0053] As already mentioned, the exchange of models and data between workgroups and institutions can be carried out using and through the cloud. Microscopes, microscope systems and their architectural components can communicate with each other and with workstation computers via a deep learning bus system. Dedicated hardware and / or TCP / IP network connections or equivalent can be used for this purpose. Via the same connection, a workgroup communicates with other workgroups, including one or more microscopes or microscope systems, with server systems, the cloud and / or other institutions. All learned information, data, hidden representations, models and metadata can be exchanged with each other and managed by the model manager and rights management.
[0054] exist Figure 2 and 3 The structures described in for communication between microscopes and their components can also be used for communication between microscopes, microscope systems and complexes of microscope system components as well as between work groups and institutions. For communication, a deep learning bus system with the following properties can be used:
[0055] Network all subsystems, i.e. microscope components, sensors and actuators, with each other and with suitable models. These subsystems can be intelligent, i.e. have neural networks or machine intelligence themselves, or not.
[0056] • The networking of all subsystems and modules, microscopes and microscope systems results in a hierarchical structure with domains and subdomains.
[0057] All domains and subdomains and related systems and subsystems can be centrally documented and searched for easy access by the model manager (see Fig.10) to distribute the model to them.
[0058] For communication in time-critical applications, dedicated hardware can be used for the bus system. Alternatively, a network connection according to TCP / IP or a suitable network standard can also be used.
[0059] The bus system must manage at least the following data: ID of each component (actuator, sensor, microscope, microscope system, computer resource, workgroup, institution); permission management for the desired payment system, including read / write permissions for authors, institutions, execution machines; metadata from experiments and models; image data; models and their architecture, including learned parameters, activations and hidden representations; required interfaces; required runtime environment, including environment variables, libraries, etc.; all other data, as long as it is needed by model administrators and permission management.
[0060] Through the large number of different KI-supporting components, a hierarchical structure with domains and subdomains is created. All components are documented in the catalog and can be found. Rights management occurs at each level (i.e. components connected to the microscope, microscope / system, workgroup, computer resource, institution). This results in a logical hierarchical functional structure that enables collaboration among all parties involved.
[0061] Whether for individual users or in large research networks, the use of open standards for communication and data storage enables a single microscope to scale to a complex of microscopes or distributed workgroups (e.g. across the globe) that are interconnected and learn from each other, leading to continuous improvement of the equipment.
[0062] Microscopes consist of functionally networked, interconnected subsystems, components or modules. This connection exists at the level of microscope subsystems, the entire microscope and complexes or networks of microscopes. At each of these three levels, it can be said that there are modules or components of the respectively higher abstraction level. Each module communicates via narrow interfaces that are independent of the respective hardware or software within the module and have user rights management. Each module continuously records its status in a standardized format. This type of communication and recording of status parameters can also be used for non-microscopes, such as laboratory automation, sample preparation equipment, pipetting equipment, climate chambers, etc.
[0063] Communication can be achieved within a single microscope (see Figure 2 ), microscope system (see Figure 2 and 3 ) or a combination of a microscope and a microscope system (see Figure 3 ) with their corresponding connected components (e.g. actuators and sensors), embedded computers, one or more system computers, and the cloud (see Figure 3). In this embodiment, it is important that data, models and hidden representations of the data - which can be seen as a reduced-dimensional form of data - can be constantly exchanged and synchronized with the cloud. The latter enables continuous further development of models that can benefit from the accumulated experience of all users and solve new tasks. Otherwise, a large amount of data would be required to train models based on deep learning.
[0064] Through the networking of microscopes, microscope systems, compound systems and the cloud, multiple forms of feedback are generated:
[0065] 1) Feedback microscopy: During an experiment, data are evaluated asynchronously to a predefined model or image processing process and decisions that affect the current experiment are made based on the extracted information (e.g., regarding where to record, how fast to record, or how the image was recorded, such as lighting, detection, or optics).
[0066] 2) Feedback into the model: Since the model can be continually further fine-tuned (“fine-tuning”), thereby increasingly improving its predictive accuracy, feedback is generated that can modify and improve the model that is constantly evaluating the data even while the experiment is ongoing.
[0067] In the case of feedback, a collection of methods or processes can be designed so that the results discovered through deep learning are fed back to the microscope system or microscope subsystem, thus creating a feedback loop. Through feedback, the system is asymptotically transitioned to an optimal stable state, or it is appropriately adjusted (system settings) so that certain objects can be recorded more ideally.
[0068] 3) Based on image recognition and / or evaluation of the recorded data, models can be exchanged and reloaded at runtime to support other object types, other colors and generally other applications. This can even happen during the conduct of an experiment or measurement, thus making the microscope very dynamic and adaptable.
[0069] These forms of feedback enable a new approach for optimizing workflows during microscopy measurements.
[0070] Figure 4 A hierarchical layout for reasoning about data with a large variability is shown. The microscope can then be used in basic research or in clinical applications, where image data and other types of data vary greatly. It can therefore be beneficial to use a "master model" to perform an upstream classification step and automatically select the right model for the corresponding data domain. The principle of using a hierarchical integration of models is not limited to one data domain, but can include different data types and domains. Likewise, several hierarchically organized sets of models can be stacked in order to organize the data domain according to multiple dimensions and perform automatic reasoning despite different applications and the variability of the data. Figure 4An example of data with a high degree of variability, in this case image data 410, is shown. These data can thus be, for example, fluorescent images 412 of single cells, HE-stained tissue sections 414, or interference contrast images 416. In order to still be able to reason efficiently and with high accuracy, the main model 400 is trained to distinguish between different data domains of the image data 410. The result of this classification enables the determination of suitable models 420, 430, and 440 for the domains of the corresponding detected image data 412, 414, 416. The suitable models 420, 430, and 440 for these domains can then be automatically applied to the corresponding image data 412, 414, 416. The models 420, 430, and 440 and their reasoning can then be used to make predictions Decisions about the workflow can be based on this prediction. The "master model" or world model can thus classify the application area and automatically select the appropriate model. For example, image data from HE-stained tissue sections 414 can be detected during a microscope workflow. The master model 400 can be applied to these image data and a trained model 412 can be determined. The training model 412 can be a training model that has been trained specifically for image data from HE-stained tissue sections. The specific model 412 can then be automatically applied to the image data of the HE-stained tissue sections 414 and make accurate predictions.
[0071] Figure 5 The application of a trained model 530 is shown. The model 530 is applied to data 520 and 510 acquired during operation by the microscope 500 and its components (e.g., sensors). The current experiment or current measurement continuously generates data, which may be of different types and acquired by different components or sensors. Figure 5 In the case of a microscope, it may be an image 520 and metadata or state parameters 510. The data 520 and 510 are analyzed by a pre-trained model 530. A decision 540 may then be made based on the application and / or analysis of the model. The trained model 530 may evaluate and / or analyze one or more different types of data sets and make decisions based on the analysis that affect the workflow of the microscope and / or its components. Figure 5In the case of an error, it can be determined with the aid of the model 530 whether all parameters are within the normal range. In this case, the experiment or measurement can be continued. If not, for example here in the case of overexposure of the detector, the current experiment or measurement can be paused and the last position can be recorded repeatedly, as shown in step 550. To this end, in some embodiments, the parameters of the components of the microscope 500 can be additionally changed, or an error notification or warning can also be sent. The experiment or measurement can then be continued as planned. Any type of data, such as images or metadata, device parameters, predictions of other models or user input, can be used for error identification. The decision based on the analysis of the model 530 can affect all control parameters of the microscope, the microscope system, the complex consisting of the microscope or its attached components, as well as the processes of other laboratory equipment or mobile devices that affect the user or service technician. For example, the error notification can be sent to the service technician or the cloud. If the error notification is sent to the cloud, the model can be trained there based on these error notifications and other error notifications from the same source or other sources, also by artificial intelligence. These new trained models can then make decisions in order to automatically eliminate the error, thereby preventing the measurement or experiment from being aborted.
[0072] Furthermore, recording the status parameters of the modules or components of the microscope system allows for continuous self-diagnosis. Such self-diagnosis allows for quality control of the experimental results during and after the measurement. Furthermore, self-diagnosis allows for automatic, semi-automatic or manual control by technical service or triggering of a service call if necessary, which can ensure the smooth conduct of experiments and / or measurements. This allows for a high availability of the microscope by monitoring the device parameters at the level of individual modules or components.
[0073] Standard ranges in the sense of intervals with threshold values or expected values in a statistical sense can be specified for all device parameters acquired sensory or logically. When leaving the determined interval, the microscope can automatically trigger an event that can be interpreted by other microscopes, users or service technicians. The training model can also search for anomalies in the data stream without monitoring and also trigger corresponding events when anomalies occur. This event is in turn sent via the network, for example via a network API, and thus reaches the control software of other microscopes, the user interface of the user, the mobile device of the service technician or enters the cloud as training data.
[0074] In some embodiments, there is intelligent fault management. Error reports generated by the microscope can be continuously collected and evaluated by the model. In the manufacturer's development department, these error reports can be analyzed and training data sets can be created for monitored or unmonitored training of models, which can then recognize certain errors and automatically take measures to overcome them. These training models can then be additionally loaded onto the device according to the invention, for example via WiFi, cable, Bluetooth, light, USB stick, disk, etc., and executed. This allows the microscope to develop a kind of "self-healing capability" in such a way that in the event of an error, the outflow will not simply come to a standstill, or the experimental data will not be available, but the microscope will reprogram its own state or change the device parameters so that a smooth process can continue to be achieved (see Figure 5 ). In addition, the microscope can notify the user of the problem via the mobile device and request user input in order to make a decision. Unsupervised ("unsupervised learning") training of the model is also possible, which can be done during the experiment, for example, to recognize unusual or dangerous scenes. The user can then be warned about this and take countermeasures, or the user can be informed of potentially dangerous operating errors. This can increase the safety of the experiment.
[0075] If fluctuations occur, for example, in the laser power, the amplification voltage of the sensor or the temperature of the climate chamber, the experimental results may be adversely affected. This is recorded and automatically identified with the help of the model, which allows the quality of the data to be assessed. If quality problems in the data are registered and identified during the recording process, the microscope can repeat the entire experiment or part of the experiment. Since unnecessary manual repetitions are avoided and the interpretability of the data is improved, the user's productivity is increased, because unexpected phenomena in biological systems can be associated with device parameters. For example, cells may divide more slowly when the temperature drops. This can be automatically identified and the user is notified, and a decision can be made as to whether the experiment should be continued, aborted or repeated. The recorded device parameters and state parameters, as well as their interpretation by the model and the model used for this purpose, can be saved together in an open format. The experiment can thus be fully reproduced.
[0076] In the presence of data about the experiment, the sample, the sample preparation, and the experimental process, models can be used to predict when necessary reagents are running low, and these chemical or biological reagents can be ordered automatically or semi-automatically. Automatic or semi-automatic subsequent ordering of reagents and materials ensures that long-term experiments or industrial applications proceed smoothly and uninterrupted.
[0077] Models selected by the model manager or the user, or KI applications based on these models, can be quickly provided at the time of, before, or after the experiment. They can also be version controlled and managed independently of the image acquisition software, and can be expanded on a variety of different systems or system components - from microcomputers to embedded computers, stand-alone computers to the cloud. In a preferred embodiment, container technology is used. This container ( Figure 6 , 610) contains all environment variables, domain name space and operating environment and all libraries required for the operation of the application or model and the model or application itself. The container is shown only by way of example and not limitation in the following figures. For example, other programming languages can also be used instead of Python.
[0078] Figure 6 It is shown that a deep learning model is provided in a container. The operating environment, all necessary drivers and libraries, and the deep learning model or an application based on the model can be provided in the container. The image acquisition software 600 communicates with the container 610 through a suitable interface that meets the requirements of the deep learning bus system 620. For the case of reasoning applications, the input / output of data is taken over by the image acquisition software.
[0079] The image acquisition software 600 may be a software component by which one or more microscopes or microscope systems and / or components thereof may be controlled. In addition, the image acquisition software 600 may form a user interface. Basic management of recorded images, experimental data, metadata, and training results may be taken over by the image acquisition software 600.
[0080] Figure 7 The provision of deep learning inference as a web service is shown. A web server and the associated front end are started in a container 700. The user communicates via the front end and sends orders. The web server calls data and models from the cloud 730, the institute 740 or the user's standalone working computer 750 with the help of a model manager. The web application communicates via the web interface of the deep learning bus system 720 with the deep learning container 710, which includes the application for training the model (for inference) and sends the results back to the web server. The web server calculates the output and displays it to the user via the web front end. If necessary, the results can also be transferred directly to a standalone working computer or the user's microscope (system) and there influence the progress of the experiment or undertake control tasks.
[0081] The use of containers enables microcomputers, embedded systems, workstation computers with GPUs, TPUs, ASICs or FPGAs to be extended to cloud applications without, in principle, having to change the model and its directly associated software required for its operation in any way.
[0082] Figure 8 Model training on a standalone work computer or on a server in a local area network is shown. The image acquisition software 800 is connected to the deep learning container 810 via the deep learning bus system 820 and determines the dimensions of the input data and / or output data. For training, the deep learning container 810 runs on a computer resource, on which data may also exist. Because the maximum memory bandwidth is required for training, the deep learning container also includes a memory-manager 830, which can cache data on a fast local memory 840 when necessary and provide data batches for the deep learning model. The image acquisition software 800 takes over the storage of experimental data, metadata, and training results on a standalone work computer 860 or a server in the network 870 via the deep learning bus system 850. The computer resources on which the deep learning container 810 runs can be the same as 860 or 870 to keep the data transmission path short. The acquisition software 800 can be executed on a local workstation 860.
[0083] Deep learning methods can be used to train the model. This includes the planned use of at least one deep learning method, but preferably multiple deep learning methods, to achieve a specific goal. Here, the goal can be related to analysis (e.g. image analysis, object recognition, context recognition, etc.), but can also be related to control (feedback microscopy, sensor adaptation, process adaptation, system optimization, etc.). The deep learning method can include a series of method steps that subdivide the process into understandable steps, to be precise, the process is repeatable. These method steps can be specific deep learning algorithms. But it can also be a method used by the network to learn (back propagation), which can be, for example, a way of data acquisition, or how data is processed by hardware, etc.
[0084] Fig. 9 A system for training models in the cloud as a web service is shown. This form of training supports three types of application scenarios. In the first scenario, a user 911 interacts with a web application 910 in the cloud 930 to train a model for a specific application. This is typically done through a model store ( Fig.11 ). In the second and third cases, the user sits at his workstation and operates the image acquisition software 900. The image acquisition software communicates with the web application 910 in the cloud 930. This is done through the deep learning bus system, either interactively under the control of the user also through the web front end, or programmatically with the web server through the API. The web server can temporarily store the data in the cloud or query additional data from the storage 950. With the help of the model manager 945, the web server is responsible for providing the computing resources for training. The data required for training is sent to the deep learning bus system 944, which can be communicated with Figure 8A deep learning container 810 corresponding to the deep learning container 810 of the present invention. The deep learning container uses a memory-manager and a fast local memory to cache data for fast training. Training is performed on a computing resource 975 with powerful computing power. The fast local memory can be its own computing resource, or it can be part of the computing resource 975. Therefore, cloud services can be executed on the computing resource 975 to keep the data path short, or on the computing resources of a third party (for example, if training is provided as a service through a model store). For local memory, fast NVMe-SSDs or future forms of fast non-volatile memory can be used. The training results are used by the image acquisition software, which can store these results locally 980 or on a server 990, and can also reload other data from there. The acquisition software 900 will typically be executed on a local workstation 980.
[0085] Returning to application scenario 1: User 911 may need to train a new model, but may not have his own resources. Then, he can use the web application 910 of the cloud 930 to use the model store ( Fig.11 ) to search for finished models or for providers of services and computing resources. The network server uses a model manager 945 in order to find suitable finished models or to train new models on powerful computing resources 975. In this case, the user 911 will upload data via the network interface, and the network server can download 950 other required data from the network or cloud when necessary. The data is sent to the deep learning container 810 via the deep learning bus 944. Since downloading batches of data for training must be done quickly, the deep learning container can have a fast cache managed by its own memory-manager (see also Figure 8 ). This is the logical level. In terms of hardware, the fast cache memory (e.g., fast NVMe SSD memory) can also be the same as the running computing resource 975, and the deep learning container can also be run on this computing resource.
[0086] Application scenario 2: User 912 sits at his microscope and operates acquisition software 900. The acquisition software can give him the opportunity to train new models and bring its own user interface or provide a web front end for this purpose. User 912 can thus interactively place orders.
[0087] Application scenario 3: The acquisition software 900 controls the training programmatically. Therefore, training is part of the experiment and can influence the course of the experiment. This is required, for example, when a pre-trained model is to be fine-tuned with new, currently unknown data, but this is not possible or desired locally, or when a service provider or a third party has a suitable model and the model or the training of a new model is provided as a service in the model store. Services in this sense can be the provision of pre-trained models, a training environment in a pre-configured container, computing resources, the creation of new models and their training, manual or automatic annotation of existing data, or a combination thereof.
[0088] Fig.10 The schematic structure of a model manager 1000 is shown, which is designed to provide the right model for the right application and machine. The model manager can be queried in various ways, namely by a user via a web service 1010, as a result of image processing 1011; as a step in the processing flow of an experiment 1012; as a result of data mining of model metadata, hidden representations or model parameters 1013; as a request from a model store 1014; or as explicit model parameters including experimental conditions 1015. Within the model manager, rights management 1020 is performed with the help of a model database 1025. The following information can be stored there: model architecture ("neural network" topology with all calculation steps), model parameters ("model weights" in English, i.e. learned information), model metadata and / or model rights. Container management 1030 can also be performed within the model manager. The container manager enables the provision ("deployment") of models in containers (e.g. Docker containers). For this purpose, the container manager uses a container database 1035, which can contain the following information: prefabricated images and instructions for generating images. With the help of model metadata from the model database 1025, the container manager can find a suitable container image or generate a new container image. The model manager outputs the desired model in the container to the corresponding target system or to the corresponding device. This can be a microscope / microscope system 1050, if necessary with embedded systems or additional components, a network service 1051, a model store 1052 or a computing resource 1053. The latter can be an embedded system, a microcomputer, a microscope workstation or a server.
[0089] The model manager performs all tasks for selecting the right model for the right purpose, managing model metadata, and creating containers for running models. In addition, permission management for models can be performed by the model manager. Since there can be any number of models in the database, it is advantageous to specify a variety of different criteria to search for and select the appropriate model.
[0090] For the various tasks of the model manager, a series of metadata related to the model are defined. Table 1 summarizes some exemplary metadata and their uses.
[0091]
[0092] These models can be run in such a way that they can be flexibly integrated into different environments, such as standalone work computers, embedded computers, FPGAs, TPUs and / or ASICs on connected microscope components or in the cloud, without significantly changing the environment. Due to the rapid development of technology in the field of deep learning, the operating environment of each model can be adjusted and versioned individually. Therefore, container technology is used in some embodiments. In this way, all software libraries, environment variables and "domain name spaces" can be managed and provided together with the model. The model manager uses metadata to identify which pre-made container can be used, or dynamically creates a new suitable container and manages it. The library used for computing acceleration, that is, field (4) of Table 1, stores which version of CU-DA or OpenCL is required, for example. Other libraries, such as Python versions (or versions and distributions of other programming languages), Tensorflow, Pytorch and others, can be stored in field (5) of Table 1. Field (6) of Table 1 stores the exact dimensions of tensors at the input and output of the model and their data types. This is used to configure the interface of the container and data acquisition software and select the correct model. In the case of transfer learning, in this way it is also possible to reuse parts of a pretrained model in a new application context and combine them with other model parts. The model can be run on different hardware at different locations in the workflow of the microscope or the user, for example in real time during acquisition, asynchronously during acquisition for feedback microscopy, or in post-processing. Fields (7) and (8) are used for this purpose. Depending on the storage requirements and the location in the workflow, it is determined on which component of the microscope system the model can and / or must be run, for example on the point scanner, the camera, the FPGA in the tripod, or on the CPU or GPU, TPU or ASIC of a workstation, or on a computing cluster, or in the cloud. Fields (9) to (12) in Table 1 are used to select an appropriate model for a given problem. To this end, the model category or data domain is determined according to field (9), for example, whether it is a model for recognizing images or text, or a model for solving classification or regression problems. The performance indicator (e.g. prediction accuracy, "accuracy", "recall", "F1 score", "Dice loss", "SSIM", etc.) is recorded in field (10). This allows not only the selection of suitable models but also the continuous improvement of existing models.
[0093] The overall behavior of all suitable models in the model manager database thus acts like a "super model" that can learn as a whole, solving specific tasks better and more differently. By constantly replacing models (constantly refined based on user data), a global learning process can be performed on all user data in the appropriate data domain, using a variety of different data from users and user groups around the world, which continuously improves the model supply. This is one of the advantages compared to simply applying neural networks in isolation on a unique user system.
[0094] The explicit model features are stored in field (11) of Table 1. These are metadata from the experiment, such as staining, cell line, experimental protocol, biological DNA or protein sequence, acquisition speed, temperature, air humidity, CO2 content in the buffer, nutrient solution, lighting, detection parameters, etc. Another option for selecting a suitable model is the implicit model features in field (12). These are pre-calculated activations of the neural network with the help of a sample data set, or they can also be learned model parameters that reflect the learning semantics of the model. By suitable unsupervised ("unsupervised") learning methods, such as "kmeans clustering", "mean shift clustering" or "t-SNE", semantic relationships between models can be identified without any user intervention. It is therefore also possible to find previously unknown models for the user and recommend them to the user. The rights management of the model is related to the author field (13) to (15) of Table 1. The author field (13) can be provided to the model free of charge or for a fee. For this purpose, different payment models stored in field (14) can be used, such as a one-time payment at the time of downloading, or a usage-related payment involving the usage time or frequency of use. Which machines are allowed to run the relevant model is managed in field (15). In some application areas, such as medicine, pathology or in vitro diagnostics, certain standards, acceptance criteria or certifications must be adhered to. Therefore, the running or downloading of models in these areas must be strictly regulated. In contrast, devices used for pure research can run or download any model.
[0095] All metadata mentioned can be searched with various search terms, common expressions and filters. Data mining can also be performed on these metadata in order to manage, select and continuously improve models.
[0096] Fig.11A model store 1100 is schematically shown. The model store 1100 is a marketplace for models and services in the field of "bioimage informatics". Users 1110 of microscopes or web services search for models and request services (e.g. creation of models or image processing processes) which they pay with money or a point system. The search is performed via a web front end 1130. Experts 1120 in the field of image processing or microscopy also offer their models and services there. In addition to creating models and image processing processes, the service may also include providing own computing resources. The web front end processes payment information, user points ("credits") and user levels ("tiers") via a store back end 1140. The store back end contains a docking service to find suitable business partners. The store back end stores the required information about user profiles, credits, tiers and exposures in a user database 1145. The model store processes the user's search request in step 1150 via a model manager 1160 and receives suitable models in step 1155. In contrast, models provided by experts are managed by the model manager 1160. If computing resources 1170 are needed to perform the service, the manufacturer can provide these resources, or resources 1170 provided by an expert 1120 or a third party and the desired model or image processing process can be provided there. The user can now download the new model to his microscope and execute it there; he can, for example, download and execute the image processing process, or he can execute it on a cloud service provided by the manufacturer or a third party.
[0097] Fig.12 A schematic diagram of an embodiment of a method for optimizing a workflow according to the present invention is shown. Measuring systems 1212, 1214, and 1216 each include at least one device on which a training model 1220 is run. The at least one device may include a workstation computer, an embedded computer, a sensor, an actuator, and / or a microscope. In addition to the at least one device and one or more microscopes and / or microscope systems, the measuring system itself may also include other devices involved in performing the measurement. For example, this may include equipment for laboratory automation, one or more sensors, one or more actuators, one or more sample preparation devices, one or more slicers, one or more devices for pipetting, and / or a climate chamber, which are interconnected via a network such as a radio network. Measuring systems 1212, 1214, and 1216 may also be separated in space and operated by different users.
[0098] In each measurement system 1212, 1214, and 1216, the same training model 1220 can be applied. For the input X into the training model 1220 i , the training model 1220 provides output The trained model can be applied to data detected by one or more components of one or more microscopes, such as sensors such as cameras, during the workflow. The detected data can be used as input to the model X i , and includes image data, metadata, parameter data, data during an experiment, information about reagents and materials, information about an examination object or an examination sample, user-related data and / or device data from devices that are controlled during a measurement performed by one or more microscopes and / or microscope systems. Output based on the trained model At least one decision may be made regarding the workflow of one or more microscopes or measurement systems 1212, 1214, and 1216. The at least one decision may include an automatic or semi-automatic state change of one or more microscopes or components thereof. For example, outputting Can be used to control one or more components, or based on the output Select and use another trained model. Alternatively, you can also output To indicate an error, or to change parameter data of the equipment involved in the measurement.
[0099] In step 1230, the output is evaluated. The evaluation may be based on the input of a user of the detection measurement system 1212 and may include a negative evaluation or a positive evaluation. In one example, a camera of a microscope of the measurement system 1212 detects an image. The detected image is analyzed by the training model 1220. The pixels of the detected image may correspond to the input values x of the training model 1220. i In this example, the training model 1220 may have been trained to determine optimal lighting for a sample and applied to the detected image to provide a prediction or output for the light source intensity In another step, the intensity of the light source can be automatically adjusted and another measurement performed with the new intensity. The evaluation of the user's prediction or output can be done actively or passively. For example, the user can override the predicted intensity. The system detects the user input and evaluates the prediction or output as negative because it is assumed that the user is not satisfied with the predicted intensity. Therefore, a fault in the user input can be rated as a positive evaluation. In one embodiment, the user can be actively asked after the prediction is evaluated. The detected data can be annotated based on the evaluation and used as training data.
[0100] In a next step, second data are sent to the cloud 1240. The second data may be uploaded to the cloud 1240 automatically, semi-automatically or manually and include at least one of the following: at least one training model 1220 or a portion thereof, detected data including input data of at least one training model, annotations about a given output value of at least one training model applied to the input data, a hidden representation of the data, an evaluation of the output value of at least one training model, parameter data of at least one of the one or more components, data during the experiment, error notifications, information about reagents and materials, device data of devices controlled during measurements performed by one or more microscopes and / or microscope systems, and user-related data. The second data may come from one or more sources. Fig.12 For example, three sources (measurement systems 1212 , 1214 , and 1216 ) are shown in FIG. 12 . In one embodiment, the second data is aggregated in cloud 1240 .
[0101] In the cloud 1240, the training model 1220 is modified or adjusted in step 1250 to obtain an adjusted model 1260. Step 1250 may include training at least a portion of the training model 1220 at least in part with the second data to obtain the adjusted training model 1260. Alternatively, a new model may be trained with the aggregated data in the cloud 1240. For the input X into the adjusted training model 1260 i , the adjusted training model 1260 provides the output For the same input X that enters the training model 1220 i and the adjusted training model 1260, so different outputs can be obtained and Therefore, the adjusted training model 1260 can be based on the input X i The predictions of the workflow are different from those of the trained model 1220. In one embodiment, the predictions or outputs of the adjusted trained model 1260 Advantages for certain or specific application cases. For example, the prediction accuracy of at least one training model applied to the detected data can be improved by adjustment. The workflow of the microscope or microscope system can be optimized by better prediction or optimal output of the adjusted training model.
[0102] In another step 1270, the adjusted training model 1260 or a new training model can be loaded and / or applied to one or more devices of the measurement systems 1212, 1214, and 1216. This can be done automatically, semi-automatically, or manually. Thus, the training model can be continuously improved and the workflow of the microscope or microscope system can be improved.
[0103] Fig.13A schematic flow chart of an embodiment of a method 1300 for optimizing a workflow of at least one microscope or a microscope system according to the present invention is shown. The method 1300 comprises a step 1310 in which data is detected during a work process performed by one or more components of the at least one microscope and / or microscope system. The data may be detected by one of the one or more components, such as a sensor.
[0104] In step 1320, one or more training models are determined based at least in part on the detected data. Determining one or more training models may include applying a trained master model to the detected data. One or more training models may be selected from a plurality of training models that may be stored locally and called from a local database.
[0105] In optional step 1330, one or more specific training models are applied to the detected data. This may occur during the execution of the workflow. Applying the one or more training models may include analyzing the data with the aid of the one or more training models, based on which at least one decision about the workflow may be made. The one or more training models may be applied as a network service on a workstation computer, on a microscope or microscope system, and / or on an attached component of a microscope or microscope system.
[0106] In another step 1340, according to one embodiment, at least one decision is made regarding the workflow based on the application of the one or more training models. This may include controlling at least one of the one or more components.
[0107] In one embodiment, one or more training models or trained master models can be adjusted. To this end, one or more training models or trained master models can be trained on a server, cloud or workstation computer. The server, cloud or workstation computer is designed in such a way that it can be trained with the help of a deep learning model. This can be done with the help of aggregated data from various sources. However, it is also possible to train only a portion of one or more training models or trained master models. Due to the low computational intensity of this training method (also called fine tuning), the adjustment of one or more training models or a portion of the trained master model can be performed both on a server, cloud or workstation computer, and on a microcomputer, which is part of a microscope, an embedded computer or other device in a microscope system. For fine tuning, data from various different sources can also be used.
[0108] The selection and use of prediction / trained models employed in microscopy measurements and the predictions (inference) therein optimize the workflow and broaden the scope of application of microscopy measurements. The application areas for reasoning using these models are diverse and mainly include complete or partial automation of microscopy or experimental processes (e.g. finding objects, setting illumination or detection parameters), reconstruction of images and elimination of image defects (e.g. noise elimination), data mining in data (e.g. segmentation of individual objects, identification of phenotypes), self-diagnosis of microscopes, coordination of service calls, quality control and reproducibility of experiments and improvement of user-friendliness. By fine-tuning the prediction models, these models can be continuously improved and / or the scope of application of the models can be specified. This can advantageously be done by training only a few nodes in the neural network.
[0109] List of Reference Numerals
[0110] 100 Installations
[0111] 110 One or more processors
[0112] 120 One or more storage media
[0113] 130 Training Model
[0114] 210 Microscope
[0115] 220 Embedded Computers
[0116] 230 System Computer
[0117] 240, 250 bidirectional communication link
[0118] 260 Authors
[0119] 270 Sensors
[0120] 330a, 330b, 330c, 350b Microscope
[0121] 350a, 350c Microscope System
[0122] 400 Main Model
[0123] 410, 412, 414, 416 data fields
[0124] 420, 430, 440 training model
[0125] 500 Microscope / Microscope System
[0126] 510, 520 data
[0127] 530 Training Model
[0128] 540, 550 Method steps
[0129] 600 Image Acquisition Software
[0130] 610 Container
[0131] 620 Deep Learning Bus System
[0132] 630 Network or cloud storage
[0133] 700 Containers
[0134] 710 Deep Learning Container
[0135] 720 Deep Learning Bus System
[0136] 730 Cloud
[0137] 740 Research Institute
[0138] 750 users of independent work computers
[0139] 800 Image Acquisition Software
[0140] 810 Deep Learning Container
[0141] 820 Deep Learning Bus System
[0142] 830 Memory Manager
[0143] 840 Fast Local Storage
[0144] 850 Deep Learning Bus System
[0145] 860 Independent Work Computer
[0146] 870 Servers in the network
[0147] 910 Web Application
[0148] 911, 912 users
[0149] 930 Cloud
[0150] 944 Deep Learning Bus System
[0151] 945 Model Manager
[0152] 950 Memory
[0153] 975 Computing resources with powerful computing capabilities
[0154] 980 System Computer
[0155] 990 Server
[0156] 1000 Model Manager
[0157] 1010-1015 Methods and Steps
[0158] 1020 Permission Management
[0159] 1025 Model Database
[0160] 1014 Model Shop
[0161] 1030 Container Management
[0162] 1035 Container Database
[0163] 1050 Microscope
[0164] 1051 Network Services
[0165] 1052 Model Shop
[0166] 1053 computing resources
[0167] 1100 Model Shop
[0168] 1110 users
[0169] 1130 Network Front End
[0170] 1120 Expert
[0171] 1140 Store Backend
[0172] 1145 User Database
[0173] 1150, 1155 Methods and Steps
[0174] 1160 Model Manager
[0175] 1170 Computing Resources
[0176] 1212-1216 Measurement System
[0177] 1220 Training Model
[0178] 1230 Evaluation
[0179] 1240 Cloud
[0180] 1250 Methods and Steps
[0181] 1260 Adjusted training model
[0182] 1270 Methods and Steps
[0183] 1300 Methods
[0184] 1310-1340 Methods and Steps
Claims
1. A system for adjusting a workflow, comprising: One or more devices (100) for optimizing the workflow of one or more microscopes and / or microscope systems (210; 330, 350; 500; 1050; 1212, 1214, 1216), the one or more devices (100) comprising: one or more processors (110); and one or more computer-readable storage media (120) having computer-executable instructions stored thereon, which when executed by the one or more processors (110) cause: a) one or more microscopes and / or microscope systems (210; 330, 350; 500; 1050; 1212, 1214, 1216); 2, 1214, 1216) performs a workflow, wherein the workflow includes detecting first data (510, 520); and b) determining one or more training models (420, 430, 440; 530; 1220) for the workflow based at least in part on the detected first data (510, 520), wherein the one or more devices are part of one or more microscopes and / or microscope systems (210; 330, 350; 500; 1050; 1212, 1214, 1216) and are designed to detect second data; A cloud (300; 730; 930; 1240) comprising computing resources (860, 870; 930, 980), wherein the computing resources (860, 870; 930, 980) are designed for training one or more models; and a model manager (1000; 1160) designed to implement one or more of said training models (420, 430, 440; 530; 1220) on at least one of said one or more devices, Wherein, the model manager (1000; 1160) is designed to: Regulating rights management (1020) with the aid of a model database (1025), wherein the model database (1025) stores at least one of the following information: model architecture, model parameters, model metadata, and model rights; controlling communications between individual devices or groups of devices in one or more of the devices; Manage versions of training models (420, 430, 440; 530; 1220); assigning the training models (420, 430, 440; 530; 1220) to application domains; Outputting the training model in the container to at least one of the one or more devices, wherein the model manager (1000; 1160) includes a container manager, and the container manager creates or provides a container for running the training model (420, 430, 440; 530; 1220); and / or, Managing metadata of a training model (420, 430, 440; 530; 1220), wherein the metadata is used to manage the training model (420, 430, 440; 530; 1220), and / or wherein the metadata includes at least one of: a unique identifier of the training model, a version number of the training model (420, 430, 440; 530; 1220), an identifier of a usage location in a device, a category of the training model (420, 430, 440; 530; 1220), and a task of the training model (420, 430, 440; 530; 1220).
2. The system according to claim 1, characterized in that The computing resources (860, 870; 930, 980) are designed to adjust at least one of the one or more training models (420, 430, 440; 530; 1220) based on the detected second data, wherein the second data comprises at least one of the following: at least one of the training models (420, 430, 440; 530; 1220) or a portion thereof; detected data including input data of one or more of the training models (420, 430, 440; 530; 1220); annotations of the input data; hidden representations of the data; an evaluation of the output value of the training model (420, 430, 440; 530; 1220) applied to the input data; user input, and / or, Wherein, one or more of the training models (420, 430, 440; 530; 1220) are trained for different types of data.
3. The system according to claim 1 or 2, characterized in that: The system also includes a model store (1100) as a software component on at least one of the one or more devices, wherein the model store (1100) is designed to select a trained model, and / or the system is designed to download a trained model for local operation with the aid of an interface and the model store (1100).
4. The system according to claim 1 or 2, characterized in that: The model manager (1000; 1160) implements one or more of the training models (420, 430, 440; 530; 1220) on at least one of the one or more devices based on an event, and the event includes at least one of the following: Obtaining a user request via a network service (1010); Obtaining a request (1011) based on an analysis result of the first data (510, 520) by means of a training model (420, 430, 440; 530; 1220) among the one or more training models; Get requests based on steps in the workflow; Obtaining one or more results by data mining model metadata, hidden representations, or model parameters (1013); Get request from model store (1014); and Based on the detection, a request is made for explicit model parameters including experimental conditions (1015).
5. The system according to claim 1 or 2, characterized in that: The workflow includes applying a trained master model (400) to the detected first data (510, 520), and determining the one or more trained models (420, 430, 440; 530; 1220) for use in the workflow is at least partially based on applying the trained master model (400) to the detected first data (510, 520).
6. The system according to claim 5, characterized in that Applying the trained master model (400) includes analyzing the detected first data (510, 520), wherein the trained master model (400) determines the one or more training models (420, 430, 440; 530; 1220) for the workflow based on information from the analysis of the detected first data (510, 520).
7. The system according to claim 5, characterized in that The device is designed to adjust the trained master model (400), wherein the adjustment comprises training only a part or a plurality of parts of the trained master model (400).
8. The system according to claim 1 or 2, characterized in that: The computer executable instructions, when they are executed by the one or more processors, further cause: c) applying at least one of the determined one or more training models (420, 430, 440; 530; 1220) to the detected first data (510, 520), wherein: making at least one decision regarding the workflow based on applying at least one of the training models (420, 430, 440; 530; 1220); and / or, At least one of the training models (420, 430, 440; 530; 1220) is determined during the measurement and automatically applied.
9. The system according to claim 1 or 2, characterized in that: The detected first data (510, 520) includes at least one of the following: image data; user input; Error notification; Metadata; parameter data of one or more components; data during an experiment; information about reagents and materials; information about an object or sample; user-related data; device data from devices controlled during measurements performed by the one or more microscopes and / or microscope systems (210; 330, 350; 500; 1050; 1212, 1214, 1216) and / or by attached components of the one or more microscopes and / or microscope systems (210; 330, 350; 500; 1050; 1212, 1214, 1216).
10. The system according to claim 1 or 2, characterized in that: The one or more processors (110) include a computing accelerator.
11. The system according to claim 10, characterized in that The computing accelerator includes a graphics processing unit GPU, a TensorFlow processing unit TPU, an application-specific integrated circuit ASIC or a field programmable gate array FPGA or at least one central processing unit CPU.
12. A method (1300) for optimizing the workflow of at least one microscope or microscope system (210; 330, 350; 500; 1050; 1212, 1214, 1216), the method using a system as claimed in any one of claims 1-11.
13. The method according to claim 12, characterized in that Determining the training model includes analyzing the first data with the help of a trained master model (400), wherein the trained master model (400) is applied as a network service on a workstation computer, on at least one microscope or microscope system (210; 330, 350; 500; 1050; 1212, 1214, 1216), or on an attached component of at least one microscope or microscope system (210; 330, 350; 500; 1050; 1212, 1214, 1216).
14. The method according to claim 12 or 13, characterized in that Determining the training model (420, 430, 440; 530; 1220) includes selecting a model trained in a certain manner from a plurality of training models.
15. The method according to claim 14, characterized in that Multiple training models are categorized by application domain; and / or, Multiple training models are organized hierarchically; and / or, Make each training model from a large number of training models specific to various samples, experiments, measurements, acquisition modules or device settings.
16. The method according to claim 12 or 13, characterized in that: The method further comprises the step of automatically applying a specific said training model (420, 430, 440; 530; 1220).
17. The method according to claim 16, characterized in that The specific training model (420, 430, 440; 530; 1220) is automatically applied to the detected first data and / or newly detected data.
18. The method according to claim 12 or 13, characterized in that The method further comprises the step of adjusting the training model (420, 430, 440; 530; 1220), wherein adjusting the training model (420, 430, 440; 530; 1220) comprises at least one of the following steps: training a portion of the training model (420, 430, 440; 530; 1220); and / or, The training model (420, 430, 440; 530; 1220) is trained with the aid of aggregated data, wherein the aggregated data originates from one or more sources, wherein the aggregated data includes data automatically, semi-automatically or manually uploaded to a cloud (300; 730; 930; 1240), a server (870) or a workstation computer (860).
19. The method of claim 13, wherein: The method also includes the following steps: adjusting the trained main model (400) by training a portion of the trained main model (400) with the aid of annotated data of a second category, so that the prediction accuracy of the adjusted trained main model is improved compared to the prediction accuracy of the trained main model (400) applied to the detected first data (510, 520), wherein the trained main model is trained for data of the first category, and the detected first data (510, 520) is data of a second category different from the first category.
20. The method according to claim 12 or 13, characterized in that The training model (420, 430, 440; 530; 1220) is determined during measurements performed by one or more microscopes and / or microscope systems (210; 330, 350; 500; 1050; 1212, 1214, 1216).
21. The method according to claim 12 or 13, characterized in that The training model is trained by deep learning on data from one or more sources on a cloud, server or workstation computer and loaded onto at least one microscope or microscope system (210; 330, 350; 500; 1050; 1212, 1214, 1216) and / or onto an attached component of at least one microscope or microscope system (210; 330, 350; 500; 1050; 1212, 1214, 1216).
