Carlos Cotrini
· 1 previous affiliation
- ETH ZurichSince 2012
- Instructor · Since 2019
- PhD student · 2014–2019
- MS student · 2012–2014
Research Overview
Carlos Cotrini focuses on privacy-preserving technologies, robust machine learning algorithms, and formal security analysis. His early trajectory established foundational methods in access control policy mining and infon logic before expanding into deep learning robustness and data privacy compliance. His current work investigates causal representation learning and the theoretical foundations of model generalization under distribution shifts.
Research Trajectory
Carlos Cotrini’s early research concentrated on the formal foundations of access control and policy management, particularly through the development and application of primal infon logic. In 2013, he investigated the expressivity and decidability of logic systems used in access control scenarios, introducing equiexpressive extensions in Transitive Primal Infon Logic. This work proved the subformula property for specific fragments of the logic, addressing limitations related to the transitivity law for implication. He subsequently expanded on this foundation to formalize complex access control policies. In Analyzing First-Order Role Based Access Control (2015), he proposed FORBAC, an extension of Role-Based Access Control based on first-order logic. This approach reduced policy analysis queries to satisfiability modulo theories, allowing for efficient evaluation using off-the-shelf SMT solvers. He continued to refine the theoretical underpinnings of these systems in Basic primal infon logic (2016), which institutionalized syntax changes, proved a small-model theorem for the propositional fragment, and presented a linear-time decision algorithm for policy and trust management frameworks.
Building on his expertise in access control, Cotrini shifted toward the automated extraction and validation of security policies from system logs. Recognizing that real-world logs are often sparse and lead to overly permissive rules, he developed a novel reliability measure to quantify overpermissiveness. This culminated in Mining ABAC Rules from Sparse Logs (2018), which introduced Rhapsody, an attribute-based access control (ABAC) mining algorithm with formal correctness guarantees. He subsequently generalized this approach to accommodate a wider array of policy languages. In The Next 700 Policy Miners: A Universal Method for Building Policy Miners (2019), he and his collaborators presented Unicorn, a universal access control policy mining method that streamlined the design of miners for ABAC, RBAC, and expressive fragments of XACML, including those with spatio-temporal constraints.
In recent years, Cotrini’s research has expanded into two parallel tracks: the automated analysis of web privacy compliance and the development of robust, generalizable machine learning models. In the privacy domain, he has contributed to large-scale audits of data collection practices. He participated in the development of automated systems to evaluate web tracking in Automating Cookie Consent and GDPR Violation Detection (2022). He also analyzed the theoretical privacy guarantees of emerging web standards, demonstrating vulnerabilities in federated learning and hashing systems in Locality-Sensitive Hashing Does Not Guarantee Privacy! Attacks on Google's FLoC and the MinHash Hierarchy System (2023). This line of inquiry continued with Automated Large-Scale Analysis of Cookie Notice Compliance (2024), which evaluated tens of thousands of websites to reveal widespread discrepancies between explicit user consent and actual data collection practices.
Simultaneously, Cotrini has investigated structural constraints and domain generalization in deep learning, with a particular emphasis on medical imaging and anomaly detection. To address the need for holistic image representation, he contributed to Holistic Modeling in Medical Image Segmentation Using Spatial Recurrence (2022). This work introduced a neural network architecture utilizing gated spatial recurrence to capture long-range spatial dependencies, advancing the research direction of Global Context and Long Range Dependencies in Medical Imaging and contributing to the broader area of Structural Constraints for Anatomically Plausible Deep Learning. He further explored medical imaging robustness in Domain Generalization for Diagnosis of Pulmonary Fibrosis Using Dose-Invariant Feature Selection (2023).
His work on algorithmic robustness has increasingly incorporated causal inference to handle distribution shifts. In Invariant Anomaly Detection under Distribution Shifts: A Causal Perspective (2023), he and his co-authors introduced Partial Conditional Invariant Regularization (PCIR). This technique forces models to isolate core content from environmental style variations, significantly improving performance across state-of-the-art anomaly detection architectures. This research spans several critical areas, including Domain Generalization Without Explicit Environment Labels, the area of Robust Vision Models for Adverse Environmental Conditions, the research direction of Causal Representation Learning for Out-of-Distribution Generalization, and the domain of The Invariance Discriminability Tradeoff in Domain Adaptation. Most recently, Cotrini has focused on the theoretical foundations of model evaluation under covariate shifts. In Rethinking Robustness in Machine Learning: A Posterior Agreement Approach (2025), he contributed to a novel framework that moves beyond standard accuracy metrics, utilizing Posterior Agreement theory to provide a more principled assessment of algorithmic robustness in deployed models.
Current Directions
The most recent papers in the evidence indicate a sustained focus on the theoretical foundations of machine learning robustness and the automated enforcement of data privacy. A primary area of investigation is the evaluation of algorithmic robustness against covariate shifts. This work seeks to move beyond standard generalization metrics by developing principled frameworks based on Posterior Agreement theory, enabling more rigorous unsupervised accuracy estimation for deployed models. In parallel, ongoing research addresses invariant anomaly detection, utilizing causal inference techniques to isolate semantic content from environmental variations under distribution shifts. Additionally, recent efforts continue to explore large-scale, automated methodologies for auditing web privacy compliance, particularly concerning consent mechanisms, tracking technologies, and the practical enforcement of data protection regulations.
Profile updated
Loading new papers…
Other researchers whose papers cluster into the same research directions — a proxy for overlapping technical interests and shared intellectual neighborhoods.
See something wrong? Report a mistake