Model Casting and Low-Parameter Gating: Towards More Sparsely Activated FFNs
원문 초록
We introduce model casting, a mid-training recipe that drastically sparsifies feed-forward network (FFN) activations to a controllable sparsity target at any model scale, enabling an explicit quality-compute trade-off. With this strategy, at inference time, we first compute the gating output, then exploit its sparsity to skip computations in the other two FFN matrices, reducing the FLOP count by up to 3x. While this theoretical speedup is an upper bound, our sparse kernels translate these theoretical savings into measured CPU and GPU speedups. We then introduce LoPA Gating, a new FFN design that lifts the maximum theoretical speedup. Its low-FLOPs parameterization overcomes the 3x cap by allocating fewer FLOPs and parameters to the gating matrix, whose computation remains dense, than to the other two FFN matrices, whose computation benefits from activation sparsity. We consider three cases: (i) sparsifying the FFNs of a standard pre-trained model, (ii) sparsifying the FFNs of a model pre-trained with LoPA Gating, and (iii) jointly sparsifying and converting the FFNs to LoPA Gating of a standard pre-trained model. As an example, at matched quality, we achieve a 3.2x FLOP speedup with LoPA Casting (ii) against 1.6x at best for competing methods top-p and TEAL. Using dedicated kernels, we achieve an actual 3.31x speed-up on GPU at 90% sparsity, past the 3x ceiling of standard gating; RELU-fication, meanwhile, plateaus below 80% sparsity.
제출 이력
확인된 버전만 표시합니다. 전체 제출 이력은 arXiv 원문에서 확인하세요.
- arXiv:2609.31975v2제출 시각 미확인
함께 살펴볼 논문
공통 태그를 근거로 연결했습니다. 실제 인용 관계나 논문의 우수성을 뜻하지 않습니다.
공통 태그로 연결된 공개 논문이 아직 없습니다.
토론
이 논문과 연결된 포럼 글이 아직 없습니다.