Shared LoRA
Continue training the exact inherited LoRA factors on a frozen base in a compatible GRPO stage.
This is an RL → LoRA (GRPO) parent-continuation mode, not a primary workflow or a generic SFT, Engram or neuron-training option. Manual continuation and a scheduled policy use separate reviewed authority; interrupted-run recovery retains the original operation.
Shared LoRA continues training the parent's existing A and B factors. The base weights remain frozen. It adds no new residual adapter branch and does not mean sharing one A matrix across several independently trained B branches.
Choose it when the next GRPO stage should update the same factorization. This keeps the same rank and starting factorization; it does not guarantee that new training preserves earlier behavior.
The weight update
For one projection, let:
W_0be the frozen base weight;A_pandB_pbe the exact inherited low-rank factors;sbe the accepted LoRA scale, conventionallyalpha / r.
The next stage starts from the inherited values:
Both factors can change. Let G be the loss gradient with respect to the
effective weight. The chain rule gives:
The inherited contribution is therefore not a frozen branch. For changes
delta_A and delta_B, its effective change is:
That last term helps explain why continuing factors is different from adding a separate child adapter. These equations describe the selected projection; they are not a measured optimizer step or a promise about answer quality.
What stays fixed
| Part | Treatment |
|---|---|
| Base checkpoint | Frozen, with exact model/tokenizer/template identity. |
| Parent factor values | Initial values for this stage, then trainable. |
| Logical rank | Same as the accepted parent's single factor slice. |
| Frozen parent reference | Separate immutable reference for the configured GRPO comparison/KL rule. It is not added a second time to the active policy. |
| Optimizer state | Fresh for a new cross-job stage. Interrupted-job recovery is separate. |
Example: a second rank-8 stage
Suppose an eligible parent has one rank-8 factor block. A compatible Shared stage also requests rank 8. It begins at the exact parent A/B values and lets the new reward signal change them. Its active logical rank remains 8.
A request for rank 16 is not the same continuation. The current resolver rejects that mismatch rather than refactorizing the parent approximately. A multi-block Stacked parent is also not automatically eligible for Shared. The current resolver rejects a derived-backbone parent outside the Merged path.
This is a configuration example, not an executed training result. Only exact runtime capability discovery establishes whether the selected rank and parent are available.
Configure and review
- Open New Model, choose RL and LoRA, then Save. In Model, select Shared under LoRA configuration for manual checkpoint continuation.
- Select an exact compatible saved GRPO-trained Model checkpoint. A mode selection alone supplies no parent, and an SFT artifact is not a supported substitute.
- Review admitted reward-training tasks, executable graders, independent evaluation and supported GRPO limits.
- Prepare the run and inspect the exact parent Job, checkpoint, artifact hash, factor identity, rank, reference rule and spending before explicitly starting.
The service checks base, tokenizer, chat template, engine/topology, recipe compatibility and signed artifact lineage. Current cross-job continuation also preserves the compatible learning-rate setting. A shape-compatible tensor pair alone is not sufficient authority to continue a parent.
Interpret the result
- Inspect actual optimizer updates, factor/checkpoint publication and reload evidence; a completed label alone does not establish a changed model.
- Compare the candidate on separate target and regression tasks. The same factors can change behavior learned in an earlier stage.
- Save or accept the qualified candidate separately from serving activation.
- Compatible continual learning can retain Shared as its future GRPO strategy. Selecting it does not create a schedule, admit examples or authorize automatic serving.
For a frozen inherited contribution with a fresh child, see Stacked LoRA. For a materialized derived backbone, see Merged LoRA. The GRPO guide contains the shared preparation/Start contract. The LoRA architecture comparison explains why a shared-A architecture is a different construction.
Sources and client contract
- Hu et al., LoRA and the original implementation describe low-rank factors. These GRPO continuation modes are OpenPond's explicit composition contracts, not a claim that the paper qualified this runtime.
- GRPO preparation and reviewed Start gives the shared SDK flow. Retain the exact parent, preparation and operation IDs; changing the continuation mode requires a new reviewed preparation.
- Public training contracts define the exact parent and immutable result identities.
Compatibility
GRPO cross-job continuation only. Requires an exact compatible single factor slice at the same logical rank and a qualified runtime; each new stage resets its optimizer.