Diffusion-based generation of 1D nanotube candidates
A diffusion and inpainting pipeline that generates and screens candidate 1D nanotube structures, bypassing costly DFT searches.

Overview
Six-week research project at the Interdisciplinary Quantum Materials Lab at National Taiwan University, building a machine learning pipeline to accelerate the discovery of single-walled 1D nanotube materials. Traditional Density Functional Theory (DFT) methods for finding stable nanotube candidates are computationally expensive, so the project paired a generative diffusion model with a custom geometric screening process to propose and filter candidate structures far faster.
Problem
Over a thousand single-walled nanotubes are theoretically stable, but most are chemically similar and not commercially feasible, and DFT-based discovery is too slow and resource-intensive to explore the space experimentally. The goal was a method that produces a larger, more diverse pool of candidate nanotube structures without running full DFT on every option.
Approach
I engineered a hybrid pipeline combining DiffCSP, a denoising diffusion probabilistic model for crystal structure generation, with a custom inpainting protocol that applies a soft geometric mask at each denoising step to converge atomic coordinates toward a tube skeleton. The mask templates came from 45,158 crystal structures drawn from the Alexandria database and synthetic datasets, filtered down to 2,210 high-quality geometric templates. Generated candidates then passed through a five-part screening cascade checking geometric constraints, chemical neutrality with SMACT, and interatomic force stability with CHGNet.
Results
The pipeline generated 33 viable, theoretically stable nanotube candidates in 1,509.2 seconds, with a 100% pass rate on occupancy constraints and over 90% radial band compliance. One candidate fully relaxed with an acceptable root-mean-square deviation of 2.2 Å.
What I would do next
Implement an atomic pinning protocol to better enforce symmetry constraints, and add further pinning constraints to reduce atomic clustering in larger candidate structures.
