Reinforcement Learning on Tor: Prioritizing Performance Compromises Anonymity

The onion routing (Tor) protects the IP and behavioral anonymity on the Internet by routing the networking packet through multiple randomly selected relay nodes between the source and the destination. It therefore adds transmission delays, and the latency cost is greater than not using Tor (i.e., when the packet is transmitted directly to the destination). Machine learning can be used to learn about the Tor circuit delays, given the source and destination, to identify the circuits with smaller latency cost. In this paper, however, we show how using reinforcement learning in its by-default, deterministic fashion can deprive anonymity. More specifically, choosing the performance-best circuit corresponding to the exploitation strategy provides no anonymity with an entropy of zero. Such approach can eliminate the anonymity protection and performs worse than disabling Tor altogether. We therefore recommend a strategic and appropriate application of machine learning which not only advances the performance but also take the anonymity into account for future research to advance Tor and Internet anonymity.

Authors

Institutions

Publication Details

Published
2025-06-23
DOI
https://doi.org/10.1109/svcc65277.2025.11133620
Citations
1
Primary Topic
Law, Economics, and Judicial Systems
Type
article
Field-Weighted Citation Impact
3.13
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Reinforcement Learning on Tor: Prioritizing Performance Compromises Anonymity

Sang‐Yoon Chang, Kelei Zhang, Amanul Islam
1 citations
Law, Economics, and Judicial Systems
3.13
article

Reinforcement Learning on Tor: Prioritizing Performance Compromises Anonymity

Sang‐Yoon Chang, Kelei Zhang, Amanul Islam
article en
1 citations

Abstract

The onion routing (Tor) protects the IP and behavioral anonymity on the Internet by routing the networking packet through multiple randomly selected relay nodes between the source and the destination. It therefore adds transmission delays, and the latency cost is greater than not using Tor (i.e., when the packet is transmitted directly to the destination). Machine learning can be used to learn about the Tor circuit delays, given the source and destination, to identify the circuits with smaller latency cost. In this paper, however, we show how using reinforcement learning in its by-default, deterministic fashion can deprive anonymity. More specifically, choosing the performance-best circuit corresponding to the exploitation strategy provides no anonymity with an entropy of zero. Such approach can eliminate the anonymity protection and performs worse than disabling Tor altogether. We therefore recommend a strategic and appropriate application of machine learning which not only advances the performance but also take the anonymity into account for future research to advance Tor and Internet anonymity.

University of Colorado Colorado Springs (US)
Reduced inequalities
Openalex Percentile: Top 7%
Law, Economics, and Judicial Systems
3.13
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Reinforcement Learning on Tor: Prioritizing Performance Compromises Anonymity — Sang‐Yoon Chang, Kelei Zhang, et al. · (2025) | TGRS Research Map | TGRS