원시데이터 수집 시스템
선정목록으로

Exploring utilization of generative AI for research and education in data-driven materials science

관련 엔지니어링 플라스틱 · (23) 컴파운드 (21) 에폭시수지(14) 드라이 필름(포토레지스트)

기본 정보

저자
  1. Takahiro Misawa — The University of Tokyo|||Institute for Solid State Physics, The University of Tokyo, Kashiwa, Chiba, Japan
  2. Ai Koizumi — Center for Basic Research on Materials, National Institute for Materials Science|||Center for Basic Research on Materials, National Institute for Materials Science, Tsukuba, Japan
  3. Ryo Tamura — Center for Basic Research on Materials, National Institute for Materials Science|||The University of Tokyo|||Graduate School of Frontier Sciences, The University of Tokyo, Kashiwa, Japan|||Center for Basic Research on Materials, National Institute for Materials Science, Tsukuba, Japan
  4. Kazuyoshi Yoshimi — The University of Tokyo|||Institute for Solid State Physics, The University of Tokyo, Kashiwa, Chiba, Japan
DOI
10.1080/27660400.2025.2535956
저널
Science and Technology of Advanced Materials Methods
발행년도
2025
발행기관
Taylor & Francis
피인용수
1
라이선스
cc-by
논문 유형
–
언어
–
원문 페이지
https://doi.org/10.1080/27660400.2025.2535956
토픽
Electron and X-Ray Spectroscopy Techniques
OpenAlex ID
W4412597796

평가 내용

관련도
관련
사업분야
엔지니어링 플라스틱 · (23) 컴파운드
부 분야
(21) 에폭시수지, (14) 드라이 필름(포토레지스트)
R&D 측면
분석·모델링
확신도
0.70
근거 용어
Generative AI, data-driven materials science, Bayesian optimization, hyperparameter optimization, automated data analysis
판단 근거
이 논문은 재료 과학 연구의 효율성을 높이기 위한 생성형 AI 활용법(데이터 분석, 베이지안 최적화, 하이퍼파라미터 튜닝 등)을 다루고 있습니다. 이는 코오롱인더스트리의 컴파운드(23)나 화학/수지(21) 분야에서 신소재 배합 및 공정 최적화를 위한 데이터 기반 R&D 방법론으로 참고할 가치가 매우 높습니다.
R&D 활용 포인트
신규 고분자 컴파운드 배합 설계나 화학 수지 합성 공정 최적화 시, 베이지안 최적화 및 AI 기반 데이터 분석 도구를 활용하여 실험 횟수를 줄이고 최적 물성을 빠르게 도출하는 연구 방법론으로 응용 가능함.
평가 입력
본문 34,079자 중 30,032자 발췌

초록

Generative AI has recently had a profound impact on various fields, including daily life, research, and education. To explore its efficient utilization in data-driven materials science, we organized a hackathon – AIMHack2024—in July 2024. In this hackathon, researchers from fields such as materials science, information science, bioinformatics, and condensed matter physics worked together to explore how generative AI can facilitate research and education. Based on the results of the hackathon, this paper presents topics related to (1) conducting AI-assisted software trials, (2) building AI tutors for software, and (3) developing GUI applications for software. While generative AI continues to evolve rapidly, this paper provides an early record of its application in data-driven materials science and highlights strategies for integrating AI into research and education.

본문 34,079자

