Pedro Amaral
Current Organizations / Institutes
The organizations/institutes from the scholar's latest article
Previous Organizations / Institutes
The organizations / institutes from the scholar's other articles in the past ten years
Research Subjects
Research Interests
Pedro Amaral has a total of 34 co-authors. Here are the top co-authors by number of shared publications:
- Paulo Pinto
Universidade Nova de Lisboa
20 shared publications - Luis Bernardo
Departamento de Engenharia Electrotécnica, Faculdade de Ciências e Tecnologia, FCT, Universidade Nova de Lisboa, 2829-516 Caparica, Portugal
18 shared publications - Rodolfo Oliveira
Instituto de Telecomunicaes, Lisbon, Portugal
6 shared publications - Rui Dinis
Instituto de Telecomunicações, 1049-001 Lisboa, Portugal
5 shared publications F. Ganhao
CTS, Uninova, Dep.° de Eng. Electrotécnica, Faculdade de Ciências e Tecnologia, FCT, Universidade Nova de Lisboa, 2829-516 Caparica, Portugal
2 shared publicationsHenrique S. Mamede
2 shared publications
Latest Publications
- Open Access
- 28 July 2025
- Published by Institute of Electrical and Electronics Engineers (IEEE) in IEEE Access
- Vol. 13, 134484-134496
Correlation-Based Abnormal SIP Dialog Identification: A Performance Comparison With Bayesian and Deep Learning Approaches
The Session Initiation Protocol (SIP) is crucial in establishing, maintaining, and terminating multimedia sessions. It is particularly vital for the operation of 4G/5G networks, where the network’s low latency and high reliability enable advanced services such as real-time video streaming and Internet of Things applications. The widespread use of SIP in various network generations emphasizes the need for robust security mechanisms to protect against potential vulnerabilities. SIP is susceptible to various attacks, including registration hijacking, call tampering, and denial of service. A specific threat arises from exploiting unknown or abnormal SIP dialogs to uncover weaknesses in the different SIP implementations running on servers. In this paper, we propose an innovative methodology for anomalous SIP dialog detection based on prior knowledge of observed correct and anomalous SIP dialogs. The proposed approach leverages cross-correlation techniques to score the similarity of the SIP dialogs and the use of statistical metrics to classify the anomalous ones. Our method achieves an accuracy of approximately 98.91%. We compare its performance with the optimal Bayesian solution, a deep learning-based approach, and a hybrid method using both deep-learning and statistical methods. While our solution is close to the optimal accuracy, it does not achieve the lowest false alarm rate. However, it offers a significant advantage in computational efficiency, being over 1000 times faster than both the optimal Bayesian and deep learning methods. These findings underscore the potential of the proposed technique for real-time detection of abnormal SIP dialogs in high-performance network environments. Cross-correlation was also employed to predict the SIP ID of ongoing SIP dialogs before their full arrival. Although this method was faster than the other studied methods, its predictive performance was suboptimal, achieving high accuracy only when over 90% of the data was available. Based on these findings, we conclude that the proposed method has high performance in classification tasks with faster computational times than alternative methods, while it is less effective for prediction tasks were other methods achieve higher performance.
- 28 July 2025
- Published by Institute of Electrical and Electronics Engineers (IEEE) in IEEE Access
- Vol. 13, 134484-134496
Open AccessCorrelation-Based Abnormal SIP Dialog Identification: A Performance Comparison With Bayesian and Deep Learning Approaches
The Session Initiation Protocol (SIP) is crucial in establishing, maintaining, and terminating multimedia sessions. It is particularly vital for the operation of 4G/5G networks, where the network’s low latency and high reliability enable advanced services such as real-time video streaming and Internet of Things applications. The widespread use of SIP in various network generations emphasizes the need for robust security mechanisms to protect against potential vulnerabilities. SIP is susceptible to various attacks, including registration hijacking, call tampering, and denial of service. A specific threat arises from exploiting unknown or abnormal SIP dialogs to uncover weaknesses in the different SIP implementations running on servers. In this paper, we propose an innovative methodology for anomalous SIP dialog detection based on prior knowledge of observed correct and anomalous SIP dialogs. The proposed approach leverages cross-correlation techniques to score the similarity of the SIP dialogs and the use of statistical metrics to classify the anomalous ones. Our method achieves an accuracy of approximately 98.91%. We compare its performance with the optimal Bayesian solution, a deep learning-based approach, and a hybrid method using both deep-learning and statistical methods. While our solution is close to the optimal accuracy, it does not achieve the lowest false alarm rate. However, it offers a significant advantage in computational efficiency, being over 1000 times faster than both the optimal Bayesian and deep learning methods. These findings underscore the potential of the proposed technique for real-time detection of abnormal SIP dialogs in high-performance network environments. Cross-correlation was also employed to predict the SIP ID of ongoing SIP dialogs before their full arrival. Although this method was faster than the other studied methods, its predictive performance was suboptimal, achieving high accuracy only when over 90% of the data was available. Based on these findings, we conclude that the proposed method has high performance in classification tasks with faster computational times than alternative methods, while it is less effective for prediction tasks were other methods achieve higher performance.
- Open Access
- 10 June 2022
- Published by Institute of Electrical and Electronics Engineers (IEEE) in IEEE Access
- Vol. 10, 62459-62470
Deep Reinforcement Learning Based Routing in IP Media Broadcast Networks: Feasibility and Performance
The Media Broadcast industry has evolved from Serial Digital Interface (SDI) based infrastructures to IP networks. While IP based video broadcast is well established in the data plane, the use of IP networks to transport media flows still poses challenges in terms of resource management and orchestration. SDN based orchestration architectures have emerged in the industry that use SDN to route the media flows of a broadcast service across the provider IP network. Several approaches to multimedia flow routing in IP based SDN networks have been proposed in the context of streaming applications over the Internet. These range from model based linear optimization solutions that have high complexity to simple shortest path based routing heuristics with either static or dynamic link costs. More recently model-free optimization methods such as Deep Reinforcement Learning (DRL) have been proposed for routing and Traffic Engineering of multimedia flows in SDN networks. The media broadcast scenario however has specific requirements, with services like Master Control Room operation and Live broadcasting of events, and it has been rarely addressed in the literature. In this work we propose a DRL based routing method for this scenario and compare it to static and dynamic link cost algorithms based on Dijkstra shortest paths. This is to our knowledge the first work to follow this approach in the context of Media Broadcast services in IP infrastructures. The algorithm is designed considering the specifications and capabilities of one of the leading SDN orchestrators in the market and considers the more common Service Level Agreement requirements in the industry. Three different DRL algorithms are implemented and compared and we evaluate them using a real service provider network topology. The results indicate that DRL based routing is applicable in real production scenarios and that it achieves considerable performance gains when compared to the static and dynamic link cost shortest path algorithms commonly used today.
- 10 June 2022
- Published by Institute of Electrical and Electronics Engineers (IEEE) in IEEE Access
- Vol. 10, 62459-62470
Open AccessDeep Reinforcement Learning Based Routing in IP Media Broadcast Networks: Feasibility and Performance
The Media Broadcast industry has evolved from Serial Digital Interface (SDI) based infrastructures to IP networks. While IP based video broadcast is well established in the data plane, the use of IP networks to transport media flows still poses challenges in terms of resource management and orchestration. SDN based orchestration architectures have emerged in the industry that use SDN to route the media flows of a broadcast service across the provider IP network. Several approaches to multimedia flow routing in IP based SDN networks have been proposed in the context of streaming applications over the Internet. These range from model based linear optimization solutions that have high complexity to simple shortest path based routing heuristics with either static or dynamic link costs. More recently model-free optimization methods such as Deep Reinforcement Learning (DRL) have been proposed for routing and Traffic Engineering of multimedia flows in SDN networks. The media broadcast scenario however has specific requirements, with services like Master Control Room operation and Live broadcasting of events, and it has been rarely addressed in the literature. In this work we propose a DRL based routing method for this scenario and compare it to static and dynamic link cost algorithms based on Dijkstra shortest paths. This is to our knowledge the first work to follow this approach in the context of Media Broadcast services in IP infrastructures. The algorithm is designed considering the specifications and capabilities of one of the leading SDN orchestrators in the market and considers the more common Service Level Agreement requirements in the industry. Three different DRL algorithms are implemented and compared and we evaluate them using a real service provider network topology. The results indicate that DRL based routing is applicable in real production scenarios and that it achieves considerable performance gains when compared to the static and dynamic link cost shortest path algorithms commonly used today.
- 30 June 2021
- Published by Springer Nature
- p. 243-253
Deep Learning-Based Automated Detection of Inappropriate Face Image Attributes for ID Documents
- 30 June 2021
- Published by Springer Nature
- p. 243-253
Deep Learning-Based Automated Detection of Inappropriate Face Image Attributes for ID Documents
- 8 May 2019
- Published by Institute of Electrical and Electronics Engineers (IEEE) in IEEE Transactions on Network Science and Engineering
- Vol. 7 (3) , 1226-1238
Achieving Correct Hop-by-Hop Forwarding on Multiple Policy-Based Routing Paths
Algebra has made the tasks of modelling routing algorithms and proving their correct operation very clear. However, traditional models are only concerned with the convergence to a stable routing solution not covering distributed hop-by-hop forwarding on multiple paths (within a flow or separately per flow). This paper addresses this challenge. Currently, loop-free distributed multipath forwarding is only proven if a strict decrease in the preference of a path occurs with every added link. This is very rigid for multipath routing, limiting the amount of equal preferred paths. In this work we prove that correct distributed forwarding behaviour is possible, without the strict decrease in preference, if the possible pairs of policy values applied to the directed edges connecting two nodes obey to a particular condition. If this is not true, correct behaviour is still possible if the policies applied to links forming circuits in the network graph are constrained according to two other conditions. Modern technologies are bringing the possibility to build new routing protocols using network programmability while distributed operation is still needed in many scenarios due to scaling issues. We show how our results can be relevant in this setting and serve as a tool in the design process and/or for formal protocol verification.
- 8 May 2019
- Published by Institute of Electrical and Electronics Engineers (IEEE) in IEEE Transactions on Network Science and Engineering
- Vol. 7 (3) , 1226-1238
Achieving Correct Hop-by-Hop Forwarding on Multiple Policy-Based Routing Paths
Algebra has made the tasks of modelling routing algorithms and proving their correct operation very clear. However, traditional models are only concerned with the convergence to a stable routing solution not covering distributed hop-by-hop forwarding on multiple paths (within a flow or separately per flow). This paper addresses this challenge. Currently, loop-free distributed multipath forwarding is only proven if a strict decrease in the preference of a path occurs with every added link. This is very rigid for multipath routing, limiting the amount of equal preferred paths. In this work we prove that correct distributed forwarding behaviour is possible, without the strict decrease in preference, if the possible pairs of policy values applied to the directed edges connecting two nodes obey to a particular condition. If this is not true, correct behaviour is still possible if the policies applied to links forming circuits in the network graph are constrained according to two other conditions. Modern technologies are bringing the possibility to build new routing protocols using network programmability while distributed operation is still needed in many scenarios due to scaling issues. We show how our results can be relevant in this setting and serve as a tool in the design process and/or for formal protocol verification.
- Open Access
- 11 March 2019
- Published by Institute of Electrical and Electronics Engineers (IEEE) in IEEE Access
- Vol. 7, 33713-33727
Algorithms for Estimating the Location of Remote Nodes Using Smartphones
Locating the position of a remote node on a wireless network is becoming more relevant, as we move forward in the Internet of things and in autonomous vehicles. This paper proposes a new system to implement the location of remote nodes. A new prototype Android application has been developed to collect real measurements and to study the performance of several smartphone’s sensors and location algorithms, including an innovative one, based on second order cone programming (SOCP) relaxation. The application collects theWiFi access points information and the terminal location. An internal odometry module developed for the prototype is used when Android’s service is unavailable. This paper compares the performance of existing location estimators given in closed form, an existing SOCP one, and the new SOCP location estimator proposed, which has a reduced complexity. An algorithm to merge measurements from nonidentical terminals is also proposed. Cooperative and terminal stand-alone operations are compared, showing a higher performance for SOCP-based ones, that are capable of estimating the path loss exponent and the transmission power. Heterogeneous terminals were also used in the tests. Our results show that accurate positioning of static remote entities can be achieved using a single smartphone. On the other hand, accurate realtime positioning of the mobile terminal is provided when three or more scattered terminal nodes cooperate sharing the samples taken synchronously.
- 11 March 2019
- Published by Institute of Electrical and Electronics Engineers (IEEE) in IEEE Access
- Vol. 7, 33713-33727
Open AccessAlgorithms for Estimating the Location of Remote Nodes Using Smartphones
Locating the position of a remote node on a wireless network is becoming more relevant, as we move forward in the Internet of things and in autonomous vehicles. This paper proposes a new system to implement the location of remote nodes. A new prototype Android application has been developed to collect real measurements and to study the performance of several smartphone’s sensors and location algorithms, including an innovative one, based on second order cone programming (SOCP) relaxation. The application collects theWiFi access points information and the terminal location. An internal odometry module developed for the prototype is used when Android’s service is unavailable. This paper compares the performance of existing location estimators given in closed form, an existing SOCP one, and the new SOCP location estimator proposed, which has a reduced complexity. An algorithm to merge measurements from nonidentical terminals is also proposed. Cooperative and terminal stand-alone operations are compared, showing a higher performance for SOCP-based ones, that are capable of estimating the path loss exponent and the transmission power. Heterogeneous terminals were also used in the tests. Our results show that accurate positioning of static remote entities can be achieved using a single smartphone. On the other hand, accurate realtime positioning of the mobile terminal is provided when three or more scattered terminal nodes cooperate sharing the samples taken synchronously.
- 1 November 2018
- Published by Institute of Electrical and Electronics Engineers (IEEE)
- p. 1-6
Application Aware SDN Architecture using Semi-supervised Traffic Classification
Policy enforcement and intelligent routing are two of the most compelling use cases for Software Defined Networks (SDNs). While SDN can easily provide L2/L3/L4 based policy enforcement and/or routing by itself, a lot can be gained by incorporating higher layer information. Modern networks allow the gathering of data that can be used to classify traffic using Machine Learning (ML). Performing this task online in the controller provides a way to perform application aware policy enforcement and/or routing in SDNs. However, there are several difficulties to overcome: The increasing prevalence of encrypted traffic and the scalability costs of sending packets to the controller imply that we should only use simple to get data features such as flow meta-data information and payload statistics; learning online implies the use of only a small number of initial packets; and finally obtaining application layer labelled data to train and validate classifiers is difficult. In this work we explore how these can be overcome based in two design choices: using a data collection mechanism to gather traffic data using the OpenFlow protocol extending a hybrid SDN architecture with a distributed control plane that we proposed in a previous work, and using a semi-supervised approach in the classifiers. We present the proposed architecture extensions and the obtained data-set features that include flow meta-data information and the sizes and inter-arrival times of the initial packets. We then show that a semi-supervised approach improves traffic classifiers when a small number of labelled data entries are available in the training data-sets; and that valid traffic classification can be achieved with as few as 20% of labeled data entries in the training data-sets.
- 1 November 2018
- Published by Institute of Electrical and Electronics Engineers (IEEE)
- p. 1-6
Application Aware SDN Architecture using Semi-supervised Traffic Classification
Policy enforcement and intelligent routing are two of the most compelling use cases for Software Defined Networks (SDNs). While SDN can easily provide L2/L3/L4 based policy enforcement and/or routing by itself, a lot can be gained by incorporating higher layer information. Modern networks allow the gathering of data that can be used to classify traffic using Machine Learning (ML). Performing this task online in the controller provides a way to perform application aware policy enforcement and/or routing in SDNs. However, there are several difficulties to overcome: The increasing prevalence of encrypted traffic and the scalability costs of sending packets to the controller imply that we should only use simple to get data features such as flow meta-data information and payload statistics; learning online implies the use of only a small number of initial packets; and finally obtaining application layer labelled data to train and validate classifiers is difficult. In this work we explore how these can be overcome based in two design choices: using a data collection mechanism to gather traffic data using the OpenFlow protocol extending a hybrid SDN architecture with a distributed control plane that we proposed in a previous work, and using a semi-supervised approach in the classifiers. We present the proposed architecture extensions and the obtained data-set features that include flow meta-data information and the sizes and inter-arrival times of the initial packets. We then show that a semi-supervised approach improves traffic classifiers when a small number of labelled data entries are available in the training data-sets; and that valid traffic classification can be achieved with as few as 20% of labeled data entries in the training data-sets.
- 1 November 2018
- Published by Institute of Electrical and Electronics Engineers (IEEE)
- p. 1-5
Towards a Low Latency Network-Slice Resistant to Unresponsive Traffic
This paper studies what mechanisms a network must have to offer a very low-latency service to applications (featuring a maximum end-to-end packet delay). We assume very concrete requirements, not seen in the literature, that raise the challenge level: i) applications might be unresponsive to traffic warnings from the network; and ii) applications do not inform or require any network resources, exactly as the Internet works today (i.e., there is no admission control procedures). We present an architecture/algorithm with a minimum of state information and good scalability properties. Obviously, it is not applicable to the wide Internet. Even more, the architecture is not TCP-friendly (because control loops must be shorter than the Round Trip Time (RTT) magnitudes and oscillations, and packet losses are higher). Instead, it is appropriate to an end-to-end slice network based on a virtualization of the physical network with independent queues and line bandwidths. It is designed for interactive applications and for certain real-time ones. We use plain backpressure control supported by cooperation amongst the routers to isolate offending traffic. We are particularly concerned in situations of very high load, as they will be very common in the future. One objective is to reach a predictable network behaviour that in the limit (heavy network overload) is maintained, contrary to the current Internet. In the future, new pace-based congestion control algorithms for applications can be designed to take the most out of this type of network.
- 1 November 2018
- Published by Institute of Electrical and Electronics Engineers (IEEE)
- p. 1-5
Towards a Low Latency Network-Slice Resistant to Unresponsive Traffic
This paper studies what mechanisms a network must have to offer a very low-latency service to applications (featuring a maximum end-to-end packet delay). We assume very concrete requirements, not seen in the literature, that raise the challenge level: i) applications might be unresponsive to traffic warnings from the network; and ii) applications do not inform or require any network resources, exactly as the Internet works today (i.e., there is no admission control procedures). We present an architecture/algorithm with a minimum of state information and good scalability properties. Obviously, it is not applicable to the wide Internet. Even more, the architecture is not TCP-friendly (because control loops must be shorter than the Round Trip Time (RTT) magnitudes and oscillations, and packet losses are higher). Instead, it is appropriate to an end-to-end slice network based on a virtualization of the physical network with independent queues and line bandwidths. It is designed for interactive applications and for certain real-time ones. We use plain backpressure control supported by cooperation amongst the routers to isolate offending traffic. We are particularly concerned in situations of very high load, as they will be very common in the future. One objective is to reach a predictable network behaviour that in the limit (heavy network overload) is maintained, contrary to the current Internet. In the future, new pace-based congestion control algorithms for applications can be designed to take the most out of this type of network.
- 1 November 2017
- Published by Institute of Electrical and Electronics Engineers (IEEE)
- p. 238-243
Outliers detection in network services with self-learned profiles
Wireless communication networks and services suffer from multiple kinds of security attacks which cannot be handled only at the wireless protocol level. This paper proposes an intrusion detection system that self-learns the user profiles using machine learning techniques. The system applies knowledge discovery techniques to generate a compact user profile offline. The profile is used to detect intrusions offline and online. Security breaches and ongoing attacks are identified detecting outlier activities in relation to the user profile and to immediate forecast behaviour. The later one provides a very fast warning, which is validated by the slower and more precise profile based online system. They are complemented by the slowest offline system, which is capable of maintaining updated user profiles. The system was implement using RStudio, and was tested using the 2014 Dendalion big data challenge dataset publicly available. The results show that the offline system has an outlier detection accuracy above 99% and that the online system was able to distinguish outlier activity from the users' own activity.
- 1 November 2017
- Published by Institute of Electrical and Electronics Engineers (IEEE)
- p. 238-243
Outliers detection in network services with self-learned profiles
Wireless communication networks and services suffer from multiple kinds of security attacks which cannot be handled only at the wireless protocol level. This paper proposes an intrusion detection system that self-learns the user profiles using machine learning techniques. The system applies knowledge discovery techniques to generate a compact user profile offline. The profile is used to detect intrusions offline and online. Security breaches and ongoing attacks are identified detecting outlier activities in relation to the user profile and to immediate forecast behaviour. The later one provides a very fast warning, which is validated by the slower and more precise profile based online system. They are complemented by the slowest offline system, which is capable of maintaining updated user profiles. The system was implement using RStudio, and was tested using the 2014 Dendalion big data challenge dataset publicly available. The results show that the offline system has an outlier detection accuracy above 99% and that the online system was able to distinguish outlier activity from the users' own activity.
- 1 June 2017
- Published by Institute of Electrical and Electronics Engineers (IEEE)
- p. 1-6
Software-defined controllers: Where are we?
- 1 June 2017
- Published by Institute of Electrical and Electronics Engineers (IEEE)
- p. 1-6
Software-defined controllers: Where are we?
- 1 May 2017
- Published by Institute of Electrical and Electronics Engineers (IEEE)
- p. 1-7
SDN based traffic engineering without optimization: A centrality based approach
Software defined networks (SDNs) reduce the complexity of implementing multi-commodity flow (MCF) optimization problems and several optimization based SDN Traffic Engineering (TE) schemes have been proposed. This approach has several limitations like the need to know or infer bandwidth demands, the number of forwarding rules needed to implement the solution and the cost of the control-loop communication between controller and switches. This usually results in systems that do not scale and need to adapt the problem formulation to an approximation of the optimal solution. In this work we propose an approach for TE in SDNs without optimization and no need for traffic demand knowledge. We propose a logically hierarchical controller architecture built on the premise of low rule space and sparse controller communication where TE is performed in two actions: the setting of stable paths in the core and the distribution of traffic among them in the access. Different algorithms can be used for these purposes. We start by studying the performance of using a shortest path algorithm for the calculation of the stable core paths and a concept from social networks analysis called betweenness centrality to measure congestion risk and support the traffic distribution decisions in the access. 1
- 1 May 2017
- Published by Institute of Electrical and Electronics Engineers (IEEE)
- p. 1-7
SDN based traffic engineering without optimization: A centrality based approach
Software defined networks (SDNs) reduce the complexity of implementing multi-commodity flow (MCF) optimization problems and several optimization based SDN Traffic Engineering (TE) schemes have been proposed. This approach has several limitations like the need to know or infer bandwidth demands, the number of forwarding rules needed to implement the solution and the cost of the control-loop communication between controller and switches. This usually results in systems that do not scale and need to adapt the problem formulation to an approximation of the optimal solution. In this work we propose an approach for TE in SDNs without optimization and no need for traffic demand knowledge. We propose a logically hierarchical controller architecture built on the premise of low rule space and sparse controller communication where TE is performed in two actions: the setting of stable paths in the core and the distribution of traffic among them in the access. Different algorithms can be used for these purposes. We start by studying the performance of using a shortest path algorithm for the calculation of the stable core paths and a concept from social networks analysis called betweenness centrality to measure congestion risk and support the traffic distribution decisions in the access. 1