Context-Instrumental Data Distillation for Kubernetes Manifest Generation: Method and Experimental Evaluation

Fuente: arXiv
Salvato in:
Dettagli Bibliografici
Autori principali: Kozachok, Andrey, Bakaev, Anatoliy, Kozachok, Aleksandr, Magomedov, Shamil, Noev, Artem
Natura: Preprint
Pubblicazione: 2026
Soggetti:
Accesso online:
Tags: Aggiungi Tag
Nessun Tag, puoi essere il primo ad aggiungerne!!
_version_ 1866916044817301504
author Kozachok, Andrey
Bakaev, Anatoliy
Kozachok, Aleksandr
Magomedov, Shamil
Noev, Artem
author_facet Kozachok, Andrey
Bakaev, Anatoliy
Kozachok, Aleksandr
Magomedov, Shamil
Noev, Artem
contents This paper examines the specialization of Small Language Models (SLMs) with up to 4 billion parameters for generating artifacts in domain-specific languages (DSL). Kubernetes manifests are chosen as the target domain. We propose the context-instrumental data distillation method: the source corpus is formed through synthetic generation and, in an extended scheme, through reverse instruction generation from real Kubernetes YAML files, with pairs included in training only upon passing external validators and matching the domain context model. Unlike classical KL-divergence knowledge distillation, the baseline implementation reduces to supervised fine-tuning on instrumentally verified examples. The experimental section presents a pilot implementation under resource-constrained conditions: the DeepSeek-V4 Flash API serves as the teacher for synthetic generation, while Qwen2.5-Coder-1.5B-Instruct is fine-tuned via LoRA on CPU. On the K8s-Distill-Pilot corpus (train_1200, validation_100, test_200), we achieved full-pass@1 = 91.5% (183/200) with a stricter prompt formulation and max_new_tokens=768. The key empirical finding is that for Kubernetes YAML, result quality in the pilot depended more on strict output format requirements than on simply increasing the number of training examples.
format Preprint
id arxiv_https___arxiv_org_abs_2605_25835
institution arXiv
publishDate 2026
record_format arxiv
spellingShingle Context-Instrumental Data Distillation for Kubernetes Manifest Generation: Method and Experimental Evaluation
Kozachok, Andrey
Bakaev, Anatoliy
Kozachok, Aleksandr
Magomedov, Shamil
Noev, Artem
Machine Learning
Artificial Intelligence
D.2.4; D.2.9; I.2.7
This paper examines the specialization of Small Language Models (SLMs) with up to 4 billion parameters for generating artifacts in domain-specific languages (DSL). Kubernetes manifests are chosen as the target domain. We propose the context-instrumental data distillation method: the source corpus is formed through synthetic generation and, in an extended scheme, through reverse instruction generation from real Kubernetes YAML files, with pairs included in training only upon passing external validators and matching the domain context model. Unlike classical KL-divergence knowledge distillation, the baseline implementation reduces to supervised fine-tuning on instrumentally verified examples. The experimental section presents a pilot implementation under resource-constrained conditions: the DeepSeek-V4 Flash API serves as the teacher for synthetic generation, while Qwen2.5-Coder-1.5B-Instruct is fine-tuned via LoRA on CPU. On the K8s-Distill-Pilot corpus (train_1200, validation_100, test_200), we achieved full-pass@1 = 91.5% (183/200) with a stricter prompt formulation and max_new_tokens=768. The key empirical finding is that for Kubernetes YAML, result quality in the pilot depended more on strict output format requirements than on simply increasing the number of training examples.
title Context-Instrumental Data Distillation for Kubernetes Manifest Generation: Method and Experimental Evaluation
topic Machine Learning
Artificial Intelligence
D.2.4; D.2.9; I.2.7
url https://arxiv.org/abs/2605.25835