Skip to content
#small language model Open access

DPS (Dynamic Prompt Specialization via Semantic Micro-Model Routing)

Aug 2026 · Zenodo (CERN European Organization for Nuclear Research)
Topic Modeling

Abstract

WHITE PAPER Dynamic Prompt Specialization via Semantic Micro-Model Routing STRATEGIC TECHNICAL MEMORANDUM: DPS Author: Valerii Khalif (VALEO), AVA LIVE Status: Draft for DOI / Zenodo submission Date: August 31, 2026 License: Open / free to use (attribution requested; voluntary donations welcome, not required) Abstract Modern development of large language models (LLMs) based on the Transformer architecture relies heavily on scaling: increasing parameter counts, training data volumes, and computational resources, alongside regular retraining and model updates. This document proposes an alternative, additive adaptation layer that does not require modifying the weights of the core LLM. The proposed approach is designated as Dynamic Prompt Specialization (DPS). DPS employs a small, high-speed auxiliary model—a semantic micro-model—that continuously analyzes the semantic and communicative structure of the current user input, extracts concise semantic fragments, and maps them to a predefined code table. Each code corresponds to a pre-engineered and validated prompt fragment, optionally accompanied by a confidence level or signal intensity score. Based on the active set of signals, DPS constructs a dynamic specialized context transmitted to the unmodified primary LLM. The primary goal of DPS is user interaction personalization: the system can adapt to stable individual communication patterns, ongoing conversational context, professional expertise level, task domain, feedback to previous answers, and other observable signals. Furthermore, DPS is not restricted to user communication. The same architecture can be applied to domain-specific pre-specialization of queries prior to reaching the primary LLM. This pre-structures multi-faceted queries and potentially reduces the necessity for dedicated specialist agents and complex orchestration pipelines. DPS operates without altering main model weights or requiring retraining. In the absence of a sufficiently confident signal, the system defaults to the baseline behavior of the main LLM. Consequently, DPS represents an orthogonal adaptation layer that can be integrated into existing LLM infrastructure without altering the underlying foundation model. 1. Problem Statement The proposed approach addresses two interconnected constraints in current LLM-based systems. 1.1. Scaling Does Not Solve Individual Specialization The main vector of foundation model advancement focuses on increasing: Parameter counts; Training data volume; Compute resources; Training duration and complexity; Model update frequency. However, expanding overall model capabilities does not yield a proportional enhancement in interaction quality for a specific individual user. In many practical scenarios, a user operates within a relatively bounded domain of knowledge and exhibits consistent individual patterns of task formulation, communication, verification, clarification, and correction. Thus, incremental general model knowledge often carries less practical utility than the system's ability to precisely align with a specific user's traits and the current interaction state. DPS shifts part of the specialization process from model parameter modification to dynamic context adaptation. 1.2. Static System Prompt Most LLM systems rely on a single primary system prompt or a narrow set of predefined instructions. As a result, interactions are typically treated as static: $$\text{System Instructions} \longrightarrow \text{User Request} \longrightarrow \text{Response}$$ DPS frames interaction as a dynamic process where conversational state evolves continuously: $$\text{Current User Signal} \longrightarrow \text{Analysis} \longrightarrow \text{Active Context Update} \longrightarrow \text{Response} \longrightarrow \text{New User Signal} \longrightarrow \text{State Update}$$ Thus, specialization occurs continuously rather than as a single static setup. 2. Core DPS Architecture DPS comprises three functionally separated layers, each holding distinct responsibilities. 2.1. Semantic Micro-Model – Fast Semantic Layer The first layer consists of a lightweight, ultra-fast auxiliary model. It is not designed for full reasoning or final output generation. Its scope is narrowly constrained to: Analyzing input utterances; Extracting short semantic fragments; Identifying corresponding semantic signals; Mapping signals to designated codes; Computing confidence or intensity levels for each signal. A typical semantic fragment may consist of a few words, though the architecture does not impose fixed-length constraints. Fragment size depends on input signal characteristics and implementation design. A single user turn can simultaneously trigger multiple independent codes. For instance, a query might concurrently express: Professional technical context; Financial domain context; Request for conciseness; Requirement for high precision; Emotional tone/signal; Affirmation of a previously established rule. Consequently, DPS is not forced to select a single category or agent, but instead builds a multidimensional set of co-active signals. 2.2. Code-Prompt Correspondence Table The second layer operates as a mapping repository: Code (e.g., PFA-0281) $\rightarrow$ Pre-engineered Prompt Fragment. A key principle of DPS is that prompt fragments are not automatically generated by the system on the fly. They are authored by engineers and undergo a controlled lifecycle: $$\text{Design} \longrightarrow \text{Testing} \longrightarrow \text{Verification} \longrightarrow \text{Approval} \longrightarrow \text{Deployment}$$ This establishes prompt engineering as a structured software engineering discipline. Codes map to behavioral, domain, or contextual specializations, such as: Technical engineering; Software programming; Financial analysis; Scientific discussion; Conversational interaction; Concise messaging; In-depth explanation; Critical evaluation; Re-affirmation of established context. 2.3. Dynamic Composite Prompt At the third layer, active codes are compiled into a unified composite context. Each signal maintains an intensity score, denoted internally as a temperature signal—a metric reflecting the activation strength of the given signal. Note: This term is distinct from the generation temperature parameter used in LLM sampling. DPS temperature measures signal activation strength rather than generative randomness. Based on these active signals, the system constructs a Composite Prompt passed to the primary LLM. Crucially, the primary LLM: Undergoes no retraining; Retains its original weights; Requires no specialized model variant; Executes a standard single generation pass. 3. Dynamic Temperature Profile – Breadcrumb State A core feature of DPS is that user profiling is not a one-off classification. It exists as a dynamic interaction state termed the Breadcrumb State. Profiling begins during the first exchanges of a conversation, eliminating the need to aggregate multiple historical sessions before initial activation. As dialogue progresses, individual signals can strengthen ($\uparrow$), weaken ($\downarrow$), disappear, be superseded, or interact with other active signals. Signal Dimension Trend Professional context $\uparrow$ Conciseness $\uparrow$ Need for detailed explanation $\downarrow$ Resistance to suggestion $\uparrow$ Confirmation of understanding $\uparrow$ This enables tracking not only topic content, but the evolving communicative dynamics of the session. 4. User Personalization The main purpose of DPS is adapting system behavior to an individual user. Across recurring sessions, a profile can persist (stored on the user side as a table of code mappings and signal temperatures) and evolve. Over time, the system continuously adapts to: Consistent professional contexts; Preferred task formulation styles; Desired response depth; Typical modes of confirmation or disagreement; Receptivity to suggestions; Preferred level of directness; Recurring communication patterns. This does not alter core LLM weights; instead, the interaction context shifts, allowing a single foundation model to serve diverse users through distinct dynamic adaptation profiles. 5. Professional Specialization Personalization does not degrade technical rigor. DPS can serve as a domain-specialization pre-layer between user requests and the primary LLM. When a user simultaneously addresses a technical problem, financial constraints, demands rigorous analysis, cites prior rules, and signals skepticism, traditional agentic architectures route the query through multiple stages: $$\text{Router} \longrightarrow \text{Technical Agent} \longrightarrow \text{Financial Agent} \longrightarrow \text{Context Aggregator} \longrightarrow \text{Main LLM}$$ DPS streamlines this pathway: $$\text{User Input} \longrightarrow \text{Semantic Micro-Model} \longrightarrow \text{Active Codes Selection} \longrightarrow \text{Composite Prompt} \longrightarrow \text{Main LLM}$$ Multiple context facets are integrated into a single pre-generation context, avoiding multi-agent pipeline overhead. 6. Reducing Agentic Complexity Modern AI implementations frequently rely on multi-agent orchestration: $$\text{Router} \longrightarrow \text{Specialist Agents (A, B, C)} \longrightarrow \text{Aggregator} \longrightarrow \text{Final LLM}$$ While effective, this paradigm increases inference latency, model call counts, compute costs, context size, and orchestration complexity. DPS offloads specialization that can be expressed via engineered prompt fragments to a lightweight micro-model prior to

