Awesome
Awesome Audit Algorithms
A curated list of algorithms for auditing black-box algorithms. Nowadays, many algorithms (recommendation, scoring, classification) are operated at third party providers, without users or institutions having any insights on how they operate on their data. Audit algorithms in this list thus apply to this setup, coined the "black-box" setup, where one auditor wants to get some insight on these remote algorithms.
<img src="https://github.com/erwanlemerrer/awesome-audit-algorithms/blob/main/resources/audit.png" width="600" alt="banner" class="center">A user queries a remote algorithm (eg, through available APIs), to infer information about that algorithm.
Contents
Papers
2024
- Auditing Local Explanations is Hard - (NeurIPS) Gives the (prohibitive) query complexity of auditing explanations.
- LLMs hallucinate graphs too: a structural perspective - (complex networks) Queries LLMs for known graphs and studies topological hallucinations. Proposes a structural hallucination rank.
- Fairness Auditing with Multi-Agent Collaboration - (ECAI) Considers multiple agents working together, each auditing the same platform for different tasks.
- Mapping the Field of Algorithm Auditing: A Systematic Literature Review Identifying Research Trends, Linguistic and Geographical Disparities - (Arxiv) Systematic review of algorithm auditing studies and identification of trends in their methodological approaches.
- FairProof: Confidential and Certifiable Fairness for Neural Networks - (Arxiv) Proposes an alternative paradigm to traditional auditing using crytographic tools like Zero-Knowledge Proofs; gives a system called FairProof for verifying fairness of small neural networks.
- Under manipulations, are some AI models harder to audit? - (SATML) Relates the difficulty of black-box audits to the capacity of the targeted models, using the Rademacher complexity.
- Improved Membership Inference Attacks Against Language Classification Models - (ICLR) Presents a framework for running membership inference attacks against classifier, in audit mode.
- Auditing Fairness by Betting - (Neurips) [Code] Sequential methods that allows for the continuous monitoring of incoming data from a black-box classifier or regressor.
2023
- Privacy Auditing with One (1) Training Run - (NeurIPS - best paper) A scheme for auditing differentially private machine learning systems with a single training run.
- Auditing fairness under unawareness through counterfactual reasoning - (Information Processing & Management) Shows how to unveil whether a black-box model, complying with the regulations, is still biased or not.
- XAudit : A Theoretical Look at Auditing with Explanations - (Arxiv) Formalizes the role of explanations in auditing and investigates if and how model explanations can help audits.
- Keeping Up with the Language Models: Robustness-Bias Interplay in NLI Data and Models - (Arxiv) Proposes a way to extend the shelf-life of auditing datasets by using language models themselves; also finds problems with the current bias auditing metrics and proposes alternatives -- these alternatives highlight that model brittleness superficially increased the previous bias scores.
- Online Fairness Auditing through Iterative Refinement - (KDD) Provides an adaptive process that automates the inference of probabilistic guarantees associated with estimating fairness metrics.
- Stealing the Decoding Algorithms of Language Models - (CCS) Steal the type and hyperparameters of the decoding algorithms of a LLM.
- Modeling rabbit‑holes on YouTube - (SNAM) Models the trapping dynamics of users in rabbit holes in YouTube, and provides a measure of this enclosure.
- Auditing YouTube’s Recommendation Algorithm for Misinformation Filter Bubbles - (Transactions on Recommender Systems) What it takes to “burst the bubble,” i.e., revert the bubble enclosure from recommendations.
- Auditing Yelp’s Business Ranking and Review Recommendation Through the Lens of Fairness - (Arxiv) Audits the fairness of Yelp’s business ranking and review recommendation systems, with demographic parity, exposure, and statistical tests such as quantile linear and logistic regression.
- Confidential-PROFITT: Confidential PROof of FaIr Training of Trees - (ICLR) Proposes fair decision tree learning algorithms along with zero-knowledge proof protocols to obtain a proof of fairness on the audited server.
- SCALE-UP: An Efficient Black-box Input-level Backdoor Detection via Analyzing Scaled Prediction Consistency - (ICLR) Considers backdoor detection under the black-box setting in machine learning as a service (MLaaS) applications.
2022
- Two-Face: Adversarial Audit of Commercial Face Recognition Systems - (ICWSM) Performs an adversarial audit on multiple systems APIs and datasets, making a number of concerning observations.
- Scaling up search engine audits: Practical insights for algorithm auditing - (Journal of Information Science) (Code) Audits multiple search engines using simulated browsing behavior with virtual agents.
- A zest of lime: towards architecture-independent model distances - (ICLR) Measures the distance between two remote models using LIME.
- Active Fairness Auditing - (ICML) Studies of query-based auditing algorithms that can estimate the demographic parity of ML models in a query-efficient manner.
- Look at the Variance! Efficient Black-box Explanations with Sobol-based Sensitivity Analysis - (NeurIPS) Sobol indices provide an efficient way to capture higher-order interactions between image regions and their contributions to a (black box) neural network’s prediction through the lens of variance.
- Your Echos are Heard: Tracking, Profiling, and Ad Targeting in the Amazon Smart Speaker Ecosystem - (arxiv) Infers a link between the Amazon Echo system and the ad targeting algorithm.
2021
- When the Umpire is also a Player: Bias in Private Label Product Recommendations on E-commerce Marketplaces - (FAccT) Do Amazon private label products get an unfair share of recommendations and are therefore advantaged compared to 3rd party products?
- Everyday Algorithm Auditing: Understanding the Power of Everyday Users in Surfacing Harmful Algorithmic Behaviors - (CHI) Makes the case for "everyday algorithmic auditing" by users.
- Auditing Black-Box Prediction Models for Data Minimization Compliance - (NeurIPS) Measures the level of data minimization satisfied by the prediction model using a limited number of queries.
- Setting the Record Straighter on Shadow Banning - (INFOCOM) (Code) Considers the possibility of shadow banning in Twitter (ie, the moderation black-box algorithm), and measures the probability of several hypothesis.
- Extracting Training Data from Large Language Models - (USENIX Security) Extract verbatim text sequences from the GPT-2 model’s training data.
- FairLens: Auditing black-box clinical decision support systems - (Information Processing & Management) Presents a pipeline to detect and explain potential fairness issues in Clinical DSS, by comparing different multi-label classification disparity measures.
- Auditing Algorithmic Bias on Twitter - (WebSci).
- Bayesian Algorithm Execution: Estimating Computable Properties of Black-box Functions Using Mutual Information - (ICML) A budget constrained and Bayesian optimization procedure to extract properties out of a black-box algorithm.
2020
- Black-Box Ripper: Copying black-box models using generative evolutionary algorithms - (NeurIPS) Replicates the functionality of a black-box neural model, yet with no limit on the amount of queries (via a teacher/student scheme and an evolutionary search).
- Auditing radicalization pathways on - (FAT*) Studies the reachability of radical channels from each others, using random walks on static channel recommendations.
- Adversarial Model Extraction on Graph Neural Networks - (AAAI Workshop on Deep Learning on Graphs: Methodologies and Applications) Introduces GNN model extraction and presents a preliminary approach for this.
- Remote Explainability faces the bouncer problem - (Nature Machine Intelligence volume 2, pages529–539) (Code) Shows the impossibility (with one request) or the difficulty to spot lies on the explanations of a remote AI decision.
- GeoDA: a geometric framework for black-box adversarial attacks - (CVPR) (Code) Crafts adversarial examples to fool models, in a pure blackbox setup (no gradients, inferred class only).
- The Imitation Game: Algorithm Selectionby Exploiting Black-Box Recommender - (Netys) (Code) Parametrize a local recommendation algorithm by imitating the decision of a remote and better trained one.
- Auditing News Curation Systems:A Case Study Examining Algorithmic and Editorial Logic in Apple News - (ICWSM) Audit study of Apple News as a sociotechnical news curation system (trending stories section).
- Auditing Algorithms: On Lessons Learned and the Risks of DataMinimization - (AIES) A practical audit for a well-being recommendation app developed by Telefónica (mostly on bias).
- Extracting Training Data from Large Language Models - (arxiv) Performs a training data extraction attack to recover individual training examples by querying the language model.
2019
- Adversarial Frontier Stitching for Remote Neural Network Watermarking - (Neural Computing and Applications) (Alternative implementation) Check if a remote machine learning model is a "leaked" one: through standard API requests to a remote model, extract (or not) a zero-bit watermark, that was inserted to watermark valuable models (eg, large deep neural networks).
- Knockoff Nets: Stealing Functionality of Black-Box Models - (CVPR) Ask to what extent can an adversary steal functionality of such "victim" models based solely on blackbox interactions: image in, predictions out.
- Opening Up the Black Box:Auditing Google's Top Stories Algorithm - (Flairs-32) Audit of the Google's Top stories panel that pro-vides insights into its algorithmic choices for selectingand ranking news publisher
- Making targeted black-box evasion attacks effective andefficient - (arXiv) Investigates how an adversary can optimally use its query budget for targeted evasion attacks against deep neural networks.
- Online Learning for Measuring Incentive Compatibility in Ad Auctions - (WWW) Measures the incentive compatible- (IC) mechanisms (regret) of black-box auction platforms.
- TamperNN: Efficient Tampering Detection of Deployed Neural Nets - (ISSRE) Algorithms to craft inputs that can detect the tampering with a remotely executed classifier model.
- Neural Network Model Extraction Attacks in Edge Devicesby Hearing Architectural Hints - (arxiv) Through the acquisition of memory access events from bus snooping, layer sequence identification bythe LSTM-CTC model, layer topology connection according to the memory access pattern, and layer dimension estimation under data volume constraints, it demonstrates one can accurately recover the a similar network architecture as the attack starting point
- Stealing Knowledge from Protected Deep Neural Networks Using Composite Unlabeled Data - (ICNN) Composite method which can be used to attack and extract the knowledge ofa black box model even if it completely conceals its softmaxoutput.
- Neural Network Inversion in Adversarial Setting via Background Knowledge Alignment - (CCS) Model inversion approach in the adversary setting based on training an inversion model that acts as aninverse of the original model. With no fullknowledge about the original training data, an accurate inversion is still possible by training the inversion model on auxiliary samplesdrawn from a more generic data distribution.
2018
- Counterfactual Explanations without Opening the Black Box: Automated Decisions and the GDPR - (Harvard Journal of Law & Technology) To explain a decision on x, find a conterfactual: the closest point to x that changes the decision.
- Distill-and-Compare: Auditing Black-Box Models Using Transparent Model Distillation - (AIES) Treats black box models as teachers, training transparent student models to mimic the risk scores assigned by black-box models.
- Towards Reverse-Engineering Black-Box Neural Networks - (ICLR) (Code) Infer inner hyperparameters (eg number of layers, non-linear activation type) of a remote neural network model by analysing its response patterns to certain inputs.
- Data driven exploratory attacks on black box classifiers in adversarial domains - (Neurocomputing) Reverse engineers remote classifier models (e.g., for evading a CAPTCHA test).
- xGEMs: Generating Examplars to Explain Black-Box Models - (arXiv) Searches bias in the black box model by training an unsupervised implicit generative model. Thensummarizes the black-box model behavior quantitatively by perturbing data samples along the data manifold.
- Learning Networks from Random Walk-Based Node Similarities - (NIPS) Reversing graphs by observing some random walk commute times.
- Identifying the Machine Learning Family from Black-Box Models - (CAEPIA) Determines which kind of machine learning model is behind the returned predictions.
- Stealing Neural Networks via Timing Side Channels - (arXiv) Stealing/approximating a model through timing attacks usin queries.
- Copycat CNN: Stealing Knowledge by Persuading Confession with Random Non-Labeled Data - (IJCNN) (Code) Stealing black-box models (CNNs) knowledge by querying them with random natural images (ImageNet and Microsoft-COCO).
- Auditing the Personalization and Composition of Politically-Related Search Engine Results Pages - (WWW) A Chrome extension to survey participants and collect the Search Engine Results Pages (SERPs) and autocomplete suggestions, for studying personalization and composition.
2017
- Uncovering Influence Cookbooks : Reverse Engineering the Topological Impact in Peer Ranking Services - (CSCW) Aims at identifying which centrality metrics are in use in a peer ranking service.
- The topological face of recommendation: models and application to bias detection - (Complex Networks) Proposes a bias detection framework for items recommended to users.
- Membership Inference Attacks Against Machine Learning Models - (Symposium on Security and Privacy) Given a machine learning model and a record, determine whether this record was used as part of the model's training dataset or not.
- Practical Black-Box Attacks against Machine Learning - (Asia CCS) Understand how vulnerable is a remote service to adversarial classification attacks.
2016
- Algorithmic Transparency via Quantitative Input Influence: Theory and Experiments with Learning Systems - (IEEE S&P) Evaluate the individual, joint and marginal influence of features on a model using shapley values.
- Auditing Black-Box Models for Indirect Influence - (ICDM) Evaluate the influence of a variable on a black-box model by "cleverly" removing it from the dataset and looking at the accuracy gap
- Iterative Orthogonal Feature Projection for Diagnosing Bias in Black-Box Models - (FATML Workshop) Performs feature ranking to analyse black-box models
- Bias in Online Freelance Marketplaces: Evidence from TaskRabbit - (dat workshop) Measures the TaskRabbit's search algorithm rank.
- Stealing Machine Learning Models via Prediction APIs - (Usenix Security) (Code) Aims at extracting machine learning models in use by remote services.
- “Why Should I Trust You?”Explaining the Predictions of Any Classifier - (arXiv) (Code) Explains a blackbox classifier model by sampling around data instances.
- Back in Black: Towards Formal, Black Box Analysis of Sanitizers and Filters - (Security and Privacy) Black-box analysis of sanitizers and filters.
- Algorithmic Transparency via Quantitative Input Influence: Theory and Experiments with Learning Systems - (Security and Privacy) Introduces measures that capture the degree of influence of inputs on outputs of the observed system.
- An Empirical Analysis of Algorithmic Pricing on Amazon Marketplace - (WWW) (Code) Develops a methodology for detecting algorithmic pricing, and use it empirically to analyze their prevalence and behavior on Amazon Marketplace.
2015
- Certifying and Removing Disparate Impact - (SIGKDD) Proposes SVM-based methods to certify absence of bias and methods to remove biases from a dataset.
- Peeking Beneath the Hood of Uber - (IMC) Infer implementation details of Uber's surge price algorithm.
2014
- A peek into the black box: exploring classifiers by randomization - (Data Mining and Knowledge Discovery journal) (code) Finds groups of features that can be permuted without changing the output label of predicted samples
- XRay: Enhancing the Web's Transparency with Differential Correlation - (USENIX Security) Audits which user profile data were used for targeting a particular ad, recommendation, or price.
2013
- Measuring Personalization of Web Search - (WWW) Develops a methodology for measuring personalization in Web search result.
- Auditing: Active Learning with Outcome-Dependent Query Costs - (NIPS) Learns from a binary classifier paying only for negative labels.
2012
- Query Strategies for Evading Convex-Inducing Classifiers - (JMLR) Evasion methods for convex classifiers. Considers evasion complexity.
2008
- Privacy Oracle: a System for Finding Application Leakswith Black Box Differential Testing - (CCS) Privacy Oracle: a system that uncovers applications' leaks of personal information in transmissions to remoteservers.
2005
- Adversarial Learning - (KDD) Reverse engineering of remote linear classifiers, using membership queries.
Related Events
2024
- 1st International Conference on Auditing and Artificial Intelligence
- Regulatable ML Workshop (RegML'24)