Matej Grcic
· 3 previous affiliations
- Current
- University of ZagrebSince 2015
- PhD student · Since 2020
- MS student · 2018–2020
- Undergrad student · 2015–2018
- PhD student · 2023–2024
Research Overview
Matej Grcic focuses on machine learning and computer vision, with a particular emphasis on anomaly detection, open-set recognition, and the integration of generative and discriminative modeling. His work addresses the "closed-world" limitation of standard neural networks, developing methods that allow models to identify unknown or out-of-distribution (OOD) objects in dense prediction tasks like semantic segmentation. Currently a researcher at Google DeepMind, Grcic has developed frameworks that enable autonomous systems to recognize novel entities without requiring exhaustive auxiliary datasets of negative examples.
Research Trajectory
Grcic’s research has evolved from foundational explorations of normalizing flows for outlier detection to the development of sophisticated hybrid architectures that unify different learning paradigms. His early work in 2020 and 2021 established a methodology for Reconciling Generative and Discriminative Objectives in Hybrid Models. By utilizing generative models like Real NVP to create synthetic outliers at the boundaries of the training distribution, he demonstrated that discriminative classifiers could be trained to recognize unknown classes with minimal inference overhead. This period was characterized by a focus on Synthetic Outlier Exposure for Open Set Recognition, specifically targeting the challenges of dense prediction where every pixel must be classified.
Between 2022 and 2024, Grcic’s work matured into the "DenseHybrid" framework. This research direction addressed the inherent failure modes of purely generative or purely discriminative approaches. While generative models capture the data distribution, they can be computationally expensive; conversely, discriminative models are efficient but often overconfident on OOD data. Grcic proposed fusing these approaches by reinterpreting discriminative logits as unnormalized joint distributions, thereby Distinguishing Object Edges from Novel Anomalies more effectively. This phase also saw an increased focus on Spatial and Structural Priors for Dense Visual Tasks, moving from pixel-level decisions to mask-level recognition to improve the reliability of uncertainty estimates at semantic borders.
Most recently, Grcic has expanded his scope to include the broader reliability of machine learning systems. This includes work on Post-Hoc Logit Scaling for Probability Calibration and the creation of large-scale benchmarks for evaluating models in "in-the-wild" scenarios. His recent contributions also touch upon adversarial robustness, specifically Training Classifiers with an Explicit Rejection Class to defend against backdoor attacks. This trajectory reflects a shift from specific algorithmic interventions in anomaly detection toward a more holistic view of model safety and robustness in complex, real-world environments.
Representative Work
In Dense open-set recognition with synthetic outliers generated by Real NVP, Grcic introduced a method for dense open-set recognition that operates in a single forward pass. The core contribution involves jointly training a discriminative classifier alongside a Real NVP generative model. The generative component is tasked with producing synthetic outliers that reside at the boundary of the training distribution. By exposing the classifier to these synthetic negatives during training, the model learns to assign low confidence to unknown object classes at test time. This approach proved particularly effective for semantic segmentation, where identifying unknown pixels is critical for safety-critical applications like autonomous driving.
The development of the DenseHybrid: Hybrid Anomaly Detection for Dense Open-Set Recognition framework represented a significant advancement in unifying generative and discriminative cues. Grcic addressed the limitations of previous hybrid models, which often struggled with the translational equivariance and high resolutions required for dense prediction. By reinterpreting discriminative logits as the logarithm of an unnormalized joint distribution, the model can produce a fused anomaly score. This score leverages both the dataset posterior (discriminative) and the unnormalized data likelihood (generative), resulting in a more robust detection mechanism that outperforms models relying on a single objective.
Grcic further refined dense recognition in On Advantages of Mask-level Recognition for Outlier-aware Segmentation. While traditional semantic segmentation models make independent decisions for each pixel, this work demonstrates that mask-level predictions—grouping pixels into segments before classification—significantly improve performance in the presence of outliers. Grcic proposed a new formulation of dense recognition uncertainty that reduces false positives at semantic boundaries, a common failure point for OOD detection. This shift toward structural priors allowed for more reliable uncertainty estimation without requiring extensive fine-tuning of baseline models.
The journal publication Hybrid Open-Set Segmentation With Synthetic Negative Data provides a comprehensive consolidation of the DenseHybrid methodology. It details how any closed-set segmentation model can be upgraded with dense estimates of dataset posterior and data likelihood. A key advantage of this approach is its independence from massive auxiliary "outlier" datasets; instead, it relies on synthetic negative patches sampled from a jointly trained normalizing flow. This work emphasizes the practical deployment of anomaly detectors, ensuring they remain computationally efficient while maintaining high sensitivity to novel objects.
In a collaborative effort to improve the evaluation of open-set models, Grcic participated in the development of A Dataset for Semantic Segmentation in the Presence of Unknowns. This work introduced the ISSU (Indian Semantic Segmentation with Unknowns) dataset, a large-scale benchmark designed to test models in cluttered, real-world environments. As a middle author, Grcic contributed to a project that highlights the gap between laboratory performance and real-world utility, revealing that current state-of-the-art models often struggle with the domain shifts and environmental complexities (such as low lighting and small obstacles) present in the dataset.
Grcic also contributed to the area of model security in Seal Your Backdoor with Variational Defense. As a second author, he helped develop VIBE, a framework designed to train classifiers that are resilient to backdoor attacks. The method treats malicious inputs and corrupted labels as observed variables while treating clean labels as latent. By applying variational inference and an expectation-maximization (EM) algorithm, the framework recovers clean pseudolabels to update the classifier. This work demonstrates the applicability of probabilistic modeling techniques to the problem of training-set integrity and adversarial robustness.
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