BiLayerStacker: A Universal and Global Program for Determining Ground-State Stacking Configurations of Bilayer 2D Nanomaterials

Bing Zheng, Yanchang Zhang, Liying Cui, Jun Duan, Bowen Sun, Danning Sun, Miao Du, Qian WangResearch Square 2025 · DOI

TL;DR

BiLayerStacker is a new Python-based automated workflow designed to find the most stable "ground-state" stacking configurations for bilayer 2D materials. By combining Bayesian optimization with a systematic global search strategy, the tool identified 28 new bilayer borophene structures with higher stability than any previously reported in the literature, including two novel phases that show great promise as transparent conductors.

What Problem Does This Paper Address?

When you stack two layers of 2D materials (like graphene or borophene), their physical and electronic properties change drastically based on how they are aligned. Finding the most stable arrangement—the ground state—is a massive "needle in a haystack" problem.

Traditionally, researchers relied on manual modeling, which is often biased toward high-symmetry points (like perfectly aligned atoms). However, the true lowest-energy state might involve subtle sliding or twisting that manual methods miss. Existing automated tools often have narrow search windows or struggle with "lattice mismatch"—where the repeating patterns of the two layers don't perfectly line up. BiLayerStacker aims to provide a universal, automated, and global search to solve these issues.

Methods

The authors developed BiLayerStacker, a Python package that integrates with standard density functional theory (DFT) tools like VASP and CP2K. Its workflow consists of several clever steps:

  • Adaptive Lattice-Rectification: If two monolayers have a lattice mismatch greater than 5%, the program automatically expands them into supercells to find a compatible common geometry without compromising structural integrity.
  • Bayesian Optimization (BO): Instead of brute-forcing every possible interlayer distance, the tool uses BO—a probabilistic model—to rapidly converge on the optimal spacing between layers with minimal expensive calculations.
  • Minimum Repeat Step Principle: To sample the "sliding" space (how one layer sits on the other), the program determines the largest possible step size that doesn't miss energy fluctuations, balancing thoroughness with computational speed.
  • Mirror Reflection: Since 2D materials aren't always perfectly flat (they can have "wrinkles"), the tool tests four permutations of the layers (original and mirrored) to ensure no interaction is overlooked.

Datasets

The study validated the tool by exploring bilayer borophene.

  • Input: Seven previously identified monolayer borophene phases ($\alpha, \alpha_1, \alpha_5, \alpha_7, \alpha_8, \beta_{12}, \chi_3$).
  • Output: The authors generated a massive dataset of over 320,000 stacking configurations across 28 distinct bilayer combinations.
  • Open Access: The authors have released this dataset as an open database for the research community to use in machine learning training and materials design.

Key Insights and Ideas

  • Manual Stacking is Insufficient: The most striking insight is that for all 28 series tested, BiLayerStacker found configurations with higher binding energies than those previously reported in peer-reviewed literature. This proves that "intuitive" manual stacking frequently misses the true ground state.
  • Stability Drivers: By analyzing the electronic properties (using Electron Localization Functions), the authors found that for bilayer borophene, in-plane bonding is the primary driver of stability. While interlayer interactions matter, the way stacking influences the bonds within each layer is what ultimately dictates the ground state.
  • Discovery of Novel Conductors: The search identified two specific configurations ($\alpha_7-\alpha_8$ and $\alpha_5-\alpha_8$) that are not only exceptionally stable but also boast visible light transmittance over 85% and high conductivity, making them potential theoretical rivals to Indium Tin Oxide (ITO).

Key Results

  • Record-Breaking Stability: The identified ground states showed binding energies up to 6.567 eV/atom (for the $\alpha_7-\alpha_8$ phase), surpassing previous records.
  • High-Fidelity Screening: The tool’s initial screening (using the faster DFTB+ method) showed "perfect agreement" with high-level, computationally expensive DMol³ and VASP refinements.
  • Material Properties: The newly discovered borophene bilayers exhibit metallic character with work functions (~4.9 eV) comparable to gold, suggesting they could be excellent electrode materials.

Limitations and Future Work

While BiLayerStacker is a major step forward for bilayers, the authors note a few areas for expansion:

  • Beyond Bilayers: The current version is optimized for two layers. Extending the "global search" logic to trilayers or complex van der Waals heterostructures would significantly increase the search space complexity.
  • Computational Intensity: Even with Bayesian Optimization, generating 320,000 configurations requires substantial high-performance computing (HPC) resources.
  • Experimental Gap: As with most high-throughput computational studies, the next challenge is experimental synthesis—moving these "perfect" theoretical stacks from the computer to the lab.

Summary updated

Abstract

<title>Abstract</title> Comprehensively exploring the stacking configurations of bilayer two-dimensional (2D) nanomaterials and heterostructures is extremely challenging, as traditional manual modeling struggles with the vast slippage-induced stacking configuration space. Here, we developed a universal and global program, named BiLayerStacker, capable of systematically constructing potential bilayer stacking configurations from two arbitrary monolayer 2D nanomaterials and rapidly identifying the ground-state sliding-stacking configuration. To achieve the universality of BiLayerStacker, we employed an adaptive lattice-rectification scheme that corrects monolayers with over 5 % lattice mismatch via equivalent lattice conversion and minimal supercell expansion. Its globality is realized by the interlayer distance scanning via Bayesian optimization, the delicate design of sliding vectors determined by pre-tests of angle and distance step based on the “minimum repeat step principle”, and the maximum sliding distance. Utilizing BiLayerStacker, we explored 28 series of bilayer sliding-stacking configurations based on seven previously identified monolayer borophene, yielding over 320,000 stacking configurations. The 28 identified ground-state configurations each exhibit a binding energy that surpasses the highest value reported in the literature for their corresponding series, validating the effectiveness of BiLayerStacker. Remarkably, we identified two novel bilayer borophene stacking configurations (α7-α8 and α5-α8) that exhibit exceptional thermodynamic, dynamic stability, and photoelectric properties, highlighting their promise as transparent conductors. BiLayerStacker establishes a methodological foundation for universal multilayer material prediction, and bridges theory and experiment.
BibTeX
@inproceedings{zheng2025bilayerstacker,
  author = {Bing Zheng and Yanchang Zhang and Liying Cui and Jun Duan and Bowen Sun and Danning Sun and Miao Du and Qian Wang},
  title = {{BiLayerStacker: A Universal and Global Program for Determining Ground-State Stacking Configurations of Bilayer 2D Nanomaterials}},
  booktitle = {Research Square},
  year = {2025},
  doi = {10.21203/rs.3.rs-7308129/v1},
}
Figure