HyperAIHyperAI

Command Palette

Search for a command to run...

GeoRA: تكييف منخفض الرتبة المعتمد على البنية الهندسية لتعلّم التعزيز ذي المكافآت القابلة للتحقق

Jiaying Zhang Lei Shi Jiguo Li Jun Xu Jiuchong Gao Jinghua Hao Renqing He

الملخص

يُعدّ تعلّم التعزيز ذي المكافآت القابلة للتحقق (RLVR) نموذجًا محوريًا لتحسين نماذج الاستدلال واسعة النطاق. وعلى خلاف الضبط الدقيق المُراقَب (SFT)، يُظهِر RLVR ديناميكيات تحسين مغايرة ويتأثر بشدة بالحفاظ على البنى الهندسية المستفادة أثناء التدريب المسبق. ومع ذلك، تواجه أساليب الكفاءة في المعاملات الحالية قيودًا جوهرية في هذا السياق. فطرق التكييف منخفض الرتبة، مثل PiSSA، صُمِّمت أساسًا للضبط الدقيق المُراقَب ولا تراعي ديناميكيات التحسين المميزة والبنى الهندسية الفريدة لـ RLVR. في المقابل، يواجه الضبط الدقيق المباشر على فضاء المعاملات المتفرق غير المُهيكل الذي يفضّله RLVR اختناقات في الكفاءة على الأجهزة الحديثة. لمعالجة هذه التحديات، نقترح GeoRA (التكييف منخفض الرتبة المعتمد على البنية الهندسية)، وهو أسلوب تكييف منخفض الرتبة مُصمَّم خصيصًا لـ RLVR. على وجه التحديد، يستغلّ GeoRA البنية اللاتساوية والقابلة للانضغاط لفضاء تحديثات RLVR، ويستخلص اتجاهاتها الرئيسية عبر تحليل القيم المفردة (SVD) لتهيئة مُكيِّفات منخفضة الرتبة، مع تجميد المكوّنات المتبقية كمرساة هيكلية أثناء التدريب. يحافظ هذا التصميم على البنية المستفادة أثناء التدريب المسبق ويتيح حسابًا كثيفًا فعّالًا. تُظهر التجارب على نماذج Qwen وLlama بأحجام تتراوح من 1.5 مليار إلى 32 مليار معامل أن GeoRA يتفوق باستمرار على أساسيات قوية منخفضة الرتبة في إعدادات RLVR في الرياضيات والطب والبرمجة، مع إظهار تعميم أقوى ونسيان أقل على المهام خارج النطاق.

One-sentence Summary

Meituan and Peking University propose GeoRA, a geometry-aware low-rank adaptation method for RLVR that exploits the anisotropic, compressible structure of RL update subspaces via SVD to initialize low-rank adapters while freezing residual components as structural anchors, preserving pre-trained geometry and enabling efficient dense computation across mathematics, medicine, and coding tasks.

Key Contributions

  • The paper introduces GeoRA, a geometry-aware low-rank adaptation method for Reinforcement Learning with Verifiable Rewards that aligns parameter-efficient training with the optimization structure of RL updates.

  • GeoRA extracts principal directions from the anisotropic and compressible RL update subspace via Singular Value Decomposition for adapter initialization, and freezes residual components as a structural anchor to preserve pre-trained structure while enabling efficient dense computation.

  • Experiments on Qwen and Llama models from 1.5B to 32B parameters in mathematics, medicine, and coding show that GeoRA improves training stability, outperforms strong low-rank baselines, and shows stronger generalization with less forgetting on out-of-domain tasks.

Introduction

Large reasoning models use Reinforcement Learning with Verifiable Rewards to strengthen mathematical and coding reasoning, but RLVR works by amplifying existing latent behaviors rather than injecting new knowledge, so updates must stay stable and aligned with pre-trained model geometry. This matters because overly aggressive fine-tuning can collapse reasoning, degrade general abilities, or cause forgetting. Prior parameter-efficient methods struggle in this setting: SFT-oriented low-rank adaptation biases updates toward principal components that may conflict with RLVR's preferred directions, while sparse fine-tuning can match RLVR behavior but often lacks hardware efficiency. The authors leverage this insight to introduce GeoRA, a geometry-aware low-rank adaptation framework that uses SVD to extract dominant trainable directions from a geometry-constrained subspace, freezes residual components as structural anchors, and preserves dense computation for stable, hardware-efficient RLVR training.

Method

