Tech Studies

91,965 research papers, searchable by meaning as well as exact wording. So “steering vectors” also surfaces work on “activation steering.”

Papers
91,965
Semantically indexed
91,965
Subject areas
145
Authors
199,823
Newest paper
25 Nov

300+ results for “inference”

Matched on wording only, meaning-matching is unavailable right now

1

Your Inference Request Will Become a Black Box: Confidential Inference for Cloud-based Large Language Models

27 Feb · Chung-ju Huang, Huiqiang Zhao, Yuanpeng He +5 · arXiv:2603.00196

The increasing reliance on cloud-hosted Large Language Models (LLMs) exposes sensitive client data, such as prompts and responses, to potential privacy breaches by service providers. Existing approaches fail to ensure privacy, maintain model performance, and preserve computational efficiency simultaneously. To address this challenge, we propose Talaria, a confidential inference framework that partitions the LLM…

2

EngineAgent: Agentizing On-Device LLM Inference Engines with Inference Stack Hierarchy Awareness and Hardware Abilities

10 Nov · Zhengxiang Huang, Yujie Sun, Shengheng Chen +6 · arXiv:2611.14356

Rapidly evolving LLM architectures and heterogeneous mobile hardware make supporting new models in on-device inference engines a recurring and costly system challenge. Each model may require coordinated changes across conversion, graph construction, operators, and hardware backends. Existing coding agents often miss these cross-layer dependencies and struggle to diagnose failures across host--device execution paths.…

3

Unplug and Play Language Models: Decomposing Experts in Language Models at Inference Time

18 Apr · Nakyeong Yang, Jiwon Moon, Junseok Kim +2 · arXiv:2404.11916

Enabled by large-scale text corpora with huge parameters, pre-trained language models operate as multi-task experts using a single model architecture. However, recent studies have revealed that certain neurons play disproportionately important roles in solving specific tasks, suggesting that task-relevant substructures can be isolated and selectively activated for each task. Therefore, we introduce Decomposition of…

accepted to CIKM 2025 Language & NLP Artificial intelligence Matched by wording
4

Mixture of Attention Spans: Optimizing LLM Inference Efficiency with Heterogeneous Sliding-Window Lengths

21 Jun · Tianyu Fu, Haofeng Huang, Xuefei Ning +9 · arXiv:2406.14909

Sliding-window attention offers a hardware-efficient solution to the memory and throughput challenges of Large Language Models (LLMs) in long-context scenarios. Existing methods typically employ a single window length across all attention heads and input sizes. However, this uniform approach fails to capture the heterogeneous attention patterns inherent in LLMs, ignoring their distinct accuracy-latency trade-offs.…

5

SampleAttention: Near-Lossless Acceleration of Long Context LLM Inference with Adaptive Structured Sparse Attention

17 Jun · Qianchao Zhu, Jiangfei Duan, Chang Chen +6 · arXiv:2406.15486

Large language models (LLMs) now support extremely long context windows, but the quadratic complexity of vanilla attention results in significantly long Time-to-First-Token (TTFT) latency. Existing approaches to address this complexity require additional pretraining or finetuning, and often sacrifice model accuracy. In this paper, we first provide both theoretical and empirical foundations for near-lossless sparse…

6

The Remarkable Robustness of LLMs: Stages of Inference?

27 Jun · Vedang Lad, Jin Hwa Lee, Wes Gurnee +1 · arXiv:2406.19384

We investigate the robustness of Large Language Models (LLMs) to structural interventions by deleting and swapping adjacent layers during inference. Surprisingly, models retain 72-95% of their original top-1 prediction accuracy without any fine-tuning. We find that performance degradation is not uniform across layers: interventions to the early and final layers cause the most degradation, while the model is…

For Github code see https://github.com/vdlad/Remarkable-Robustness-of-LLMs. Send all correspondence to the first author Machine learning Artificial intelligence Language & NLP Matched by wording
7

Ada-KV: Optimizing KV Cache Eviction by Adaptive Budget Allocation for Efficient LLM Inference

16 Jul · Yuan Feng, Junlin Lv, Yukun Cao +2 · arXiv:2407.11550

