Related Experiment Video
Updated: Jan 15, 2026

A Package of Established Analytical Tools to Investigate the Solid-State Alteration of Lipid-Based Excipients
Published on: August 9, 2022
DeepSeek-LLM with Adaptive RAG for Pharmaceutical Dissolution Prediction
Leqi Lin1, Xingyu Zhou1, Kaiyuan Yang1
1State Key Laboratory of Synergistic Chem-Bio Synthesis, Department of Chemical Engineering, School of Chemistry and Chemical Engineering, Shanghai Jiao Tong University, Shanghai, 200240, People's Republic of China.
Purpose:
This work aims to accelerate and enhance pharmaceutical drug dissolution prediction by integrating advanced Large Language Models (LLMs) and AI-diffusion models to reduce reliance on time-consuming, costly empirical experiments. The framework sets a foundation for broader adoption of generative AI in drug development.
Methods:
This work introduces a DeepSeek based LLM framework augmented by prompt engineering (zero-shot, few-shot, chain-of-thought) and adaptive weighted retrieval-augmented generation (RAG) to systematize dissolution profile from basic physical properties. Moreover, a diffusion model synthesizes SEM-derived morphological parameters (e.g., particle size, surface area), circumventing error accumulation from multi-instrument characterization workflows. These parameters feed the RAG database, enabling LLM predictions grounded in structure-performance relationships rather than idealized assumptions.
Results:
Overall, the LLM generated dissolution profile (few-shot chain-of-thought with RAG) provides a good agreement between experimental and the prediction result among others. Sensitivity analysis is investigated to quantify the reliability and stability of the prompt content. Additionally, diffusion-generated structural data from SEM images combined with the LLM's predictive capabilities are tested to connect macro-scale physical properties with microstructural characteristics, achieving a close profile trend with acceptable RMSE and PCC.
Conclusions:
This study demonstrates the potential of the DeepSeek-based LLM framework to describe the dissolution of drug powders. Among the different system prompt strategies, few-shot chain-of-thought with RAG performs the best dissolution profile among others. While it may overcomplicate straightforward tasks in certain scenarios. The combination of diffusion models successfully bridges AI-driven insights (e.g., dissolution predictions) with physical and structural drug properties (e.g., particle geometry from SEM images).
Related Concept Videos
Drug Dissolution: Requirements and Profile Comparison
Factors Affecting Dissolution: Drug Permeability, Stability and Stereochemistry
In Vitro Drug Dissolution: Alternative Methods
Factors Influencing Drug Absorption: Pharmaceutical Parameters
Bioavailability Enhancement: Drug Solubility Enhancement
In Vitro Drug Dissolution: Compendial Testing Models II

