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

21

Inference-Aware Fine-Tuning for Best-of-N Sampling in Large Language Models

18 Dec · Yinlam Chow, Guy Tennenholtz, Izzeddin Gur +7 · arXiv:2412.15287

Recent studies have indicated that effectively utilizing inference-time compute is crucial for attaining better performance from large language models (LLMs). In this work, we propose a novel inference-aware fine-tuning paradigm, in which the model is fine-tuned in a manner that directly optimizes the performance of the inference-time strategy. We study this paradigm using the simple yet effective Best-of-N (BoN)…

22

A Survey of Test-Time Compute: From Intuitive Inference to Deliberate Reasoning

5 Jan · Yixin Ji, Juntao Li, Yang Xiang +6 · arXiv:2501.02497

The remarkable performance of the o1 model in complex reasoning demonstrates that test-time compute scaling can further unlock the model's potential, enabling powerful System-2 thinking. However, there is still a lack of comprehensive surveys for test-time compute scaling. We trace the concept of test-time compute back to System-1 models. In System-1 models, test-time compute addresses distribution shifts and…

23

Riddle Me This! Stealthy Membership Inference for Retrieval-Augmented Generation

1 Feb · Ali Naseh, Yuefeng Peng, Anshuman Suri +3 · arXiv:2502.00306

Retrieval-Augmented Generation (RAG) enables Large Language Models (LLMs) to generate grounded responses by leveraging external knowledge databases without altering model parameters. Although the absence of weight tuning prevents leakage via model parameters, it introduces the risk of inference adversaries exploiting retrieved documents in the model's context. Existing methods for membership inference and data…

This is the full version () of the paper 'Riddle Me This! Stealthy Membership Inference for Retrieval-Augmented Generation' published at CCS 2025 Cryptography & security Artificial intelligence Language & NLP Matched by wording
24

KVTuner: Sensitivity-Aware Layer-Wise Mixed-Precision KV Cache Quantization for Efficient and Nearly Lossless LLM Inference

6 Feb · Xing Li, Zeyu Xing, Yiming Li +6 · arXiv:2502.04420

KV cache quantization can improve Large Language Models (LLMs) inference throughput and latency in long contexts and large batch-size scenarios while preserving LLMs effectiveness. However, current methods have three unsolved issues: overlooking layer-wise sensitivity to KV cache quantization, high overhead of online fine-grained decision-making, and low flexibility to different LLMs and constraints. Therefore, we…

Accepted by ICML25. Code: https://github.com/cmd2001/KVTuner Machine learning Artificial intelligence Language & NLP Matched by wording
25

Accelerating LLM Inference with Lossless Speculative Decoding Algorithms for Heterogeneous Vocabularies

31 Jan · Nadav Timor, Jonathan Mamou, Daniel Korat +5 · arXiv:2502.05202

Accelerating the inference of large language models (LLMs) is a critical challenge in generative AI. Speculative decoding (SD) methods offer substantial efficiency gains by generating multiple tokens using a single target forward pass. However, existing SD approaches require the drafter and target models to share the same vocabulary, thus limiting the pool of possible drafters, often necessitating the training of a…

26

Optimizing Temperature for Language Models with Multi-Sample Inference

7 Feb · Weihua Du, Yiming Yang, Sean Welleck · arXiv:2502.05234

Multi-sample aggregation strategies, such as majority voting and best-of-N sampling, are widely used in contemporary large language models (LLMs) to enhance predictive accuracy across various tasks. A key challenge in this process is temperature selection, which significantly impacts model performance. Existing approaches either rely on a fixed default temperature or require labeled validation data for tuning, which…

ICML2025, . Code available at https://github.com/StigLidu/TURN Machine learning Artificial intelligence Language & NLP Matched by wording
27

Mechanistic Interpretability of Emotion Inference in Large Language Models

8 Feb · Ala N. Tak, Amin Banayeeanzade, Anahita Bolourani +3 · arXiv:2502.05489

