Research in the natural sciences increasingly depends on computational simulations,
high-resolution imaging, and complex software. However, expensive calculations,
labor-intensive image interpretation, and inadequate software documentation can limit the pace
and accessibility of research. This dissertation investigates how machine learning can address
these bottlenecks through three complementary directions: predicting scientific quantities
efficiently, explaining model behavior, and automating supporting computational tasks. Materials
science provides the principal application domain, complemented by a general-purpose tool for
software documentation.
For efficient prediction of material behavior, we develop supervised learning models that
reconstruct bilinear approximations of orientation-dependent stress–strain curves from features
obtained after a single crystal plasticity finite element simulation step. Using datasets of 100
complete curves per material, the framework achieves mean absolute relative errors of 1.43\%
for aluminum, 1.53\% for nickel, and 2.86\% for copper, with an estimated speedup of
approximately 4,000-fold for nickel. We then address structural characterization by learning
lattice parameters directly from simulated scanning transmission electron microscopy images of
two-dimensional materials. Evaluated on JARVIS-2D, the Computational 2D Materials Database
(C2DB), and an Alexandria-derived dataset, DenseNet121 predicts lattice lengths and angles,
achieving mean absolute errors of 0.17 Å and 0.19 Å for the two in-plane lattice constants on
the full C2DB test set. A separate classification model achieves 96\% Bravais lattice
classification accuracy on the Alexandria-derived dataset.
Extending image-based prediction to multimodal generation, we benchmark Llama~3, Qwen~2,
and Gemma~3 vision-language models adapted using quantized low-rank fine-tuning to
generate structural descriptions from microscopy images and chemical-composition prompts.
On the subset of C2DB test samples with correctly predicted stoichiometry,
Llama 3 achieves mean absolute errors of \(0.32\,\text{\AA}\),
\(0.39\,\text{\AA}\), and
γ
4. 19◦ 𝑎 𝑏
for , , and
, respectively. Distributional analyses and preliminary experimental-image tests further
characterize the models' capabilities and limitations.
To investigate the evidence underlying image-based decisions, we introduce XNano, an
explainability study comparing raw-image and preprocessed nanoparticle classifiers on 3,590
test images. Attribution maps and region-level integrated-gradient analyses suggest that
preprocessing changes the representation used for classification, including particle and
boundary features. The preprocessed model achieves higher accuracy despite weaker
particle-to-background attribution-density contrast, while some previously correct predictions
become errors. These findings motivate evaluating model behavior alongside aggregate
predictive performance.
Finally, ReadmeReady combines retrieval-augmented generation, configurable language
models, and optional parameter-efficient fine-tuning to produce repository documentation from
source code. Experiments demonstrate its utility for generating initial documentation while
showing that resource-constrained fine-tuning does not consistently improve quality. Together,
these contributions illustrate how machine learning can accelerate materials modeling and
characterization, support scrutiny of automated decisions, and assist the software workflows on
which computational research depends.
Audience
- Faculty/Staff
- Student
- Post Docs/Docs
- Graduate Students
Contact
Jensen Smith
Email
Interest
- Academic (general)