Papers for

cloud ai service teams

Papers whose findings have a practical use for this group, as judged from the abstract. Open a paper to read what it means in practice.

LoRA fine-tuning saves resources by focusing on task key layers

Mechanistic Insights into LoRA: Layer Sparsity for Adaptive Fine-Tuning via Path Patching

Abstract: Low-Rank Adaptation (LoRA) has emerged as the dominant paradigm for parameter-efficient fine-tuning of large language models. Standard all-layer LoRA applies adaptation throughout the transformer, despite heterogeneous contributions from its components. In this work, we conduct a systematic mechanistic interpretability analysis to understand how LoRA affects model internals. We observe that LoRA's adaptation effect is highly non-uniform, with significant component-wise and layer-wise sparsity. Most critically, we find that important layers are highly task-dependent, with limited overlap across tasks. Motivated by these insights, we propose Adaptive-LoRA, a calibration-driven method that automatically identifies task-specific layers via frozen-base zero-ablation, enabling efficient layer selection without exhaustive search. Extensive experiments on Qwen2.5-1.5B across 11 diverse reasoning tasks demonstrate that Adaptive-LoRA outperforms full-layer LoRA while using only 30% of layers, achieving a $3.5\times$ reduction in adapter parameters. This work bridges mechanistic interpretability and practical efficiency, providing both fundamental insights and a principled approach for adaptive fine-tuning.

Mon 26 OctMachine LearningComputation and Language
The gist
Fine-tuning big language models usually changes all parts of the model, which can be inefficient. The authors find that only some layers really change a lot, and which layers matter depends on the task. They design a method called Adaptive-LoRA that picks just the task-important layers to fine-tune automatically. This method uses fewer resources but works better than fine-tuning all layers equally. Their experiments show it can reduce parameters by over three times while improving performance on multiple reasoning tasks.
Open → 2610.34756v1

Adaptive decoding boosts speed for vision language models

SP$^2$ec: Adaptive Self-Speculative Decoding for Vision-Language Models

Abstract: Speculative Decoding (SD) has demonstrated its efficacy in accelerating large language model inference, but for Vision-Language Models (VLMs), the diverse input modalities make it difficult for a small trained drafter to achieve consistently high throughput. Self-speculative decoding reuses parts of the target model as a drafter which retains the multi-modal capability of the VLMs, yet its efficiency depends on choosing a suitable draft configuration for each prompt. We propose Single-Peak SPeculative decoding (SP$^2$ec), a training-free bandit algorithm that adapts the draft configuration during generation. SP$^2$ec exploits the single-peak throughput pattern observed in existing self-speculative methods, including SWIFT, KnapSpec, SpecVLM, and our simple cosSim. Our algorithmic design explicitly minimizes a novel notion of wall-time regret for each given query, corresponding to the empirical wall-time latency. Theoretical guarantees on the wall-time regret show that SP$^2$ec can exploit the optimal draft configuration, with negligible exploration cost. Extensive experiments on Qwen2.5-VL-7B-Instruct and LLaVA-NeXT-Mistral-7B across visual and textual tasks show consistent improvements of up to 11\% over the original self-speculative methods, demonstrating the wide applicability of the proposed SP$^2$ec algorithm.

Tue 13 OctMachine Learning
The gist
Vision-language models combine pictures and words to understand content, but speeding up their responses is tricky because inputs vary a lot. The authors propose SP$^2$ec, a clever method that adjusts decoding steps on the fly to find the fastest way to generate answers without extra training. This approach builds on earlier decoding tricks and uses a smart trial-and-error algorithm to reduce waiting time for each question. Their tests show it consistently speeds up model responses by up to 11 percent on different tasks involving images and text.
Open → 2610.18735v1

LoopQuant improves low-bit efficiency for looped transformer models

LoopQuant: Accurate and Efficient Post-Training Quantization for Looped Transformers