Large language models (LLMs) show promising capabilities in predicting human emotions from text. However, the mechanisms through which these models process emotional stimuli remain largely unexplored. Our study addresses this gap by investigating how autoregressive LLMs infer emotions, showing that emotion representations are functionally localized to specific regions in the model. Our evaluation includes diverse…

ACL 2025 camera-ready version. First two authors contributed equally Language & NLP Artificial intelligence Matched by wording
28

Examining False Positives under Inference Scaling for Mathematical Reasoning

10 Feb · Yu Wang, Nan Yang, Liang Wang +2 · arXiv:2502.06217

Recent advancements in language models have led to significant improvements in mathematical reasoning across various benchmarks. However, most of these benchmarks rely on automatic evaluation methods that only compare final answers using heuristics, without verifying the underlying reasoning steps. This limitation results in false positive solutions, where models may produce correct final answers but with flawed…

29

EvoP: Robust LLM Inference via Evolutionary Pruning

19 Feb · Shangyu Wu, Hongchao Du, Ying Xiong +4 · arXiv:2502.14910

Large Language Models (LLMs) have achieved remarkable success in natural language processing tasks, but their massive size and computational demands hinder their deployment in resource-constrained environments. Existing model pruning methods address this issue by removing redundant structures (e.g., elements, channels, layers) from the model. However, these methods employ a heuristic pruning strategy, which leads to…

30

Towards Economical Inference: Enabling DeepSeek's Multi-Head Latent Attention in Any Transformer-based LLMs

20 Feb · Tao Ji, Bin Guo, Yuanbin Wu +6 · arXiv:2502.14837

Multi-head Latent Attention (MLA) is an innovative architecture proposed by DeepSeek, designed to ensure efficient and economical inference by significantly compressing the Key-Value (KV) cache into a latent vector. Compared to MLA, standard LLMs employing Multi-Head Attention (MHA) and its variants such as Grouped-Query Attention (GQA) exhibit significant cost disadvantages. Enabling well-trained LLMs (e.g., Llama)…

Accepted to ACL 2025 Language & NLP Artificial intelligence Matched by wording
31

Round Attention: A Novel Round-Level Attention Mechanism to Accelerate LLM Inference

21 Feb · Yaohua Tang, Zhicheng Hu, Kun Cheng +4 · arXiv:2502.15294

The increasing context window size in large language models (LLMs) has improved their ability to handle complex, long-text tasks. However, as the conversation rounds continue, it is required to store a large amount of KV cache in GPU memory, which significantly affects the efficiency and even availability of the model serving systems. This paper analyzes dialogue data from real users on the granularity of round and…

32

AutoToM: Scaling Model-based Mental Inference via Automated Agent Modeling

21 Feb · Zhining Zhang, Chuanyang Jin, Mung Yao Jia +2 · arXiv:2502.15676

Theory of Mind (ToM), the ability to understand people's minds based on their behavior, is key to developing socially intelligent agents. Current approaches to ToM reasoning either rely on prompting Large Language Models (LLMs), which are prone to systematic errors, or use handcrafted, rigid agent models for model-based inference, which are more robust but fail to generalize across domains. In this work, we…

NeurIPS 2025 (Spotlight)., . Website at https://chuanyangjin.com/AutoToM/ Artificial intelligence Language & NLP Matched by wording
33

DISC: Dynamic Decomposition Improves LLM Inference Scaling

23 Feb · Jonathan Light, Wei Cheng, Benjamin Riviere +6 · arXiv:2502.16706

Inference scaling methods for LLMs often rely on decomposing problems into steps (or groups of tokens), followed by sampling and selecting the best next steps. However, these steps and their sizes are often predetermined or manually designed based on domain knowledge. We propose dynamic decomposition, a method that adaptively and automatically partitions solution and reasoning traces into manageable steps during…

Accepted to NeurIPS 2025 (Conference on Neural Information Processing Systems) Machine learning Artificial intelligence Language & NLP Matched by wording
34

Pragmatic Inference Chain (PIC) Improving LLMs' Reasoning of Authentic Implicit Toxic Language

