Nothing Special   »   [go: up one dir, main page]

CN114117875A - Rapid Monte Carlo simulation method for simulating photon propagation - Google Patents

Rapid Monte Carlo simulation method for simulating photon propagation Download PDF

Info

Publication number
CN114117875A
CN114117875A CN202111305420.7A CN202111305420A CN114117875A CN 114117875 A CN114117875 A CN 114117875A CN 202111305420 A CN202111305420 A CN 202111305420A CN 114117875 A CN114117875 A CN 114117875A
Authority
CN
China
Prior art keywords
photon
simulation result
photon propagation
fine
discriminator
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202111305420.7A
Other languages
Chinese (zh)
Other versions
CN114117875B (en
Inventor
陈硕
宋云峰
王世远
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Northeastern University China
Original Assignee
Northeastern University China
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Northeastern University China filed Critical Northeastern University China
Priority to CN202111305420.7A priority Critical patent/CN114117875B/en
Publication of CN114117875A publication Critical patent/CN114117875A/en
Application granted granted Critical
Publication of CN114117875B publication Critical patent/CN114117875B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F30/00Computer-aided design [CAD]
    • G06F30/20Design optimisation, verification or simulation
    • G06F30/25Design optimisation, verification or simulation using particle-based methods
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02TCLIMATE CHANGE MITIGATION TECHNOLOGIES RELATED TO TRANSPORTATION
    • Y02T10/00Road transport of goods or passengers
    • Y02T10/10Internal combustion engine [ICE] based vehicles
    • Y02T10/40Engine management systems

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Evolutionary Computation (AREA)
  • Geometry (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The invention belongs to the field of optics and discloses a fast Monte Carlo simulation method for simulating photon transmission.

Description

Rapid Monte Carlo simulation method for simulating photon propagation
Technical Field
The invention belongs to the field of optics, and relates to a fast Monte Carlo simulation method for simulating photon propagation.
Background
Monte carlo simulation is a method based on repeated random sampling of physical quantities, and is often used to solve problems that are too complex due to the intervention of random variables or that cannot be solved by other mathematical models. Due to its high flexibility and accuracy, monte carlo simulation has become the most common means for simulating photon propagation in complex structured media, and is particularly suitable for simulating photon propagation in biological tissues. In the Monte Carlo simulation process, the random propagation result of each photon is recorded and averaged to obtain an estimated value, so that the Monte Carlo simulation can theoretically achieve any expected simulation accuracy. However, to achieve higher simulation accuracy, a larger number of photons are typically required for simulation, which will result in a doubling of the computational effort. The time efficiency problem of the monte carlo simulation becomes a main limit influencing the simulation precision, and how to improve the simulation speed on the premise of ensuring the simulation precision becomes a critical technical bottleneck to be solved urgently in the field of the monte carlo simulation.
Disclosure of Invention
Aiming at the defects in the existing Monte Carlo simulation technology, the invention provides a rapid Monte Carlo simulation method for simulating photon propagation. According to the method, a photon propagation simulation result is utilized to train a database and a reconstruction model based on a generated countermeasure network, a fine photon propagation simulation result is reconstructed from a rough photon propagation simulation result which only needs to input a small number of photons and consumes less time, and the time consumption of simulation is greatly reduced on the premise of ensuring the quality of the photon propagation simulation result.
The technical scheme of the invention is as follows:
a fast Monte Carlo simulation method for simulating photon transmission, which creates a photon transmission simulation result training database by generating a large number of paired rough and fine photon transmission simulation results; and training a reconstruction model from a rough photon transmission simulation result to a fine photon transmission simulation result by utilizing the training database and the method for generating the confrontation network. In practical application, a rough photon propagation simulation result is obtained based on a small number of photons under the condition of short simulation time, and a fine photon propagation simulation result is reconstructed from the rough photon propagation simulation result by utilizing the trained reconstruction model.
The method comprises the following specific steps:
step one, establishing a photon propagation simulation result training database. Performing classical Monte Carlo simulation based on a small number of photons and a large number of photons respectively by using the same optical parameters to generate a pair of rough and fine photon propagation simulation results; adjusting different optical parameters, repeating the Monte Carlo simulation process to generate a large number of rough and fine photon transmission simulation results in pairs, and establishing a photon transmission simulation result training database.
And step two, training a reconstruction model from the rough photon transmission simulation result to the fine photon transmission simulation result. And (4) training a database to learn a reconstruction model from the photon propagation simulation result obtained in the step one by using a method of generating a confrontation network. The generation countermeasure network comprises a generator and a discriminator, wherein the generator is used for reconstructing a fine photon propagation simulation result from the rough photon propagation simulation result obtained in the step one, and the discriminator is difficult to distinguish the reconstructed fine photon propagation simulation result from the real fine photon propagation simulation result obtained in the step one; the discriminator is used for discriminating the photon propagation simulation result, and discriminating the reconstructed fine photon propagation simulation result and the real fine photon propagation simulation result obtained in the first step as much as possible; and finally obtaining an optimized reconstruction model through the dynamic game process of the generator and the discriminator.
And step three, reconstructing a fine photon transmission simulation result from the rough photon transmission simulation result. Inputting a small amount of photons to perform classical Monte Carlo simulation, and obtaining a rough photon propagation simulation result under the condition of short time consumption; and then, reconstructing a fine photon propagation simulation result from the coarse photon propagation simulation result by using the reconstructed model trained in the second step, wherein the reconstructed photon propagation simulation result is close to the real fine photon propagation simulation result.
The invention has the beneficial effects that the fast Monte Carlo simulation method for simulating photon transmission is provided, and the time consumption of Monte Carlo simulation can be greatly reduced on the premise of ensuring the simulation precision of photon transmission. In addition, the invention has better compatibility, and can be combined with other Monte Carlo simulation acceleration modes, such as a combined Graphic Processor (GPU) parallel operation to further accelerate the simulation speed. Therefore, the method can effectively solve the key bottleneck limiting the practical application of Monte Carlo simulation, and has important application value.
Drawings
FIG. 1 is a schematic view of a tissue model for simulating photon propagation.
FIG. 2 is a flow chart for training a reconstruction model using a pix2pix network.
Fig. 3 is a schematic structural diagram of a pix2pix network used in training a reconstruction model.
Fig. 4 is a graph comparing photon absorption profiles. Wherein: (a) inputting a rough photon absorption distribution diagram of 10000 photons; (b) a fine photon absorption profile reconstructed based on the coarse photon absorption profile; (c) a fine photon absorption profile of 1000000 photons in number was input.
Detailed Description
The following uses a conventional photon propagation simulation, i.e. the absorption profile of photons in a single-layer biological tissue model, and the detailed description of the embodiments of the present invention is made with reference to the accompanying drawings.
Example 1
In this example, a single layer biological tissue model embedded with a spherical tumor, as shown in fig. 1, was used and the absorption profile of photons in the biological tissue model was simulated. More specifically, all photons are incident vertically into the biological tissue model at the X-axis center position; for the surrounding tissue, the absorption coefficient μ a, the scattering coefficient μ s, the anisotropy factor g, and the refractive index n were set to 2cm, respectively-1、100cm-10.8 and 1.4; the anisotropy factor g and refractive index n for the embedded tumor were the same as for the surrounding tissue, with an absorption coefficient of 5cm-1To 14cm-1With a step length of 3cm-1Scattering coefficient of 100cm-1To 400cm-1With a step length of 100cm-1(ii) a The position of the tumor varies from 0.5mm to 0.8mm along the X-axis with a step size of 0.1mm and from 0.2mm to 0.8mm along the Z-axis with a step size of 0.2 mm; the radius of the tumor varies between 0.1mm and 0.2mm in steps of 0.05 mm. Thus, a total of 768 different combinations of parameters can be obtained, combining the possibilities of all the above parameters. Based on the parameter combination, 10000 photons are used as input to obtain a rough photon absorption distribution graph; obtaining a fine photon absorption profile using 1000000 photons as input; 768 pairs of coarse and fine lights can be obtained in totalThe sub-absorption profile. Randomly dividing the 768 pair photon absorption distribution graph into a training set, a verification set and a test set according to the proportion of about 3:1: 1; the training set and the verification set are used for training the reconstruction model, and the test set is used for testing the trained reconstruction model. An improved generative countermeasure network, the pix2pix network, will be employed in training the reconstructed model. And aiming at the simulation precision of the reconstructed photon absorption distribution diagram, evaluating the peak signal-to-noise ratio and the power coupling efficiency percentage difference after five-fold cross test.
The specific implementation steps are as follows:
step one, establishing a photon absorption distribution map training database. Classical monte carlo simulations were performed based on 10000 photons and 1000000 photons, respectively, using the 768 optical parameter combinations described above, to generate 768 pairs of coarse and fine photon absorption profiles. Randomly dividing the 768 pair photon absorption distribution graph into a training set, a verification set and a test set according to the proportion of about 3:1: 1; wherein 460 is used as a training set for the photon absorption distribution map, 154 is used as a verification set for the photon absorption distribution map, 154 is used as a test set for the rough photon absorption distribution map, and 154 is used as a standard for evaluating the reconstructed photon absorption distribution map.
And step two, training a reconstruction model from the rough photon absorption distribution map to the fine photon absorption distribution map. And (3) learning the reconstructed model from the training set obtained in the step one by utilizing an improved generation countermeasure network, namely a pix2pix network, wherein the specific process of training the reconstructed model is shown in FIG. 2. The pix2pix network comprises a generator and a discriminator, the generator being configured to reconstruct a fine photon absorption profile from a coarse photon absorption profile, the discriminator being configured to be unable to distinguish between the reconstructed and true fine photon absorption profiles; the discriminator is used for discriminating the photon absorption distribution map and discriminating the reconstructed and real fine photon absorption distribution map as far as possible; and optimizing the comprehensive loss function to continuously optimize the reconstruction model through the dynamic game process of the generator and the discriminator. The formula of the synthetic loss function is as follows:
Figure BDA0003340043110000051
wherein: g is a generator; d is a discriminator; e is the desired output; x is the coarse photon absorption profile; y is the fine photon absorption profile; λ is a fixed weight of 100; l iscGAN(G, D) is loss of antagonism; l isL1(G) Is an L1 loss; argminGmaxDA dynamic gaming process of a finger generator and a discriminator.
The concrete structure of the pix2pix network is shown in fig. 3, the generator is a 15-layer U-Net structure, and the discriminator is a 4-layer PatchGAN structure. The hyperparameters used were a probability of neuronal inactivation of 50%, a slope of the leakage activation function of 0.2, all convolutions with a convolution kernel of 4 × 4 and a step size of 2.
And step three, reconstructing a fine photon absorption distribution map from the rough photon absorption distribution map. And (3) reconstructing a fine photon absorption distribution map from the rough photon absorption distribution map in the test set by using the test set obtained in the step one and the reconstruction model trained in the step two, wherein a representative reconstruction result is shown in fig. 4.
After five-fold cross inspection, the simulation precision of the reconstructed photon absorption distribution graph is evaluated by utilizing the peak signal-to-noise ratio and the percentage difference of the power coupling efficiency, the average peak signal-to-noise ratio is 35.5dB, and the percentage difference of the power coupling efficiency is 0.97%, so that the reconstructed photon absorption distribution graph has high simulation precision and is close to a real fine photon absorption distribution graph. In addition, the method is tested for the improvement of Monte Carlo simulation speed on a windows10 environment, a Central Processing Unit (CPU) of a 16GB RAM and a computer of a Graphic Processing Unit (GPU) of an 8GB RAM; more specifically, the average calculation time for simulating a fine photon absorption profile with an input of 1000000 photons is 1874 seconds, while the average calculation time for simulating a coarse photon absorption profile with an input of 10000 photons is only 18.3 seconds, and the average time for reconstructing a fine photon absorption profile from a coarse photon absorption profile is only 0.06 seconds; therefore, the method can improve the simulation speed of Monte Carlo by about 102 times in the embodiment.

Claims (7)

1. A fast Monte Carlo simulation method for simulating photon transmission is characterized in that a small number of photons are input to carry out Monte Carlo simulation, and a rough photon transmission simulation result is obtained; then, reconstructing a fine photon propagation simulation result from the coarse photon propagation simulation result by using the trained reconstruction model, wherein the reconstructed photon propagation simulation result is close to a real fine photon propagation simulation result;
the training process obtained by the reconstruction model is as follows:
(1) generating a pair of coarse and fine photon propagation simulation results based on a small number of photons and a large number of photons, respectively, using the same optical parameters; generating a large number of photon transmission simulation results in pairs by adjusting different optical parameters, and establishing a photon transmission simulation result training database; training a reconstruction model from a rough photon transmission simulation result to a fine photon transmission simulation result by utilizing the training database and a supervised learning algorithm;
(2) training a database to learn a reconstruction model from the photon propagation simulation result by using the generated countermeasure network; the generation countermeasure network comprises a generator and a discriminator, wherein the generator is used for reconstructing a fine photon propagation simulation result from a coarse photon propagation simulation result, so that the discriminator is difficult to distinguish the reconstructed fine photon propagation simulation result from a real fine photon propagation simulation result; the discriminator is used for discriminating the photon propagation simulation result and discriminating a reconstructed and real fine photon propagation simulation result as much as possible; and finally obtaining an optimized reconstruction model through the dynamic game process of the generator and the discriminator.
2. The fast Monte Carlo simulation method for simulating photon propagation according to claim 1, wherein the generation countermeasure network is a pix2pix network, and the specific structure of the pix2pix network is as follows: the generator is a 15-layer U-Net structure, and the discriminator is a 4-layer PatchGAN structure; all convolutions use a convolution kernel of 4 x 4 and a step size of 2.
3. The fast monte carlo simulation method for simulating photon propagation according to claim 1, wherein the dynamic game process of the generator and the discriminator continuously optimizes the reconstruction model by optimizing a synthetic loss function, the formula of which is as follows:
Figure FDA0003340043100000021
wherein: g is a generator; d is a discriminator; e is the desired output; x is the coarse photon absorption profile; y is the fine photon absorption profile; λ is a fixed weight; l iscGAN(G, D) is loss of antagonism; l isL1(G) Is an L1 loss; arg minG maxDA dynamic gaming process of a finger generator and a discriminator.
4. The fast monte carlo simulation method for simulating photon propagation according to claim 2, wherein the dynamic game process of the generator and the discriminator continuously optimizes the reconstruction model by optimizing a synthetic loss function, the formula of which is as follows:
Figure FDA0003340043100000022
wherein: g is a generator; d is a discriminator; e is the desired output; x is the coarse photon absorption profile; y is the fine photon absorption profile; λ is a fixed weight; l iscGAN(G, D) is loss of antagonism; l isL1(G) Is an L1 loss; arg minG maxDA dynamic gaming process of a finger generator and a discriminator.
5. The fast monte carlo simulation method for simulating photon propagation according to claim 1, wherein the accuracy of the reconstructed photon propagation simulation result is evaluated using a five-fold cross-test.
6. The fast monte carlo simulation method for simulating photon propagation according to claim 2, wherein the accuracy of the reconstructed photon propagation simulation result is evaluated using a five-fold cross-test.
7. The fast Monte Carlo simulation method for simulating photon propagation according to claim 3, wherein the accuracy of the reconstructed photon propagation simulation result is evaluated using a five-fold cross-test.
CN202111305420.7A 2021-11-05 2021-11-05 Fast Monte Carlo simulation method for simulating photon propagation Active CN114117875B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111305420.7A CN114117875B (en) 2021-11-05 2021-11-05 Fast Monte Carlo simulation method for simulating photon propagation

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111305420.7A CN114117875B (en) 2021-11-05 2021-11-05 Fast Monte Carlo simulation method for simulating photon propagation

Publications (2)

Publication Number Publication Date
CN114117875A true CN114117875A (en) 2022-03-01
CN114117875B CN114117875B (en) 2024-06-04

Family

ID=80380824

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111305420.7A Active CN114117875B (en) 2021-11-05 2021-11-05 Fast Monte Carlo simulation method for simulating photon propagation

Country Status (1)

Country Link
CN (1) CN114117875B (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108451508A (en) * 2018-04-28 2018-08-28 中国科学院自动化研究所 Archebiosis fluorescent three-dimensional imaging method based on multi-layer perception (MLP)
US20190130212A1 (en) * 2017-10-30 2019-05-02 Nec Laboratories America, Inc. Deep Network Embedding with Adversarial Regularization
CN110826207A (en) * 2019-10-28 2020-02-21 天津工业大学 OCT imaging rapid Monte Carlo model of dental tissue in any shape
CN112950730A (en) * 2021-01-29 2021-06-11 西安电子科技大学 Photon propagation model construction method and system, storage medium and application
CN113361080A (en) * 2021-05-20 2021-09-07 厦门大学 Multilayer water photon transmission semi-analytic Monte Carlo simulation method based on GPU
CN113409466A (en) * 2021-07-06 2021-09-17 中国科学院自动化研究所 Fluorescence excitation tomography method based on GCN residual error connection network

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20190130212A1 (en) * 2017-10-30 2019-05-02 Nec Laboratories America, Inc. Deep Network Embedding with Adversarial Regularization
CN108451508A (en) * 2018-04-28 2018-08-28 中国科学院自动化研究所 Archebiosis fluorescent three-dimensional imaging method based on multi-layer perception (MLP)
CN110826207A (en) * 2019-10-28 2020-02-21 天津工业大学 OCT imaging rapid Monte Carlo model of dental tissue in any shape
CN112950730A (en) * 2021-01-29 2021-06-11 西安电子科技大学 Photon propagation model construction method and system, storage medium and application
CN113361080A (en) * 2021-05-20 2021-09-07 厦门大学 Multilayer water photon transmission semi-analytic Monte Carlo simulation method based on GPU
CN113409466A (en) * 2021-07-06 2021-09-17 中国科学院自动化研究所 Fluorescence excitation tomography method based on GCN residual error connection network

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
全燮;朱永法;李新勇;姚文清;于洪涛;宗瑞隆;陈硕;赵慧敏;张耀斌: "光催化污染控制过程中提高能量效率的方法和原理", 2010年国家科技成果网科技成果汇编-之二十六, 30 November 2009 (2009-11-30) *

Also Published As

Publication number Publication date
CN114117875B (en) 2024-06-04

Similar Documents

Publication Publication Date Title
Lindqvist et al. Optical modeling of vesicular volcanic ash particles
CN107392977A (en) Single-view Cherenkov lights tomography rebuilding method
Guo et al. Fractional-order modeling and optimal control of a new online game addiction model based on real data
Pei et al. Carbon emissions reduction of neural network by discrete rank pruning
Wang et al. Auto-encoder neural network based prediction of Texas poker opponent's behavior
CN114117875B (en) Fast Monte Carlo simulation method for simulating photon propagation
Busemeyer et al. Hierarchical bayesian estimation of quantum decision model parameters
Malektaji et al. Massively parallel simulator of optical coherence tomography of inhomogeneous turbid media
Wang et al. Accelerating Monte Carlo simulation of light propagation in tissue mimicking turbid medium based on generative adversarial networks
CN113723471B (en) Nanoparticle concentration and particle size estimation method and device
Youngblood et al. Cultural transmission bias in the spread of voter fraud conspiracy theories on Twitter during the 2020 US election
Hu et al. Multi-point optical focusing based on enhanced multi-objective optimized wavefront shaping
Jian et al. Bearing fault vibration signal feature extraction and recognition method based on EEMD superresolution sparse decomposition
Ayubian et al. GPU-based monte-carlo simulation for a sea ice load application
Rehse et al. Using market design to improve red teaming of generative AI models
de Freitas Pacheco et al. Capture rates of compact objects by supermassive black holes
Burri et al. Implementing GANS for Image Generation and Spectral Normalization Check for updates
Bishop et al. An investigation into the role of the optical detection set-up in the recording of cardiac optical mapping signals: a Monte Carlo simulation study
Zhang et al. Measurement of Morphology Parameters of Dispersed Media Based on Polarization Imaging
Wang et al. Nonlocal Boundary Conditions Are Applied to the Analysis of Curve Equations
Neuenfeld Aspects of quantum information in quantum field theory and quantum gravity
Merk et al. Reproducibility Study of’Latent Space Smoothing for Individually Fair Representations’
Sobhy Fast simulation of finite-beam optical coherence tomography of inhomogeneous turbid media
Gong et al. Research on the data analysis of college classroom teaching behavior by using deep learning
CN101464980A (en) Artificial system and implementing method for public article investment experiment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant