Stefan Magureanu

Stefan Magureanu

Aloi · Aloi AI
7 previous affiliations
  • AloiSince 2026
    • Staff AI Engineer · Since 2026
  • Aloi AICurrent
    • Current
  • Myrspoven2022–2026
    • Head of AI · 2024–2026
    • Principal Researcher · 2022–2024
  • Klarna2018–2022
    • Senior ML Research Engineer · 2019–2022
    • ML Research Engineer · 2018–2019
  • Klarna Bank AB2018–2019
    • Researcher · 2018–2019
    • PhD student · 2012–2018
    • Master of Science (MSc), Software Engineering of Distributed Systems · 2010–2012
  • Spotify (Sweden)2015–2016
    • Intern - Analytics Research · 2015–2016
    • PhD Intern · 2016
2Machine learning papers tracked by Lacuna
Is this you?

Research Overview

Stefan Magureanu focuses on stochastic bandit problems, web automation, and representation learning for structured data. His early work addressed fundamental limits in structured exploration, developing algorithms that match instance-specific regret bounds. More recently, his research has shifted toward applying graph neural networks and large language models to web element nomination and realistic web automation tasks.

Research Trajectory

Magureanu’s early research investigated theoretical reinforcement learning, specifically focusing on the research direction of Minimal Exploration in Structured Stochastic Bandits. In classical multi-armed bandit problems, arms are typically treated as independent, forcing a fundamental trade-off where the cost of learning scales with the number of options. In 2017, Magureanu co-authored Minimal Exploration in Structured Stochastic Bandits, which introduced a framework for stochastic bandit problems where the reward function exhibits known structural properties, such as linear, Lipschitz, unimodal, or combinatorial characteristics. Rather than relying on classical principles like optimism in the face of uncertainty or Thompson sampling, this work derived an asymptotic instance-specific regret lower bound and developed the OSSB algorithm to match these minimal exploration rates. This contribution also intersected with the broader area of Efficient Exploration via Randomized Sampling and Oracle Reductions, seeking to optimize the fundamental trade-offs between exploration and exploitation in structured environments without requiring complex optimization at every time step.

Following this theoretical work in reinforcement learning, Magureanu's focus transitioned toward applied machine learning, specifically targeting the complexities of web automation and structured document analysis. As first author of Graph Neural Networks for Nomination and Representation Learning of Web Elements (2022), he addressed the challenge of identifying and representing specific Document Object Model (DOM) elements on webpages. This research introduced a large-scale dataset comprising 51,701 manually labeled product pages from over 8,000 real e-commerce websites, providing a much richer environment for element nomination tasks than previous benchmarks. The work adapted several Graph Neural Network (GNN) architectures to process website DOM trees, establishing new baselines for selecting target elements on complex pages where elements are highly interdependent.

Magureanu continued to participate in this domain as a middle author of The Klarna Product Page Dataset: Web Element Nomination with Graph Neural Networks and Large Language Models (2024). This work expanded on the earlier dataset by formally releasing the Klarna Product Page Dataset to the broader research community, aiming to alleviate the scarcity of realistic benchmarks for web automation. The research evaluated both GNNs and Large Language Models (LLMs) on the web element nomination task, highlighting the ongoing need for sophisticated computational methods to parse and interact with the digital world.

Current Directions

The most recent papers in the evidence indicate a sustained focus on web automation and the algorithmic interpretation of web interfaces. Current directions investigate how advanced neural architectures—specifically Graph Neural Networks and Large Language Models—can be leveraged to parse the hierarchical structure of webpages. A primary open problem in this domain is the reliable nomination of web elements in highly diverse, real-world e-commerce environments, which requires models to move beyond simple text or image processing to understand the structural semantics of the DOM. By contributing to the development of large-scale, realistic datasets, Magureanu's recent efforts aim to provide the foundational benchmarks necessary for training robust, autonomous web agents.

Profile updated

See something wrong? Report a mistake