본문 펼치기
Exploring utilization of generative AI for research and education in data-driven materials science Takahiro Misawa <sup>a</sup>, Ai Koizumi <sup>b</sup>, Ryo Tamura <sup>b,c</sup>, and Kazuyoshi Yoshimi <sup>a</sup> aInstitute for Solid State Physics, University of Tokyo, 5-1-5 Kashiwanoha, Kashiwa, Chiba 277-8581, Japan; <sup>b</sup> National Institute for Materials Science, Namiki, Tsukuba-shi, Ibaraki, 305-0044, Japan; <sup>c</sup> Graduate School of Frontier Sciences, University of Tokyo, 5-1-5 Kashiwanoha, Kashiwa, Chiba 277-8581, Japan ARTICLE HISTORY Compiled September 7, 2025 ABSTRACT Generative AI has recently had a profound impact on various fields, including daily life, research, and education. To explore its efficient utilization in data-driven materials science, we organized a hackathon—AIMHack2024—in July 2024. In this hackathon, researchers from fields such as materials science, information science, bioinformatics, and condensed matter physics worked together to explore how generative AI can facilitate research and education. Based on the results of the hackathon, this paper presents topics related to (1) conducting AI-assisted software trials, (2) building AI tutors for software, and (3) developing GUI applications for software. While generative AI continues to evolve rapidly, this paper provides an early record of its application in data-driven materials science and highlights strategies for integrating AI into research and education. KEYWORDS Generative AI; Data-driven materials science; visualization; GUI; development of software packages 1. Introduction The emergence of generative AI, such as ChatGPT [1], has had a significant impact on various fields, including materials science, where it has been used for tasks such as data analysis, automated literature review, and computational modeling. In July 2024, to explore efficient ways to integrate generative AI into research and education in materials science, specifically in automated data analysis, literature review, and software development, we organized a hackathon, AIMHack2024 [2]. Approximately 30 participants, ranging from students to industry researchers, took part in the hackathon. The participants came from diverse backgrounds, including materials science, computational science, bioinformatics, and condensed matter physics, which fostered interdisciplinary collaboration. The workshop was designed to accommodate both beginners and advanced users. For beginners, the guided demonstrations introduced fundamental steps for using selected software from a curated list on a portal site such as MatDaCs (MaterialsDataCommons) [3]. Through MatDaCs, participants could access and use various computational materials science applications, including machine learning frameworks. Par ticipants were encouraged to perform basic calculations with the selected software, gaining practical experience under the supervision of generative AI. Advanced users, on the other hand, were given the flexibility to select and independently explore software of their choice, following a structured workflow similar to that used by beginners. This approach allowed them to investigate more advanced features and customize their usage according to their research interests. The primary emphasis of the hackathon was to enhance participants’ ability to critically evaluate AI-generated content. Participants were encouraged to systematically verify AI-generated responses by cross-referencing them with established literature and their domain knowledge. They also tested the AI-generated code and tutorials by running the recommended software, assessing both functionality and accuracy. This exercise was designed not only to enhance technical proficiency but also to foster critical thinking about the reliability and applicability of AI-generated content. The collaborative efforts in the hackathon aimed to refine participants’ strategies for using AI tools in their research activities, facilitating AI integration into research workflows and practical scientific applications. The key results of the hackathon included the implementation of AI-assisted software trials using ImageJ [4] for automated image analysis, the development of an AI tutor for PHYSBO [5], a Bayesian optimization tool, using MyGPTs, and the creation of a graphical user interface (GUI) to enhance the usability of PHYSBO. These results highlight the increasing impact of generative AI in advancing materials science research and education. We note that these three topics are closely related to the typical workflow in materials science research. First, image recognition of experimental results is a crucial first step for data accumulation, and mastering the use of ImageJ directly contributes to efficient data acquisition. Second, Bayesian optimization is a widely used method for determining the next experimental conditions based on accumulated data, and gaining a deeper understanding of PHYSBO through an AI tutor is important for improving research quality. Third, a GUI is useful for executing Bayesian optimization in a userfriendly manner, and our demonstration of a simple method for GUI development provides practical insights for a broad range of developers. Thus, the three topics addressed in this paper correspond to essential components of the research process in materials science. This paper is organized as follows. Section 2 presents AI-assisted software trials using ImageJ. Section 3 discusses the development of an AI tutor using MyGPTs for PHYSBO. Section 4 describes the creation of a GUI for PHYSBO with AI support. Finally, Section 5 provides a summary of the findings and discusses future directions for AI in materials science. 2. AI-assisted trial use of software In this section, we present an example of how ChatGPT can be used to assist in the trial use of software for materials science. During the hackathon, we chose the image analysis software ImageJ [4] from the list of software available on MatDaCs [3] as an example. Since ImageJ can count objects in an image, we decided to explore this feature with it. As an example, we prepared an image with several circles, as shown in Fig. 1(a). We then uploaded this image to ChatGPT and entered the following prompt: _”How_ _can_ _I_ _count_ _the_ _number_ _of_ _circles_ _in_ _this_ _image_ _using_ _ImageJ?”._ 2 ## (a) (b) (c) (d) Figure 1. Sample images: (a) Circles without overlap and (c) Circles with overlap. ImageJ analysis results: (b) Counting result for non-overlapping circles and (d) Counting result for overlapping circles. ChatGPT generated the following step-by-step instructions <sup>1</sup> : (1) Open the Image _•_ Launch ImageJ. _•_ Select `File` `→` `Open...` from the menu and open the target image. (2) Convert to Grayscale _•_ Select `Image` `→` `Type` `→` `8-bit` from the menu to convert the image to grayscale. (3) Adjust the Threshold _•_ Select `Image` `→` `Adjust` `→` `Threshold...` . _•_ Use the sliders to select only the circles (they should appear in red). _•_ Click ”Apply.” (4) Convert to Binary Image _•_ Select `Process` `→` `Binary` `→` `Make` `Binary` to create a black-and-white image. (5) Perform Particle Analysis 1We used ChatGPT 4o and ImageJ 1.54g in this tutorial. 3 _•_ Select `Analyze` `→` `Analyze` `Particles...` . _•_ Set an appropriate ”Size” range (e.g., `100-Infinity` to filter out noise). _•_ Check `"Display` `results"`, `"Show` `outlines"`, and `"Summarize"` . _•_ Click ”OK” to perform the analysis. (6) View the Results _•_ The results window will display the count of detected circles. By following these instructions and operating ImageJ, we were able to count the circles, as shown in Fig. 1(b). Typically, when using such software, one begins by reading manuals and learning how to use it, which can take a considerable amount of time. However, using generative AI in this way, we can significantly reduce the effort required for learning the software, which presents a major advantage. In fact, when we demonstrated this result, many participants were greatly amazed by how convenient generative AI is. Furthermore, as a more advanced test, we examined whether ImageJ could distinguish overlapping objects. For this test, we prepared an image with several overlapping circles, as shown in Fig. 1(c). We then uploaded this image to ChatGPT and entered the following prompt: _“How_ _can_ _I_ _count_ _individual_ _particles_ _when_ _they_ _overlap,_ _as_ _shown_ _in_ _the_ _attached_ _image?”._ ChatGPT generated the following step-by-step instructions: (1) Open the Image _•_ Launch ImageJ. _•_ Select `File` `→` `Open...` from the menu and open the target image. (2) Convert to Grayscale _•_ Select `Image` `→` `Type` `→` `8-bit` from the menu to convert the image to grayscale. (3) Adjust the Threshold _•_ Select `Image` `→` `Adjust` `→` `Threshold...` . _•_ Use the sliders to highlight only the circles (they should appear in red). _•_ Click ”Apply.” (4) Convert to Binary Image _•_ Select `Process` `→` `Binary` `→` `Make` `Binary` to create a black-and-white image. (5) Apply Watershed Segmentation _•_ Select `Process` `→` `Binary` `→` `Watershed` . _•_ This will separate touching circles by adding dividing lines. (6) Perform Particle Analysis _•_ Select `Analyze` `→` `Analyze` `Particles...` . _•_ Set an appropriate ”Size” range (e.g., `100-Infinity` to filter out noise). _•_ Check `"Display` `results"`, `"Show` `outlines"`, and `"Summarize"` . _•_ Click ”OK” to perform the analysis. (7) View the Results _•_ The results window will display the number of detected circles. _•_ A new image will appear with outlined particles. From these results, we learned that the _watershed_ function can be used to detect overlapping areas. By following these instructions and operating ImageJ, we confirmed that the watershed function successfully separated overlapping regions, allowing for 4 accurate object counting, as shown in Fig. 2(d). In a standard approach before the emergence of generative AI, finding such a feature required reading the manual and searching for the relevant section. However, we found that this effort could be significantly reduced by asking generative AI. This experiment demonstrated that generative AI can be an effective tool for learning how to use unfamiliar software. Traditionally, learning how to use software typically required conducting web searches and gathering information from relevant websites. However, generative AI is emerging as an alternative to this process. Based on this tutorial, several participants successfully used software they had not used before. 3. Building an AI Tutor for PHYSBO with MyGPT Recent advances in generative AI have accelerated automated code maintenance in software development [6,7]. In particular, the emergence of Large Language Model (LLM)-based tools for code completion and debugging assistance has contributed to developer productivity [8]: tools such as GitHub Copilot [9] and Amazon CodeWhisperer [10] can understand the intent of a program, suggest appropriate code, and complete it accordingly [11,12]. This technological advance is moving beyond code completion to a deeper understanding of the semantics of code. In the future, AI may be able to integrate software specifications, manuals, and source code to automatically generate tutorials and documentation for users. In this section, we explore the above possibility of using MyGPT to automatically generate tutorials for a specific piece of software. MyGPT is a tool that allows users to build customized conversational AI based on pre-provided information. The goal of this section is to evaluate the usefulness of MyGPT in generating tutorials when relevant information is provided in advance. Specifically, we assess MyGPT’s ability to generate tutorials in terms of accuracy. Based on the results, the potential for future AI-based document generation is discussed. As our target software, we selected PHYSBO [5], a Bayesian optimization package. Bayesian optimization is a method that uses Gaussian processes as a regression model to estimate the objective function from explanatory variables and suggest those predicted to yield the best objective function value. One of the key features of PHYSBO is its ability to propose multiple candidates and appropriately select an acquisition function, including Thompson sampling (TS), expected improvement (EI), and probability of improvement (PI). Furthermore, the computational cost, which typically requires _O_ ( _N_ <sup>3</sup> ) for the number of training data _N_, has been reduced to _O_ ( _N_ ). To evaluate the effectiveness of MyGPT in generating accurate tutorials and explanations for PHYSBO, we provided it with various sources of reference information. Initially, we configured MyGPT with a system prompt specifying its role as an AI assistant specializing in PHYSBO. The following official sources were used as reference materials: _•_ GitHub repository : https://github.com/issp-center-dev/PHYSBO _•_ Official paper : https://www.sciencedirect.com/science/article/pii/S0010465522001242 _•_ User manual : https://issp-center-dev.github.io/PHYSBO/manual/master/en/index.html Using this setup, we tested the accuracy of MyGPT by asking it the following question: _“What_ _acquisition_ _functions_ _does_ _PHYSBO_ _support?”_ . 5 Additional Information Construction of MyGPT Examples 1. GitHub repository 2. Official Paper 3. User manual (pdf &html) Figure 2. Overview of the process for generating tutorials for PHYSBO using MyGPT. MyGPT was initially tested only with URLs to PHYSBO’s official documentation, followed by an improved setup where full documentation PDFs were provided. However, MyGPT initially provided an incorrect response, claiming that PHYSBO implements the Upper Confidence Bound (UCB) acquisition function, which is not implemented. Additionally, MyGPT failed to mention PHYSBO’s support for multiobjective optimization. To improve the accuracy of MyGPT’s responses, we uploaded the official PHYSBO documentation and the research paper as PDF files. We then repeated the same query, resulting in a significantly improved and accurate response. MyGPT correctly listed PHYSBO’s available acquisition functions: For Single-Objective Optimization _•_ Thompson Sampling (TS) - Selects the input that maximizes a sampled regression function from the posterior distribution. _•_ Expected Improvement (EI) - Selects the input where the expected value of improvement over the current best value is maximized. _•_ Probability of Improvement (PI) - Selects the input with the highest probability of exceeding the current maximum objective function value. For Multi-Objective Optimization _•_ Thompson Sampling (TS) - A multi-objective extension of Thompson Sampling, which samples from multiple Gaussian processes. _•_ Hypervolume-Based Probability of Improvement (HVPI) - Measures the probability of improving the non-dominated region in multi-dimensional objective space. _•_ Expected Hypervolume Improvement (EHVI) - Estimates the expected improvement in hypervolume for Pareto-front optimization. Furthermore, MyGPT accurately noted that these acquisition functions balance exploration and exploitation in Bayesian optimization. It also correctly stated that PHYSBO allows users to specify the acquisition function via the `score` argument in its optimization functions. The results indicate that providing URLs alone was insufficient to ensure accurate responses, since MyGPT generated plausible but incorrect information. This suggests that MyGPT may rely on general prior knowledge rather than accurately retrieving information from the linked sources. In contrast, uploading structured documents (PDFs) significantly improved response accuracy, probably because the model could directly extract relevant content. These findings highlight the importance of explicitly providing MyGPT with domain-specific documentation when using it for software 6 tutorials and documentation generation. Future work will explore whether structured summaries or extracted key sections from documentation further improve accuracy and reduce the need to upload full PDFs. To further evaluate the capabilities of MyGPT, we tested its ability to generate a hyperparameter optimization tutorial using PHYSBO for neural networks configured with Keras [13]. We provided the following prompt: _“Create_ _a_ _tutorial_ _on_ _optimizing_ _hyperparameters_ _in_ _PHYSBO_ _for_ _neural_ _networks_ _con-_ _figured_ _using_ _Keras.”_ MyGPT generated a step-by-step tutorial covering key aspects of hyperparameter tuning with PHYSBO, including: _•_ Installation of required packages. _•_ Definition of the hyperparameter search space, including learning rate, batch size, and number of hidden units. _•_ Implementation of a simple feedforward neural network in Keras, using the MNIST [14] dataset as an example. _•_ Evaluation of hyperparameter configurations using PHYSBO. _•_ Execution of Bayesian optimization to determine the best hyperparameter set. _•_ Extraction and reporting of the optimal hyperparameter values. The generated tutorial included relevant Python code snippets that demonstrate the integration of PHYSBO with Keras. The core of the tutorial focused on employing TS and Bayesian optimization strategies to maximize model performance. The Python code generated by MyGPT for setting up and optimizing hyperparameters is uploaded to the ISSP data repository [15]. To validate the accuracy and effectiveness of the tutorial, we executed the generated code. The optimization process successfully converged to an optimal configuration, achieving an accuracy of 0 _._ 9742. The final hyperparameters were: _•_ Learning Rate: 0.001 _•_ Batch Size: 16 _•_ Number of Hidden Units: 128 Additionally, intermediate optimization steps exhibited steady improvements, demonstrating the effectiveness of Bayesian optimization for hyperparameter tuning. The results confirm that MyGPT can generate functionally correct and executable tutorials when provided with structured reference materials such as official documentation and research papers. However, continuous validation is still required to ensure accuracy, particularly when integrating AI-generated outputs into software documentation workflows. This demonstration has shown that MyGPT can effectively generate executable tutorials for PHYSBO-based hyperparameter optimization when structured reference materials are provided. While initial responses contained inaccuracies, uploading domain-specific documentation significantly improved accuracy. The results suggest that AI-driven tutorial generation can enhance software usability and accessibility, though continuous validation remains necessary. Future work should explore integrating structured prompt engineering techniques to further refine the quality of generated outputs. 7 candidates.csv PHYSBO.exe proposals.csv # + Figure 3. Windows executable file for PHYSBO was developed with the help of ChatGPT. Based on the candidates.csv file, which includes experimental conditions and some objective function values, promising candidates expected to yield higher objective function values are proposed. 4. Development of a GUI application from Python scripts with the help of generative AI Many Python scripts are available as open-source software (OSS) packages on GitHub, providing significant value for data analysis and machine learning tasks. However, if a proper Python environment is not set up, users cannot utilize these scripts on a local PC. To address this issue, converting Python scripts into Windows executable files is an effective way that allows them to be executed without any Python environment setup on Windows PCs. This approach offers considerable advantages, such as enabling practical exercises in university and high school lectures, as well as corporate seminars, simply by sharing the executable files. Additionally, in product development, this method eliminates the need to set up Python environments on individual PCs. Another option for running analyses without setting up a Python environment is the use of cloud services. However, cloud-based solutions pose security risks when dealing with confidential data, as their use may not be feasible for such scenarios. By contrast, Windows executable files allow offline and local execution of analyses. One of their key benefits is their ability to ensure a high level of security against data breaches. In this section, we introduce the development of a GUI application for the Bayesian optimization package PHYSBO (see Fig. 3), created with the help of ChatGPT. The original code used to convert to a Windows executable file was based on the PHYSBO code implemented in NIMO [16,17] ( `ai_tool_physbo.py` ). In NIMO, the process begins by preparing `candidates.csv`, which organizes all experimental condition candidates into a table. The rightmost column of `candidates.csv` is designated to store the objective function values: if an experiment has already been conducted, the corresponding objective function value is entered, while for experiments not yet performed, the field remains blank. An example is shown in Fig. 3. The experimental conditions with completed objective function values are used as training data, and the next experimental conditions to be tested are proposed from the blank fields. These proposed experimental conditions are output as `proposals.csv` . It is important to note that the proposed explanatory variables are those predicted to maximize the objective function value. If the goal is to find experimental conditions that minimize the objective function value, this can be achieved by attaching a negative sign to the objective function values when storing them in `candidates.csv` . The Windows executable file was created through interactions with ChatGPT by 8 following the steps below. (i) The prepared PHYSBO code was loaded into ChatGPT, and the following command was given: _“Convert_ _the_ _following_ _script_ _into_ _an_ _exe_ _file_ _so_ _that_ _it_ _will_ _work_ _in_ _a_ _Windows_ _environ-_ _ment.”_ . In response, the Python code was generated, along with the following instructions. The PHYSBO code that was loaded can be found at `https://github.com/NIMS-DA/` `nimo/tree/main/nimo/ai_tools` . To convert the given Python script into a Windows executable file, you can use PyInstaller. Below are the steps: 1. Install PyInstaller : Ensure you have pyinstaller installed. You can install it via pip: ``` pip install pyinstaller ``` 2. Prepare the Script : Make sure your script works correctly by itself when executed. It appears the provided script uses external dependencies such as numpy, physbo, etc. Ensure these are installed in your Python environment: ``` pip install numpy physbo ``` 3. Generate the Executable : Run the following command in the terminal where the script is located: ``` pyinstaller --onefile PHYSBO.py ``` _◦_ `--onefile` ensures the executable is packaged into a single file. _◦_ This will create a standalone .exe file in the dist folder. 4. Locate the Executable : After the command completes, the PHYSBO.exe file will be located in the dist directory. 5. Test the Executable : Move the .exe to a folder with the required input files (e.g., `candidates.csv` ) and test it in a Windows environment. By following these instructions, the Windows executable file was successfully created, executed, and verified. (ii) We instructed ChatGPT as follows to modify the Python code so that the number of proposed candidates ( `num_proposals` ) and the acquisition function ( `physbo_score` ) could be specified as arguments: _“Please_ _allow_ _users_ _to_ _specify_ _two_ _arguments:_ `num_proposals` _and_ `physbo_score` .”. In response, the modified code was generated, and the following message was provided. To modify the script to accept command-line arguments for `num_proposals` and `physbo_score`, we can use the argparse module. Here’s the updated script: Changes Made : 1. Added the argparse module to parse command-line arguments. 2. Included `--num_proposals` and `--physbo_score` as required arguments. 3. Updated the `main()` function to read these arguments and pass them to the PHYSBO class. Usage : After converting this script to an .exe file using pyinstaller, you can specify arguments like this: ``` PHYSBO.exe --num_proposals 5 --physbo_score TS ``` This ensures flexibility for users to define the number of proposals and the scoring method. 9 (iii) The Windows executable file created through the above steps requires `num_proposals` and `physbo_score` to be specified as arguments, and they need to be entered via the command prompt on a Windows computer. To enable GUI-based specification of these two arguments, we asked ChatGPT the following: _“Please_ _allow_ _the_ _user_ _to_ _specify_ _two_ _arguments,_ `num_proposals` _and_ `physbo_score`, _in_ _the_ _GUI.”_ In response, the following message was provided. Changes Made : 1. Replaced command-line arguments with a GUI using tkinter. 2. Added input dialogs for `num_proposals` and `physbo_score` using simpledialog. 3. Added error handling and user feedback using messagebox. How It Works : 1. When the script runs, users are prompted with GUI dialogs to input: _◦_ Number of Proposals. _◦_ PHYSBO Score (TS, EI, or PI). 2. If valid inputs are provided, the selection process proceeds, and a success message is displayed. 3. Errors during input or execution show an error message. This ensures the script is userfriendly in a Windows environment. Although we did not explicitly mention to ChatGPT that there are three types of PHYSBO scores, ChatGPT automatically suggested a feature to allow users to select among three acquisition functions. (iv) To make the application more user-friendly, we aimed to introduce a feature that allows the user to select an input file equivalent to `candidates.csv` . Therefore, we instructed ChatGPT as follows: _“Please allow the user to specify an input file equivalent to “candidates.csv” in the GUI.”._ In response, the following message was generated. Updates : 1. Added a file selection dialog using `filedialog.askopenfilename` to allow the user to specify the input file. 2. Updated the `main()` function to use the selected file as the `input_file` . How It Works : _•_ When the script runs: 1. A file dialog prompts the user to select an input file ( `candidates.csv` equivalent). 2. The user specifies the number of proposals and PHYSBO score as before. 3. The selected input file is used in the optimization process. This enhancement makes the script more flexible for different input files. (v) In the application created above, only a file selection screen appeared, and no message was displayed. Therefore, we instructed ChatGPT as follows: _“Output_ _a_ _message_ _to_ _ask_ _the_ _user_ _for_ _the_ _name_ _of_ _the_ _input_ _file_ _in_ _the_ _GUI.”_ . In response, the following message was generated. 10 Updates : 1. Added a message box using `messagebox.showinfo` to notify the user to select an input file before the file dialog appears. 2. This makes the process more user-friendly by explicitly prompting the user. How It Works : 1. A message box pops up asking the user to select the input file. 2. The file dialog then opens for the user to browse and select the required input file. This improvement enhances clarity and guides the user through the process. (vi) A feature to output predicted values for the test data through the GUI was implemented. In NIMO, setting the `output_res` argument to True allows the output of predicted values, variance values, and acquisition function values for the test data. To enable this option in the GUI, we instructed ChatGPT as follows: _“Please allow users to specify whether_ `output_res` _should be False or True in the GUI.”._ In response, the following message was generated. Updates : 1. Added a `messagebox.askyesno` dialog to ask the user whether they want to enable `output_res` . 2. The user’s choice (True for Yes, False for No) is passed to the PHYSBO class. How It Works : 1. After selecting the input file and entering other parameters, the user is prompted with: Do you want to export prediction results? 2. Clicking “Yes” sets `output_res` to True. 3. Clicking “No” sets `output_res` to False. This allows users to choose whether to export the prediction results, directly via the GUI. With the steps above, PHYSBO.exe has been completed and is publicly available on `https://isspns-gitlab.issp.u-tokyo.ac.jp/physbo-dev/` `physbo-gallery/-/tree/master/tools/physbo_exe` . (vii) Finally, to create a manual for the developed executable application, we instructed ChatGPT as follows: _“Please_ _create_ _a_ _manual_ _for_ _the_ _GUI_ _application_ _created.”_ . In response, the manual was generated along with the following message: _“The user manual for the PHYSBO GUI Application has been created. It includes instruc-_ _tions_ _for_ _setup,_ _operation,_ _and_ _troubleshooting._ _If_ _you_ _need_ _modifications_ _or_ _additional_ _details,_ _feel_ _free_ _to_ _ask!”_ . A video demonstrating the execution of PHYSBO.exe can be found as Supplementary Movie 1. The manual created by ChatGPT could be used with almost no modifications. In addition, the manual for preparing the candidates.csv file was generated by loading the NIMO manual into ChatGPT. The two manuals were then merged and slightly modified by ChatGPT, and the result is available at `https://isspns-gitlab.issp.u-tokyo.ac.jp/physbo-dev/` `physbo-gallery/-/tree/master/tools/physbo_exe` . Since ChatGPT can easily perform language translation for the manuals, it becomes clear that the creation of both the Windows executable file and the manuals can largely be automated by gen 11 erative AI. To prevent the Windows executable file from becoming too large, we used miniconda to prepare a minimal Python environment before creating the executable file. For simple GUI applications like this, generative AI can be effectively utilized to easily create them, and we expect it to be useful when creating educational content. 5. Summary In conclusion, this paper introduces three applications of generative AI: Testing software, creating an AI tutor for software, and developing a GUI. These tasks usually require significant effort, but generative AI greatly reduces the required workload, as demonstrated in this paper. While generative AI does not always produce correct answers, human verification, such as testing, is necessary. However, our study confirms that generative AI often provides accurate results. Therefore, the use of generative AI in education and research in materials science is expected to become essential in the near future. The rapid progress of generative AI will likely make the content of this paper outdated within a few years. However, we anticipate that this paper will serve as a valuable record of the early applications of generative AI in materials science. Acknowledgement(s) A part of this study is supported by Data creation and utilization-type MaTerial R&D project (DxMT). References [1] OpenAI. ChatGPT ; 2025. Accessed: 2025-03-07; Available from: `https://chatgpt.com` . [2] AIMHack2024. AIMHack2024 ; 2024. Accessed: 2025-02-18; Available from: `https://` `dxmt.mext.go.jp/news/1105` . [3] MatDaCs. MatDaCs ; 2025. Accessed: 2025-02-18; Available from: `https://mat-dacs.` `dxmt.mext.go.jp/en` . [4] ImageJ. ImageJ ; 2025. Accessed: 2025-02-18; Available from: `https://imagej.net/` `software/imagej/` . [5] Motoyama Y, Tamura R, Yoshimi K, et al. Bayesian optimization package: Physbo. Computer Physics Communications. 2022;278:108405. Available from: `https://www.` `sciencedirect.com/science/article/pii/S0010465522001242` . [6] Bubeck S, Chandrasekaran V, Eldan R, et al. Sparks of Artificial General Intelligence: Early Experiments with GPT-4. arXiv preprint. 2023;Available from: `https://arxiv.` `org/abs/2303.12712` . [7] Chen M, Tworek J, Jun H, et al. Evaluating large language models trained on code. arXiv preprint. 2021;Available from: `https://arxiv.org/abs/2107.03374` . [8] Zhang B, Liang P, Zhou X, et al. Practices and Challenges of Using GitHub Copilot: An Empirical Study. arXiv preprint. 2023;Available from: `https://arxiv.org/abs/2303.` `08733` . [9] GitHub, Inc. Github copilot ; 2025. Accessed: 2025-02-18; Available from: `https://` `github.com/features/copilot` . [10] Amazon Web Services. Amazon codewhisperer ; 2025. Accessed: 2025-02-18; Available from: `https://aws.amazon.com/codewhisperer/` . 12 [11] Imai S. Is GitHub Copilot a Substitute for Human Pair-programming? An Empirical Study. In: 2022 IEEE/ACM 44th International Conference on Software Engineering: Companion Proceedings (ICSE-Companion); 2022. p. 319–321. [12] Pearce H, Ahmad B, Tan B, et al. Asleep at the Keyboard? Assessing the Security of GitHub Copilot’s Code Contributions. arXiv preprint. 2021;Available from: `https://` `arxiv.org/abs/2108.09293` . [13] Chollet F. Deep learning with python. New York, NY: Manning Publications; 2017. [14] Lecun Y, Bottou L, Bengio Y, et al. Gradient-based learning applied to document recog nition. Proceedings of the IEEE. 1998;86(11):2278–2324. [15] PHYSBO Gallery ; 2022. Accessed: 2025-03-09; Available from: `https:` `//isspns-gitlab.issp.u-tokyo.ac.jp/physbo-dev/physbo-gallery` . [16] Tamura R, Tsuda K, Matsuda S. NIMS-OS: an automation software to implement a closed loop between artificial intelligence and robotic experiments in materials science. Science and Technology of Advanced Materials: Methods. 2023 Jul;3(1). Available from: `http://dx.doi.org/10.1080/27660400.2023.2232297` . [17] NIMO ; 2024. Accessed: 2025-03-09; Available from: `https://github.com/NIMS-DA/` `nimo` . 13

