HyperAIHyperAI

Command Palette

Search for a command to run...

다중모달

BaseRSI: 학습 없는 하네스 내재화를 통한 기반 비전-언어 모델의 재귀적 자기 개선

초록

재귀적 자기 개선(RSI)은 기반 모델을 둘러싼 프롬프트와 도구의 하네스에서 모델 자체로 이동하고 있다. 그러나 기존 RSI는 여전히 기반 모델 외부에 머무르는 하네스 의존적 성능 향상, 모델의 출력만 읽는 블랙박스 감독, 편집 위치와 강도가 사전에 고정되는 부정확한 편집 등의 핵심 과제에 직면해 있다. 이러한 과제를 해결하기 위해 우리는 BaseRSI를 제안한다. 이는 재귀적 하네스 내재화의 새로운 패러다임으로, 기반 모델이 자신의 하네스를 개선한 뒤 하네스가 추가한 것을 학습 없는 편집을 통해 자신의 가중치에 기록하고, 자신의 응답에 대해 라운드를 거듭하며 반복하는 방식이다. 이 패러다임을 지원하기 위해 우리는 ReGap 메커니즘을 도입한다. ReGap은 하네스가 각 트랜스포머 블록에서만 만들어내는 고차원 활성화 차이로 모든 블록을 감독하고, 이 신호를 따라 저차원 부분공간에서 블록의 가중치를 갱신한다. 이 메커니즘을 기반으로 우리는 ReKey 알고리즘을 추가로 제안한다. ReKey는 이 신호를 회귀를 통해 각 블록의 소수 키-값 뉴런에 기록하고, 각 편집의 위치와 강도를 모델 자신의 응답에서 측정한다. 더욱이 기반 모델은 순전파만으로 이 재귀의 모든 역할을 수행하며, 서로 다른 위치에 기록된 편집들은 재학습 없이 하나의 체크포인트에 결합된다. 열 가지 시각 추론 벤치마크에 대한 실험 결과는 BaseRSI가 분포 내 및 보류된 벤치마크 모두에서 기반 비전-언어 모델을 일관되게 개선함을 보여준다. 코드는 https://github.com/beita6969/BaseRSI에서 확인할 수 있다.

One-sentence Summary

Researchers at The Chinese University of Hong Kong, Shenzhen, National University of Singapore, and collaborating institutions propose BaseRSI, a training-free recursive self-improvement paradigm for vision-language models that internalizes harness gains into base weights via ReGap block-wise activation-difference supervision and ReKey key-value neuron regression, improving in-distribution and held-out visual reasoning across ten visual reasoning benchmarks.

Key Contributions

  • Introduces BaseRSI, a recursive harness internalization paradigm in which a base model improves its own harness, writes accepted harness gains into its own weights through training-free edits over successive rounds on its own responses, and fills every role of the recursion through forward passes alone.
  • Presents ReGap, which supervises every transformer block with the teacher-student activation difference that an accepted harness entry induces at that block, and ReKey, which writes this signal by regression into a few key-value neurons per block while measuring the site and strength of each edit on the model’s own responses.
  • On five in-distribution and five held-out visual reasoning benchmarks across perception, counting, charts, spatial reasoning, and visual logic, BaseRSI consistently improves a base vision-language model, outperforms prompting, visual zoom-in, harness evolution, and fine-tuning on every benchmark, and yields an edited checkpoint that exceeds its own harness while composing edits from different sites without refitting.

Introduction

In visual reasoning, recursive self-improvement systems often improve a frozen foundation model by evolving the prompt, tool, and context harness around it. These harness-level gains improve accuracy, controllability, and reuse, but they remain in the request, incurring cost on every call and leaving the base model unable to absorb what the harness learns. Prior approaches either keep gains outside the weights, supervise weights only through slow and noisy black-box output signals, or edit weights at preset locations and strengths that can miss targets and damage general ability. The authors propose BaseRSI, which recursively internalizes harness gains into the base model by measuring teacher-student gaps at every block with ReGap and writing them as low-dimensional updates into key-value neurons with ReKey.

Method

The authors propose the BaseRSI framework, a system designed to enable vision-language models to achieve recursive self-improvement by internalizing external harnesses into their own weights. The framework operates through a continuous cycle where a fast harness system records new experiences and a slow weight system consolidates them.

The overall pipeline is governed by Recursive Harness Internalization, which coordinates an outer loop for harness evolution and an inner loop for weight internalization. In the outer loop, the base model proposes harness entries from its own failures. An acceptance test evaluates these candidates, retaining only those entries whose accuracy gains generalize across benchmarks. This ensures that the fast system supplies verified targets that are worth keeping. Once an entry is accepted, the inner loop takes over to move the knowledge from the request-level harness into the model weights. This is formulated as a knowledge distillation process where the model with the harness acts as the teacher, and the original model acts as the student. To address the covariate shift inherent in imitation learning, the inner loop runs in multiple rounds. In each round, the edited student generates responses, the teacher labels them, and the edit is refitted on the pooled responses, ensuring the student matches the teacher on its own generated trajectories.

