cs.NISep 25, 2026

Intent2Tc: Automated Intent-to-Traffic Control Translation with Language Models

Authors: Andrea Masini, Sudipta Acharya, Paolo Bellavista, Luca Foschini, Burak Kantarci

Organizations: University of Ottawa, Ottawa, ON, Canada · University of Bologna, Italy

Abstract

Automated and highly usable Quality-of-Service (QoS) enforcement requires translating high-level service intents into deployable traffic-management policies. Although intent-based networking (IBN) has simplified policy specification, bridging the gap between business-level intents and executable network configurations remains complex, error-prone, and difficult to automate. This paper presents Intent2Tc, a closed-loop language-model-driven framework that translates business-level traffic-shaping intents into declarative sub-intents and subsequently into validated, executable Linux traffic control (tc) configurations. The framework integrates an Active Queue Management (AQM)-based digital twin (DT) semantic model, automated metadata extraction, critique-driven refinement, and Retrieval-Augmented Generation (RAG)-based knowledge reuse to improve semantic consistency and configuration reliability. We evaluate multiple open-source large language models (LLMs) and small language models (SLMs), together with Claude Sonnet-4.6, on 100 Request for Comments (RFC) 9315-compliant traffic-shaping intents. Across both translation stages, Intent2Tc achieves high semantic fidelity, configuration accuracy, and deployment readiness, with Claude Sonnet-4.6 reaching 0.98 semantic similarity, 1.0 semantic unit coverage, and 0.045 normalized edit distance. Furthermore, RAG reduces token consumption and inference latency while enabling compact models such as Phi-4-mini to approach the performance of substantially larger models. Linux tc serves as the target configuration platform, demonstrating the practical applicability of the proposed framework.

Figures & tables

Explore similar work

CardsList
  1. AI-driven Intent-Based Networking Approach for Self-configuration of Next Generation Networks

    Mar 24, 2026Md. Kamrul Hossain, Walid AljobyIntent-Based NetworkingLanguage Model-Based Control

  2. Uncertainty Signals for Network Intent Translation: Risk Ranking and Ambiguity Localization

    Sep 3, 2026Ala' A. Alsamarneh, Omar AlhusseinIntent-Based NetworkingLLM Uncertainty Estimation

  3. From Intents to Algorithms: Verified Algorithm Discovery for Transport Networks

    Sep 23, 2026Behnam Ojaghi, Ricard Vilalta, Raul MuñozAutomated Algorithm DiscoveryFormal Verification