# Reducing Exposure to Harmful Content via Graph Rewiring

arXiv: https://arxiv.org/abs/2306.07930 · HTML: https://mlsanity.com/paper/2306.07930/

## Key facts

- Cited by 1 papers in the map (data through 14 Oct 2026).
- Placed in Safety alignment, refusal and guardrails, one of 12 directions in LLM safety and security.
- Builds on 17 of its 56 references that are in the map.
- First posted on arXiv 5 Jun 2023.

## Placed in

- LLM safety and security / [Safety alignment, refusal and guardrails](https://mlsanity.com/safety/safety-alignment-refusal-and-guardrails/)

## Builds on (most cited first, 17 of 17)

- [Sentence-BERT: Sentence Embeddings using Siamese BERT-Networks](https://mlsanity.com/paper/1908.10084/) (2019)
- [Auditing Radicalization Pathways on YouTube](https://mlsanity.com/paper/1908.08313/) (2019)
- [Problematic Machine Behavior: A Systematic Literature Review of Algorithm Audits](https://mlsanity.com/paper/2102.04256/) (2021)
- [Algorithmic Extremism: Examining YouTube's Rabbit Hole of Radicalization](https://mlsanity.com/paper/1912.11211/) (2019)
- [Examining the consumption of radical content on YouTube](https://mlsanity.com/paper/2011.12843/) (2020)
- ["It is just a flu": Assessing the Effect of Watch History on YouTube's Pseudoscientific Video Recommendations](https://mlsanity.com/paper/2010.11638/) (2020)
- [Auditing YouTube's Recommendation Algorithm for Misinformation Filter Bubbles](https://mlsanity.com/paper/2210.10085/) (2022)
- [Link recommendations: Their impact on network structure and minorities](https://mlsanity.com/paper/2205.06048/) (2022)
- [Cascade-based Echo Chamber Detection](https://mlsanity.com/paper/2208.04620/) (2022)
- [Opinion Maximization in Social Networks](https://mlsanity.com/paper/1301.7455/) (2013)
- [Are Anti-Feminist Communities Gateways to the Far Right? Evidence from Reddit and YouTube](https://mlsanity.com/paper/2102.12837/) (2021)
- [Rewiring What-to-Watch-Next Recommendations to Reduce Radicalization Pathways](https://mlsanity.com/paper/2202.00640/) (2022)
- [Absorbing random-walk centrality: Theory and algorithms](https://mlsanity.com/paper/1509.02533/) (2015)
- [Temporal Walk Centrality: Ranking Nodes in Evolving Networks](https://mlsanity.com/paper/2202.03706/) (2022)
- [Opening up echo chambers via optimal content recommendation](https://mlsanity.com/paper/2206.03859/) (2022)
- [A Nearly-Linear Time Algorithm for Minimizing Risk of Conflict in Social Networks](https://mlsanity.com/paper/2301.05466/) (2023)
- [Random Walks with Erasure: Diversifying Personalized Recommendations on Social and Information Networks](https://mlsanity.com/paper/2102.09635/) (2021)

## Built on by (most cited first, 1 of 1)

- [Efficient Edge Rewiring Strategies for Enhancing PageRank Fairness](https://mlsanity.com/paper/2602.02512/) (2026)

## Abstract (arXiv)

Most media content consumed today is provided by digital platforms that aggregate input from diverse sources, where access to information is mediated by recommendation algorithms. One principal challenge in this context is dealing with content that is considered harmful. Striking a balance between competing stakeholder interests, rather than block harmful content altogether, one approach is to minimize the exposure to such content that is induced specifically by algorithmic recommendations. Hence, modeling media items and recommendations as a directed graph, we study the problem of reducing the exposure to harmful content via edge rewiring. We formalize this problem using absorbing random walks, and prove that it is NP-hard and NP-hard to approximate to within an additive error, while under realistic assumptions, the greedy method yields a (1-1/e)-approximation. Thus, we introduce Gamine, a fast greedy algorithm that can reduce the exposure to harmful content with or without quality constraints on recommendations. By performing just 100 rewirings on YouTube graphs with several hundred thousand edges, Gamine reduces the initial exposure by 50%, while ensuring that its recommendations are at most 5% less relevant than the original recommendations. Through extensive experiments on synthetic data and real-world data from video recommendation and news feed applications, we confirm the effectiveness, robustness, and efficiency of Gamine in practice.
