Matteo Merler

Fondazione Bruno Kessler
5 previous affiliations
    • Researcher · Since 2025
  • Aalto University2022–2024
    • Research Assistant · 2024
    • MS student · 2022–2024
    • Laurea triennale in Scienze e Tecnologie Informatiche (Bachelor's Degree in Computer Science), Informatica · 2019–2022
  • ThinkIN2022
    • Student Internship · 2022
  • Menz & Gasser2018
    • Summer Internship · 2018
7Machine learning papers tracked by Lacuna
Is this you?

Research Overview

Matteo Merler focuses on bridging large-scale foundation models with reinforcement learning and symbolic planning to create more adaptable autonomous agents. His trajectory spans the development of code-based world models and in-context symbolic regression, exploring how language models can interact with external optimizers. Currently, his work investigates visual planning and selective supervision, aiming to ground vision-language models in complex, long-horizon reasoning tasks.

Research Trajectory

Merler’s research addresses a fundamental limitation in modern artificial intelligence: while large language models (LLMs) possess vast amounts of encoded knowledge, they often lack the ability to learn from direct experience or generalize to novel environments through trial and error. Conversely, traditional reinforcement learning (RL) agents excel at interacting with the world but must often learn from scratch, struggling with long-horizon planning. His work seeks to synthesize these paradigms, leveraging the reasoning capabilities of foundation models to guide and structure RL and symbolic planning systems.

In 2024, Merler explored how LLMs could be used to generate simulated environments, or "world models," to train RL agents. With collaborators, he developed Generating Code World Models with Large Language Models Guided by Monte Carlo Tree Search. This work introduced Code World Models (CWMs), which are Python-based simulators written and refined by an LLM. To ensure the generated code was functional and accurate, the research utilized a novel search strategy called GIF-MCTS (Generate, Improve, and Fix with Monte Carlo Tree Search). This approach allowed the LLM to write, debug, and refine complex environment logic, creating simulators that were significantly faster and more reliable than using the LLM itself as a step-by-step simulator. This contribution advanced several broader research areas, including Multi-turn Iterative Code Generation and Refinement and the domain of Program Synthesis as Search in the Space of Code. By framing the problem around generated Python environments, the work also intersected with the direction of Executable Code as the Universal Interface for Agents and pushed forward methods in the area of Beyond the Deterministic Transition Assumption in Reinforcement Learning.

Continuing to investigate the intersection of LLMs and formal mathematical structures, Merler introduced In-Context Symbolic Regression: Leveraging Large Language Models for Function Discovery. Traditional symbolic regression methods typically rely on specialized, standalone models. In contrast, this research proposed the In-Context Symbolic Regression (ICSR) framework, which utilizes the strong mathematical priors of LLMs to propose initial functional forms based on observational data. The LLM iteratively refines these equations based on error feedback, while an external optimizer is employed to determine the precise coefficients. This demonstrated that foundation models could successfully navigate the space of symbolic equations when paired with structured, external verification.

Moving into 2025, Merler’s focus expanded to incorporate visual modalities, specifically addressing how Vision-Language Models (VLMs) can be integrated into robotic control and planning pipelines. He proposed Guiding Reinforcement Learning with Selective Vision-Language Model Supervision, a framework designed to enhance RL agents by utilizing the common-sense knowledge embedded in pre-trained VLMs. Rather than querying the computationally expensive VLM at every time step, the RL agent is trained to consult the VLM selectively—only when it encounters uncertainty regarding its next action. This selective scaffolding leads to more stable and sample-efficient learning, allowing the agent to benefit from foundation model priors without being bottlenecked by them.

To rigorously evaluate how VLMs should be deployed in planning scenarios, Merler and colleagues subsequently released ViPlan: A Benchmark for Visual Planning with Symbolic Predicates and Vision-Language Models. The benchmark was designed to compare two competing paradigms: using VLMs directly as end-to-end decision-makers versus using them as perceptual "grounders" that translate raw images into symbolic logic for classical planners. Evaluating multiple open-source and closed VLM families across simulated household robotics and visual Blocksworld environments, the study revealed a distinct performance trade-off. Symbolic grounding proved superior for precise, abstract tasks where rigorous state tracking is required, whereas direct VLM planning excelled in complex environments that benefit from linguistic shortcuts and common-sense reasoning. This comprehensive evaluation contributed significantly to the research direction of Reliable Reasoning via Neural Translation and Symbolic Execution and advanced the broader area of Stepwise Verification for Robust Multi-Step Reasoning.

Current Directions

The most recent papers in the evidence indicate a strong focus on visual planning and the integration of foundation models with formal reasoning systems. Merler is currently investigating how to best leverage Vision-Language Models for complex, long-horizon tasks in embodied or simulated environments. A central theme of this ongoing work is determining the optimal division of labor between neural networks and symbolic systems—specifically, identifying when a VLM should act as a direct policy and when it should serve merely as a perceptual module that feeds discrete state representations into a verifiable planner.

Furthermore, recent research highlights an interest in selective supervision, exploring how RL agents can dynamically query large-scale models to resolve uncertainty during exploration. This points toward a broader goal of developing autonomous agents that combine the open-world understanding of foundation models with the reliability, efficiency, and grounded execution of classical reinforcement learning and symbolic logic.

Profile updated

See something wrong? Report a mistake