RL + Transformer = A General-Purpose Problem Solver

What if artificial intelligence could not only solve problems for which it was trained but also teach itself to tackle novel tasks?In this paper, we finetune Llama 3.1 using reinforcement learning on the grid-world game Frozen Lake and investigate its ability to solve maps it has never encountered-a phenomenon recently termed In-Context Reinforcement Learning (ICRL).Without additional training, the transformer demonstrates the capacity to adapt to both in-distribution and outof-distribution environment parameterizations.Moreover, it remains effective when trained on data that blends optimal and suboptimal behavior, combines strategies from its context (behavior-stitching), and dynamically adapts to non-stationary environments.These proof-ofconcept findings suggest that in-context learning via reinforcement-tuned transformers may form the basis of a promising general-purpose problem-solver.

Authors

Institutions

Publication Details

Published
2025-01-01
DOI
https://doi.org/10.18653/v1/2025.realm-1.29
Primary Topic
Digital Filter Design and Implementation
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

RL + Transformer = A General-Purpose Problem Solver

Jesse Roberts, Micah Rentschler
Digital Filter Design and Implementation
article

RL + Transformer = A General-Purpose Problem Solver

Jesse Roberts, Micah Rentschler
article en

Abstract

What if artificial intelligence could not only solve problems for which it was trained but also teach itself to tackle novel tasks?In this paper, we finetune Llama 3.1 using reinforcement learning on the grid-world game Frozen Lake and investigate its ability to solve maps it has never encountered-a phenomenon recently termed In-Context Reinforcement Learning (ICRL).Without additional training, the transformer demonstrates the capacity to adapt to both in-distribution and outof-distribution environment parameterizations.Moreover, it remains effective when trained on data that blends optimal and suboptimal behavior, combines strategies from its context (behavior-stitching), and dynamically adapts to non-stationary environments.These proof-ofconcept findings suggest that in-context learning via reinforcement-tuned transformers may form the basis of a promising general-purpose problem-solver.

Tennessee Technological University (US)
Openalex Percentile: Top 77%
Digital Filter Design and Implementation
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.