Skip to content

Commit fe8ca49

Browse files
authored
Add files via upload (#161)
* Add files via upload * Update nbhub_abadeepkd.md
1 parent e9d4c9e commit fe8ca49

File tree

1 file changed

+103
-0
lines changed

1 file changed

+103
-0
lines changed

source/_posts/nbhub_abadeepkd.md

Lines changed: 103 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,103 @@
1+
---
2+
title: "NBHub | ABACUS+DeePKS Step-by-Step Practical Tutorial: Using the Perovskite System as an Example"
3+
date: 2024-10-17
4+
categories:
5+
- Tutorials@Notebooks
6+
mathjax: true
7+
---
8+
9+
This Notebook will approach DeePKS from an application perspective, using the **perovskite system** as a case study. It systematically presents the complete process of **DeePKS model training and deployment**, including:
10+
11+
1. **Preparation of labeled data** for the example system,
12+
2. **Model training**, and
13+
3. **Result analysis**.
14+
15+
Check out here: https://bohrium.dp.tech/collections/6242632852/
16+
17+
**Tutorial Structure**
18+
19+
Following a progression from simple to complex, this tutorial series is designed to guide readers step by step in learning DeePKS:
20+
21+
- **Single-element systems**:
22+
- Start with energy label training for systems containing the same type of element.
23+
24+
- **Multi-label training for single-element systems**:
25+
- Expand to training multiple labels (e.g., **energy**, **forces**, **stress**, and **band structure**) for single-element systems.
26+
27+
- **Real-world research systems**:
28+
- Transition to complex research systems (e.g., those with diverse elemental compositions), incorporating multi-label training for **energy**, **forces**, **stress**, and **band structure**.
29+
30+
31+
32+
**Learning Outcomes**
33+
34+
Through this tutorial, readers will:
35+
36+
- Gain a **deep understanding of the DeePKS method**,
37+
- Master how to apply it to actual model training and deployment, and
38+
- Equip themselves with essential skills to support future research.
39+
40+
41+
## Background
42+
### **First-Principles Calculations Based on KS-DFT**
43+
44+
First-principles calculations based on **Kohn−Sham Density Functional Theory (KS-DFT)** have become one of the most widely used quantum mechanical methods at the atomic and molecular scales in recent decades.
45+
46+
The **accuracy of KS-DFT** is determined by the precision of the unknown terms in the total energy—namely, the **exchange-correlation functional**. Among the various approximations of exchange-correlation functionals—such as **LDA**, **GGA**, **meta-GGA**, and **hybrid functionals** [1-2]—achieving a balance between **accuracy** and **efficiency** has always been a challenge.
47+
48+
- The most commonly used functional, such as the **PBE functional** under the **GGA approximation**, performs well in terms of computational efficiency but **often lacks accuracy** for specific systems.
49+
- On the other hand, **hybrid functionals** like **HSE06** offer higher accuracy but suffer from **lower computational efficiency**, making them impractical for handling large systems.
50+
51+
---
52+
53+
### **Opportunities with Artificial Intelligence**
54+
55+
The **rapid development of artificial intelligence** (AI) has introduced new possibilities for representing and approximating high-dimensional complex functions. By leveraging **deep learning models** to bridge the gap between low- and high-accuracy functionals, it is now possible to achieve a good balance between efficiency and accuracy.
56+
57+
---
58+
59+
### **DeePKS Method**
60+
61+
The **DeePKS method** is a deep learning-based functional correction approach developed to address this challenge [3-5]. Its key features are as follows:
62+
63+
1. **Objective**:
64+
- DeePKS does not reconstruct the exchange-correlation functional itself.
65+
- Instead, it uses **machine learning techniques** to optimize low-accuracy functionals.
66+
67+
2. **How it Works**:
68+
- DeePKS learns the differences in **energy**, **forces**, **stress**, and **band structure** labels between:
69+
- A **baseline functional** (e.g., PBE)
70+
- A **target functional** (e.g., HSE06)
71+
- This effectively combines the advantages of low- and high-accuracy calculations.
72+
73+
3. **Key Benefits**:
74+
- **Good balance between efficiency and accuracy**.
75+
- **Low computational cost**:
76+
- Correction terms are computationally as inexpensive as low-accuracy functionals.
77+
- Far less expensive than high-accuracy functionals like HSE06.
78+
79+
---
80+
81+
### **Advantages in Practical Applications**
82+
83+
- The **computational cost of correction terms** in DeePKS is comparable to that of low-accuracy functionals.
84+
- This makes DeePKS **significantly faster** than high-accuracy functionals, giving it a notable edge in practical applications.
85+
86+
---
87+
88+
### **Integration with DFT Software**
89+
90+
During **DeePKS model training**, the update of model parameters alternates with the **self-consistent calculations** of first-principles methods.
91+
This requires DeePKS to **seamlessly integrate** with existing **density functional theory software**.
92+
93+
<center><img src=https://dp-public.oss-cn-beijing.aliyuncs.com/community/DEEPKS.webp# pic_center width="100%" height="100%" /></center>
94+
95+
96+
Reference:
97+
1.Kohn W, Sham L J. Self-consistent equations including exchange and correlation effects[J]. Physical review, 1965, 140(4A): A1133.
98+
2.Perdew J P, Burke K, Ernzerhof M. Generalized gradient approximation made simple[J]. Physical review letters, 1996, 77(18): 3865.
99+
3.https://github.com/deepmodeling/deepks-kit/tree/develop
100+
4.Chen Y, Zhang L, Wang H, et al. DeePKS: A comprehensive data-driven approach toward chemically accurate density functional theory[J]. Journal of Chemical Theory and Computation, 2020, 17(1): 170-181.
101+
5.Ou Q, Tuo P, Li W, et al. DeePKS Model for Halide Perovskites with the Accuracy of a Hybrid Functional[J]. The Journal of Physical Chemistry C, 2023, 127(37): 18755-18764.
102+
6.https://github.com/deepmodeling/abacus-develop
103+
7.Li W, Ou Q, Chen Y, et al. DeePKS+ ABACUS as a Bridge between Expensive Quantum Mechanical Models and Machine Learning Potentials[J]. The Journal of Physical Chemistry A, 2022, 126(49): 9154-9164.

0 commit comments

Comments
 (0)