paper-with-me

Papers

Sparse Modular Activation for Efficient Sequence Modeling

2023-06-19 · NeurIPS 2023 11 · Liliang Ren, Yang Liu, Shuohang Wang, Yichong Xu, Chenguang Zhu, ChengXiang Zhai

Recent hybrid models combining Linear State Space Models (SSMs) with self-attention mechanisms have demonstrated impressive results across a range of sequence modeling tasks. However, current approaches apply attention modules statically and uniformly to all elements in the input sequences, leading to sub-optimal quality-efficiency trade-offs. To address this limitation, we introduce Sparse Modular Activation (SMA), a general mechanism enabling neural networks to sparsely and dynamically activate sub-modules for sequence elements in a differentiable manner. Through allowing each element to skip non-activated sub-modules, SMA reduces computation and memory consumption of neural networks at both training and inference stages. To validate the effectiveness of SMA on sequence modeling, we design a novel neural architecture, SeqBoat, which employs SMA to sparsely activate a Gated Attention Unit (GAU) based on the state representations learned from an SSM. By constraining the GAU to only conduct local attention on the activated inputs, SeqBoat can achieve linear inference complexity with theoretically infinite attention span, and provide substantially better quality-efficiency trade-off than the chunking-based models. With experiments on a wide range of tasks, including long sequence modeling, speech classification and language modeling, SeqBoat brings new state-of-the-art results among hybrid models with linear complexity, and reveals the amount of attention needed for each task through the learned sparse activation patterns. Our code is publicly available at https://github.com/renll/SeqBoat.

📄 PDF Abstract BibTeX arXiv:2306.11197

Code (1)

renll/seqboat 공식 구현 pytorch

Tasks

ChunkingLanguage ModelingLanguage ModellingLong-range modelingState Space Models

Methods 이 논문이 사용한 방법론

SMA Slime Mould Algorithm (SMA) is a new stochastic optimizer proposed based on the oscillation mode of slime mould in nature. SMA has several new features with a unique…

Similar Papers 제목 키워드 기반

A Knowledge-Driven Diffusion Policy for End-to-End Autonomous Driving Based on Expert Routing

2025-09-05 · Chengkai Xu, Jiaqi Liu, Yicheng Guo, Peng Hang 외 arxiv

End-to-end autonomous driving remains constrained by the difficulty of producing adaptive, robust, and interpretable decision-making across diverse scenarios. Existing methods often collapse diverse driving behaviors, la…

Autonomous Driving

pyFAST: A Modular PyTorch Framework for Time Series Modeling with Multi-source and Sparse Data

2025-08-26 · Zhijin Wang, Senzhen Wu, Yue Hu, Xiufeng Liu arxiv

Modern time series analysis demands frameworks that are flexible, efficient, and extensible. However, many existing Python libraries exhibit limitations in modularity and in their native support for irregular, multi-sour…

Computational EfficiencyTime Series Analysis

HiSAC: Hierarchical Sparse Activation Compression for Ultra-long Sequence Modeling in Recommenders

2026-02-24 · Kun Yuan, Junyu Bi, Daixuan Cheng, Changfa Wu 외 arxiv

Modern recommender systems leverage ultra-long user behavior sequences to capture dynamic preferences, but end-to-end modeling is infeasible in production due to latency and memory constraints. While summarizing history …

Distillation-Guided Structural Transfer for Continual Learning Beyond Sparse Distributed Memory

2025-12-17 · Huiyan Xue, Xuming Ran, Yaxin Li, Qi Xu 외 arxiv

Sparse neural systems are gaining traction for efficient continual learning due to their modularity and low interference. Architectures such as Sparse Distributed Memory Multi-Layer Perceptrons (SDMLP) construct task-spe…

Continual Learning

Robustness of Mixtures of Experts to Feature Noise

2026-01-21 · Dong Sun, Rahul Nittala, Rebekka Burkholz arxiv

Despite their practical success, it remains unclear why Mixture of Experts (MoE) models can outperform dense networks beyond sheer parameter scaling. We study an iso-parameter regime where inputs exhibit latent modular s…