섹션 본문 80문단 · 26,246자

(제목 없음)

1Generative AI has recently had a profound impact on various fields, including daily life, research, and education.To explore its efficient utilization in data-driven materials science, we organized a hackathon-AIMHack2024-in July 2024.In this hackathon, researchers from fields such as materials science, information science, bioinformatics, and condensed matter physics worked together to explore how generative AI can facilitate research and education.Based on the results of the hackathon, this paper presents topics related to (1) conducting AI-assisted software trials, (2) building AI tutors for software, and (3) developing GUI applications for software.While generative AI continues to evolve rapidly, this paper provides an early record of its application in data-driven materials science and highlights strategies for integrating AI into research and education.

Introduction

2The emergence of generative AI, such as ChatGPT [1], has had a significant impact on various fields, including materials science, where it has been used for tasks such as data analysis, automated literature review, and computational modeling.In July 2024, to explore efficient ways to integrate generative AI into research and education in materials science, specifically in automated data analysis, literature review, and software development, we organized a hackathon, AIMHack2024 [2].Approximately 30 participants, ranging from students to industry researchers, took part in the hackathon.The participants came from diverse backgrounds, including materials science, computational science, bioinformatics, and condensed matter physics, which fostered interdisciplinary collaboration.

3The workshop was designed to accommodate both beginners and advanced users.For beginners, the guided demonstrations introduced fundamental steps for using selected software from a curated list on a portal site such as MatDaCs (MaterialsData-Commons) [3].Through MatDaCs, participants could access and use various computational materials science applications, including machine learning frameworks.Par-ticipants were encouraged to perform basic calculations with the selected software, gaining practical experience under the supervision of generative AI.Advanced users, on the other hand, were given the flexibility to select and independently explore software of their choice, following a structured workflow similar to that used by beginners.This approach allowed them to investigate more advanced features and customize their usage according to their research interests.

