Saved in:
Bibliographic Details
Main Authors: Rentschler, Micah, Roberts, Jesse
Format: Preprint
Published: 2025
Subjects:
Online Access:https://arxiv.org/abs/2501.14176
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866913664296026112
author Rentschler, Micah
Roberts, Jesse
author_facet Rentschler, Micah
Roberts, Jesse
contents What if artificial intelligence could not only solve problems for which it was trained but also learn to teach itself to solve new problems (i.e., meta-learn)? In this study, we demonstrate that a pre-trained transformer fine-tuned with reinforcement learning over multiple episodes develops the ability to solve problems that it has never encountered before - an emergent ability called In-Context Reinforcement Learning (ICRL). This powerful meta-learner not only excels in solving unseen in-distribution environments with remarkable sample efficiency, but also shows strong performance in out-of-distribution environments. In addition, we show that it exhibits robustness to the quality of its training data, seamlessly stitches together behaviors from its context, and adapts to non-stationary environments. These behaviors demonstrate that an RL-trained transformer can iteratively improve upon its own solutions, making it an excellent general-purpose problem solver.
format Preprint
id arxiv_https___arxiv_org_abs_2501_14176
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle RL + Transformer = A General-Purpose Problem Solver
Rentschler, Micah
Roberts, Jesse
Machine Learning
Artificial Intelligence
What if artificial intelligence could not only solve problems for which it was trained but also learn to teach itself to solve new problems (i.e., meta-learn)? In this study, we demonstrate that a pre-trained transformer fine-tuned with reinforcement learning over multiple episodes develops the ability to solve problems that it has never encountered before - an emergent ability called In-Context Reinforcement Learning (ICRL). This powerful meta-learner not only excels in solving unseen in-distribution environments with remarkable sample efficiency, but also shows strong performance in out-of-distribution environments. In addition, we show that it exhibits robustness to the quality of its training data, seamlessly stitches together behaviors from its context, and adapts to non-stationary environments. These behaviors demonstrate that an RL-trained transformer can iteratively improve upon its own solutions, making it an excellent general-purpose problem solver.
title RL + Transformer = A General-Purpose Problem Solver
topic Machine Learning
Artificial Intelligence
url https://arxiv.org/abs/2501.14176