• Home
  • Search
  • An Adaptive Prompt Optimization Framework for Domain-Specific Large Language Models
  • https://doi.org/10.66280/ijair.v1i1.101Copy DOI Icon

An Adaptive Prompt Optimization Framework for Domain-Specific Large Language Models

Show More
  • Abstract
  • Literature Map
  • Similar Papers
Abstract

Domain-specific deployment of large language models (LLMs) remains constrained by prompt brittleness, inference cost, and uneven generalization across task subtypes. This paper presents APOF (Adaptive Prompt Optimization Framework), a closed-loop framework that jointly opti- mizes prompt structure, retrieval context, and inference-time control signals for domain-specific LLM applications. APOF combines three elements: (i) a policy-guided prompt composer that dynamically allocates instruction budget across task facets, (ii) a critic model that estimates prompt-task fitness before expensive decoding, and (iii) an online adaptation module that up- dates prompt policies using delayed feedback from production outcomes. We instantiate APOF in three high-stakes domains—clinical note summarization, legal clause risk classification, and materials-science question answering—using a shared 13B parameter base model and domain adapters.Our experiments include 162,000 annotated instances across public and institutionally cu- rated corpora, 12 baseline methods, and controlled ablation studies. APOF improves macro-F1 by up to 6.8 points over the strongest static prompt baseline, while reducing median latency by 18.4% through pre-decoding prompt pruning and adaptive generation parameters. The frame- work also improves calibration (ECE reduction of 0.041) and demonstrates higher robustness under distribution shift (average relative performance drop 12.3% vs. 21.7% for static meth- ods). We provide mathematical formulations, complexity analysis, and practical deployment recommendations. Results suggest that adaptive prompting, when treated as a structured op- timization problem rather than manual engineering, is a viable path to reliable domain-specific LLM systems.

Similar Papers
  • Research Article
  • Citations1

Limitations and mitigation strategies for using generative artificial intelligence in medical writing: a narrative review

  • Feb 10, 2026
  • Journal of Korean Medical Association
  • Ki-Hyun Jeon
  • Research Article

Large language models versus human examinee performance on Israeli anesthesiology board examinations.

  • Mar 25, 2026
  • Scientific reports
  • Ariel Ronen +10
  • Research Article
  • Citations1

GraphRAG-Enabled Local Large Language Model for Gestational Diabetes Mellitus: Development of a Proof-of-Concept

  • Jan 05, 2026
  • JMIR Diabetes
  • Edmund Evangelista +4
  • Research Article
  • Citations1

The application of large language models in qualitative nursing research: A scoping review.

  • Nov 01, 2025
  • Nursing outlook
  • Tingting Zhou +6
  • Research Article
  • Citations8

When Large Language Models Meet Evolutionary Algorithms: Potential Enhancements and Challenges.

  • Jan 01, 2025
  • Research (Washington, D.C.)
  • Chao Wang +5
  • PDF
  • Research Article
  • Citations7

Meta In-Context Learning: Harnessing Large Language Models for Electrical Data Classification

  • Sep 18, 2023
  • Energies
  • Mi Zhou +4
  • Conference Article

AI-POWERED TAX ATTORNEYS: USING GENERATIVE AI TO ANALYZE TAX LAW TEXTS

  • Nov 04, 2025
  • Tomasz Strąk +2
  • Research Article

Malware Analysis Education Meets LLMs: Understanding Student Use of LLMs in Malware Analysis Education

  • Jan 01, 2026
  • International Journal of Information and Education Technology
  • Orçun Çetin +1
  • Research Article
  • Citations1

The Evaluation Framework and Benchmark for Large Language Models in the Government Affairs Domain

  • Nov 24, 2025
  • ACM Transactions on Intelligent Systems and Technology
  • Shuo Liu +5
  • Research Article

ATLASky-AI: An Autonomous Framework for Physics-Based Trustworthy Verification of LLM-Generated Spatiotemporal Knowledge

  • Mar 01, 2026
  • Expert Systems with Applications
  • Raed Awill +4
  • Research Article

A novel framework for educational Q&A: Leveraging RAG and Code Interpreters for knowledge retrieval and logical computation.

  • Dec 01, 2025
  • PloS one
  • Jin Lu +1
  • PDF
  • Research Article
  • Citations16

Artificial intelligence, human cognition, and conscious supremacy.

  • May 13, 2024
  • Frontiers in psychology
  • Ken Mogi
  • Conference Article

Estimating Code Comprehension Time Using Large Language Models: A Time Based Evaluation of Java Code Understanding

  • Dec 12, 2025
  • Navruza Tulkunova +6
  • Research Article
  • Citations1

BFGTP: A BERT-Guided Two-Stage Molecular Representation Learning Framework for Toxicity Prediction.

  • Oct 01, 2025
  • IEEE journal of biomedical and health informatics
  • Kaimiao Hu +6
  • Conference Article
  • Citations12

Examining the robustness of LLM evaluation to the distributional assumptions of benchmarks

  • Jan 01, 2024
  • Charlotte Siska +3
Cactus Communications logo

Copyright 2026 Cactus Communications. All rights reserved.