4The primary emphasis of the hackathon was to enhance participants' ability to critically evaluate AI-generated content.Participants were encouraged to systematically verify AI-generated responses by cross-referencing them with established literature and their domain knowledge.They also tested the AI-generated code and tutorials by running the recommended software, assessing both functionality and accuracy.This exercise was designed not only to enhance technical proficiency but also to foster critical thinking about the reliability and applicability of AI-generated content.

5The collaborative efforts in the hackathon aimed to refine participants' strategies for using AI tools in their research activities, facilitating AI integration into research workflows and practical scientific applications.The key results of the hackathon included the implementation of AI-assisted software trials using ImageJ [4] for automated image analysis, the development of an AI tutor for PHYSBO [5], a Bayesian optimization tool, using MyGPTs, and the creation of a graphical user interface (GUI) to enhance the usability of PHYSBO.These results highlight the increasing impact of generative AI in advancing materials science research and education.

6We note that these three topics are closely related to the typical workflow in materials science research.First, image recognition of experimental results is a crucial first step for data accumulation, and mastering the use of ImageJ directly contributes to efficient data acquisition.Second, Bayesian optimization is a widely used method for determining the next experimental conditions based on accumulated data, and gaining a deeper understanding of PHYSBO through an AI tutor is important for improving research quality.Third, a GUI is useful for executing Bayesian optimization in a userfriendly manner, and our demonstration of a simple method for GUI development provides practical insights for a broad range of developers.Thus, the three topics addressed in this paper correspond to essential components of the research process in materials science.