To facilitate this internalization, the authors introduce ReGap, a mechanism that defines what is taught in each residual block. ReGap computes a high-dimensional signal called the gap, which represents the direct effect of the harness entry on the block output. The gap for block lll is defined as gl=Fl(sl−1c;zl−1c)−Fl(sl−1c;zl−1)g_l = F_l(s_{l-1}^c; z_{l-1}^c) - F_l(s_{l-1}^c; z_{l-1})gl​=Fl​(sl−1c​;zl−1c​)−Fl​(sl−1c​;zl−1​), where FlF_lFl​ is the block map and the superscript ccc marks the teacher states. This gap serves as the exact descent direction to close the distance between the student and the teacher without requiring backpropagation from the final output. Since the student must reproduce this gap from its own state, ReGap formulates a low-dimensional update. This update is implemented as a small set of key-value neurons within the SwiGLU MLP, where each neuron stores a key-value pair. The update function is expressed as El(x)=γωβ(kl⊤x)∑i=0r(ul,i⊤x)vl,iE_l(x) = \gamma \omega_\beta(k_l^\top x) \sum_{i=0}^r (u_{l,i}^\top x) v_{l,i}El​(x)=γωβ​(kl⊤​x)∑i=0r​(ul,i⊤​x)vl,i​, allowing the model to read the input along specific readout directions and write values. This design effectively rewrites only a few neurons per block while keeping the rest of the architecture bit-identical.

The actual computation of these updates is handled by ReKey, an algorithm that writes the gap into the weights using only forward passes. ReKey first determines the site of the edit by measuring whether the entry primarily affects the linear attention layers or the patch embedding. A high divergence fraction directs the entry to the MLP neurons, while a low fraction indicates that the entry alters the visual input, directing it to the patch embedding kernel. Once the site is established, ReKey reads the gap by running teacher-forced forward passes to label every block with input-gap pairs. It then writes the gap by performing ridge regression to fit a linear readout of the MLP input, reducing the fit to the top rrr directions that carry the most predictive power. Finally, ReKey measures the strength of the edit through a line search on held-out student responses to determine the optimal step size γ\gammaγ, ensuring the internalized weights accurately replicate the teacher behavior.

Experiment

The study evaluates BaseRSI on five in-distribution benchmarks for development and five held-out out-of-distribution benchmarks, using unseen images and comparing against prompting, visual zoom-in, harness evolution, and fine-tuning on the same base model plus several other base models. The results show that BaseRSI improves both in-distribution and out-of-distribution performance by internalizing a learned harness into the weights, and this gain generalizes across benchmarks and base models while fine-tuning on the same questions does not. Additional experiments find that the edited model alone exceeds the model with the harness in the request, that rounds on the student's own responses make the edit more stable, that per-block ReGap supervision carries more of the gain into weights than output distillation, and that measured ReKey choices for site, strength, and routing outperform preset alternatives at lower computational cost.

Under matched reasoning effort, token budget, and evaluator, the edited Qwen3.8-27B model achieves the highest mean accuracy on all five in-distribution and all five held-out benchmarks. Relative to its base model, average accuracy rises by 11.7 points in distribution and 6.1 points out of distribution, while prompting yields only modest gains and fine-tuning on the same development questions barely moves the averages; the benefit is attributed to internalized edits that transfer to unseen images and held-out benchmarks. The edited base model attains the highest mean accuracy on every in-distribution and held-out benchmark, surpassing same-base prompting and closed-source reference models. Average accuracy improves by 11.7 points on in-distribution benchmarks and 6.1 points on held-out benchmarks relative to the base model. Chain-of-thought prompting produces only modest average gains, and fine-tuning on the same development questions barely moves the averages. The gains come from writing the harness into model weights rather than acting through the request, and they generalize to held-out benchmarks with unseen images.

BaseRSI improves accuracy over the base model and the view edit alone, with the procedure edit adding gains across both in-distribution and held-out benchmarks. Ablations show that internalizing the harness in weights, replaying the model's own responses, and using measured per-block sites, strengths, and keys are important choices; replacing them with request-only harnesses, teacher-only refits, direct state differences, null readouts, or preset keys weakens or removes the gains. Internalizing the harness into weights yields stronger accuracy than keeping it in the request, particularly on held-out benchmarks. The procedure edit improves over the view edit alone on every benchmark, and rounds on the model's own responses help held-out performance compared with refitting only on teacher responses. Measured edit components are critical: direct state-difference signals, null readouts, MLP-neuron placement, mean-gap-only fitting, and constant keys all reduce or erase the effectiveness of the edit.

The ablations show that the procedure edit depends on replaying the model's own responses and supervising per-block gap signals over many positions. Simplified alternatives such as base-model replay, last-block state, tail-only positions, or macro-average readouts restore less and yield weaker in-scope, in-distribution, and out-of-distribution gains. The measured choices for readouts, neurons, and acceptance collectively produce the strongest improvements. Replaying two rounds of the model's own responses gives the highest restoration and in-scope gain among replay variants, while base-model replay is less effective. Per-block gap supervision across up to 512 positions outperforms last-block and tail-only signals; the last-block state restores substantially less. Using more fitting responses improves restoration and in-scope gain, and fitted readouts with least-active neurons outperform the macro-average-only alternative. The leave-one-benchmark-out acceptance setting with 64 fitting responses yields the largest in-scope gain among the listed configurations.

The evaluation compares an edited Qwen3.8-27B model with prompting, fine-tuning, and reference models on five in-distribution and five held-out benchmarks, finding that internalizing a harness into model weights improves accuracy and transfers to unseen images. Ablations attribute these gains to the full BaseRSI procedure, especially internalized rather than request-only harnesses, replaying the model's own responses, and measured per-block edit components. Further ablations confirm that per-block gap supervision across many positions and fitted readout, neuron, and acceptance choices are critical, while simplified alternatives weaken restoration and generalization.


AI로 AI 구축

아이디어에서 출시까지 — 무료 AI 코코딩, 즉시 사용 가능한 환경, 최적의 GPU 가격으로 AI 개발을 가속화하세요.

AI 협업 코딩
바로 사용 가능한 GPU
최적의 가격

HyperAI Newsletters

최신 정보 구독하기
한국 시간 매주 월요일 오전 9시 에 이번 주의 최신 업데이트를 메일로 발송합니다
이메일 서비스 제공: MailChimp