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

Andrey Kozachok, Anatoliy Bakaev, Aleksandr Kozachok, Shamil Magomedov, Artem Noev
5/25/2026
cs.LGcs.AI
distillation

No confident code implementation found for this paper.

Abstract

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.

Show full abstract

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.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{kozachok2026contextinstrumental,
  title  = {Context-Instrumental Data Distillation for Kubernetes Manifest Generation: Method and Experimental Evaluation},
  author = {Andrey Kozachok and Anatoliy Bakaev and Aleksandr Kozachok and Shamil Magomedov and Artem Noev},
  year   = {2026},
  eprint = {2605.25835},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2605.25835v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2605.25835.svg)](https://codeofpaper.com/paper/2605.25835)

Discussion