Fran Jelenić

Coupa · University of Zagreb
3 previous affiliations
  • CoupaSince 2025
    • Lead AI Engineer · Since 2025
    • Current
    • Researcher · 2021–2023
    • MS student · 2020–2022
    • Undergrad student · 2017–2020
  • Cirtuo2023–2025
    • Data Scientist · 2023–2025
2Machine learning papers tracked by Lacuna
Is this you?

Research Overview

Fran Jelenić focuses on the reliability, safety, and efficiency of deep learning models, with a particular emphasis on Transformer architectures within natural language processing. His work investigates the internal mechanics of neural networks to improve out-of-distribution (OOD) detection and explores the optimization of data acquisition through active learning (AL). By analyzing internal activation trajectories and the transferability of curated datasets, Jelenić addresses the challenges of deploying machine learning models in real-world environments where data is often noisy, scarce, or fundamentally different from training distributions.

Research Trajectory

Jelenić’s research trajectory began with a focus on the practical implementation and theoretical limitations of Hybrid Uncertainty and Diversity Sampling for Active Learning. Active learning is designed to mitigate the high costs of human labeling by allowing models to select the most informative data points for training. In 2022, Jelenić led the development of ALANNO: An Active Learning Annotation System for Mortals, an open-source system designed to facilitate NLP annotation. This work identified and addressed practical hurdles that often prevent AL from being effective in non-academic settings, such as the need for seamless integration between the model's query strategy and the human annotator's workflow.

In 2023, Jelenić expanded this inquiry into the generalizability of active learning strategies. A significant challenge in AL is Model Coupling and the Transferability of Active Learning, where a dataset curated to benefit one specific model may not provide the same advantages to another. In On Dataset Transferability in Active Learning for Transformers, Jelenić investigated whether the gains achieved by fine-tuning a specific pre-trained language model (PLM) with AL-acquired data persist when that data is used to train a different PLM. This research established a link between transferability and the similarity of instances queried by different architectures, providing a more nuanced understanding of how "informativeness" is defined across different Transformer-based models.

Since 2023, Jelenić’s work has increasingly pivoted toward model safety and Controlling Language Models Through Latent Space Interventions. This shift reflects a move from optimizing the training set to diagnosing the model's internal state during inference. This line of research focuses on "white-box" methods for Mechanistic Anomaly Detection via Internal Activation Trajectories, moving beyond the final softmax output to understand how a model processes familiar versus unfamiliar inputs across its hidden layers.

Internal Model Dynamics and Reliability

A central theme in Jelenić’s recent work is the detection of "silent failures," where deep neural networks produce high-confidence predictions for inputs that lie outside their training distribution. Traditional OOD detection methods often require access to the original training data or involve modifying the training process, which is frequently impractical for researchers using third-party pre-trained models.

To address this, Jelenić developed the BLOOD (Between-Layer Out-Of-Distribution Detection) method. As detailed in Out-of-Distribution Detection by Leveraging Between-Layer Transformation Smoothness, this approach utilizes the internal "smoothness" of representation transformations between the intermediate layers of a Transformer. The core discovery of this research is that Transformers tend to transition seamlessly between internal abstractions when processing in-distribution data, whereas OOD data results in "sharper" or less smooth transformations. This empirical property allows for the identification of OOD samples without requiring training data or model retraining.

This methodology is particularly relevant for Distinguishing Semantically Similar Outliers from Known Classes. While "far-OOD" detection (e.g., distinguishing a photo of a dog from a handwritten digit) is relatively straightforward, "near-OOD" scenarios involve inputs that share semantic features with the training set but belong to different classes or contexts. Jelenić’s work on layer smoothness provides a more sensitive diagnostic tool for these subtle shifts, contributing to the development of more robust and self-aware AI systems.

Representative Work

The following papers represent the core of Jelenić’s contributions to active learning and out-of-distribution detection.

Out-of-Distribution Detection by Leveraging Between-Layer Transformation Smoothness

Published in various iterations, including at ICLR 2024, this work introduces the BLOOD method. Jelenić, as first author, demonstrates that the trajectory of internal activations in a Transformer provides a reliable signal for OOD detection. By measuring the smoothness of transformations between layers, the method identifies when a model is "out of its depth" without needing the original training set. This "white-box" approach is applicable to any pre-trained Transformer, making it a highly practical tool for model monitoring and safety.

On Dataset Transferability in Active Learning for Transformers

In this 2023 study, Jelenić (first author) addresses a fundamental question in active learning: is the data selected by a model specific to that model's idiosyncratic weaknesses, or is it universally informative? By testing the transferability of AL-acquired datasets across different pre-trained language models in text classification tasks, the research shows that AL gains are most transferable when the models involved query similar types of instances. This work provides critical insights for practitioners who may wish to use AL to build high-quality datasets that remain useful as model architectures evolve.

ALANNO: An Active Learning Annotation System for Mortals

First introduced in 2022 and presented as a system demonstration at EACL 2023, ALANNO is an open-source tool designed to make active learning accessible for real-world NLP projects. Jelenić led the development of this system to address the gap between theoretical AL research and the practical needs of human annotators. The system integrates various AL strategies into a user-friendly interface, focusing on the efficiency of the human-in-the-loop process and the mitigation of common practical challenges in data labeling.

Mechanistic Anomaly Detection and Internal States

While much of Jelenić’s work is grounded in practical NLP tasks, it contributes to a broader understanding of the internal states of Large Language Models (LLMs). By showing that hidden states contain information about a model's "true" confidence that the final text output may obscure, his research supports the development of more reliable and controllable AI. This mechanistic approach to anomaly detection suggests that the path to safer AI lies in a deeper understanding of how high-dimensional features are transformed across the depth of the network.

The evidence from Jelenić’s publications between 2022 and 2024 indicates a consistent focus on the intersection of model architecture and data efficiency. While there is a minor mention of cross-lingual transfer in broader thematic contexts, his primary contributions remain firmly rooted in the mechanics of Transformers, the robustness of OOD detection, and the optimization of active learning workflows.

Profile updated

See something wrong? Report a mistake