View source

Similar papers

#computer vision Open access Jun 2016

Software Development in Startup Companies: The Greenfield Startup Model

Software startups are newly created companies with no operating history and oriented towards producing cutting-edge products. However, despite the increasing importance of startups in the economy, few scientific studies attempt to address software engineering issues, especially for early-stage startups. If anything, startups need engineering practices of the same level or better than those of larger companies, as their time and resources are more scarce, and one failed project can put them out of business. In this study we aim to improve understanding of the software development strategies employed by startups. We performed this state-of-practice investigation using a grounded theory approach. We packaged the results in the Greenfield Startup Model (GSM), which explains the priority of startups to release the product as quickly as possible. This strategy allows startups to verify product and market fit, and to adjust the product trajectory according to early collected user feedback. The need to shorten time-to-market, by speeding up the development through low-precision engineering activities, is counterbalanced by the need to restructure the product before targeting further growth. The resulting implications of the GSM outline challenges and gaps, pointing out opportunities for future research to develop and validate engineering practices in the startup context.

Carmine Giardino, Nicolò Paternoster, M. Unterkalmsteiner et al. · 179 citations · ⚡14
#computer vision Open access Oct 2016

Software Startups - A Research Agenda

Software startup companies develop innovative, software-intensive products within limited timeframes and with few resources, searching for sustainable and scalable business models. Software startup ...

