DeepSeek-LLM with Adaptive RAG for Pharmaceutical Dissolution Prediction
摘要
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.
MethodsThis 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.
ResultsOverall, 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.
ConclusionsThis 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).
Graphical Abstract