7This paper is organized as follows.Section 2 presents AI-assisted software trials using ImageJ.Section 3 discusses the development of an AI tutor using MyGPTs for PHYSBO.Section 4 describes the creation of a GUI for PHYSBO with AI support.Finally, Section 5 provides a summary of the findings and discusses future directions for AI in materials science.

AI-assisted trial use of software

8In this section, we present an example of how ChatGPT can be used to assist in the trial use of software for materials science.During the hackathon, we chose the image analysis software ImageJ [4] from the list of software available on MatDaCs [3] as an example.Since ImageJ can count objects in an image, we decided to explore this feature with it.

9As an example, we prepared an image with several circles, as shown in Fig. 1(a).We then uploaded this image to ChatGPT and entered the following prompt:

10"How can I count the number of circles in this image using ImageJ?".• Set an appropriate "Size" range (e.g., 100-Infinity to filter out noise).

11• Check "Display results", "Show outlines", and "Summarize".

12• Click "OK" to perform the analysis.(6) View the Results

13• The results window will display the count of detected circles.

14By following these instructions and operating ImageJ, we were able to count the circles, as shown in Fig. 1(b).Typically, when using such software, one begins by reading manuals and learning how to use it, which can take a considerable amount of time.However, using generative AI in this way, we can significantly reduce the effort required for learning the software, which presents a major advantage.In fact, when we demonstrated this result, many participants were greatly amazed by how convenient generative AI is.

