TY - GEN
T1 - Towards Unified Affective Reasoning via In-Context Reinforcement Learning
AU - Xiong, Feng
AU - Wang, Jun
AU - Xu, Ruifeng
N1 - Publisher Copyright:
© 2026 Owner/Author.
PY - 2026/7/19
Y1 - 2026/7/19
N2 - Recent advances in Large Language Models (LLMs) have shifted affective computing from direct label prediction to deliberative reasoning, with Reinforcement Learning (RL) emerging as a promising means of cultivating such capabilities. However, existing RL-based methods are largely confined to single-task settings, requiring separate training pipelines for different affective domains and limiting transfer across related problems. To address this limitation, we propose Unified Affective Reasoning (UAR), an in-context reinforcement learning framework for learning generalizable affective reasoning under a unified multi-task paradigm. UAR jointly optimizes multiple affective tasks and leverages in-context demonstrations to reconcile heterogeneous annotation schemas across datasets, thereby aligning disparate label spaces while preserving task-specific supervision. Experiments on 16 standard benchmarks across emotion recognition, aspect-based sentiment analysis, stance detection, and sarcasm detection show that UAR consistently improves the underlying base models and generalizes effectively to held-out out-of-domain tasks. These results demonstrate that in-context reinforcement learning provides an effective path toward unified and generalizable affective reasoning. Code is available at https://github.com/farisxiong/UAR.
AB - Recent advances in Large Language Models (LLMs) have shifted affective computing from direct label prediction to deliberative reasoning, with Reinforcement Learning (RL) emerging as a promising means of cultivating such capabilities. However, existing RL-based methods are largely confined to single-task settings, requiring separate training pipelines for different affective domains and limiting transfer across related problems. To address this limitation, we propose Unified Affective Reasoning (UAR), an in-context reinforcement learning framework for learning generalizable affective reasoning under a unified multi-task paradigm. UAR jointly optimizes multiple affective tasks and leverages in-context demonstrations to reconcile heterogeneous annotation schemas across datasets, thereby aligning disparate label spaces while preserving task-specific supervision. Experiments on 16 standard benchmarks across emotion recognition, aspect-based sentiment analysis, stance detection, and sarcasm detection show that UAR consistently improves the underlying base models and generalizes effectively to held-out out-of-domain tasks. These results demonstrate that in-context reinforcement learning provides an effective path toward unified and generalizable affective reasoning. Code is available at https://github.com/farisxiong/UAR.
KW - affective reasoning
KW - in-context learning
KW - multi-task learning
KW - reinforcement learning
KW - sentiment analysis
UR - https://www.scopus.com/pages/publications/105047288849
U2 - 10.1145/3805712.3809982
DO - 10.1145/3805712.3809982
M3 - 会议稿件
AN - SCOPUS:105047288849
T3 - SIGIR 2026 - Proceedings of the 49th International ACM SIGIR Conference on Research and Development in Information Retrieval
SP - 4285
EP - 4290
BT - SIGIR 2026 - Proceedings of the 49th International ACM SIGIR Conference on Research and Development in Information Retrieval
PB - Association for Computing Machinery, Inc
T2 - 49th International ACM SIGIR Conference on Research and Development in Information Retrieval, SIGIR 2026
Y2 - 20 July 2026 through 24 July 2026
ER -