Large Language Models have excelled in various domains but face efficiency challenges due to the growing Key-Value (KV) cache required for long-sequence inference. Recent efforts aim to reduce KV cache size by evicting vast non-critical cache elements during runtime while preserving generation quality. However, these methods typically allocate compression budgets uniformly across all attention heads, ignoring the…

NeurIPS 2025 Language & NLP Artificial intelligence Matched by wording
8

The Price of Prompting: Profiling Energy Use in Large Language Models Inference

4 Jul · Erik Johannes Husom, Arda Goknil, Lwin Khin Shar +1 · arXiv:2407.16893

In the rapidly evolving realm of artificial intelligence, deploying large language models (LLMs) poses increasingly pressing computational and environmental challenges. This paper introduces MELODI - Monitoring Energy Levels and Optimization for Data-driven Inference - a multifaceted framework crafted to monitor and analyze the energy consumed during LLM inference processes. MELODI enables detailed observations of…

Submitted to NeurIPS 2024. The released code and dataset are available at https://github.com/ejhusom/MELODI Computers & society Artificial intelligence Language & NLP Matched by wording
9

Reasoning Circuits in Language Models: A Mechanistic Interpretation of Syllogistic Inference

16 Aug · Geonhee Kim, Marco Valentino, André Freitas · arXiv:2408.08590

Recent studies on reasoning in language models (LMs) have sparked a debate on whether they can learn systematic inferential principles or merely exploit superficial patterns in the training data. To understand and uncover the mechanisms adopted for formal reasoning in LMs, this paper presents a mechanistic interpretation of syllogistic inference. Specifically, we present a methodology for circuit discovery aimed at…

Accepted to Findings of ACL 2025 Language & NLP Artificial intelligence Machine learning Matched by wording
10

Sycophancy in Vision-Language Models: A Systematic Analysis and an Inference-Time Mitigation Framework

21 Aug · Yunpu Zhao, Rui Zhang, Junbin Xiao +4 · arXiv:2408.11261

Large Vision-Language Models (LVLMs) have shown significant capability in vision-language understanding. However, one critical issue that persists in these models is sycophancy, where models are unduly influenced by leading or deceptive prompts, resulting in biased outputs and hallucinations. Despite the rapid development of LVLMs, evaluating and mitigating sycophancy remains largely under-explored. In this work, we…

11

Enhancing Natural Language Inference Performance with Knowledge Graph for COVID-19 Automated Fact-Checking in Indonesian Language

22 Aug · Arief Purnama Muharram, Ayu Purwarianti · arXiv:2409.00061

Automated fact-checking is a key strategy to overcome the spread of COVID-19 misinformation on the internet. These systems typically leverage deep learning approaches through Natural Language Inference (NLI) to verify the truthfulness of information based on supporting evidence. However, one challenge that arises in deep learning is performance stagnation due to a lack of knowledge during training. This study…

Accepted for publication in the Journal of ICT Research and Applications (JICTRA) Language & NLP Artificial intelligence Matched by wording
12

Context-Aware Membership Inference Attacks against Pre-trained Large Language Models

11 Sept · Hongyan Chang, Ali Shahin Shamsabadi, Kleomenis Katevas +2 · arXiv:2409.13745

Membership Inference Attacks (MIAs) on pre-trained Large Language Models (LLMs) aim at determining if a data point was part of the model's training set. Prior MIAs that are built for classification models fail at LLMs, due to ignoring the generative nature of LLMs across token sequences. In this paper, we present a novel attack on pre-trained LLMs that adapts MIA statistical tests to the perplexity dynamics of…

13

Which Programming Language and What Features at Pre-training Stage Affect Downstream Logical Inference Performance?

9 Oct · Fumiya Uchiyama, Takeshi Kojima, Andrew Gambardella +3 · arXiv:2410.06735

Recent large language models (LLMs) have demonstrated remarkable generalization abilities in mathematics and logical reasoning tasks. Prior research indicates that LLMs pre-trained with programming language data exhibit high mathematical and reasoning abilities; however, this causal relationship has not been rigorously tested. Our research aims to verify which programming languages and features during pre-training…

