arXiv AI By Zahraa Selim, Menna Hamed, Wesam Ahmed, Sohyla Said, Sara Basheer, Rami Zewail

Edge-Native Multimodal RAG: Hardware-Aware Quantization and Architectural Optimization for Consumer GPUs

Read the original on arXiv AI →

The paper introduces an edge‑native multimodal retrieval‑augmented generation (RAG) system tailored for consumer GPUs, specifically NVIDIA Turing hardware like the Tesla T4. It compares two quantization methods—GPTQ and NF4—showing that NF4 offers stable long‑context performance with acceptable latency, while GPTQ delivers higher throughput but suffers from context instability. By integrating NF4 with a decoupled Florence‑2 vision module and employing structured prompting, the authors reduce VRAM usage to 8.37 GB, cut latency by 47%, and recover mathematical accuracy from 35.0% to 92.0% in few‑shot scenarios.

Machine-generated by The Flow from the publisher's headline and feed description — not written or checked by a human. The full article lives at arXiv AI.

arXiv Machine Learning
4d ago

TriAxialKV: Toward Extreme Low-Precision KV-Cache Quantization for Agentic Inference Tasks

TriAxialKV is a mixed‑precision KV‑cache quantization scheme designed for agentic inference tasks that require long‑context, multimodal, and structured interactions. It assigns a triaxial tag to each token—capturing temporal recency, modality, and semantic role—to calibrate sensitivity and allocate INT2/INT4 bit‑widths within a fixed memory budget. Implemented as an end‑to‑end serving system with custom Triton kernels, TriAxialKV achieves the same accuracy as BF16 KV cache while providing 4.5× larger cache capacity and 30% higher throughput on real GPU systems.

By Hanzhang Shen, Haoran Wu, Yiren Zhao, Robert Mullins
arXiv AI
Nov 6

TriAttention: Unified Sparse Mixed-Precision Attention for Long-Context LLM Inference

TriAttention is a unified sparse mixed‑precision attention mechanism that assigns query‑key tiles to either skip, 4‑bit, or 8‑bit computation. It encodes each head’s computation regions with two diagonal‑distance boundaries, enabling a compact policy independent of context length. Offline calibration selects boundaries that minimize error under a shared computation budget, and during inference a fused kernel processes precision‑grouped traversals, reusing compressed key‑value caches to achieve up to 7.88× speedups over Torch attention while preserving model quality.

By Hanzhi Zhang, Qiao Zhang, Qinglei Cao, Heng Fan, Yan Huang, Kewei Sha, Yunhe Feng
arXiv Machine Learning
Sep 17

Beyond Static RAG: An Adaptive, Tri-Metric Routing Framework for Efficient Long-Context Inference on Commodity GPUs

The paper introduces the Tri‑Metric Router, a deterministic, training‑free policy that chooses among Raw, Neural, and Lexical pipelines for retrieval‑augmented generation on commodity GPUs. It uses three CPU‑side signals—spatial complexity, syntactic density, and type‑token ratio—to balance VRAM headroom and latency, calibrated on LongBench qasper. The method eliminates out‑of‑memory failures and improves alignment and F1 scores compared to always‑on lexical compression without extra VRAM or training costs.

By Saipraveen Vabbilisetty, Ajay Kumar Boddepalli, Deep Narayan Mishra, Shashank Kapadia, Haoan Wang, Anupriya Sharma
arXiv AI
Jun 4

Stochastic Sparse Attention for Memory-Bound Inference

arXiv:2605. 01910v2 Announce Type: replace-cross Abstract: Autoregressive decoding becomes bandwidth-limited at long contexts, as generating each token requires reading all $n_k$ key and value vectors from KV cache.

By Kyle Lee, Corentin Delacour, Kevin Callahan-Coray, Kyle Jiang, Can Yaras, Samet Oymak, Tathagata Srimani, Kerem Y. Camsari