LLM-based policy generation for intent-based management of applications
Kristina Dzeparoska, Jieyu Lin, Ali Tizghadam, Alberto Leon-Garcia
TL;DR
This work introduces Emergence, an intent-based management system that uses few-shot learning with large language models to progressively decompose user intents into a policy-based abstraction. The policies are structured as $\vec{P}=(D, E, A, \vec{C})$ with $\vec{C}=(\vec{R}, \vec{T}, \vec{S})$, and mapped to APIs through policy-to-API and MEF PDO translations, forming a closed $MAPE-K$ loop for deployment. The approach is validated on a VNF service-chain use-case (DPI, load balancer, web servers) in a OpenStack/SAVI environment, demonstrating both intent fulfillment and assurance, including remediation when drift is detected. Key findings indicate that generic LLMs can generalize to unseen intents with few-shot prompts, enabling automatic decomposition into executable policies and revealing the potential to extend policy execution through dynamic code and FSM generation. The work highlights practical implications for scalable, autonomous application management and points to future directions in validation, digital twins, and broader language-to-policy conversions.
Abstract
Automated management requires decomposing high-level user requests, such as intents, to an abstraction that the system can understand and execute. This is challenging because even a simple intent requires performing a number of ordered steps. And the task of identifying and adapting these steps (as conditions change) requires a decomposition approach that cannot be exactly pre-defined beforehand. To tackle these challenges and support automated intent decomposition and execution, we explore the few-shot capability of Large Language Models (LLMs). We propose a pipeline that progressively decomposes intents by generating the required actions using a policy-based abstraction. This allows us to automate the policy execution by creating a closed control loop for the intent deployment. To do so, we generate and map the policies to APIs and form application management loops that perform the necessary monitoring, analysis, planning and execution. We evaluate our proposal with a use-case to fulfill and assure an application service chain of virtual network functions. Using our approach, we can generalize and generate the necessary steps to realize intents, thereby enabling intent automation for application management.
