A Self-Supervised Reinforcement Learning Approach for Fine-Tuning Large Language Models Using Cross-Attention Signals
Andrew Kiruluta, Andreas Lemos, Priscilla Burity
TL;DR
This paper addresses the high cost and limited scalability of human-in-the-loop RLHF by introducing CAGSR, a self-supervised reinforcement learning framework that leverages cross-attention signals within Transformer-based LLMs to guide fine-tuning without human feedback. It defines a reward composed of prompt coverage, attention focus, and repetition penalties, and optimizes the policy via PPO to maximize the expected self-supervised reward. Empirical results on synthetic QA and instruction datasets show that CAGSR improves prompt relevance and coherence relative to no-RL and synthetic-preference baselines, though it does not yet reach fully human-supervised RLHF performance. The work demonstrates a scalable, cost-effective direction for alignment and suggests hybrid approaches that combine cross-attention rewards with limited human input to further close the gap to human-labeling baselines. Overall, CAGSR offers a practical path toward scalable alignment of large language models with reduced human annotation requirements while maintaining competitive output quality.
Abstract
We propose a novel reinforcement learning framework for post training large language models that does not rely on human in the loop feedback. Instead, our approach uses cross attention signals within the model itself to derive a self supervised reward, thereby guiding iterative fine tuning of the model policy. By analyzing how the model attends to the input prompt during generation, we construct measures of prompt coverage, focus, and coherence. We then use these measures to rank or score candidate responses, providing a reward signal that encourages the model to produce well aligned, on topic text. In empirical comparisons against standard policy gradient methods and RL fine tuning with synthetic preference models, our method shows significant gains in prompt relevance and consistency over a non RL baseline. While it does not yet match the performance of fully human supervised RLHF systems, it highlights an important direction for scaling alignment with minimal human labeling. We provide a detailed analysis, discuss potential limitations, and outline future work for combining cross-attention based signals with smaller amounts of human feedback.
