PredicTor: A Global, Machine Learning Approach to Tor Path Selection
Open Access
- 26 August 2025
- journal article
- Published by Association for Computing Machinery (ACM) in ACM Transactions on Privacy and Security
- Vol. 28 (3) , 1-31
Abstract
Tor users derive anonymity in part from the size of the Tor user base, but Tor struggles to attract and support more users due to performance limitations. Previous works have proposed modifications to Tor’s path selection algorithm to enhance both performance and security, but many proposals have unintended consequences due to incorporating information related to client location. We instead propose selecting paths using a global view of the network, independent of client location, and we propose doing so with a machine learning classifier to predict the performance of a given path before building a circuit. We show through a variety of simulated and live experimental settings, across different time periods, that this approach can significantly improve performance compared to Tor’s default path selection algorithm and two previously proposed approaches. In addition to evaluating the security of our approach with traditional metrics, we propose a novel anonymity metric that captures information leakage resulting from location-aware path selection, and we show that our path selection approach leaks no more information than the default path selection algorithm.Keywords
Funding Information
- National Science Foundation (CNS-1423163)
- Rochester Institute of Technology
- Signature Interdisciplinary Research Areas
This publication has 13 references indexed in Scilit:
- QuicTor: Enhancing Tor for Real-Time Communication Using QUIC Transport ProtocolIEEE Access, 2021
- Modified relay selection and circuit selection for faster TorIET Communications, 2019
- Stop explaining black box machine learning models for high stakes decisions and use interpretable models insteadNature Machine Intelligence, 2019
- Online Learning and Online Convex OptimizationFoundations and Trends in Machine Learning, 2012
- The security of machine learningMachine Learning, 2010
- Scalable Link-Based Relay Selection for Anonymous Routing2009
- Metrics for Security and Performance in Low-Latency Anonymity Systems2008
- Random ForestsMachine Learning, 2001
- A mathematical theory of communicationACM SIGMOBILE Mobile Computing and Communications Review, 2001
- Catastrophic forgetting in connectionist networksTrends in Cognitive Sciences, 1999