Combining Pre-Trained Models for Enhanced Feature Representation in Reinforcement Learning

Elia Piccoli, Malio Li, Giacomo Carfì, Vincenzo Lomonaco, Davide Bacciu
7/9/2025
cs.LGcs.AI

No official code found. Best implementation: EliaPiccoli/Collas-WSA (1 star, last commit 2025-07-11).

Abstract

The recent focus and release of pre-trained models have been a key components to several advancements in many fields (e.g. Natural Language Processing and Computer Vision), as a matter of fact, pre-trained models learn disparate latent embeddings sharing insightful representations. On the other hand, Reinforcement Learning (RL) focuses on maximizing the cumulative reward obtained via agent's interaction with the environment. RL agents do not have any prior knowledge about the world, and they either learn from scratch an end-to-end mapping between the observation and action spaces or, in more recent works, are paired with monolithic and computationally expensive Foundational Models. How to effectively combine and leverage the hidden information of different pre-trained models simultaneously in RL is still an open and understudied question. In this work, we propose Weight Sharing Attention (WSA), a new architecture to combine embeddings of multiple pre-trained models to shape an enriched state representation, balancing the tradeoff between efficiency and performance. We run an extensive comparison between several combination modes showing that WSA obtains comparable performance on multiple Atari games compared to end-to-end models. Furthermore, we study the generalization capabilities of this approach and analyze how scaling the number of models influences agents' performance during and after training.

View on arXivView PDF

Code Implementations(1)

Official repository for the paper "Combining Pre-Trained Models for Enhanced Feature Representation in Reinforcement Learning" - CoLLAs 2025

10Python, Jupyter NotebookJul 3, 20251 years ago

Similar Papers

Cite this paper

@article{piccoli2025combining,
  title  = {Combining Pre-Trained Models for Enhanced Feature Representation in Reinforcement Learning},
  author = {Elia Piccoli and Malio Li and Giacomo Carfì and Vincenzo Lomonaco and Davide Bacciu},
  year   = {2025},
  eprint = {2507.07197},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2507.07197v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2507.07197.svg)](https://codeofpaper.com/paper/2507.07197)

Discussion