Skip to main content
QUICK REVIEW

[Paper Review] FormuLLA: A Large Language Model Approach to Generating Novel 3D Printable Formulations

Adeshola Okubena, Yusuf Ali Mohammed|arXiv (Cornell University)|Jan 5, 2026
3D Printing in Biomedical ResearchEngineering0 citations
TL;DR

The paper fine-tunes four LLMs on a FDM formulation dataset to recommend excipients and predict filament properties, with Llama2 performing best for excipient recommendation. It also discusses challenges like forgetting and limitations of standard linguistic metrics.

ABSTRACT

Pharmaceutical three-dimensional (3D) printing is an advanced fabrication technology with the potential to enable truly personalised dosage forms. Recent studies have integrated artificial intelligence (AI) to accelerate formulation and process development, drastically transforming current approaches to pharmaceutical 3D printing. To date, most AI-driven efforts remain narrowly focused, while failing to account for the broader formulation challenges inherent to the technology. Recent advances in AI have introduced artificial general intelligence concepts, wherein systems extend beyond conventional predictive modelling toward more generalised, human-like reasoning. In this work, we investigate the application of large language models (LLMs), fine-tuned on a fused deposition modelling (FDM) dataset comprising over 1400 formulations, to recommend suitable excipients based on active pharmaceutical ingredient (API) dose, and predict filament mechanical properties. Four LLM architectures were fine-tuned, with systematic evaluation of both fine-tuning and generative parameter configurations. Our results demonstrate that Llama2 was best suited for recommending excipients for FDM formulations. Additionally, model selection and parameterisation significantly influence performance, with smaller LLMs exhibiting instances of catastrophic forgetting. Furthermore, we demonstrate: (i) even with relatively small dataset of over 1400 formulations, it can lead to model catastrophic forgetting; (ii) standard LLM metrics only evaluate linguistic performance but not formulation processability; and (iii) LLMs trained on biomedically-related data do not always produce the best results. Addressing these challenges is essential to advancing LLMs beyond linguistic proficiency and toward reliable systems for pharmaceutical formulation development.

Motivation & Objective

  • Motivate the use of AI, specifically LLMs, to accelerate pharmaceutical 3D printing formulation development for personalized dosages.
  • Investigate how fine-tuning LLMs on an FDM formulation dataset can suggest suitable excipients based on API dose.
  • Evaluate the impact of model choice and training parameters on formulation-relevant predictions and processability.

Proposed method

  • Fine-tune four LLM architectures on an FDM dataset with 1400+ formulations.
  • Assess excipient recommendation performance given API dose and other formulation features.
  • Evaluate predicted filament mechanical properties from the LLM outputs.
  • Compare generalization and forgetting tendencies across model sizes and training settings.
  • Highlight limitations of standard linguistic metrics for formulation applicability.

Experimental results

Research questions

  • RQ1Can LLMs accurately recommend excipients for FDM formulations based on API dose?
  • RQ2How do model choice and fine-tuning parameters affect formulation processability and predicted properties?
  • RQ3What are the risks of catastrophic forgetting with relatively small formulation datasets in this domain?
  • RQ4Do biomedically related pretraining data consistently yield better results for pharmaceutical formulation tasks?

Key findings

  • Llama2 emerged as the best option for excipient recommendation in FDM formulations.
  • Model performance is highly influenced by selection and parameterization, with smaller LLMs showing forgetting behavior.
  • Even with a dataset of around 1400 formulations, catastrophic forgetting can occur.
  • Standard LLM evaluation metrics capture linguistic performance but not formulation processability.
  • LLMs trained on biomedically-related data do not always yield optimal results for formulation tasks.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.