LLM-based policy generation for intent-based management of applications

Kristina Dzeparoska,Jieyu Lin,Ali Tizghadam,Alberto Leon-Garcia
DOI: https://doi.org/10.23919/CNSM59352.2023.10327837
2024-01-22
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.
Distributed, Parallel, and Cluster Computing,Artificial Intelligence,Formal Languages and Automata Theory,Human-Computer Interaction,Machine Learning
What problem does this paper attempt to address?
The problem that this paper attempts to solve is how to decompose users' high - level requests (i.e., intents) into specific operation sequences that the system can understand and execute in automated management. Specifically, the author proposes a method based on large - language models (LLMs) to achieve this goal through few - shot learning. This method can automatically generate the strategies required to realize users' intents and map them to APIs, thus forming an application management loop and completing the necessary monitoring, analysis, planning and execution steps. In addition, the paper also explores how to use these strategies to ensure the continuous satisfaction of intents throughout their life cycle, i.e., intent assurance. The main contributions of the paper include: - Proposing to use large - language models with few - shot learning capabilities to gradually decompose user intents and generate corresponding strategies to support intent - based application management. - Evaluating the proposed system on a cloud - testing platform, demonstrating its effectiveness in realizing and assuring intents. - Discussing the application opportunities of general large - language models in intent - based management.