Accepted to EMNLP2024 Language & NLP Artificial intelligence Matched by wording
14

SimpleToM: Exposing the Gap between Explicit ToM Inference and Implicit ToM Application in LLMs

17 Oct · Yuling Gu, Oyvind Tafjord, Hyunwoo Kim +4 · arXiv:2410.13648

Large language models (LLMs) are increasingly tested for a "Theory of Mind" (ToM) - the ability to attribute mental states to oneself and others. Yet most evaluations stop at explicit belief attribution in classical toy stories or stylized tasks, leaving open the questions of whether LLMs can implicitly apply such knowledge to predict human behavior, or to judge an observed behavior, in diverse scenarios. We…

ICLR 2026 Language & NLP Artificial intelligence Matched by wording
15

TreeBoN: Enhancing Inference-Time Alignment with Speculative Tree-Search and Best-of-N Sampling

18 Oct · Jiahao Qiu, Yifu Lu, Yifan Zeng +9 · arXiv:2410.16033

Inference-time alignment enhances the performance of large language models without requiring additional training or fine-tuning but presents challenges due to balancing computational efficiency with high-quality output. Best-of-N (BoN) sampling, as a simple yet powerful approach, generates multiple responses and selects the best one, achieving improved performance but with a high computational cost. We propose…

16

SVIP: Towards Verifiable Inference of Open-source Large Language Models

29 Oct · Yifan Sun, Yuhang Li, Yue Zhang +2 · arXiv:2410.22307

The ever-increasing size of open-source Large Language Models (LLMs) renders local deployment impractical for individual users. Decentralized computing has emerged as a cost-effective solution, allowing individuals and small companies to perform LLM inference for users using surplus computational power. However, a computing provider may stealthily substitute the requested LLM with a smaller, less capable model…

17

TokenSelect: Efficient Long-Context Inference and Length Extrapolation for LLMs via Dynamic Token-Level KV Cache Selection

5 Nov · Wei Wu, Zhuoshi Pan, Chao Wang +6 · arXiv:2411.02886

Rapid advances in Large Language Models (LLMs) have spurred demand for processing extended context sequences in contemporary applications. However, this progress faces two challenges: performance degradation due to sequence lengths out-of-distribution, and excessively long inference times caused by the quadratic computational complexity of attention. These issues limit LLMs in long-context scenarios. In this paper,…

18

Communication Compression for Tensor Parallel LLM Inference

14 Nov · Jan Hansen-Palmus, Michael Truong Le, Oliver Hausdörfer +1 · arXiv:2411.09510

Large Language Models (LLMs) have pushed the frontier of artificial intelligence but are comprised of hundreds of billions of parameters and operations. For faster inference latency, LLMs are deployed on multiple hardware accelerators through various Model Parallelism strategies. Our paper looks into the details on one such strategy - Tensor Parallel - and proposes to reduce latency by compressing inter-accelerator…

19

AIM: Adaptive Inference of Multi-Modal LLMs via Token Merging and Pruning

4 Dec · Yiwu Zhong, Zhuoming Liu, Yin Li +1 · arXiv:2412.03248

Large language models (LLMs) have enabled the creation of multi-modal LLMs that exhibit strong comprehension of visual data such as images and videos. However, these models usually rely on extensive visual tokens from visual encoders, leading to high computational demands, which limits their applicability in resource-constrained environments and for long-context tasks. In this work, we propose a training-free…

Accepted to ICCV 2025 Computer vision Artificial intelligence Language & NLP Matched by wording
20

BatchLLM: Optimizing Large Batched LLM Inference with Global Prefix Sharing and Throughput-oriented Token Batching

29 Nov · Zhen Zheng, Xin Ji, Taosong Fang +3 · arXiv:2412.03594

Large language models (LLMs) increasingly play an important role in a wide range of information processing and management tasks in industry. Many of these tasks are performed in large batches or even offline, and the performance indicator for which is throughput. These tasks usually show the characteristic of prefix sharing, where different prompt input can partially show the common prefix. However, the existing LLM…