M. Unterkalmsteiner, P. Abrahamsson, Xiaofeng Wang et al. · 157 citations · ⚡17
#machine learning Review Open access Oct 2016

“Failures” to be celebrated: an analysis of major pivots of software startups

In the context of software startups, project failure is embraced actively and considered crucial to obtain validated learning that can lead to pivots. A pivot is the strategic change of a business concept, product or the different elements of a business model. A better understanding is needed on different types of pivots and different factors that lead to failures and trigger pivots, for software entrepreneurial teams to make better decisions under chaotic and unpredictable environment. Due to the nascent nature of the topic, the existing research and knowledge on the pivots of software startups are very limited. In this study, we aimed at identifying the major types of pivots that software startups make during their startup processes, and highlighting the factors that fail software projects and trigger pivots. To achieve this, we conducted a case survey study based on the secondary data of the major pivots happened in 49 software startups. 10 pivot types and 14 triggering factors were identified. The findings show that customer need pivot is the most common among all pivot types. Together with customer segment pivot, they are common market related pivots. The major product related pivots are zoom-in and technology pivots. Several new pivot types were identified, including market zoom-in, complete and side project pivots. Our study also demonstrates that negative customer reaction and flawed business model are the most common factors that trigger pivots in software startups. Our study extends the research knowledge on software startup pivot types and pivot triggering factors. Meanwhile it provides practical knowledge to software startups, which they can utilize to guide their effective decisions on pivoting.

Sohaib Shahid Bajwa, Xiaofeng Wang, Anh Nguyen-Duc et al. · 127 citations · ⚡15
#computer vision Review Open access May 2015

A survey study on major technical barriers affecting the decision to adopt cloud services

In the context of cloud computing, risks associated with underlying technologies, risks involving service models and outsourcing, and enterprise readiness have been recognized as potential barriers for the adoption. To accelerate cloud adoption, the concrete barriers negatively influencing the adoption decision need to be identified. Our study aims at understanding the impact of technical and security-related barriers on the organizational decision to adopt the cloud. We analyzed data collected through a web survey of 352 individuals working for enterprises consisting of decision makers as well as employees from other levels within an organization. The comparison of adopter and non-adopter sample reveals three potential adoption inhibitor, security, data privacy, and portability. The result from our logistic regression analysis confirms the criticality of the security concern, which results in an up to 26-fold increase in the non-adoption likelihood. Our study underlines the importance of the technical and security perspectives for research investigating the adoption of technology.

Nattakarn Phaphoom, Xiaofeng Wang, S. Samuel et al. · 111 citations · ⚡8
#computer vision Open access Feb 2018

Lean Internal Startups for Software Product Innovation in Large Companies: Enablers and Inhibitors

To compete in this age of disruption, large companies cannot rely on cost efficiency, lead time reduction and quality improvement. They are now looking for ways to innovate like startups. Meanwhile, the awareness and use of the Lean startup approach have grown rapidly amongst the software startup community in recent years. This study investigates how Lean internal startup facilitates software product innovation in large companies and identifies its enablers and inhibitors. A multiple case study approach is followed in the investigation. Two software product innovation projects from two large companies are examined, using a conceptual framework that is based on the method-in-action framework and extended with the previously developed Lean-Internal Corporate Venture model. Seven face-to-face in-depth interviews of the employees with different roles are conducted. Within-case analysis and cross-case comparison are applied to draw the findings from the cases. A generic process flow summarises the common key processes of Lean internal startups. The findings suggest that an internal startup that is initiated management or employees faces different challenges. A list of enablers of applying Lean startup in large companies are identified, including top management support and cross-functional team. Both cases face different inhibitors due to the different process of inception, objective of the team and type of the product. Our contributions are threefold. First, this study is one of the first attempt to investigate the use of Lean startup approach in large companies empirically. Second, the study shows the potential of the method-in-action framework to investigate the Lean startup approach in non-startup context. The third is a general process of Lean internal startup and the evidence of the enablers and inhibitors of implementing it, which are both theory-informed and empirically grounded.

Henry Edison, Nina M. Smørsgård, Xiaofeng Wang et al. · 78 citations · ⚡6
#computer vision Conference Sep 2010

Exploring the Sources of Waste in Kanban Software Development Projects

The application of agile software methods and more recently the integration of Lean practices contribute to the trend of continuous improvement in the software industry. One such area warranting proper empirical evidence is a project’s operational efficiency when using the Kanban method. This short paper takes a new angle and explores waste in the Kanban-driven software development project context. A preliminary research model is presented for helping the consequent replication of the study. The results from the empirical analysis suggest Kanban can be an effective method in visualizing and organizing the current work, but does not prevent waste from creeping in, although the overall project outcome may be successful.

Marko Ikonen, Petri Kettunen, Nilay V. Oza et al. · 67 citations · ⚡9

Related blog posts