ICML papers
Search ICML papers by title, author, or track. Open a paper’s abstract to read more.
Explore the ICML analysisSearch results
221–240 of 251
- ICML · Workshop · AI for Law Workshop
The Legal OCR Trust Gap: A Dual-Model Audit of OCR-Augmented Vision-Language Models on Contracts, Forms, and Korean Criminal Cases, Mechanistically Traced to Four Attention Heads
Karim Mahfouz
Abstract
In Mata v. Avianca (S.D.N.Y. 2023), attorneys were sanctioned for submitting AI-generated fictional case citations they had not verified; the resulting professional-responsibility doctrine now requires lawyers to understand the limitations of the AI tools they deploy. The standard pipeline for AI contract review feeds a vision-language model (VLM) both a document image and a separately produced OCR transcript—a deployment pattern whose mechanism-level failure modes have not been characterized. Legal practice depends on this pipeline being faithful to the original document. We audit it across three real legal benchmarks and document a conditional failure: OCR injection produces fluent, confident, professional-sounding output that does not depend on the image. On CUAD commercial contracts ($N=217$ paired items, 1,302 predictions per model), clean PaddleOCR injection produces a Bonferroni-significant trust gap on both Qwen2.5-VL-7B (+10.60pp substring, $p=6.2\times 10^{-4}$, McNemar $b=34/c=11$, OR=3.09) and InternVL3-8B (+30.41pp substring, +15.35pp ANLS, McNemar $b=71/c=5$, OR=14.2, $p<10^{-13}$). Critically, three-character adversarial edits to numerical clauses produce statistically indistinguishable gains on both models (+10.14pp and +29.49pp; McNemar nulls $p=1.00$ and $p=0.73$): adversarial OCR is treated as authoritative. The aggregate trust gap is a net average of opposing effects: OCR injection hurts items the model could already solve (Qwen $-8.53$pp on $n=129$; InternVL3 $-7.58$pp) while dramatically rescuing items it could not (Qwen +38.64pp on $n=88$; InternVL3 +47.02pp on $n=151$). On FUNSD scanned forms (pooled $N=180$), clean OCR decreases accuracy by 5.22pp ($p=3.5\times 10^{-7}$); scrambled OCR is ignored. On Korean LBox criminal-case excerpts (pooled $N=180$), Korean-OCR injection collapses the Hangul fraction of Qwen's output from 0.84 to 0.33 ($p=2.3\times 10^{-22}$): the model produces English summaries of Korean defendants and Korean courts. We localize the mechanism to four attention heads in layers 0–1 of Qwen's language backbone (L0H9, L0H17, L0H20, L1H2). Ablating these four heads rescues Korean output by +30.4pp Hangul on paired $N=30$ (Cohen's $d=+0.650$, medium); the full mechanism intervention (no OCR + ablation) recovers +63.3pp substring with McNemar $b=19/c=0$ ($p=3.8\times 10^{-6}$, Cohen's $d=+1.292$, huge). A size-matched random-head control moves in the opposite direction. The intervention does not transfer to InternVL3-8B, indicating the mechanism is wrapper-specific to the Qwen2.5-VL family. We map all three failures to EU AI Act Article 15 conformity obligations, ABA Formal Opinion 512 competence duties, and NIST AI RMF measurement controls, and provide three concrete checks for procurement officers. All raw predictions, statistics, and code are released under permissive license.
Abstract source - ICML · Workshop · AI for Law Workshop
Domain-Adapted Hybrid Mamba–Attention SLM for Legal Billing Review: A Cost-Effective Alternative to Frontier APIs
Venkata Sree Karthikeya Gattupalli
Abstract
Domain-specialized small language models can approach frontier-API quality at a fraction of the inference cost, but the evidence is mostly from single-field extraction. We test whether adapter-only specialization holds on a full operational pipeline, through outside-counsel legal-billing review. We train a rank-256 LoRA adapter on nvidia/Nemotron-Elastic-12B, a 12B hybrid Mamba–attention base, interleaving a multi-gigabyte legal-billing corpus 75/25 with Tulu-3-SFT, the first LoRA continued-pretraining recipe we know of for this hybrid family. On a 531-record held-out benchmark spanning nine operational task types, the adapter reaches 74.0% decision-match, statistically level with the mid-tier zero-shot frontier (Gemini 3.1 Pro 77.9%, Claude Sonnet 4.6 77.5%; overlapping 95% CIs) and 8.4 points behind GPT-5.5 (82.4%), at \$0.50 per 1,000 bills against \$6.75–\$22.50 for the panel. On the schema-specific audit_state.event field every frontier model scores 0% even with three in-context exemplars, evidence that the vocabulary advantage is a property of fine-tuning, not a zero-shot artifact. We also measure a specialization cost: structured-output discipline regresses sharply (15% of format probes emit valid JSON, all code-correct when they do), even as the model retains moderate domain knowledge (46%). We release the recipe, the evaluation harness, the held-out set, and per-record predictions; the trained adapter weights and corpus are available on request for non-commercial use.
Abstract source - ICML · Workshop · 3rd AI for Math Workshop: Toward Self-Evolving Scientific Agents
From Table to Cell: Attention for Better Reasoning with TABALIGN
Tung Sum Thomas Kwok, Zeyong Zhang, Xinyu Wang, Chunhe Wang, Xiaofeng Lin, Hanwei Wu, Lei Ding, Guang Cheng, Zhijiang Guo
Abstract
Multi-step LLM reasoning over structured tables fails because planning and execution share no explicit cell-grounding contract. Existing methods constrain the planner to a left-to-right factorization at odds with table permutation invariance, and score intermediate states by generated content alone, overlooking cell grounding. We conduct a pilot study showing that diffusion language models (DLMs) produce more human-aligned and permutation-stable cell attention on tables than autoregressive models, with a 40.2% median reduction in attention-AUROC variability under row reordering. Motivated by this, we propose TABALIGN, a planned table reasoning framework that operationalizes the contract. TABALIGN pairs a masked DLM planner, whose bidirectional denoising emits plan steps as binary cell masks, with TABATTN, a lightweight verifier trained on 1,600 human-verified attention standards to score each step by its attention overlap with the plan-designated mask. Across eight benchmarks covering table question answering and fact verification, TABALIGN improves average accuracy by 15.76 percentage points over the strongest open-source baseline at comparable 8B-class scale, with a matched-backbone ablation attributing 2.87 percentage points of this gain to the DLM planner over an AR planner on a fixed reasoner. Cleaner DLM plans also accelerate downstream reasoning execution by 44.64%.
Abstract source - ICML · Workshop · Efficient Multimodal Question Answering
[Archival] Detection-Guided Attention Steering for Vision Language Models
Alan W Zhang, Rui Pan, Mike Wong, Ravi Netravali
Abstract
Modern Vision Language Models (VLMs) have demonstrated remarkable versatility in a wide range of applications, including multimodal reasoning, captioning, and analysis. However, VLMs still struggle with the fundamental tasks of object detection and localization, especially when compared to traditional Convolutional Neural Network (CNN) models. Contemporary VLMs tend to allocate very scarce attention to non-textual inputs such as image tokens and lack the inductive biases present in CNNs, making it difficult for them to identify challenging objects in complex scenes. To address these limitations, we propose a detection-guided dynamic attention steering system that leverages the locality insight from CNNs to efficiently steer a VLM's attention toward more relevant sections of an image. The steering intensity during each inference is dynamically scaled according to the confidence of CNN-generated bounding boxes. Extensive evaluations across multiple state-of-the-art VLMs show substantial improvements on object localization-oriented benchmarks, achieving up to a 4% accuracy gain. Results demonstrate the effectiveness of combining different model architectures to harness their respective strengths for advancing VLM capabilities.
Abstract source - ICML · Workshop · Foundation Models for Structured Data
Benchmarking Attention for Tabular Foundation Models
Maximilian Schambach, Clemens Biehl, Sam Thelin
Abstract
Tabular in-context learners such as TabPFN rely on alternating row and column attention over 2D sequences of latent embeddings. These attention patterns differ markedly from the one-dimensional case in language models: row attention involves longer sequences while column attention operates on much shorter ones. Furthermore, the strided memory layout of the data makes producing contiguous tensors costly. Yet efficient attention has been studied mostly for one-dimensional sequences, leaving the two-dimensional tabular setting unexplored. To this end, we study the unique characteristics of tabular attention and benchmark different backends -- Torch SDPA (efficient and cuDNN) and FlashAttention-2, 3, and 4 -- measuring throughput across realistic tabular shapes on an H100 GPU. We find that the optimal choice differs between column and row attention: cuDNN-based SDPA dominates column attention at short-to-medium sequence lengths, while FlashAttention-3 dominates row attention by supporting a more compact stride layout directly, avoiding costly tensor copies.
Abstract source - ICML · Workshop · Foundation Models for Structured Data
Text-Attention Guided In-Context Forecasting for Multimodal Time Series Prediction
Yuyan Guo, Mingzhe Zhang, Vishwesh Ramanathan, Maryam Motamedi, Nafiseh Ghoroghchian, Shuyi Han, Alex Labach, Anthony Caterini, Yi Sui
Abstract
Real-world time series forecasting often contains both numerical histories and textual context, such as news, reports, or event descriptions. Existing multimodal forecasting methods typically incorporate text through LLM-based prompting or representation-level fusion, which presents a modelling challenge when textual signals are heterogeneous, noisy and unevenly informative. We propose TAG-ICF, a text-attention guided in-context learning (ICL) forecasting framework that uses a frozen, pretrained ICL backbone for numerical prediction while using text to modulate attention over historical examples. Textual inputs are analyzed using LLMs and embedded as lagged features to compute query-context relevance scores, serving as an attention gate that prioritizes contextually relevant historical patterns. TAG-ICF consistently outperforms all multimodal baselines across nine datasets, yielding superior average ranks of 1.50 and 1.22 in MSE and MAE, respectively. Our framework surpasses numerical-only ICL on nearly all datasets and delivers up to 23.94% MAE improvement relative to the strongest competing methods in diverse settings.
Abstract source - ICML · Workshop · Foundation Models for Structured Data
Where Computation Lives Inside TabPFN: Causal Localisation of Attention Head Function
Atharva Gupta, Dhruv Kumar, Murari Mandal, Saurabh Deshpande
Abstract
We present the first causal mechanistic analysis of a tabular foundation model, investigating how TabPFN 2.5’s feature wise attention heads distribute computation across layers. Using activation patching, ablation, and attention entropy across two synthetic regression datasets, we find clear temporal specialisation: one head’s causal necessity dominates that of the others by 2 to 5 times at peak layer, with its dominant layer shifting across tasks of different complexity, while the remaining heads exhibit symmetric late layer profiles. Attention entropy and patching provide convergent evidence for the computationally active layers of the dominant head. We additionally investigate inference time steerability via contrastive activation steering, which fails to transfer across samples. We attribute this result to TabPFN’s in context learning mechanism, which encodes task structure through context dependent attention rather than the stable parametric directions that make steering tractable in language models.
Abstract source - ICML · Workshop · Structured Data for Health
Learning Extremely Sparse Signals in High-Dimensional Cell-Free DNA Data Using Modern Hopfield Attention for Colorectal Cancer Detection
Michael Widrich, Anooj Patel, Elisabeth Rumetshofer, Peter Ulz, Kaitlyn Coil, Thomas Royce, Cheng-Ho J Lin, Richard Bourgon, Anindita Dutta
Abstract
Next generation sequencing-based early detection of colorectal cancer from cell-free DNA (cfDNA) is a clinically important supervised learning problem on complex molecular data with extraordinarily sparse signal. It presents an extreme-scale multiple instance learning challenge: identifying rare tumor signals from high-dimensional, multi-resolution data with millions of instances per sample and witness rates as low as $<$0.0001\%. We propose Fragment-Level Deep Learning (FLDL), an end-to-end deep learning framework utilizing Modern Hopfield Networks to perform dense associative retrieval over the massive instance space. Using held-out real-world clinical and challenging contrived test sets, we compare FLDL's performance to a state-of-the-art machine learning model and to a deep learning model without attention (max pooling) . Our results demonstrate that only the attention-based FLDL model outperforms the machine learning model, in spite of a modest training set size ($n = 4,394$). FLDL also scales effectively with sample size and with number of instances per sample while offering useful biological insights due to the interpretability of its attention weights and intermediate learned representations. This work establishes a new frontier for highly scalable, attention-based deep learning in the field of clinical cfDNA diagnostics.
Abstract source - ICML · Workshop · Structured Data for Health
End-to-End Diffusion Modeling for Clinical EEG Abnormality Detection with Spatial Filtering and Attention
Jae-Pil Lee, Jin-Young Chung, Wiha Choi, Jaeho Jang, Hyang-Sook Hoe, Hyun-Chul Kim
Abstract
Automated interpretation of clinical electroencephalography (EEG) is challenging due to signal heterogeneity, noise contamination, and inter-subject variability. We propose DiffSA-EEG, a diffusion-based EEG classification framework that integrates learnable spatial filtering, stacked denoising autoencoders (SDA), and convolutional block attention modules (CBAM) within an end-to-end discriminative pipeline. Unlike prior diffusion-based EEG studies that focus on data generation or augmentation, our framework leverages denoising diffusion probabilistic models (DDPMs) directly for discriminative classification as a feature regularizer. We evaluate DiffSA-EEG on two large-scale clinical EEG corpora: the Temple University Hospital Abnormal EEG Corpus (TUAB) and the Temple University Epilepsy Corpus (TUEP). DiffSA-EEG consistently outperforms established baselines—including EEGNet, Deep4Net, ChronoNet, temporal convolutional networks, and the Diff-E backbone—across accuracy, AUC-ROC, and AUC-PR. Ablation analyses reveal that optimal component combinations are dataset-dependent: spatial filtering with SDA is most effective for TUAB, while SDA with CBAM yields superior performance on TUEP. Grad-CAM-based interpretability analysis further shows that the model captures clinically plausible spatial patterns aligned with established neurophysiological biomarkers.
Abstract source - ICML · Workshop · Structured Data for Health
Learning from Bilateral PPG via Cross-Site Attention and Knowledge Distillation
Thamilezai Ananthakumar, Hung Manh Pham, Dong Ma, Archan Misra, Thivya Kandappu
Abstract
Accurate heart rate estimation from wrist-worn photoplethysmography (PPG) during sports is challenging due to motion artifacts and asymmetric signal quality across wrists. Existing methods typically rely on single-wrist sensing and hand-crafted quality measures, overlooking complementary bilateral information. We propose an end-to-end bilateral PPG framework that jointly models both wrists using dual PapaGei encoders, SQI-conditioned temporal gating, and cross-wrist self-attention to emphasize cleaner signals. Evaluated on a bilateral sports dataset spanning six activities and 30 subjects with ECG ground truth, the model achieves 2.85 bpm MAE and r = 0.96, outperforming unilateral baselines. To improve deployability, we further introduce a knowledge distillation framework that transfers bilateral motion-compensation priors into a single-wrist EfficientNet-1D student. The distilled student achieves 2.79 bpm and 3.72 bpm MAE on the non-dominant and dominant wrist, respectively, surpassing corresponding unilateral baselines while requiring only one sensor at inference. These results establish bilateral PPG as an effective training paradigm for robust single-wrist heart rate estimation under motion.
Abstract source - ICML · Workshop · AdaptFM: Resource-Adaptive Foundation Model Inference
On State Reduction in Linear Attention
Philipp Nazari, T. Konstantin Rusch
Abstract
Linear attention offers a computationally efficient yet expressive alternative to softmax attention. However, recent empirical results indicate that the hidden state of trained linear attention models often exhibits a low-rank structure, suggesting that these models underexploit their capacity in practice. To illuminate this phenomenon, we provide a theoretical analysis of the role of rank in linear attention, revealing that low effective rank can amplify query noise during readout from the associative memory. In addition to these theoretical insights, we conjecture that the low-rank states can be substantially reduced post-training with only minimal performance degradation, yielding faster and more memory-efficient models. To this end, we propose a novel hardware-aware approach that structurally prunes key and query matrices, reducing the state size while retaining compatibility with existing kernels. We adapt several existing pruning strategies to fit our framework and, building on our theoretical analysis, propose a novel structured pruning method based on a rank-revealing QR decomposition. Our empirical results, evaluated across models of varying sizes and on various downstream tasks, demonstrate the effectiveness of our state reduction framework.
Abstract source - ICML · Workshop · AdaptFM: Resource-Adaptive Foundation Model Inference
Dropping the Anchor: Statistical Context Summarization for Distributed Systems via Pulsar Attention
Aryan Sood, Shantanu Acharya
Abstract
Inference with large language models (LLMs) on long sequences is computationally expensive due to the quadratic complexity of self-attention. Distributed blockwise methods such as Star Attention reduce this cost by sharding context across hosts, but rely on prepending a static, content-blind copy of the first block to every host. We propose Pulsar Attention, which replaces the static anchor with two lightweight, content-aware components: a small attention-sink prefix that stabilizes softmax, and compact cross-block summaries built via a Max-IDF heuristic that selects chunks containing globally rare tokens. This reduces the Phase 1 per-GPU FLOPs by up to 3.3$\times$ over Star Attention while retaining an identical KV cache footprint. On RULER and BABILong with Llama-3.1-8B, Pulsar Attention outperforms both Star Attention and dense attention at sequence lengths up to 128K tokens, with absolute gains of up to 4.7\% over the dense baseline.
Abstract source - ICML · Workshop · AdaptFM: Resource-Adaptive Foundation Model Inference
NOSA: Native and Offloadable Sparse Attention
Yuxiang Huang, Pengjie Wang, Jicheng Han, Weilin Zhao, Zhou su, Sun Ao, Lyu Hongya, Hengyu Zhao, Yudong Wang, Chaojun Xiao, Xu Han, Zhiyuan Liu
Abstract
Decoding throughput is often limited by GPU memory dominated by the KV cache. Existing KV cache offloading reduces memory by storing context on CPU and fetching sparse KV subsets, but training-free methods suffer from long-generation quality degradation, while trainable sparse attention incurs excessive CPU--GPU transfers. We propose NOSA, a trainable sparse attention mechanism natively designed for KV cache offloading. NOSA constrains CPU--GPU KV transfer volume to lower communication overhead and improve throughput. We further build NOSI, an offloading inference system that realizes NOSA's efficiency. Experiments on {1,3,8}B LLMs show that NOSA improves quality across general, long-input, and long-generation tasks, while boosting decoding throughput by up to $5.04\times$, $1.92\times$, and $1.83\times$ over FullAttn, InfLLMv2, and ShadowKV.
Abstract source - ICML · Workshop · AdaptFM: Resource-Adaptive Foundation Model Inference
Reducing Attention Distribution Error with Unified Tail Aggregation for Sparse Attention
Hyunwoo Yu, Jongbeom Lee, Jaemin Choi, Jincheol Yang, Yubin Cho, NAM JOONSIK, Seunghun Moon, Jung-Woo Chang, Bongjoon Hyun, Kyomin Sohn, Kyeongbo Kong, Suk-Ju Kang
Abstract
While Diffusion Transformers (DiTs) deliver remarkable visual quality in video generation, the massive computational overhead of 3D spatio-temporal attention limits their scalability. To evaluate and optimize sparse attention mechanisms, existing studies predominantly rely on the Top-$K$ Oracle Policy. However, this approach employs rigid truncation that naively discards the continuous tail of the attention distribution, introducing structural errors that degrade temporal consistency during iterative diffusion processes. To address this fundamental flaw, we provide an oracle analysis of these distributional shifts and introduce a novel Low-Delta Oracle Policy. Building on a mathematical proof demonstrating that sparse attention achieves zero error when grouping identical attention scores, our approach prioritizes the structural integrity of the entire attention distribution. As a promising correction mechanism, we propose a Unified Tail Aggregation (UTA) method. By aggregating logits where the score variance is bounded by a marginal delta, UTA supplements a single aggregated logit to restore the attention distribution. Extensive empirical evaluations demonstrate that our approach significantly outperforms the Top-$K$ oracle, achieving up to a 97.4\% reduction in mean squared error (MSE) at a 50\% sparsity level. By establishing a tighter theoretical upper bound, this work provides a rigorous foundation for evaluating and stabilizing future sparse attention systems.
Abstract source - ICML · Workshop · AdaptFM: Resource-Adaptive Foundation Model Inference
Hybrid Linear Attention Done Right: Efficient Distillation and Effective Architectures for Extremely Long Contexts
Yingfa Chen, Zhen Leng Thai, Zihan Zhou, Zhu Zhang, Xingyu Shen, Shuo Wang, Chaojun Xiao, Xu Han, Zhiyuan Liu
Abstract
Hybrid Transformer architectures, which combine softmax attention blocks and recurrent neural networks (RNNs), have shown a desirable performance-throughput tradeoff for long-context modeling, but their adoption and studies are hindered by the prohibitive cost of large-scale pre-training from scratch. Some recent studies have shown that pre-trained softmax attention blocks can be converted into RNN blocks through parameter transfer and knowledge distillation. However, these transfer methods require substantial amounts of training data (more than 10B tokens), and the resulting hybrid models also exhibit poor long-context performance, which is the scenario where hybrid models enjoy significant inference speedups over Transformer-based models. In this paper, we present HALO (Hybrid Attention via Layer Optimization), a pipeline for distilling Transformer models into RNN-attention hybrid models. We then present HypeNet, a hybrid architecture with superior length generalization enabled by a novel position encoding scheme (named HyPE) and various architectural modifications. We convert the Qwen3 series into HypeNet using HALO, achieving performance comparable to the original Transformer models while enjoying superior long-context performance and efficiency. The conversion requires just 2.3B tokens, less than 0.01% of their pre-training data
Abstract source - ICML · Workshop · AdaptFM: Resource-Adaptive Foundation Model Inference
MatMLA: Matryoshka Multi-Head Latent Attention
Kevin Li, Berlin Chen, Caitlin Wang, Aakash Lahoti, Albert Gu, Tri Dao
Abstract
Language models are increasingly deployed under diverse inference constraints, from low-latency interactive serving to higher-quality generation with larger compute budgets. Matryoshka-style Transformers address this setting by exposing multiple compute-quality operating points within a single set of weights, avoiding the need to train, store, and serve separate models for each budget. In parallel, multi-head latent attention (MLA) improves autoregressive decoding by replacing full per-head Key-Value (KV) caches with a compact latent cache. These ideas target complementary aspects of inference efficiency: Matryoshka controls the compute budget, while MLA controls the cache footprint. We introduce Matryoshka Multi-Head Latent Attention (MatMLA), a Matryoshka-style extension of MLA that exposes multiple attention-head budgets within a single latent-attention module. MatMLA inherits the compact KV cache of MLA while adding the nested sub-model structure of Matryoshka-style attention. This also resolves a key limitation of nested Multi-Head Attention (MHA): varying the active head count during inference requires irregular KV-cache layouts or full caches with inactive heads, whereas MatMLA's fixed-size latent cache gives all sub-models a shared memory format. We show that a 210M-parameter MatMLA model trained on 4.2B FineWeb-Edu tokens with nested head budgets of 12, 8, and 4 heads achieves perplexities close to the corresponding fixed-head MLA baselines, while preserving MLA's compact KV cache and enabling a shared nested parameterization across compute budgets.
Abstract source - ICML · Workshop · AdaptFM: Resource-Adaptive Foundation Model Inference
StreamAttention: Energy-Efficient and High-Utilization Attention on Systolic Hardware
Olav Førland, H. T. Kung
Abstract
Attention computation represents the dominant cost in modern transformers as it grows quadratically with the sequence length. FlashAttention [Dao et al., 2022] cuts the memory cost through tiling and online softmax computation. But the underlying hardware itself remains the bottleneck. Modern accelerators are optimized for matrix multiplication, while the non-linear softmax operation is typically offloaded to much lower-throughput vector units, leading to pipeline stalls. We present StreamAttention, an accelerator co-designed with FlashAttention-2 [Dao, 2023] that sustains continuous streaming of operands on a single systolic array of multiply-accumulate (MAC) units. We map online attention to MAC recurrences that fit the systolic dataflow exactly, and evaluate the softmax exponential as a Chebyshev polynomial with the same MAC units. A four-stage pipeline overlaps every attention phase with no idle cycles between tiles, keeping operands continuously streaming through the array. StreamAttention achieves 95–98% utilization against $\sim$40% for the closest peer SystolicAttention [Lin et al., 2025]. We demonstrate that the Chebyshev approximation has negligible impact on Llama-3.2-1B (WikiText-103 Perplexity), ViT-Base (ImageNet Top-1), and BERT-Large (SQuAD F1). Furthermore, fusing softmax onto the array eliminates per-tile SRAM round-trips of the score and softmax matrices, cutting per-layer attention energy by up to $\sim$2.8$\times$ and average attention power by up to $\sim$2.9$\times$ compared to our baseline. This comes at the cost of a $\sim$34% area overhead and +6% power on pure matrix multiplication over a standard systolic-based matrix unit. We synthesize against the open source SkyWater 130 nm process design kit for area and power, and SRAM energies are from CACTI 7 at 90 nm.
Abstract source - ICML · Workshop · AdaptFM: Resource-Adaptive Foundation Model Inference
Sigmoid Attention as a Better Substrate for Learned KV Cache Eviction
Isaac Li
Abstract
Learned KV-cache eviction often faces a soft-to-hard mismatch: during training, differentiable gates typically attenuate token contributions, whereas inference saves memory only when KV entries are physically removed. We ask whether the attention substrate affects this soft-to-hard transition. Using GPT-2-scale Transformers trained on OpenWebText, we run a controlled $2\times2\times2$ comparison over attention type, learned gating, and positional encoding. Although sigmoid attention is worse as a dense language model, learned hard eviction changes the useful operating points: sigmoid-gated models delete KV entries with negligible PPL change relative to their own no-eviction references. Under a matched live-cache protocol on the same dense backbones, learned sigmoid gates obtain lower PPL than our H$_2$O and KeyDiff implementations, whereas softmax gates do not uniformly beat these post-hoc methods. The results suggest that attention normalization can substantially affect whether a training-time soft gate transfers cleanly to hard KV deletion.
Abstract source - ICML · Workshop · AdaptFM: Resource-Adaptive Foundation Model Inference
WildCat: Near-Linear Attention in Theory and Practice
Tobias Schröder, Lester Mackey
Abstract
We introduce WildCat, a high-accuracy, low-cost approach to compressing the attention mechanism in neural networks. The attention mechanism is notoriously expensive to deploy due to resource requirements that scale quadratically with the input sequence length $n$. WildCat avoids these quadratic costs by only attending over a small weighted coreset. WildCat runs in near-linear $O(n^{1+o(1)})$ time while guaranteeing super-polynomial $O(n^{-\sqrt{\log(\log(n))}})$ error decay compared to exact attention. This property enables adapting the runtime parameter at the time of deployment depending on resource constraints and quality requirements. In contrast, prior practical approximations either lack error guarantees or require quadratic runtime to guarantee such high fidelity. We couple this advance with a GPU-optimized PyTorch implementation and a suite of benchmark experiments demonstrating the benefits of WildCat for image generation, image classification, and language model KV cache compression.
Abstract source - ICML · Workshop · AdaptFM: Resource-Adaptive Foundation Model Inference
A3: an Analytical Low-Rank Approximation Framework for Attention
Jeffrey T. H. Wong, Cheng Zhang, Xinye Cao, Pedro Gimenes, Christos-Savvas Bouganis, George Constantinides, Wayne Luk, Aaron Zhao
Abstract
Large language models have demonstrated remarkable performance; however, their massive parameter counts make deployment highly expensive. Low-rank approximation offers a promising compression solution, yet existing approaches have two main limitations: (1) They focus on minimizing the output error of individual linear layers, without considering the architectural characteristics of Transformers, and (2) they decompose a large weight matrix into two small low-rank matrices. Consequently, these methods often fall short compared to other compression techniques like pruning and quantization, and introduce runtime overhead such as the extra GEMM kernel launches and memory operations for decomposed small matrices. To address these limitations, we propose $A^3$, a post-training low-rank approximation framework. $A^3$ splits a Transformer layer into three functional components, namely $\texttt{QK}$, $\texttt{OV}$, and $\texttt{MLP}$ provides analytical solutions that reduces the hidden dimension size inside each component while minimizing the component's functional loss. This approach directly reduces model sizes, KV cache sizes, and FLOPs without introducing any runtime overheads. Through extensive experiments, we show that $A^3$ maintains superior performance compared to SoTAs. For example, under the same reduction budget in computation and memory, our low-rank approximated LLaMA 3.1-70B achieves a perplexity of 4.69 on WikiText-2, outperforming the previous SoTA's 7.87 by 3.18. We also show versatile applications of $A^3$ in KV cache compression, integration with quantization, fine-tuning and mixed-rank assignments.
Abstract source