Skip to main content

tail-lor-spectral-continual-learning

Parameter-efficient continual learning using spectral decomposition with soft penalty protecting principal components while adapting long-tail spectral coordinates

Ir para a instalação

Informações da origem

Repositório
hiyenwong/ai_collection
Última atividade na origem
8 de junho de 2026 às 08:11
Idioma detectado do SKILL.md
inglês
Estrelas
2
Forks
0

Opções de instalação

Por padrão, está selecionado o prompt que primeiro revisa a origem. Você pode mudar para um comando direto ou baixar uma cópia local.

Revise os arquivos de origem

Leia o SKILL.md e os arquivos complementares exibidos pelo SkillsMP antes de decidir se vai instalar.

Exibindo SKILL.md

SKILL.md
Instruções da origem · Visualização somente leitura
name
tail-lor-spectral-continual-learning
description
Parameter-efficient continual learning using spectral decomposition with soft penalty protecting principal components while adapting long-tail spectral coordinates
version
1.0.0
category
ai_collection
tags
["deep-learning","continual-learning","parameter-efficient","spectral","LoRA"]
arxiv
2606.06494v1
paper_title
TailLoR: Protecting Principal Components in Parameter-Efficient Continual Learning
authors
["Marius Dragoi","Ioana Pintilie","Alexandra Dragomir","Antonio Barbalau","Florin Brad"]
published
2026-06-04T00:00:00.000Z
activation_keywords
["continual learning","spectral decomposition","LoRA","parameter-efficient","singular value","principal components","adaptation"]
# TailLoR: Spectral Continual Learning ## Core Innovation Routes fine-grained adaptation into **long-tail spectral coordinates** while protecting dominant singular directions from interference. ## Methodology ### Spectral Framework 1. **Fixed reference frame**: Use singular bases U, V from pre-trained weights 2. **Low-rank update**: Apply updates to singular value matrix Σ 3. **Soft spectral penalty**: Discourage updates aligned with dominant directions ### Key Mechanism ``` Pre-trained weights W = U Σ V^T TailLoR update: ΔΣ (low-rank, applied to Σ) Constraint: ||ΔΣ · dominant_singular_values|| < threshold ``` ### Advantages - **Interference reduction**: Principal components protected - **Flexible adaptation**: Long-tail coordinates highly adaptable - **Parameter efficiency**: Low-rank spectral updates - **Continual stability**: Spectral penalty prevents catastrophic forgetting ## Implementation Pattern ```python import torch class TailLoRAdapter: def __init__(self, pretrained_weight, rank=8): # Compute singular decomposition U, S, Vh = torch.linalg.svd(pretrained_weight) self.U = U # Fixed: singular vectors self.Vh = Vh # Fixed: singular vectors self.S = S # Modifiable: singular values # Low-rank update parameters self.delta_S = torch.nn.Parameter(torch.zeros(rank)) self.dominant_threshold = S[:10].mean() * 0.1 # Protect top-10 def forward(self, x): # Apply low-rank spectral update updated_S = self.S + self.delta_S # Soft penalty: discourage dominant direction updates penalty = self.compute_spectral_penalty() # Reconstruct weight with spectral update W_updated = self.U @ torch.diag(updated_S) @ self.Vh return W_updated @ x, penalty def compute_spectral_penalty(self): # Penalize updates to dominant singular values dominant_updates = self.delta_S[:self.dominant_k] return torch.norm(dominant_updates / self.S[:self.dominant_k]) ``` ## Use Cases **Optimal scenarios:** - Sequential task learning without replay - Domain adaptation preserving core knowledge - Fine-tuning with stability constraints - Multi-domain continual deployment **Best suited for:** - Models with well-defined principal components - Tasks requiring preserved core representations - Long-term deployment with evolving data - Spectral structure stability critical ## Activation Trigger when discussing: - Continual learning stability - Spectral fine-tuning methods - Principal component protection - Parameter-efficient adaptation - Catastrophic forgetting mitigation - Low-rank spectral updates ## Key Insight **Long-tail spectral coordinates** are more flexible for adaptation while **dominant singular directions** encode stable, transferable knowledge. ## Related Patterns - Standard LoRA (low-rank adaptation) - Spectral fine-tuning methods - Elastic weight consolidation (EWC) - Progressive neural networks ## References - Paper: arXiv 2606.06494v1 - Category: cs.LG - Key contribution: Soft spectral penalty for continual learning
Ver no GitHub