Prompt engineering, the art of crafting effective prompts for artificial intelligence models, has emerged as a pivotal factor in determining the quality and usefulness of AI (Artificial Intelligence)-generated outputs...Prompt engineering, the art of crafting effective prompts for artificial intelligence models, has emerged as a pivotal factor in determining the quality and usefulness of AI (Artificial Intelligence)-generated outputs. This practice involves strategically designing and structuring prompts to guide AI models toward desired outcomes, ensuring that they generate relevant, informative, and accurate responses. The significance of prompt engineering cannot be overstated. Well-crafted prompts can significantly enhance the capabilities of AI models, enabling them to perform tasks that were once thought to be exclusively human domain. By providing clear and concise instructions, prompts can guide AI models to generate creative text, translate languages, write different kinds of creative content, and answer your questions in an informative way. Moreover, prompt engineering can help mitigate biases and ensure that AI models produce outputs that are fair, equitable, and inclusive. However, prompt engineering is not without its challenges. Crafting effective prompts requires a deep understanding of both the AI model’s capabilities and the specific task at hand. Additionally, the quality of the prompts can be influenced by factors such as the model’s training data [1] and the complexity of the task. As AI models continue to evolve, prompt engineering will likely become even more critical in unlocking their full potential.展开更多
This paper introduces a novel multi-tiered defense architecture to protect language models from adversarial prompt attacks. We construct adversarial prompts using strategies like role emulation and manipulative assist...This paper introduces a novel multi-tiered defense architecture to protect language models from adversarial prompt attacks. We construct adversarial prompts using strategies like role emulation and manipulative assistance to simulate real threats. We introduce a comprehensive, multi-tiered defense framework named GUARDIAN (Guardrails for Upholding Ethics in Language Models) comprising a system prompt filter, pre-processing filter leveraging a toxic classifier and ethical prompt generator, and pre-display filter using the model itself for output screening. Extensive testing on Meta’s Llama-2 model demonstrates the capability to block 100% of attack prompts. The approach also auto-suggests safer prompt alternatives, thereby bolstering language model security. Quantitatively evaluated defense layers and an ethical substitution mechanism represent key innovations to counter sophisticated attacks. The integrated methodology not only fortifies smaller LLMs against emerging cyber threats but also guides the broader application of LLMs in a secure and ethical manner.展开更多
在 DOS 中,有一个常常忽略的 PROMPT。一般 DOS 手册对 PROMPT 命令的介绍大多限于用它来设置(改变)系统的提示符,命令格式为PROMPT[string][$X]其中的 string 是任意的字符串,通过它来指定将要包含于(或作为)系统提示符的简单信息。例...在 DOS 中,有一个常常忽略的 PROMPT。一般 DOS 手册对 PROMPT 命令的介绍大多限于用它来设置(改变)系统的提示符,命令格式为PROMPT[string][$X]其中的 string 是任意的字符串,通过它来指定将要包含于(或作为)系统提示符的简单信息。例如运行命令'PROMPT*展开更多
A prompt gamma-neutron activation analysis(PGNAA) system was developed to detect the iron content of iron ore concentrate. Because of the self-absorption effect of gamma-rays and neutrons, and the interference of chlo...A prompt gamma-neutron activation analysis(PGNAA) system was developed to detect the iron content of iron ore concentrate. Because of the self-absorption effect of gamma-rays and neutrons, and the interference of chlorine in the neutron field, the linear relationship between the iron analytical coefficient and total iron content was poor, increasing the error in the quantitative analysis. To solve this problem, gamma-ray self-absorption compensation and a neutron field correction algorithm were proposed, and the experimental results have been corrected using this algorithm. The results show that the linear relationship between the iron analytical coefficient and total iron content was considerably improved after the correction. The linear correlation coefficients reached 0.99 or more.展开更多
A measurement of the ^235U prompt fission neutron spectrum (PFNS) by the recoil proton method was performed at the Institute of Nuclear Physics and Chemistry, China. Details of the method, which include the calculatio...A measurement of the ^235U prompt fission neutron spectrum (PFNS) by the recoil proton method was performed at the Institute of Nuclear Physics and Chemistry, China. Details of the method, which include the calculation and validation of the response matrix, are presented. The PFNS for ^235U in the energy range 1–12 MeV, induced by thermal neutrons, was obtained. The measured spectrum in the low-energy region was in good agreement with previous work and the ENDF/B-VII library, except for minor differences. In the high-energy region, however, the relative height of the measured spectrum was greater, and an analysis of the experiment indicated uncertainties of 13% at 10 MeV and 24% at 12 MeV. Experimental results showed that the recoil proton method could be used to measure prompt fission neutron spectra. Some directions for future work are included.展开更多
A method based on the cross-sectional relationship between^(10)B(n,α)^(7)Li and^(1)H(n,γ)^(2)H was proposed to detect and reconstruct the three-dimensional boron concentration/dose distribution in vivo during boron ...A method based on the cross-sectional relationship between^(10)B(n,α)^(7)Li and^(1)H(n,γ)^(2)H was proposed to detect and reconstruct the three-dimensional boron concentration/dose distribution in vivo during boron neutron capture therapy(BNCT).Factors such as the neutron energy,fluence rate,and degree of non-uniform distribution of the boron concentration in a voxel may affect the results of this method.A theoretical analysis of the accuracy of the method using a Monte Carlo simulation shows that the determining error is generally less than 1%under different tumor locations and neutron source configurations.When the voxel size is larger than 0.4 cm,the determining error might be higher for a non-uniformly distributed boron concentration in the voxel because of the changes in the neutron energy and fluence rate.In conclusion,the proposed method enables an accurate threedimensional boron determination in vivo during BNCT.展开更多
The improved version of Los Alamos model with the multi-modal fission approach is used to analyse the prompt fission neutron spectrum and multiplicity for the neutron-induced fission of 237Np. The spectra of neutrons ...The improved version of Los Alamos model with the multi-modal fission approach is used to analyse the prompt fission neutron spectrum and multiplicity for the neutron-induced fission of 237Np. The spectra of neutrons emitted from fragments for the three most dominant fission modes (standard Ⅰ, standard Ⅱ and superlong) are calculated separately and the total spectrum is synthesized. The multi-modal parameters contained in the spectrum model are determined on the basis of experimental data of fission fragment mass distributions. The calculated total prompt fission neutron spectrum and multiplicity are better agreement with the experimental data than those obtained from the conventional treatment of the Los Alamos model.展开更多
An attempt is made to improve the evaluation of the prompt fission neutron emis- sion from 233U(n, f) reaction for incident neutron energies below 6 MeV. The multi-modal fission approach is applied to the improved v...An attempt is made to improve the evaluation of the prompt fission neutron emis- sion from 233U(n, f) reaction for incident neutron energies below 6 MeV. The multi-modal fission approach is applied to the improved version of Los Alamos model and the point by point model. The prompt fission neutron spectra and the prompt fission neutron as a function of fragment mass (usually named "sawtooth" data) v(A) are calculated independently for the three most dominant fission modes (standard I, standard II and superlong), and the total spectra and v(A) are syn- thesized. The multi-modal parameters are determined on the basis of experimental data of fission fragment mass distributions. The present calculation results can describe the experimental data very well, and the proposed treatment is thus a useful tool for prompt fission neutron emission prediction.展开更多
This paper introduces the principles, instrumentation, implementation, and industrial applications of an on- line thermal neutron prompt- gamma element analysis system (using a 252Cf neutron source, Am- Be neutron sou...This paper introduces the principles, instrumentation, implementation, and industrial applications of an on- line thermal neutron prompt- gamma element analysis system (using a 252Cf neutron source, Am- Be neutron source, or neutron generator). The energy resolution of the system at the H prompt- gamma full- energy photopeak (2.22325 MeV) is 3.6 keV. The concentration measurement error of A12O3, Fe2O3, CaO and SiO2 is ±0.3%,±0.1%.±0.4% and ±0.4%, respectively.The system has been tested on- site at both the Shandong and the Zhengzhou Aluminum Works. Our preliminary on- site measurements confirm that the stability, reliability, measurement range, and accuracy of the system can meet the requirements of the aluminum production process. Facilitation of this measurement at aluminum plants is expected to reduce plant costs by over 3 million dollars annually through reduced energy consumption, more rapid qualification of pulps being mixed during the production process, and in reduced labor costs.展开更多
文摘Prompt engineering, the art of crafting effective prompts for artificial intelligence models, has emerged as a pivotal factor in determining the quality and usefulness of AI (Artificial Intelligence)-generated outputs. This practice involves strategically designing and structuring prompts to guide AI models toward desired outcomes, ensuring that they generate relevant, informative, and accurate responses. The significance of prompt engineering cannot be overstated. Well-crafted prompts can significantly enhance the capabilities of AI models, enabling them to perform tasks that were once thought to be exclusively human domain. By providing clear and concise instructions, prompts can guide AI models to generate creative text, translate languages, write different kinds of creative content, and answer your questions in an informative way. Moreover, prompt engineering can help mitigate biases and ensure that AI models produce outputs that are fair, equitable, and inclusive. However, prompt engineering is not without its challenges. Crafting effective prompts requires a deep understanding of both the AI model’s capabilities and the specific task at hand. Additionally, the quality of the prompts can be influenced by factors such as the model’s training data [1] and the complexity of the task. As AI models continue to evolve, prompt engineering will likely become even more critical in unlocking their full potential.
文摘This paper introduces a novel multi-tiered defense architecture to protect language models from adversarial prompt attacks. We construct adversarial prompts using strategies like role emulation and manipulative assistance to simulate real threats. We introduce a comprehensive, multi-tiered defense framework named GUARDIAN (Guardrails for Upholding Ethics in Language Models) comprising a system prompt filter, pre-processing filter leveraging a toxic classifier and ethical prompt generator, and pre-display filter using the model itself for output screening. Extensive testing on Meta’s Llama-2 model demonstrates the capability to block 100% of attack prompts. The approach also auto-suggests safer prompt alternatives, thereby bolstering language model security. Quantitatively evaluated defense layers and an ethical substitution mechanism represent key innovations to counter sophisticated attacks. The integrated methodology not only fortifies smaller LLMs against emerging cyber threats but also guides the broader application of LLMs in a secure and ethical manner.
文摘在 DOS 中,有一个常常忽略的 PROMPT。一般 DOS 手册对 PROMPT 命令的介绍大多限于用它来设置(改变)系统的提示符,命令格式为PROMPT[string][$X]其中的 string 是任意的字符串,通过它来指定将要包含于(或作为)系统提示符的简单信息。例如运行命令'PROMPT*
基金supported by the National Key Scientific Instrument and Equipment Development Projects(No.2012YQ240121)Liaoning science and technology project(No.2017220010)Changchun Science and Technology Bureau Local Company and College(University,Institution)Cooperation Projects(No.17DY023)
文摘A prompt gamma-neutron activation analysis(PGNAA) system was developed to detect the iron content of iron ore concentrate. Because of the self-absorption effect of gamma-rays and neutrons, and the interference of chlorine in the neutron field, the linear relationship between the iron analytical coefficient and total iron content was poor, increasing the error in the quantitative analysis. To solve this problem, gamma-ray self-absorption compensation and a neutron field correction algorithm were proposed, and the experimental results have been corrected using this algorithm. The results show that the linear relationship between the iron analytical coefficient and total iron content was considerably improved after the correction. The linear correlation coefficients reached 0.99 or more.
基金supported by the National Natural Science Foundation of China(No.11775196)the Chinese Special Project for ITER(No.2015GB108006)
文摘A measurement of the ^235U prompt fission neutron spectrum (PFNS) by the recoil proton method was performed at the Institute of Nuclear Physics and Chemistry, China. Details of the method, which include the calculation and validation of the response matrix, are presented. The PFNS for ^235U in the energy range 1–12 MeV, induced by thermal neutrons, was obtained. The measured spectrum in the low-energy region was in good agreement with previous work and the ENDF/B-VII library, except for minor differences. In the high-energy region, however, the relative height of the measured spectrum was greater, and an analysis of the experiment indicated uncertainties of 13% at 10 MeV and 24% at 12 MeV. Experimental results showed that the recoil proton method could be used to measure prompt fission neutron spectra. Some directions for future work are included.
基金This work was supported by the National Natural Science Foundation of China(Nos.11805100 and 11905106)the Fundamental Research Funds for the Central Universities(No.NG2020003).
文摘A method based on the cross-sectional relationship between^(10)B(n,α)^(7)Li and^(1)H(n,γ)^(2)H was proposed to detect and reconstruct the three-dimensional boron concentration/dose distribution in vivo during boron neutron capture therapy(BNCT).Factors such as the neutron energy,fluence rate,and degree of non-uniform distribution of the boron concentration in a voxel may affect the results of this method.A theoretical analysis of the accuracy of the method using a Monte Carlo simulation shows that the determining error is generally less than 1%under different tumor locations and neutron source configurations.When the voxel size is larger than 0.4 cm,the determining error might be higher for a non-uniformly distributed boron concentration in the voxel because of the changes in the neutron energy and fluence rate.In conclusion,the proposed method enables an accurate threedimensional boron determination in vivo during BNCT.
基金Project supported by the State Key Development Program for Basic Research of China (Grant Nos 2008CB717803 and 2007ID103)the Research Fund for the Doctoral Program of Higher Education of China (Gant No 200610001023)
文摘The improved version of Los Alamos model with the multi-modal fission approach is used to analyse the prompt fission neutron spectrum and multiplicity for the neutron-induced fission of 237Np. The spectra of neutrons emitted from fragments for the three most dominant fission modes (standard Ⅰ, standard Ⅱ and superlong) are calculated separately and the total spectrum is synthesized. The multi-modal parameters contained in the spectrum model are determined on the basis of experimental data of fission fragment mass distributions. The calculated total prompt fission neutron spectrum and multiplicity are better agreement with the experimental data than those obtained from the conventional treatment of the Los Alamos model.
基金supported by the State Key Development Program for Basic Research of China (Nos. 2008CB717803, 2009GB107001, and2007CB209903)the Research Fund for the Doctoral Program of Higher Education of China (No. 200610011023)
文摘An attempt is made to improve the evaluation of the prompt fission neutron emis- sion from 233U(n, f) reaction for incident neutron energies below 6 MeV. The multi-modal fission approach is applied to the improved version of Los Alamos model and the point by point model. The prompt fission neutron spectra and the prompt fission neutron as a function of fragment mass (usually named "sawtooth" data) v(A) are calculated independently for the three most dominant fission modes (standard I, standard II and superlong), and the total spectra and v(A) are syn- thesized. The multi-modal parameters are determined on the basis of experimental data of fission fragment mass distributions. The present calculation results can describe the experimental data very well, and the proposed treatment is thus a useful tool for prompt fission neutron emission prediction.
文摘This paper introduces the principles, instrumentation, implementation, and industrial applications of an on- line thermal neutron prompt- gamma element analysis system (using a 252Cf neutron source, Am- Be neutron source, or neutron generator). The energy resolution of the system at the H prompt- gamma full- energy photopeak (2.22325 MeV) is 3.6 keV. The concentration measurement error of A12O3, Fe2O3, CaO and SiO2 is ±0.3%,±0.1%.±0.4% and ±0.4%, respectively.The system has been tested on- site at both the Shandong and the Zhengzhou Aluminum Works. Our preliminary on- site measurements confirm that the stability, reliability, measurement range, and accuracy of the system can meet the requirements of the aluminum production process. Facilitation of this measurement at aluminum plants is expected to reduce plant costs by over 3 million dollars annually through reduced energy consumption, more rapid qualification of pulps being mixed during the production process, and in reduced labor costs.