15Furthermore, as a more advanced test, we examined whether ImageJ could distinguish overlapping objects.For this test, we prepared an image with several overlapping circles, as shown in Fig. 1(c).We then uploaded this image to ChatGPT and entered the following prompt:

16"How can I count individual particles when they overlap, as shown in the attached image?".

17ChatGPT generated the following step-by-step instructions: • Set an appropriate "Size" range (e.g., 100-Infinity to filter out noise).

18• Check "Display results", "Show outlines", and "Summarize".

19• Click "OK" to perform the analysis.( 7) View the Results

20• The results window will display the number of detected circles.

21• A new image will appear with outlined particles.

22From these results, we learned that the watershed function can be used to detect overlapping areas.By following these instructions and operating ImageJ, we confirmed that the watershed function successfully separated overlapping regions, allowing for accurate object counting, as shown in Fig. 2(d).In a standard approach before the emergence of generative AI, finding such a feature required reading the manual and searching for the relevant section.However, we found that this effort could be significantly reduced by asking generative AI.

23This experiment demonstrated that generative AI can be an effective tool for learning how to use unfamiliar software.Traditionally, learning how to use software typically required conducting web searches and gathering information from relevant websites.However, generative AI is emerging as an alternative to this process.Based on this tutorial, several participants successfully used software they had not used before.

Building an AI Tutor for PHYSBO with MyGPT

24Recent advances in generative AI have accelerated automated code maintenance in software development [6,7].In particular, the emergence of Large Language Model (LLM)-based tools for code completion and debugging assistance has contributed to developer productivity [8]: tools such as GitHub Copilot [9] and Amazon CodeWhisperer [10] can understand the intent of a program, suggest appropriate code, and complete it accordingly [11,12].This technological advance is moving beyond code completion to a deeper understanding of the semantics of code.In the future, AI may be able to integrate software specifications, manuals, and source code to automatically generate tutorials and documentation for users.

25In this section, we explore the above possibility of using MyGPT to automatically generate tutorials for a specific piece of software.MyGPT is a tool that allows users to build customized conversational AI based on pre-provided information.The goal of this section is to evaluate the usefulness of MyGPT in generating tutorials when relevant information is provided in advance.Specifically, we assess MyGPT's ability to generate tutorials in terms of accuracy.Based on the results, the potential for future AI-based document generation is discussed.

26As our target software, we selected PHYSBO [5], a Bayesian optimization package.Bayesian optimization is a method that uses Gaussian processes as a regression model to estimate the objective function from explanatory variables and suggest those predicted to yield the best objective function value.One of the key features of PHYSBO is its ability to propose multiple candidates and appropriately select an acquisition function, including Thompson sampling (TS), expected improvement (EI), and probability of improvement (PI).Furthermore, the computational cost, which typically requires O(N 3 ) for the number of training data N , has been reduced to O(N ).

27To evaluate the effectiveness of MyGPT in generating accurate tutorials and explanations for PHYSBO, we provided it with various sources of reference information.Initially, we configured MyGPT with a system prompt specifying its role as an AI assistant specializing in PHYSBO.The following official sources were used as reference materials:

28• GitHub repository: https://github.com/issp-center-dev/PHYSBO• Official paper: https://www.sciencedirect.com/science/article/pii/S0010465522001242• User manual: https://issp-center-dev.github.io/PHYSBO/manual/master/en/index.htmlUsing this setup, we tested the accuracy of MyGPT by asking it the following question:

29"What acquisition functions does PHYSBO support?".However, MyGPT initially provided an incorrect response, claiming that PHYSBO implements the Upper Confidence Bound (UCB) acquisition function, which is not implemented.Additionally, MyGPT failed to mention PHYSBO's support for multiobjective optimization.

30To improve the accuracy of MyGPT's responses, we uploaded the official PHYSBO documentation and the research paper PDF files.We then repeated the same query, resulting in a significantly improved and accurate response.MyGPT correctly listed PHYSBO's available acquisition functions:

