Abstract
Inter-datacentre (IDC) networks underpin cloud computing, content delivery, and distributed
services, where efficient traffic management depends upon understanding flow behaviour as
early as possible. Conventional approaches either require substantial traffic observations or
depend on network-specific features for early prediction, while often assuming stationary traffic
distributions. These limitations identify a research gap concerning whether the early temporal
dynamics of a flow contain sufficient information to infer its subsequent behaviour, and whether
predictive models can remain effective as network traffic evolves over time.
The research investigates whether the temporal dynamics present during the initial stages of a
TCP flow can be exploited to infer future flow behaviour. An ensemble of Long Short-Term
Memory (LSTM) networks coupled with a Mixture Density Network (MDN) learns temporal
representations from early flow activity, first addressing early elephant-flow (EF) detection using
only the first 200 ms of traffic. Using predefined throughput and duration thresholds to establish
the class labels, the classifier identifies EFs accurately from a short observation window without
endpoint-specific features. By contrast, the regression method predicts continuous flow length
without requiring an EF classification threshold.
Building on this temporal representation, the research extends early inference from binary EF
detection to continuous flow-length prediction. Using the first 400 ms of observed traffic, the
LSTM–MDN framework predicts the eventual duration of TCP flows while modelling predictive
uncertainty. Experimental evaluation achieves a mean absolute error of approximately 1,740 ms,
demonstrating that meaningful estimates of future flow behaviour can be obtained from limited
early observations.
The research also investigates continual learning for non-stationary IDC environments, where
evolving traffic distributions can lead to catastrophic forgetting (CF). A replay-based learning
framework incorporating orthogonality-guided sample selection enables adaptation to new traffic
while preserving previously acquired knowledge. Evaluation across heterogeneous network
datasets demonstrates substantially improved knowledge retention and more stable predictive
performance than representative continual-learning baselines.
Overall, the thesis demonstrates that informative temporal structure exists during flow initiation
and can be exploited for early inference of future flow behaviour. These findings provide a
foundation for future traffic engineering and network-management techniques that rely on early
prediction in evolving IDC network environments.