arXiv Science⌕ Search

arXiv subjects

Guto Leoni Santos

Publications and source records attributed to Guto Leoni Santos.

4 recordsLinked to original sources

Prompt Geometry: Pullback Fisher Metrics for LLM Interpretability

Large language models are sensitive to the precise wording of their prompts, yet the distances commonly used to compare prompts, Euclidean and cosine distance between input embeddings, ignore the model that reads them. In this work a frozen decoder-only language model is treated as a smooth map from the embeddings of a user message to its next-token distribution, and tensors obtained by pulling back output metrics are used to measure how far apart two prompts are as seen by the model itself. Three pullback metrics are constructed, from the Euclidean and angular metrics on the probability vector and from the Fisher information metric, and three constructions turn each into a distance between two prompts: evaluation at the base prompt, averaging over both prompts, and integration along the path between them. On an artificial bank-chatbot dataset of 10,200 prompts per model, built from 200 customer messages and 50 single-token rewordings of each, the distances are correlated within each message family against the symmetric Kullback--Leibler divergence between next-token distributions, for Qwen3-0.6B and GPT-2-small. Every pullback metric outperforms the model-agnostic baselines by a wide margin, and the Fisher pullback is the strongest in all but one comparison, raising the mean within-family Spearman correlation on Qwen3-0.6B from 0.21 for Euclidean distance to 0.84 for the path-integrated distance. The path-integrated Fisher distance exceeds Euclidean distance on every message family, most widely on adversarial and known-fragile messages, and recovers from the geometry alone that function-word substitutions are the most disruptive single-token edits. The induced geometry provides a model-intrinsic ruler for prompt robustness testing and a quantitative tool for interpretability.

cs.CL↗

The Greatest Teacher, Failure is: Using Reinforcement Learning for SFC Placement Based on Availability and Energy Consumption

Software defined networking (SDN) and network functions virtualisation (NFV) are making networks programmable and consequently much more flexible and agile. To meet service level agreements, achieve greater utilisation of legacy networks, faster service deployment, and reduce expenditure, telecommunications operators are deploying increasingly complex service function chains (SFCs). Notwithstanding the benefits of SFCs, increasing heterogeneity and dynamism from the cloud to the edge introduces significant SFC placement challenges, not least adding or removing network functions while maintaining availability, quality of service, and minimising cost. In this paper, an availability- and energy-aware solution based on reinforcement learning (RL) is proposed for dynamic SFC placement. Two policy-aware RL algorithms, Advantage Actor-Critic (A2C) and Proximal Policy Optimisation (PPO2), are compared using simulations of a ground truth network topology based on the Rede Nacional de Ensino e Pesquisa (RNP) Network, Brazil's National Teaching and Research Network backbone. The simulation results showed that PPO2 generally outperformed A2C and a greedy approach both in terms of acceptance rate and energy consumption. A2C outperformed PPO2 only in the scenario where network servers had a greater number of computing resources.

cs.NI↗

Using Reinforcement Learning to Allocate and Manage Service Function Chains in Cellular Networks

It is expected that the next generation cellular networks provide a connected society with fully mobility to empower the socio-economic transformation. Several other technologies will benefits of this evolution, such as Internet of Things, smart cities, smart agriculture, vehicular networks, healthcare applications, and so on. Each of these scenarios presents specific requirements and demands different network configurations. To deal with this heterogeneity, virtualization technology is key technology. Indeed, the network function virtualization (NFV) paradigm provides flexibility for the network manager, allocating resources according to the demand, and reduces acquisition and operational costs. In addition, it is possible to specify an ordered set of network virtual functions (VNFs) for a given service, which is called as service function chain (SFC). However, besides the advantages from service virtualization, it is expected that network performance and availability do not be affected by its usage. In this paper, we propose the use of reinforcement learning to deploy a SFC of cellular network service and manage the VNFs operation. We consider that the SFC is deployed by the reinforcement learning agent considering a scenarios with distributed data centers, where the VNFs are deployed in virtual machines in commodity servers. The NFV management is related to create, delete, and restart the VNFs. The main purpose is to reduce the number of lost packets taking into account the energy consumption of the servers. We use the Proximal Policy Optimization (PPO) algorithm to implement the agent and preliminary results show that the agent is able to allocate the SFC and manage the VNFs, reducing the number of lost packets.

cs.NI↗

Predicting Short-term Mobile Internet Traffic from Internet Activity using Recurrent Neural Networks

Mobile network traffic prediction is an important input in to network capacity planning and optimization. Existing approaches may lack the speed and computational complexity to account for bursting, non-linear patterns or other important correlations in time series mobile network data. We compare the performance of two deep learning architectures - Long Short-Term Memory (LSTM) and Gated Recurrent Unit (GRU) - for predicting mobile Internet traffic using two months of Telecom Italia data for the metropolitan area of Milan. K-Means clustering was used a priori to group cells based on Internet activity and the Grid Search method was used to identify the best configurations for each model. The predictive quality of the models was evaluated using root mean squared error. Both Deep Learning algorithms were effective in modeling Internet activity and seasonality, both within days and across two months. We find variations in performance across clusters within the city. Overall, the LSTM outperformed the GRU in our experiments.

cs.NI↗