Francesco Bertolotti

Francesco Bertolotti

University of Milan
1 previous affiliation
23Machine learning papers tracked by Lacuna
Is this you?

Research Overview

Francesco Bertolotti focuses on the intersection of machine learning, agent-based modeling, and the theoretical foundations of natural language processing. His work investigates the optimization of large language models (LLMs), the development of efficient transformer architectures, and the application of model-based reinforcement learning to complex environments. Currently, his research explores the formal relationships between contrastive learning and semantic equivalence, as well as the implementation of differentiable simulators for robotics and multi-agent systems.

Research Trajectory

Bertolotti’s early research, spanning 2020 to 2022, was primarily grounded in agent-based modeling (ABM) and the study of risk sensitivity within socio-economic and environmental systems. During this period, he utilized simulation to analyze how individual agent behaviors aggregate into complex market or ecological phenomena. This work often employed evolutionary meta-models to understand how environmental pressures—such as resource scarcity or high capital investment—drive shifts between risk-averse and risk-seeking strategies.

In 2023, his focus transitioned toward software engineering and the computational efficiency of deep learning architectures. He addressed the "maintenance nightmare" of evolving programming languages by proposing fine-grained operators for linguistic reuse, aiming to reduce code duplication in language workbenches. Simultaneously, he began investigating the structural limitations of the Transformer architecture, specifically the quadratic complexity of self-attention. This led to the development of "comb transformers," which utilize independent sequence segment processing to achieve subquadratic space complexity, facilitating the deployment of deeper models for code representation and other sequence-based tasks.

From 2024 onward, Bertolotti’s work has increasingly focused on the theoretical underpinnings of modern AI, particularly Tying Input and Output Embeddings in Sequence Models. His recent contributions provide formal justifications for common empirical practices in LLM training, linking them to the Overcoming Antonym Conflation in Distributional Word Embeddings and the broader distributional hypothesis. His current research also encompasses the development of Persistent Memory for Self Evolving Autonomous Agents, where he explores how LLM-based agents can overcome "digital amnesia" through iterative forecasting and stateful reasoning.

Current Directions

Bertolotti is currently active in the field of model-based reinforcement learning (MBRL), specifically focusing on the limitations of differentiable simulators. While traditional methods like SHAC require fully differentiable environments to maintain sample efficiency, his recent work involves approximating these gradients using neural networks. This approach seeks to extend the benefits of differentiable simulation to non-differentiable or black-box environments, potentially broadening the applicability of MBRL in robotics.

Additionally, he is investigating the formal properties of contrastive learning. By exploring the definition of semantic equivalence, he aims to establish when contrastive tasks can effectively learn representations that encode formal relations for downstream applications. This theoretical work is complemented by practical explorations into automating expert forecasting methods, such as the Delphi method, using panels of diverse LLM agents to predict the evolution of generative AI.

Representative Work

In Risk sensitivity of production studios on the US movie market: an agent-based simulation, Bertolotti (as first author) utilized an agent-based model to explain the "counterphase" behavior of the US movie market. The study demonstrated that the inverse relationship between release volume and box office performance is a result of risk-sensitive scheduling by production studios, which favor "safe" windows to protect high-capital investments.

Addressing software maintainability, On the granularity of linguistic reuse proposes a 10-level taxonomy for programming language evolution. As the lead author, Bertolotti introduced desugaring and delegation operators within the Neverlang workbench, demonstrating that fine-grained reuse can significantly reduce the lines of code required for new language features while improving system maintainability.

In the domain of architectural efficiency, CombTransformers: Statement-Wise Transformers for Statement-Wise Representations introduces a novel category of Transformers designed to reduce self-attention complexity from quadratic to subquadratic. Bertolotti, serving as first author, detailed how processing sequence segments independently and using specialized word embeddings for cross-segment information allows for deeper architectures with lower memory requirements, particularly when applied to abstract syntax tree (AST) code representations.

The paper By Tying Embeddings You Are Assuming the Distributional Hypothesis provides a theoretical foundation for the ubiquitous practice of weight tying in LLMs. Bertolotti (first author) proved that sharing parameters between input and output embeddings is only optimal if the distributional hypothesis—the idea that words with similar meanings appear in similar contexts—holds true, thereby grounding a common heuristic in formal linguistic theory.

Continuing this theoretical inquiry, Contrastive Learners Are Semantic Learners explores the conditions under which contrastive learning procedures generate representations that encode formal semantic equivalence. As first author, Bertolotti proposed the "distributional alignment hypothesis," demonstrating that optimal contrastive models must align their representations with the semantic requirements of downstream tasks.

Finally, Bertolotti contributed to the development of SHAC++: A Neural Network to Rule All Differentiable Simulators, a framework designed to improve the sample efficiency of reinforcement learning. This work addresses the constraints of existing differentiable simulators by using neural networks to approximate required gradients, effectively removing the need for fully differentiable transition and reward functions in complex multi-agent scenarios.

Profile updated

See something wrong? Report a mistake