31For Single-Objective Optimization

32• Thompson Sampling (TS) -Selects the input that maximizes a sampled regression function from the posterior distribution.• Expected Improvement (EI) -Selects the input where the expected value of improvement over the current best value is maximized.• Probability of Improvement (PI) -Selects the input with the highest probability of exceeding the current maximum objective function value.

33For Multi-Objective Optimization

34• Thompson Sampling (TS) -A multi-objective extension of Thompson Sampling, which samples from multiple Gaussian processes.• Hypervolume-Based Probability of Improvement (HVPI) -Measures the probability of improving the non-dominated region in multi-dimensional objective space.• Expected Hypervolume Improvement (EHVI) -Estimates the expected improvement in hypervolume for Pareto-front optimization.

35Furthermore, MyGPT accurately noted that these acquisition functions balance exploration and exploitation in Bayesian optimization.It also correctly stated that PHYSBO allows users to specify the acquisition function via the score argument in its optimization functions.

36The results indicate that providing URLs alone was insufficient to ensure accurate responses, since MyGPT generated plausible but incorrect information.This suggests that MyGPT may rely on general prior knowledge rather than accurately retrieving information from the linked sources.In contrast, uploading structured documents (PDFs) significantly improved response accuracy, probably because the model could directly extract relevant content.These findings highlight the importance of explicitly providing MyGPT with domain-specific documentation when using it for software and documentation generation.Future work will explore whether structured summaries or extracted key sections from documentation further improve accuracy and reduce the need to upload full PDFs.

37To further evaluate the capabilities of MyGPT, we tested its ability to generate a hyperparameter optimization tutorial using PHYSBO for neural networks configured with Keras [13].We provided the following prompt:

38"Create a tutorial on optimizing hyperparameters in PHYSBO for neural networks configured using Keras."

39MyGPT generated a step-by-step tutorial covering key aspects of hyperparameter tuning with PHYSBO, including:

40• Installation of required packages.

41• Definition of the hyperparameter search space, including learning rate, batch size, and number of hidden units.• Implementation of a simple feedforward neural network in Keras, using the MNIST [14] dataset as an example.• Evaluation of hyperparameter configurations using PHYSBO.

42• Execution of Bayesian optimization to determine the best hyperparameter set.

43• Extraction and reporting of the optimal hyperparameter values.

44The generated tutorial included relevant Python code snippets that demonstrate the integration of PHYSBO with Keras.The core of the tutorial focused on employing TS and Bayesian optimization strategies to maximize model performance.The Python code generated by MyGPT for setting up and optimizing hyperparameters is uploaded to the ISSP data repository [15].

45To validate the accuracy and effectiveness of the tutorial, we executed the generated code.The optimization process successfully converged to an optimal configuration, achieving an accuracy of 0.9742.The final hyperparameters were:

46• Learning Rate: 0.001 • Batch Size: 16 • Number of Hidden Units: 128 Additionally, intermediate optimization steps exhibited steady improvements, demonstrating the effectiveness of Bayesian optimization for hyperparameter tuning.The results confirm that MyGPT can generate functionally correct and executable tutorials when provided with structured reference materials such as official documentation and research papers.However, continuous validation is still required to ensure accuracy, particularly when integrating AI-generated outputs into software documentation workflows.

47This demonstration has shown that MyGPT can effectively generate executable tutorials for PHYSBO-based hyperparameter optimization when structured reference materials are provided.While initial responses contained inaccuracies, uploading domain-specific documentation significantly improved accuracy.The results suggest that AI-driven tutorial generation can enhance software usability and accessibility, though continuous validation remains necessary.Future work should explore integrating structured prompt engineering techniques to further refine the quality of generated outputs.

Development of a GUI application from Python scripts with the help of generative AI

48Many Python scripts are available as open-source software (OSS) packages on GitHub, providing significant value for data analysis and machine learning tasks.However, if a proper Python environment is not set up, users cannot utilize these scripts on a local PC.To address this issue, converting Python scripts into Windows executable files is an effective way that allows them to be executed without any Python environment setup on Windows PCs.This approach offers considerable advantages, such as enabling practical exercises in university and high school lectures, as well as corporate seminars, simply by sharing the executable files.Additionally, in product development, this method eliminates the need to set up Python environments on individual PCs.Another option for running analyses without setting up a Python environment is the use of cloud services.However, cloud-based solutions pose security risks when dealing with confidential data, as their use may not be feasible for such scenarios.By contrast, Windows executable files allow offline and local execution of analyses.One of their key benefits is their ability to ensure a high level of security against data breaches.In this section, we introduce the development of a GUI application for the Bayesian optimization package PHYSBO (see Fig. 3), created with the help of ChatGPT.The original code used to convert to a Windows executable file was based on the PHYSBO code implemented in NIMO [16,17] (ai_tool_physbo.py).In NIMO, the process begins by preparing candidates.csv,which organizes all experimental condition candidates into a table.The rightmost column of candidates.csv is designated to store the objective function values: if an experiment has already been conducted, the corresponding objective function value is entered, while for experiments not yet performed, the field remains blank.An example is shown in Fig. 3.The experimental conditions with completed objective function values are used as training data, and the next experimental conditions to be tested are proposed from the blank fields.These proposed experimental conditions are output as proposals.csv.It is important to note that the proposed explanatory variables are those predicted to maximize the objective function value.If the goal is to find experimental conditions that minimize the objective function value, this can be achieved by attaching a negative sign to the objective function values when storing them in candidates.csv.

49The Windows executable file was created through interactions with ChatGPT by the steps below.

50(i) The prepared PHYSBO code was loaded into ChatGPT, and the following command was given:

51"Convert the following script into an exe file so that it will work in a Windows environment.".

52In response, the Python code was generated, along with the following instructions.The PHYSBO code that was loaded can be found at https://github.com/NIMS-DA/nimo/tree/main/nimo/ai_tools.By following these instructions, the Windows executable file was successfully created, executed, and verified.

53(ii) We instructed ChatGPT as follows to modify the Python code so that the number of proposed candidates (num_proposals) and the acquisition function (physbo_score) could be specified as arguments:

54"Please allow users to specify two arguments: num_proposals and physbo_score.".

55In response, the modified code was generated, and the following message was provided.

56To modify the script to accept command-line arguments for num_proposals and physbo_score, we can use the argparse module.Here's the updated script: Changes Made:

571. Added the argparse module to parse command-line arguments.2. Included --num_proposals and --physbo_score as required arguments.3. Updated the main() function to read these arguments and pass them to the PHYSBO class.

Usage:

58After converting this script to an .exefile using pyinstaller, you can specify arguments like this: PHYSBO.exe--num_proposals 5 --physbo_score TS

59This ensures flexibility for users to define the number of proposals and the scoring method.

60(iii) The Windows executable file created the above steps requires num_proposals and physbo_score to be specified as arguments, and they need to be entered via the command prompt on a Windows computer.To enable GUI-based specification of these two arguments, we asked ChatGPT the following:

