Related Experiment Videos
Context Engineering for AI-Assisted Pharmacometrics: A Practical Tutorial
Ari Pritchard-Bell1, Chih-Wei Lin1, William Holmes1
1Amgen, Inc., Thousand Oaks, California, USA.
This tutorial guides pharmacometricians on creating detailed, self-contained tasks for large language models (LLMs) to prevent errors in pharmacometric workflows. It ensures accurate execution by embedding rules and examples within each step for reliable model performance.
Area of Science:
- Pharmacometrics
- Computational Biology
- Artificial Intelligence in Drug Development
Background:
- Large language models (LLMs) show potential for automating pharmacometric workflows.
- However, LLMs often make critical domain-specific errors due to insufficient task details.
- Existing methods lack robust frameworks for guiding LLMs in complex scientific computations.
Purpose of the Study:
- To provide pharmacometricians with a method for defining self-contained tasks for LLMs.
- To enable the creation of structured task libraries for reproducible pharmacometric analyses.
- To improve the accuracy and reliability of LLM execution in pharmacometric workflows.
Main Methods:
- Developing self-contained tasks with embedded domain-specific rules, verification criteria, and examples.
- Organizing tasks into a library, with each task running in a fresh LLM instance.
- Implementing context engineering to control information flow and verification layers for iterative refinement.
- Utilizing shared workspace files for passing information between tasks.
Main Results:
- Demonstrated the approach on a synthetic population pharmacokinetic/pharmacodynamic (PK/PD) scenario.
- Successfully mitigated domain-specific errors by providing detailed task instructions.
- Developed a structured task library and implementation guide for practical application.
Conclusions:
- Pharmacometricians can effectively use LLMs for complex workflows by defining structured, self-contained tasks.
- This approach enhances the reliability and accuracy of LLM-driven pharmacometric analyses.
- The provided library and guide facilitate the adoption of LLMs in drug development research.
Related Concept Videos
Mechanistic Models: Overview of Compartment Models
Model Approaches for Pharmacokinetic Data: Compartment Models
Two primary types of compartment models are recognized: mammillary and catenary. The more...
Pharmacokinetic Models: Overview
There are three primary types of models: empirical, compartment, and physiological. Empirical models, with minimal assumptions,...
Fundamental Mathematical Principles in Pharmacokinetics: Calculus and Graphs
On the other hand, integral calculus focuses on...
Model Approaches for Pharmacokinetic Data: Distributed Parameter Models
The distributed parameter models are specifically designed to account for variations and differences in some drug classes. This model is particularly useful for assessing regional concentrations of anticancer or...
Analysis of Population Pharmacokinetic Data