paper-with-me

Papers

Millions of States: Designing a Scalable MoE Architecture with RWKV-7 Meta-learner

2025-04-11 · Liu Xiao, Li Zhiyuan, Lin Yueyu

State-based sequence models like RWKV-7 offer a compelling alternative to Transformer architectures, achieving linear complexity while demonstrating greater expressive power in short-context scenarios and enabling state tracking beyond the \(\text{TC}^0\) complexity class. However, RWKV-7 lacks mechanisms for token-parameter interactions and native scalability, limiting its adaptability and growth without retraining. In this paper, we propose \textbf{Meta-State}, a novel extension to RWKV-7 that replaces attention mechanisms with a fully state-driven approach, integrating token-parameter interactions through a \textbf{Self-State Encoder} (SSE) mechanism. The SSE repurposes a portion of the RWKV-7 Weighted Key-Value (WKV) state as transformation weights to encode token-parameter interactions in a linear, state-driven manner without introducing new trainable matrices or softmax operations, while preserving the autoregressive property of token processing. Meta-State supports progressive model scaling by expanding the WKV state and parameter tokens, reusing existing parameters without retraining. Our approach bridges the gap between state-based modeling, token-parameter interactions, and scalable architectures, offering a flexible framework for efficient and adaptable sequence modeling with linear complexity and constant memory usage.

📄 PDF Abstract BibTeX arXiv:2504.08247

Code (0)

등록된 구현이 없습니다.

Methods 이 논문이 사용한 방법론

Attention 설명 없음
Linear Layer A Linear Layer is a projection $\mathbf{XW + b}$.
Residual Connection 설명 없음
Position-Wise Feed-Forward Layer 설명 없음
BPE Byte Pair Encoding, or BPE, is a subword segmentation algorithm that encodes rare and unknown words as sequences of subword units. The intuition is that various word…
Absolute Position Encodings Absolute Position Encodings are a type of position embeddings for [Transformer-based models] where positional encodings are…
Label Smoothing Label Smoothing is a regularization technique that introduces noise for the labels. This accounts for the fact that datasets may have mistakes in them, so maximizing the…
SSE 설명 없음

Similar Papers 제목 키워드 기반

Eagle and Finch: RWKV with Matrix-Valued States and Dynamic Recurrence

2024-04-08 · Bo Peng, Daniel Goldstein, Quentin Anthony, Alon Albalak 외

We present Eagle (RWKV-5) and Finch (RWKV-6), sequence models improving upon the RWKV (RWKV-4) architecture. Our architectural design advancements include multi-headed matrix-valued states and a dynamic recurrence mechan…

RWKV-X: A Linear Complexity Hybrid Language Model

2025-04-30 · Haowen Hou, Zhiyi Huang, Kaifeng Tan, Rongchang Lu 외

In this paper, we introduce RWKV-X, a novel hybrid architecture that combines the efficiency of RWKV for short-range modeling with a sparse attention mechanism designed to capture long-range context. Unlike previous hybr…

Language ModelingLanguage Modellingmodel

Mamba or RWKV: Exploring High-Quality and High-Efficiency Segment Anything Model

2024-06-27 · Haobo Yuan, Xiangtai Li, Lu Qi, Tao Zhang 외

Transformer-based segmentation methods face the challenge of efficient inference when dealing with high-resolution images. Recently, several linear attention architectures, such as Mamba and RWKV, have attracted much att…

MambaSegmentation

Vision-RWKV: Efficient and Scalable Visual Perception with RWKV-Like Architectures

2024-03-04 · Yuchen Duan, Weiyun Wang, Zhe Chen, Xizhou Zhu 외

Transformers have revolutionized computer vision and natural language processing, but their high computational complexity limits their application in high-resolution image processing and long-context analysis. This paper…

image-classificationImage Classification

FRWKV:Frequency-Domain Linear Attention for Long-Term Time Series Forecasting

2025-12-08 · Qingyuan Yang, Shizhuo Deng, Dongyue Chen, Da Teng 외 arxiv

Traditional Transformers face a major bottleneck in long-sequence time series forecasting due to their quadratic complexity $(\mathcal{O}(T^2))$ and their limited ability to effectively exploit frequency-domain informati…

Time Series Forecasting