Share your thoughts, 1 month free Claude Pro on usSee more
WorkDL logo mark

Reinforcement Learning for Compositional Generalization with Outcome-Level Optimization

About

Compositional generalization refers to correctly interpret novel combinations of known primitives, which remains a major challenge. Existing approaches often rely on supervised fine-tuning, which encourages models to imitate target outputs. This token-level training paradigm fails to capture the global compositional structure required for generalizing to unseen combinations. In this work, we investigate whether compositional generalization can instead be improved through outcome-level reinforcement learning. We adopt Group Relative Policy Optimization to optimize models based on feedback on their final outputs. Within this framework, we explore both a simple binary outcome reward and a composite reward that provides additional composition feedback. Experiments on multiple compositional benchmarks show that reinforcement learning improves compositional generalization compared to supervised fine-tuning. Further analysis reveals that supervised models tend to overfit frequent training compositions, whereas reinforcement learning improves compositional generalization by reshaping the output distribution, particularly for more complex composition types.

Xiyan Fu, Wei Liu• 2026

Related benchmarks

TaskDatasetResultRank
Compositional GeneralizationSCAN
Length23.44
6
Compositional GeneralizationCOGS
Exact Match Accuracy83.9
6
Semantic ParsingGeoquery
Template Accuracy77.9
6
Semantic ParsingCFQ
MCD1 Score92.1
6
Showing 4 of 4 rows

Other info

Follow for update