61"Please allow the user to specify two arguments, num_proposals and physbo_score,in the GUI."

621. Added a message box using messagebox.showinfo to notify the user to select an input file before the file dialog appears.2. This makes the process more user-friendly by explicitly prompting the user.

How It Works:

631.A message box pops up asking the user to select the input file.2. The file dialog then opens for the user to browse and select the required input file.This improvement enhances clarity and guides the user through the process.

64(vi) A feature to output predicted values for the test data through the GUI was implemented.In NIMO, setting the output_res argument to True allows the output of predicted values, variance values, and acquisition function values for the test data.To enable this option in the GUI, we instructed ChatGPT as follows:

65"Please allow users to specify whether output_res should be False or True in the GUI.".

66In response, the following message was generated.

Updates:

671. Added a messagebox.askyesnodialog to ask the user whether they want to enable output_res.2. The user's choice (True for Yes, False for No) is passed to the PHYSBO class.

How It Works:

681.After selecting the input file and entering other parameters, the user is prompted with: Do you want to export prediction results? 2. Clicking "Yes" sets output_res to True. 3. Clicking "No" sets output_res to False.This allows users to choose whether to export the prediction results, directly via the GUI.With the steps above, PHYSBO.exehas been completed and is publicly available on https://isspns-gitlab.issp.u-tokyo.ac.jp/physbo-dev/ physbo-gallery/-/tree/master/tools/physbo_exe.

69(vii) Finally, to create a manual for the developed executable application, we instructed ChatGPT as follows:

70"Please create a manual for the GUI application created.".

71In response, the manual was generated along with the following message:

72"The user manual for the PHYSBO GUI Application has been created.It includes instructions for setup, operation, and troubleshooting.If you need modifications or additional details, feel free to ask!".

73A video demonstrating the execution of PHYSBO.execan be found as Supplementary Movie 1.The manual created by ChatGPT could be used with almost no modifications.In addition, the manual for preparing the candidates.csvfile was generated by loading the NIMO manual into ChatGPT.The two manuals were then merged and slightly modified by ChatGPT, and the result is available at https://isspns-gitlab.issp.u-tokyo.ac.jp/physbo-dev/ physbo-gallery/-/tree/master/tools/physbo_exe.Since ChatGPT can easily perform language translation for the manuals, it becomes clear that the creation of both the Windows executable file and the manuals can largely be automated by gen-erative AI.To prevent the Windows file from becoming too large, we used miniconda to prepare a minimal Python environment before creating the executable file.For simple GUI applications like this, generative AI can be effectively utilized to easily create them, and we expect it to be useful when creating educational content.

Summary

74In conclusion, this paper introduces three applications of generative AI: Testing software, creating an AI tutor for software, and developing a GUI.These tasks usually require significant effort, but generative AI greatly reduces the required workload, as demonstrated in this paper.While generative AI does not always produce correct answers, human verification, such as testing, is necessary.However, our study confirms that generative AI often provides accurate results.Therefore, the use of generative AI in education and research in materials science is expected to become essential in the near future.

75The rapid progress of generative AI will likely make the content of this paper outdated within a few years.However, we anticipate that this paper will serve as a valuable record of the early applications of generative AI in materials science.

Figure 1 .( 1 ) 3 )

76Figure 1.Sample images: (a) Circles without overlap and (c) Circles with overlap.ImageJ analysis results: (b) Counting result for non-overlapping circles and (d) Counting result for overlapping circles.

( 1 ) 3 )

77Open the Image • Launch ImageJ.• Select File → Open... from the menu and open the target image.(2) Convert to Grayscale • Select Image → Type → 8-bit from the menu to convert the image to grayscale.(Adjust the Threshold • Select Image → Adjust → Threshold.... • Use the sliders to highlight only the circles (they should appear in red).• Click "Apply."(4) Convert to Binary Image • Select Process → Binary → Make Binary to create a black-and-white image.(5) Apply Watershed Segmentation • Select Process → Binary → Watershed.• This will separate touching circles by adding dividing lines.(6) Perform Particle Analysis • Select Analyze → Analyze Particles....

Figure 2 .

78Figure2.Overview of the process for generating tutorials for PHYSBO using MyGPT.MyGPT was initially tested only with URLs to PHYSBO's official documentation, followed by an improved setup where full documentation PDFs were provided.

Figure 3 .

79Figure 3. executable file for PHYSBO was developed with the help of ChatGPT.Based on the candidates.csvfile, which includes experimental conditions and some objective function values, promising candidates expected to yield higher objective function values are proposed.

80To convert the given Python script into a Windows executable file, you can use PyInstaller.Below are the steps:1.Install PyInstaller: Ensure you have pyinstaller installed.You can install it via pip: pip install pyinstaller 2. Prepare the Script: Make sure your script works correctly by itself when executed.It appears the provided script uses external dependencies such as numpy, physbo, etc. Ensure these are installed in your Python environment: pip install numpy physbo 3. Generate the Executable: Run the following command in the terminal where the script is located: pyinstaller --onefile PHYSBO.py•--onefileensures the executable is packaged into a single file.•This will create a standalone .exefile in the dist folder.4.Locate the Executable: After the command completes, the PHYSBO.exefile will be located in the dist directory.5. Test the Executable: Move the .exe to a folder with the required input files (e.g., candidates.csv)and test it in a Windows environment.

참고문헌 7건

  1. Gradient-based learning applied to document recognition Proceedings of the IEEE · Institute of Electrical and Electronics Engineers · 1998 10.1109/5.726791
  2. Bayesian optimization package: PHYSBO Computer Physics Communications · Elsevier BV · 2022 10.1016/j.cpc.2022.108405
  3. Is GitHub Copilot a Substitute for Human Pair-programming? An Empirical Study 2022 IEEE/ACM 44th International Conference on Software Engineering: Companion Proceedings (ICSE-Companion) · 2022 10.1109/icse-companion55297.2022.9793778
  4. 2022 IEEE/ACM 44th International Conference on Software Engineering: Companion Proceedings (ICSE-Companion) 2022 IEEE/ACM 44th International Conference on Software Engineering: Companion Proceedings (ICSE-Companion) · 2022 10.1109/icse-companion55297.2022
  5. Asleep at the Keyboard? Assessing the Security of GitHub Copilot’s Code Contributions 2022 IEEE Symposium on Security and Privacy (SP) · 2022 10.1109/sp46214.2022.9833571
  6. Practices and Challenges of Using GitHub Copilot: An Empirical Study Proceedings/Proceedings of the ... International Conference on Software Engineering and Knowledge Engineering · 2023 10.18293/seke2023-077
  7. NIMS-OS: an automation software to implement a closed loop between artificial intelligence and robotic experiments in materials science Science and Technology of Advanced Materials Methods · Taylor & Francis · 2023 10.1080/27660400.2023.2232297