3 Mar · Xi Chen, Shuo Wang · arXiv:2503.01539

The rapid development of large language models (LLMs) gives rise to ethical concerns about their performance, while opening new avenues for developing toxic language detection techniques. However, LLMs' unethical output and their capability of detecting toxicity have primarily been tested on language data that do not demand complex meaning inference, such as the biased associations of 'he' with programmer and 'she'…

35

Capacity-Aware Inference: Mitigating the Straggler Effect in Mixture of Experts

7 Mar · Shwai He, Weilin Cai, Jiayi Huang +1 · arXiv:2503.05066

The Mixture of Experts (MoE) is an effective architecture for scaling large language models by leveraging sparse expert activation to balance performance and efficiency. However, under expert parallelism, MoE suffers from inference inefficiencies due to imbalanced token-to-expert assignment, where underloaded experts complete computations early but must wait for overloaded experts, leading to global delays. We…

36

Fixing the Broken Compass: Diagnosing and Improving Inference-Time Reward Modeling

7 Mar · Jiachun Li, Pengfei Cao, Zhuoran Jin +6 · arXiv:2503.05188

Inference-time scaling techniques have shown promise in enhancing the reasoning capabilities of large language models (LLMs). While recent research has primarily focused on training-time optimization, our work highlights inference-time reward model (RM)-based reasoning as a critical yet overlooked avenue. In this paper, we conduct a systematic analysis of RM behavior across downstream reasoning tasks, revealing…

Accpeted by ICLR 2026 Language & NLP Artificial intelligence Matched by wording
37

Skill-Based Mixture-of-Experts: Adaptive Routing for Heterogeneous Reasoning via Inferred Skills

7 Mar · Justin Chih-Yao Chen, Sukwon Yun, Elias Stengel-Eskin +2 · arXiv:2503.05641

Combining existing pre-trained LLMs is a promising approach for diverse reasoning tasks. However, task-level expert selection is often too coarse-grained, since different instances may require different expertise. To address this, we propose Skill-MoE, a symbolic, skill-based, and gradient-free Mixture-of-Experts framework for instance-level expert selection. Skill-MoE infers skills (e.g., algebra in mathematics)…

ICML 2026 (Camera-Ready). The first three authors contributed equally. Project Page: https://skill-moe.github.io/ Language & NLP Artificial intelligence Machine learning Matched by wording
38

Green Prompting: Characterizing Prompt-driven Energy Costs of LLM Inference

9 Mar · Marta Adamska, Daria Smirnova, Hamid Nasiri +2 · arXiv:2503.10666

Large Language Models (LLMs) have become widely used across various domains spanning search engines, code generation, and text creation. However, a major concern associated with their adoption is the high cost of inference, impacting both their sustainability and financial feasibility. In this study, we empirically study how different prompt and response characteristics directly impact LLM inference energy cost. We…

39

SentenceKV: Efficient LLM Inference via Sentence-Level Semantic KV Caching

1 Apr · Yuxuan Zhu, Ali Falahati, David H. Yang +1 · arXiv:2504.00970

Large language models face significant computational and memory challenges when processing long contexts. During inference, efficient management of the key-value (KV) cache, which stores intermediate activations for autoregressive generation, is critical to reducing memory overhead and improving computational efficiency. Traditional token-level efficient KV caching methods overlook semantic information, treating…

40

A Survey of Frontiers in LLM Reasoning: Inference Scaling, Learning to Reason, and Agentic Systems

12 Apr · Zixuan Ke, Fangkai Jiao, Yifei Ming +9 · arXiv:2504.09037

Reasoning is a fundamental cognitive process that enables logical inference, problem-solving, and decision-making. With the rapid advancement of large language models (LLMs), reasoning has emerged as a key capability that distinguishes advanced AI systems from conventional models that empower chatbots. In this survey, we categorize existing methods along two orthogonal dimensions: (1) Regimes, which define the stage…

Accepted to TMLR, with Survey Certification award Artificial intelligence Language & NLP Matched by wording