Abstract: Looped Language Models (LoopLMs) improve parameter efficiency by recursively reusing shared Transformer modules, yet their repeated computation over evolving recurrent states poses new challenges for low-bit deployment. Existing post-training quantization (PTQ) methods, largely designed for feed-forward Transformers, fail to account for cross-loop activation dynamics, heterogeneous loop sensitivity, and recursive error propagation, leading to substantial performance degradation at low precision. To address these challenges, we propose LoopQuant, a loop-aware PTQ framework for accurate and efficient low-bit quantization of LoopLMs. LoopQuant is built on three core components: 1) Cross-Loop Distribution Canonicalization (CLDC) learns a shared quantization-friendly representation across recurrent states while preserving parameter sharing; 2) Interaction-Aware Loop-wise Precision Allocation (ILPA) allocates activation precision under a fixed bit budget by modeling task-level loop sensitivity and cross-loop interactions; and 3) Loop-Conditioned Task Calibration (LCTC) further aligns quantized inference with the low-bit recursive trajectory through lightweight task-space calibration. Extensive experiments across LoopLM architectures demonstrate that LoopQuant consistently outperforms existing low-bit PTQ methods. On Ouro-2.6B, LoopQuant under W4A4 surpasses all W4A8 baselines in performance, while reducing model memory by 65.3% with only 3.4% additional storage overhead over naive INT4 and achieving a 1.7 times decoding speedup over BF16. These results demonstrate a strong balance among accuracy, compression, and inference efficiency, providing a practical and deployment-friendly solution for low-bit LoopLM inference. The code is available at [https://github.com/Kishon-zzx/LoopQuant].

Mon 12 OctMachine LearningArtificial Intelligence
The gist
Looped Language Models reuse the same parts repeatedly to save memory, but this repetition makes it hard to shrink them into small, low-bit formats without losing accuracy. The authors present LoopQuant, a new method that carefully adjusts how these models are compressed by understanding their looping nature. This approach keeps the models accurate, reduces memory use significantly, and speeds up their operation compared to standard methods. Their tests show it works well across different looped models, making it easier to run these advanced models on devices with limited resources.
Open → 2610.16368v1

Small-world patterns in AI models predict better reasoning skills

Looking Inside LLMs: Small-World Connectivity as a Signature of Reasoning Performance

Abstract: Understanding large language model (LLM) reasoning requires looking beyond behavioral performance to examine how reasoning ability is reflected in internal organization. Inspired by neuroscience findings linking higher intelligence to stronger small-world organization in functional brain networks, we investigate small-world connectivity as a structural signature of LLM reasoning. We construct functional graphs from attention-head activation similarities and find that a higher small-world index (SWI), capturing local clustering and short global paths, consistently correlates with better fluid reasoning performance across models and training checkpoints. Since local clustering is central to small-world organization, we further examine how heads important for model performance connect within and across communities. We find that these heads tend to have a larger share of connection weight within their own communities (high core scores) and a more concentrated weight distribution across communities (low bridge scores). These observations motivate the hypothesis that high core and low bridge scores serve as structural indicators of head importance for reasoning capability. We validate this hypothesis through pruning, introducing Small-World Allocation (SWA), a hierarchical sparsity allocation method guided by these scores. Across six LLMs, SWA better preserves small-world organization and model performance than competing allocation strategies, reducing WikiText perplexity by up to 20%. Together, these findings identify small-world functional connectivity as a measurable signature of LLM reasoning performance, offering a structural perspective that complements behavioral evaluation.

Thu 8 OctArtificial Intelligence
The gist
Figuring out how large language models (LLMs) think is tricky, so these authors looked inside the models instead of just at their answers. They found that models whose internal connections look like 'small worlds'—lots of tight groups linked by short steps—tend to reason better. The researchers studied specific parts of the model, called heads, and saw that important ones stick closely in groups rather than connecting widely. Using this insight, they came up with a way to prune the model that keeps its reasoning ability strong while making it simpler.
Open → 2610.12304v1

Activation aware preconditioning improves tensor compression of large AI models

Activation-Aware Weight Tensorization: A Calibration-Time Preconditioner for Tensor-Network LLM Compression

Abstract: Post-training tensor-network compression replaces Transformer linear layers with Tensor Train (TT) or Tree Tensor Network (TTN) operators, but standard decompositions minimize weight-space Frobenius error rather than functional error under the layer's activation distribution. We propose Activation-aware Weight Tensorization (AWT), a training-free calibration wrapper that preconditions each weight matrix with a diagonal activation-derived scale before an unchanged TT/TTN solver and deploys the result with only an input-side elementwise rescaling. Across Llama 3.1 8B, Ministral 8B, and Qwen2.5 7B, AWT consistently improves vanilla TT/TTN tensorization at 2-6 times compression: under single-operator replacement, AWT closes 12-35% of the WikiText perplexity gap to the dense baseline across the three model families and 2-6 times compression settings; while under multi-operator Llama suffix replacement it closes 27-60% across attention-group and all-seven-matrix settings. The gains also transfer to downstream HellaSwag and ARC-Challenge evaluations. We further show that diagonal preconditioning is a robustness-modularity tradeoff rather than a diagonal-covariance assumption: a dense full-covariance oracle wins its own weighted objective in 80/81 cases, yet diagonal AWT gives better held-out functional fidelity in 53/81 cases. Together, these results position AWT as a principled, modular preconditioner for improving functional fidelity in fixed TT/TTN compression pipelines without modifying the decomposition solver.

Wed 7 OctMachine LearningArtificial Intelligence
The gist
Large language models use huge matrices to handle language tasks, but these can be compressed using tensor techniques to save space. The usual methods care only about matching the stored numbers, not how these changes affect the model’s output with real inputs. The authors introduce a simple pre-step that adjusts the weights based on how the model actually behaves, improving how well the compressed model works without retraining. This approach helps keep the model’s results closer to the original, even after strong compression, and works across different large models and tasks.
Open → 2610.10085v1

Kv cache compression keeps language model outputs stable

Behavior-Preserving KV Cache Compression

Abstract: KV caches are a major bottleneck in long-context inference and long-form generation with large language models. Existing training-free eviction policies largely rely on proxy importance signals, such as attention mass, to decide which past tokens to retain. We argue that cache compression should instead preserve the predictive behavior of the full-cache model, retaining entries whose removal would substantially change the model's output distribution. We propose Behavior-Preserving KV Cache Compression, a training-free framework that scores candidate evictions by estimating the compressed-cache logits induced by their removal and evaluating the resulting KL to the full-cache next-token distribution. Using pre-eviction forward statistics, the method avoids running separate masked forward passes for each candidate. Across diverse architectures and both prefill-time and generation-time compression, our method delivers substantial gains in downstream task quality over lightweight attention-based heuristics at matched retained-KV budgets, with the largest gains under aggressive compression. It achieves these gains with additional compression-time computation while retaining an end-to-end speedup over full-cache inference in our evaluated settings.

Mon 5 OctComputation and Language
The gist
Large language models need to remember past information to understand or generate long texts, but storing all this past data can slow them down. The paper introduces a way to shrink the memory by removing parts that won't change the model’s next word guesses much. Instead of guessing importance by indirect signals, this method checks what happens to the model’s prediction if a memory part is removed. This approach helps keep model predictions accurate while making the process faster and using less memory.
Open → 2610.06479v1

Vision language model pruning boosts speed retaining most performance

TReVS: Integrating Textual Relevance and Visual Saliency for Efficient Vision-Language Model Token Pruning

Abstract: Vision-Language Models (VLMs) excel at visual understanding and reasoning but often incur substantial inference costs due to the large number of visual tokens. Recent visual token pruning methods increasingly follow a two-stage paradigm: they first remove visually redundant tokens after the vision encoder and then discard tokens irrelevant to the textual query within the Large Language Model (LLM). However, since the first stage typically relies solely on vision-encoder saliency, it may prematurely eliminate query-relevant tokens, depriving the subsequent text-guided stage of critical visual evidence. Our empirical analysis shows that incorporating query guidance into first-stage pruning better preserves task-relevant evidence and consistently improves performance over vision-only saliency-based pruning. We further find that high-variance attention heads are more sensitive to the textual query and yield more discriminative text-to-vision attention signals for second-stage pruning. Motivated by these findings, we propose TReVS, a training-free framework that combines textual relevance with vision-encoder saliency for pre-LLM pruning and leverages high-variance attention heads to remove task-irrelevant tokens at shallow-to-intermediate layers of the LLM. On LLaVA-1.5-7B, TReVS retains 92.8% of the unpruned baseline performance while pruning 94.4% of visual tokens, outperforming prior state-of-the-art methods.

Tue 29 SeptComputer Vision and Pattern RecognitionArtificial Intelligence
The gist
Vision-language models look at images and answer questions, but they can be slow because they analyze many parts of an image. The authors show that if the model smartly keeps the important image parts related to the question while ignoring unneeded ones, it speeds up without losing much accuracy. They found it helps to combine how much an image part stands out with how relevant it is to the question. Their new method, called TReVS, cuts down the image parts by over 90% while keeping almost all of the model's performance.
Open → 2609.37581v1

Kv cache correction speeds multi-agent shared context processing

KVCMAS: Efficient KV cache Correction for Shared Context in Multi-Agent Systems

Abstract: Prompt-specialized multi-agent systems enable multiple agents to share a model while performing complementary roles to solve complex tasks. However, agent-specific prefixes change the KV cache generated for the same shared context, causing each agent to repeatedly prefill the growing context and construct a separate cache with high computation and memory overhead. Selective recomputation reduces this redundancy but still retains substantial model execution, while existing delta correction methods either support only recurring context relations or maintain memory-intensive online correction states for dynamically changing context. For first seen shared context, these methods also construct a reference cache outside the agent workflow, and an approximate correction at the first agent affects the outputs passed to subsequent agents. We present KVCMAS, an online KV cache correction framework that represents cross-agent cache deviations using compact low-rank states and seamlessly chains corrections along the agent workflow without an additional reference prefill. This design supports dynamically changing shared context while preserving an exact first-agent cache. Across multiple language and vision-language workloads, KVCMAS matches or improves the accuracy of prior KV cache sharing methods while achieving the lowest TTFT under highly concurrent serving. Under controlled serving traces, it provides a 2.0x TTFT speedup over inference without KV cache sharing and reduces peak GPU memory by up to 3.7x relative to a prior KV cache correction method. These results establish KVCMAS as an accurate and scalable KV cache sharing approach for prompt-specialized multi-agent serving.

Mon 28 SeptMachine Learning
The gist
Multi-agent systems share a model to work on complex tasks, but they often repeat costly memory work because each agent starts its cache separately. The authors propose KVCMAS, which corrects cache differences efficiently across agents without repeating the full work. This makes the process faster and uses less memory while keeping result accuracy. Their tests show big improvements in speed and memory for language and vision tasks when many agents work at once.
Open → 2609.34060v1

Llm agents improve memory decisions with new trust measures

The Epistemics of Agent Memory: Measuring, and Governing, the Consolidation Decision in Long-Horizon LLM Agents

Abstract: Long-horizon LLM agents must convert accumulated experience into durable memory, deciding what to keep, compress, abstract into reusable skills and rules, or forget. We report a four-phase research program on this consolidation problem whose central finding is a shift in what is measured: from how much an agent remembers, to whether its consolidation decisions are any good, to whether those decisions can be trusted. Phase 1 learns episodic boundaries from agent traces by downstream utility; an honest near-miss (oracle correlation 0.691 vs a 0.70 bar) whose lasting output is a three-gate anti-leakage protocol. Phase 2 learns when to promote experience and to which abstraction level under a token budget, achieving a verified +22.7% task-success improvement with 7x compression, but exposing a degenerate-forgetting failure and a distribution-shift failure mode we name lambda-prevalence coupling. Phase 3 introduces ConsolidationBench, an oracle-by-construction benchmark that scores consolidation decisions against a known optimum on three non-circular axes; production retrieval systems retain information yet score zero on cross-level transfer. Phase 4 introduces governed consolidation: the decision wrapped in poison-resistance, reversibility, and auditability guarantees with a quality gate. Governance is statistically distinct from the quality score ($r^2 = 0.43$; partial $r = 0.27$; identical-quality policies differ threefold in governance), so the contribution survives independently of the metric's external validity. On that question we report a resolved negative: after a graded-reuse redesign removed a structural ceiling, a two-benchmark study with 2,532 real answer cells finds the quality score does not predict real transfer accuracy (pooled Spearman $ρ= -0.24$, n = 12, CI spanning zero). An adversarial self-critique pass cleared the final claim set with zero surviving overclaims.

Sat 26 SeptArtificial Intelligence
The gist
Large language model agents have to decide what parts of their experience to remember or forget to work well over long tasks. The authors studied how to measure if the agents' decisions to keep or compress memories are good and trustworthy, not just how much memory they store. They created tests and tools to check these decisions and introduced ways to govern and audit memory consolidation. Interestingly, they found that quality scores of memory decisions don’t always predict real improvements in task performance.
Open → 2609.33013v1

Kv cache translation speeds up language model switching dramatically

KV-Lingo: Learning KV-Cache Translators with Distillation

Abstract: Large language models represent context with a key-value (KV) cache. Caches are model-specific: for the same text, models with different architectures or weights produce incompatible representations. This makes it costly to switch models over a shared context: although the context has already been processed by one model, the incoming model must process it again to build its own cache. We introduce KV-Lingo, a method for translating the KV cache of a source model into one that can be read by a target model. KV-Lingo consists of a collection of linear maps, typically one per layer of the target model, that are applied independently on all tokens' key and value representations. We train these maps using distillation, minimising the divergence between the target model's predictions from its native cache and those from the translated cache. We consider several model pairs spanning multiple sizes and architectures, training one translator per pair on a generic text corpus. The resulting translators preserve strong downstream performance in both small-to-large and large-to-small transfers. Since a switch then costs a linear map and a single decoding step instead of a prefill, replacing re-prefill with cache translation reduces the time to first token after a model switch by 9.6x already on a 64-token prompt for Qwen models on an Apple M3 Ultra, and by up to 29x at 32k context length on an H100. These gains make KV-Lingo particularly useful for dynamic model routing: a context can be processed by one model and handed off to another only when needed, without re-prefilling the shared prefix. We finally show that KV-Lingo can be used for seamless model switching, staying close to re-prefill across repeated switches in our multi-turn evaluations.

Sat 26 SeptComputation and LanguageMachine Learning
The gist
Large language models remember text context using what’s called a key-value cache. Different models can’t understand each other’s caches, so switching between models means reprocessing the same text again, which is slow. The authors propose KV-Lingo, a way to translate a cache from one model into another using simple math, so the new model can use the old cache directly. This makes switching models much faster without losing much accuracy in understanding the text.
Open → 2609.32610v1

Federated learning improves language model adaptation with better data flow

Trapped by Their Own Rollouts: Understanding Aggregation--Rollout Feedback in Federated On-Policy Distillation

Abstract: On-policy distillation (OPD) is a promising approach to language-model adaptation, aligning teacher supervision with the student's own generated trajectories. When adaptation prompts are distributed across clients, can this process benefit from federated collaboration? We study federated OPD and find that substantial collaboration gains can be obscured by learning-rate sensitivity: FedAvg can perform no better than independent local training at a small learning rate, yet recover a clear advantage at a larger rate. We explain this phenomenon through the student's dual role as learner and generator of future training data. An aggregation-induced optimization lag can delay access to useful teacher supervision, which in turn slows subsequent learning. Our theory establishes this aggregation--rollout feedback in a solvable model with a common optimum and stable updates, and identifies two coupled roles of learning rate: learning from current supervision and reaching future supervision. Guided by this analysis, we propose FedTOPS (Federated Teacher-guided On-Policy Scaling), which reuses teacher feedback on current trajectories to adapt the FedAvg update magnitude under clientwise predictive-change constraints. Across six mathematical reasoning benchmarks, FedTOPS improves macro Avg@8 over FedAvg by 4.56--14.57 percentage points across the evaluated student models and local learning rates.

Sat 26 SeptMachine LearningDistributed, Parallel, and Cluster Computing
The gist
This paper looks at how language models can learn better when different devices work together, sharing their training without sending actual data. The researchers found that the learning speed matters a lot because each model both learns and creates the examples it learns from. When models share updates, delays can hurt learning, but adjusting the learning steps helps. They created a method that keeps better use of shared feedback, which improves performance on math reasoning tasks.
Open → 2609.32573v1