arXiv(opens in a new tab)cs.LGSep 2026Cited by 1 paper on PaperVantage

Manuscript Offprint

arXiv:2609.40063

LARC: Low-Rank Adaptive Residual Connections for Learning in Frozen Models

Junyi Zou, Avrova Donz

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

ABSTRACT

Low-Rank Adaptive Residual Connections (LARC) give a frozen model a compact numerical state that can learn from feedback. The map h+BAhh + BAh adds a low-rank correction to a hidden representation. A slow state ρ\rho learns starting factors across tasks; a private fast state Φ\Phi copies them, changes with feedback, and resets to the trained initialization. This report specifies an input-side realization of the numerical policy carrier in Memory-Mediated Learning Architecture and examines its factor-space dynamics and learning lifetime.

We study a rank-4 input residual with 12,288 trainable parameters on a frozen MiniCPM5-1B-SFT substrate. In a four-candidate program-selection task, two feedback-gradient steps reduce expected query execution error by 24.65 and 36.65 percentage points relative to resetting to the respective trained static and post-adaptation initializations. These development results cover 16 parameter groups and three paired training seeds. A direct support-loss selection rule is much more accurate, reaching 0.78125% error. In a repository-balanced chronological replay of public continuous-integration jobs, retaining online updates raises half-Brier loss from 0.1274 to 0.1808. A fixed follow-up intervention records same-batch non-descent and inconsistent future benefit from shrinking updates. Together, the algebra and measurements distinguish residual capacity, adaptation relative to a starting point, and usefulness on later decisions.

LARC: a small residual with an explicit learning lifetime

One hidden-state interface connects slow learning, feedback updates, and later decisions.

Figure

Evaluated instance: rank 4 · hidden width 1,536 · 12,288 FP32 factor entries

Figure 1: LARC at a glance. Slow training determines the starting factors; arrived feedback updates a private fast state; later predictions read that state through a frozen mixer. Copy, reset, and resume give these numerical changes a defined lifetime.

TECHNICAL REPORT

1 Introduction

Feedback often arrives while a task is still in progress. A program execution reveals that a proposed transformation is wrong. A completed workflow provides evidence about a later job. The next decision can use this observation through additional context, a stored record, or a change in the parameters that participate in the computation. LARC implements this last path through a small residual attached to a hidden representation. The question is whether retaining its feedback updates improves a later read, and under which learning conditions.

Consider a learner given four complete programs, one of which is the target. It assigns a probability to each candidate, and an executor returns all four errors on the available examples. A gradient update can reduce the probability-weighted error even when the next prompt and the most likely candidate remain unchanged. This setting makes a numerical feedback effect measurable without requiring program generation. It also raises concrete implementation questions: where is the change stored, how does it reach the next prediction, how long is it retained, and what behavior returns when it is removed? A learning state needs an initialization, an update process, a reader, and a lifetime.

Residual connections preserve a reference computation through an identity path [8]. LARC 1^{1} uses LoRA's two-factor low-rank parameterization [10] as a hidden-state correction h↦h+BAhh \mapsto h + BAh. Its factors start from a learned slow state ρ\rho and are updated as a fast state Φ\Phi. Ending an episode or applying a reset restores the bound ρ\rho.

The separation between ρ\rho and Φ\Phi gives the learner two timescales, following the distinction between slow parameters and fast weights [1]. Slow training shapes a starting representation across tasks. Fast updates respond to observations in the current episode. Resetting to the trained ρ\rho removes those fast updates while preserving what slow training has learned. For this input residual, learning requires a gradient through the downstream mixer: its weights stay fixed, but its response to a changed input determines how the factors should change.

MMLA separates a numerical policy carrier from an authoritative memory carrier and assigns them distinct writers and reset domains [17]. LARC supplies a concrete realization of the policy carrier. Its interface is hidden-to-hidden; the mixer that follows it is a separate architectural choice. The present implementation reuses a Transformer language-model mixer as the frozen substrate. The residual interface and its learning lifetime carry the definition, while this mixer supplies the computation used in the experiments.

Our central empirical comparison trains two initializations using the same feedback, queries, residual placement, and paired random seeds. One objective evaluates queries at the slow initialization. The other evaluates them after two feedback updates, using a first-order MAML-style estimator. For each trained seed, retaining real-feedback updates reduces expected query error on held-out development parameter groups. The advantage of one training objective over the other is less consistent across seeds, and the direct symbolic rule remains much more accurate than either arm. We then follow the static initialization into a task-matched continuous-integration study, where preserving online updates is harmful relative to reset on the recorded queue. The contrast shows why feedback responsiveness, the quality of the starting policy, and sustained online benefit need separate measurements.

This report specifies and implements a rank-4 input residual with slow initialization and episode-local fast state, including its gradient path through a frozen mixer and its reset and resume operations. It compares static and post-adaptation training with paired initializations, then measures real and sham feedback crossed with keep and reset reads. The factor-space analysis explains how an input residual changes the computation and why identical factor products can have different subsequent updates. Six episodic initializations and three task-matched initializations were trained and saved along this sequence.

Reading guide. Section 2 describes the executable mechanism and learning procedure. Section 3 explains its factor-space dynamics, and Section 4 defines the feedback comparisons. Sections 5–7 follow the experiments in order. The implementation section and appendices give the configuration, task semantics, and restoration details.

References (19)