paper-with-me

Papers

UniSparse: An Intermediate Language for General Sparse Format Customization

2024-03-09 · Jie Liu, Zhongyuan Zhao, Zijian Ding, Benjamin Brock, Hongbo Rong, Zhiru Zhang

The ongoing trend of hardware specialization has led to a growing use of custom data formats when processing sparse workloads, which are typically memory-bound. These formats facilitate optimized software/hardware implementations by utilizing sparsity pattern- or target-aware data structures and layouts to enhance memory access latency and bandwidth utilization. However, existing sparse tensor programming models and compilers offer little or no support for productively customizing the sparse formats. Additionally, because these frameworks represent formats using a limited set of per-dimension attributes, they lack the flexibility to accommodate numerous new variations of custom sparse data structures and layouts. To overcome this deficiency, we propose UniSparse, an intermediate language that provides a unified abstraction for representing and customizing sparse formats. Unlike the existing attribute-based frameworks, UniSparse decouples the logical representation of the sparse tensor (i.e., the data structure) from its low-level memory layout, enabling the customization of both. As a result, a rich set of format customizations can be succinctly expressed in a small set of well-defined query, mutation, and layout primitives. We also develop a compiler leveraging the MLIR infrastructure, which supports adaptive customization of formats, and automatic code generation of format conversion and compute operations for heterogeneous architectures. We demonstrate the efficacy of our approach through experiments running commonly-used sparse linear algebra operations with specialized formats on multiple different hardware targets, including an Intel CPU, an NVIDIA GPU, an AMD Xilinx FPGA, and a simulated processing-in-memory (PIM) device.

📄 PDF Abstract BibTeX arXiv:2403.05802

Code (1)

cornell-zhang/unisparse 공식 구현

Tasks

AttributeCode GenerationCPUGPU

Methods 이 논문이 사용한 방법론

SET Dynamic Sparse Training method where weight mask is updated randomly periodically

Similar Papers 제목 키워드 기반

A Unified Sparse Attention via Multi-Granularity Compression

2025-12-16 · Siran Liu, Zane Cao, Yongchao He arxiv

Efficient long-context understanding and reasoning are increasingly vital for large language model (LLM) applications such as multi-turn dialogue and program analysis. However, the core self-attention mechanism scales qu…

Long-Context Understanding

SPARLING: Learning Latent Representations with Extremely Sparse Activations

2023-02-03 · Kavi Gupta, Osbert Bastani, Armando Solar-Lezama

Real-world processes often contain intermediate state that can be modeled as an extremely sparse tensor. We introduce Sparling, a technique that allows you to learn models with intermediate layers that match this state f…

Optical Character Recognition (OCR)

ProxyFusion: Face Feature Aggregation Through Sparse Experts

2025-09-24 · NeurIPS 2025 9 · Bhavin Jawade, Alexander Stone, Deen Dayal Mohan, Xiao Wang 외

Face feature fusion is indispensable for robust face recognition, particularly in scenarios involving long-range, low-resolution media (unconstrained environments) where not all frames or features are equally informative…

Face IdentificationFace RecognitionFace VerificationRobust Face Recognition

Segmental Advantage Estimation: Enhancing PPO for Long-Context LLM Training

2026-01-12 · Xue Gong, Qi Yi, Ziyuan Nan, Guanhua Huang 외 arxiv

Training Large Language Models (LLMs) for reasoning tasks is increasingly driven by Reinforcement Learning with Verifiable Rewards (RLVR), where Proximal Policy Optimization (PPO) provides a principled framework for stab…

Reinforcement Learning

Prox: Training-Free FFN Activation Sparsity via Approximate Intermediate-Channel Salience in LLMs

2026-07-30 · Jinyi Liu, Wei Chen, Pengyu Chen, Xinyi Yuan 외 arxiv

Feed-forward networks (FFNs) dominate memory traffic and computation in large language model (LLM) inference, making them a primary target for activation sparsification. However, existing training-free methods suffer sub…