JITI: Dynamic Model Serving for Just-in-Time Traffic Inference
Accurate and efficient inference on network traffic through machine learning models is important for many management tasks, from traffic prioritization to anomaly detection. Existing ML inference pipelines differ primarily in their feature design: those based on summary flow statistics (e.g., packet sizes, inter-arrival times) are lightweight and efficient, though they may be less accurate for fine-grained classification, whereas pipelines that consume features directly from raw packet capture data can achieve higher accuracy but at significantly greater computational and resource cost. In this paper, we develop Just-in-Time Traffic Inference(JITI), a model serving system to support fast and accurate network traffic inference in raw packet-capture-based machine learning inference pipelines. Offline, JITI builds a curated pool of diverse trained models with varied feature and performance requirements. Online, JITI responds to traffic fluctuations via an adaptive scheduler that selects the model from the pool that offers the highest accuracy-to-efficiency ratio within system resource limits, thereby providing inference accuracy comparable to the more complex and resource-intensive packet-capture-based methods, with minimal efficiency compromise. Using traffic application inference as an example task, our evaluation shows that JITI improves inference performance by 18% over flow-statistics-based methods; when benchmarked against state-of-the-art packet-capture-based methods, JITI results in a worst-case drop in F1-Score of only 12.3%, while reducing the average inference decision time by ~127x.
Authors
- Francesco Bronzino (ORCID: https://orcid.org/0000-0003-4447-960X)
- Shinan Liu (ORCID: https://orcid.org/0000-0002-6170-2167)
- Saloua Naama (ORCID: https://orcid.org/0009-0009-6480-9371)
- Nick Feamster (ORCID: https://orcid.org/0000-0001-9315-5201)
- Xi Jiang (ORCID: https://orcid.org/0000-0003-1652-8419)
- Paul Schmitt (ORCID: https://orcid.org/0000-0002-2156-5305)
Institutions
- École Normale Supérieure de Lyon (FR)
- California Polytechnic State University (US)
- University of Illinois Chicago (US)
- University of Chicago (US)
- Université Savoie Mont Blanc (FR)
- University of Hong Kong (HK)
Publication Details
- Journal
- Proceedings of the ACM on Networking
- Published
- 2025-11-24
- DOI
- https://doi.org/10.1145/3768992
- Primary Topic
- Internet Traffic Analysis and Secure E-voting
- Type
- article
- Field-Weighted Citation Impact
- 0.00