header-langage
简体中文
繁體中文
English
Tiếng Việt
한국어
日本語
ภาษาไทย
Türkçe
Scan to Download the APP
Partnered With:

Qwen-Scope Open Source Project: Equipping Models with X-Ray Vision to Control Output without Writing Prompts

According to Perceiving AI monitoring, the Q&A team has open-sourced Qwen-Scope, an interpretability module designed for the Qwen3 and Qwen3.5 series of models. The approach involves inserting a Sparse Autoencoder (SAE) into the model's hidden layers (an neural network module that automatically extracts low-redundancy features through sparsity constraints), resulting in a set of highly decoupled features after training. Each feature corresponds to a semantic direction within the model. This release covers 7 models (including dense and MoE architectures), comprising 14 sets of SAE weights. Each set is trained on 500 million tokens sampled from the respective model's pretraining data.


Four practical scenarios are highlighted. Inference Control: By activating or inhibiting specific features, one can switch output languages, replace entities, or change styles without the need to write any natural language instructions. Data Processing: By identifying the activation patterns of toxic text with minimal seed data for classification, the cost of training classifiers is reduced. Conversely, identifying toxic features that have never been activated allows for targeted synthesis of additional samples to cover the long tail, leading to a roughly 15x increase in data efficiency. Training Optimization: When the model exhibits code-switching (e.g., Chinese words appearing in an English reply) or repetitive generations, anomalous activation features are identified. During the SFT phase, a targeted loss function is designed to reduce the frequency of such occurrences. Addressing low-frequency issues like repetitive generations, which are hard to sample in reinforcement learning, can be achieved by activating the corresponding features to enhance sampling probability, thereby increasing the density of learning signals. Evaluation Analysis: By comparing the feature activation coverage across different evaluation sets, redundant evaluations are identified, aiding in the selection of more efficient test sets.


The weights have been deployed on Hugging Face and ModelScope, with a complementary technical report released simultaneously.

举报 Correction/Report
Correction/Report
Submit
Add Library
Visible to myself only
Public
Save
Choose Library
Add Library
Cancel
Finish