The authors leverage a low-rank adaptation framework for reinforcement learning with verifiable rewards, named GeoRA. Their design is motivated by the observation that reinforcement fine-tuning should not overwrite the pre-trained model globally, but instead should concentrate updates in stable yet plastic parameter regions. GeoRA therefore introduces an RL-native, structured low-rank parameterization together with a residual anchor that preserves the original function at initialization and restricts optimization to a geometry-aligned subspace. Unlike standard low-rank adaptation, which typically starts from random adapter parameters, GeoRA initializes the adapter from a geometry-constrained view of the pre-trained weight matrix. Refer to the framework diagram. As shown in the figure below:

Let WWW denote a pre-trained weight matrix and let WGeoW_{\mathrm{Geo}}WGeo​ denote its geometry-constrained view. The authors perform singular value decomposition on this matrix,

WGeo=UGeoΣGeoVGeo⊤.W_{\mathrm{Geo}} = U_{\mathrm{Geo}}\Sigma_{\mathrm{Geo}}V_{\mathrm{Geo}}^{\top}.WGeo​=UGeo​ΣGeo​VGeo⊤​.

They then keep only the leading rank rrr directions. If UrU_rUr​ and VrV_rVr​ denote the first rrr columns of UGeoU_{\mathrm{Geo}}UGeo​ and VGeoV_{\mathrm{Geo}}VGeo​, and Σr\Sigma_rΣr​ denotes the leading r×rr \times rr×r block of ΣGeo\Sigma_{\mathrm{Geo}}ΣGeo​, the trainable adapters are initialized as

AGeo=Σr1/2Vr⊤,BGeo=UrΣr1/2.A_{\mathrm{Geo}} = \Sigma_r^{1/2}V_r^{\top}, \qquad B_{\mathrm{Geo}} = U_r\Sigma_r^{1/2}.AGeo​=Σr1/2​Vr⊤​,BGeo​=Ur​Σr1/2​.

With this construction, the product BGeoAGeoB_{\mathrm{Geo}}A_{\mathrm{Geo}}BGeo​AGeo​ approximates the rank rrr geometry captured by WGeoW_{\mathrm{Geo}}WGeo​. To preserve the original model output at initialization, the authors compute a residual matrix

Wres=W−αrBGeoAGeo.W_{\mathrm{res}} = W - \frac{\alpha}{r}B_{\mathrm{Geo}}A_{\mathrm{Geo}}.Wres​=W−rα​BGeo​AGeo​.

During the forward pass, WresW_{\mathrm{res}}Wres​ remains frozen while the adapter branch is trainable,

h=Wresx+αrBGeoAGeox.h = W_{\mathrm{res}}x + \frac{\alpha}{r}B_{\mathrm{Geo}}A_{\mathrm{Geo}}x.h=Wres​x+rα​BGeo​AGeo​x.

At initialization, the two branches sum to WxWxWx, so the model is function preserving. During optimization, gradient updates can only act on the low-rank adapter, forcing adaptation to remain inside the geometry aligned manifold while the frozen residual matrix protects the pre-trained representation.

The geometry constrained matrix WGeoW_{\mathrm{Geo}}WGeo​ is obtained through a lightweight masking process. The authors construct two complementary priors. The spectral prior selects low magnitude entries from the rank rrr approximation W^r\hat{W}_rW^r​:

(MSpec)i,j=I(∣(W^r)i,j∣≤τSpec(ρ)),(M_{\mathrm{Spec}})_{i,j} = \mathbb{I} \left( |(\hat{W}_r)_{i,j}| \le \tau_{\mathrm{Spec}}(\rho) \right),(MSpec​)i,j​=I(∣(W^r​)i,j​∣≤τSpec​(ρ)),

where τSpec(ρ)\tau_{\mathrm{Spec}}(\rho)τSpec​(ρ) is the ρ\rhoρth quantile of the absolute values in W^r\hat{W}_rW^r​. This mask suppresses dominant high energy directions and focuses adaptation on a more stable spectral region. The Euclidean prior selects low magnitude weights from the original matrix:

(MEuc)i,j=I(∣Wi,j∣≤τEuc(ρ)).(M_{\mathrm{Euc}})_{i,j} = \mathbb{I} \left( |W_{i,j}| \le \tau_{\mathrm{Euc}}(\rho) \right).(MEuc​)i,j​=I(∣Wi,j​∣≤τEuc​(ρ)).

The final mask is the union of the two regions, and the geometry constrained matrix is formed by masked weighting:

WGeo=W⊙(MSpec∪MEuc).W_{\mathrm{Geo}} = W \odot (M_{\mathrm{Spec}} \cup M_{\mathrm{Euc}}).WGeo​=W⊙(MSpec​∪MEuc​).

Refer to the masking workflow diagram. As shown in the figure below:

This masking strategy defines the update locus before adapter initialization. The spectral component protects the principal subspace by choosing the low tail of the rank rrr geometry, while the Euclidean component exposes near zero weights that can absorb reward driven perturbations. The union yields a region that is stable under reinforcement learning updates but still expressive enough for adaptation. The resulting WGeoW_{\mathrm{Geo}}WGeo​ then supplies the singular structure used to initialize the trainable low rank adapter, linking prior construction, adapter parameterization, and frozen residual computation into one training architecture.

Experiment

Experiments compare GeoRA with LoRA variants and full or sparse fine-tuning across mathematical, medical, and coding RLVR tasks, using multiple backbones, in-domain and out-of-domain benchmarks, training dynamics, ablations, and spectral analyses. GeoRA consistently improves mathematical reasoning, preserves broader general capabilities, transfers to other domains, converges faster, remains stable under challenging optimization settings, and greatly reduces trainable parameters. The analyses show that its geometry-aware initialization, spectral and Euclidean masks, and alignment with RLVR update geometry are key, while the learned subspace captures compressible low-rank structure and minimizes distortion of pre-trained features.

GeoRA shows the strongest overall gain on mathematical reasoning benchmarks, with clear advantages on harder competition-style tasks and competitive performance on broader math evaluation. It also maintains strong out-of-distribution capability, improving over the low-rank baselines on coding, scientific knowledge, and general QA-related metrics while avoiding large losses on instruction following and truthfulness. GeoRA outperforms LoRA, PiSSA, and other compared variants on most math reasoning settings, indicating geometry-aware initialization helps RLVR. The method transfers well beyond math, giving the best or near-best out-of-distribution results and better retention of general capabilities than several fine-tuning baselines.

The method performs strongly on additional medical and coding RLVR tasks, improving over the base model and outperforming LoRA on the average scores for both domains. It also remains close to full fine-tuning, leading on the medical average and trailing only slightly on the coding average. These results support the claim that the method generalizes beyond mathematical reasoning tasks. It outperforms LoRA across all medical tasks and all coding tasks shown. It achieves the best overall medical average among the compared methods, while nearly matching full fine-tuning on coding.

GeoRA is the most efficient among the compared methods, updating a tiny fraction of Full FT parameters while also lowering VRAM and per-iteration training time. SparseFT reduces parameters and memory use relative to Full FT but is slower, whereas GeoRA converts strong parameter efficiency into practical hardware efficiency by avoiding the overhead of unstructured sparse computation. GeoRA achieves very large reductions in trainable parameters relative to Full FT while also improving memory usage and speed. SparseFT lowers parameters and VRAM compared with Full FT but does not reduce per-iteration training time. GeoRA is more efficient than SparseFT in both speed and memory use, with its one-time initialization cost described as negligible relative to training.

Ablation results for Qwen3-4B show that GeoRA performs best when geometry-aware initialization and both geometric masks are retained. Replacing the proposed initialization with random or tail-only variants reduces reward and mathematical reasoning accuracy, while removing either the spectral or Euclidean mask causes a consistent decline. Full GeoRA achieves the highest reward and average mathematical reasoning score among the ablated variants. Tail-r initialization gives the weakest performance, showing that low-energy direction selection alone is insufficient. Both spectral and Euclidean masks are needed, with each removal reducing average performance.

The spectral and Euclidean priors each select about 20% of parameters on the tested 8B model, but they overlap only slightly. The small overall intersection and low Jaccard similarity indicate that the masks identify largely different parameter subsets. The same pattern appears in both MLP and attention groups, supporting the view that the two geometric priors play complementary roles. Each prior covers a similar fraction of parameters while sharing only a small subset. The limited overlap across MLP and attention layers suggests the priors are complementary rather than redundant.

The experiments evaluate GeoRA on mathematical reasoning benchmarks, out-of-distribution tasks, and specialized medical and coding RLVR settings. Results show that geometry-aware initialization consistently improves math reasoning and transfers well to other domains while better preserving general capabilities than several fine-tuning baselines. Ablations and mask analyses show that both spectral and Euclidean masks are necessary and complementary, while efficiency tests show that GeoRA achieves strong hardware efficiency with far fewer trainable parameters.


بناء الذكاء الاصطناعي بالذكاء الاصطناعي

من الفكرة إلى الإطلاق — سرّع تطوير الذكاء الاصطناعي الخاص بك مع المساعدة البرمجية المجانية بالذكاء الاصطناعي، وبيئة جاهزة للاستخدام، وأفضل أسعار لوحدات معالجة الرسومات.

البرمجة التعاونية باستخدام الذكاء الاصطناعي
وحدات GPU جاهزة للعمل
أفضل الأسعار

HyperAI Newsletters

اشترك في آخر تحديثاتنا
سنرسل لك أحدث التحديثات الأسبوعية إلى بريدك الإلكتروني في الساعة التاسعة من صباح كل يوم اثنين
مدعوم بواسطة MailChimp