analiza aiqbench
Composing insight from the full article — this may take a moment.
vLLM Hook v1: A Plug-in for Programming Model Internals on vLLM
arXiv:2603.06588v2 Announce Type: replace Abstract: Modern artificial intelligence models are deployed on inference engines to optimize runtime efficiency and resource allocation, particularly for transformer-based large language models. The vLLM project is a major open-source library to support model serving and inference. However, the current implementation of vLLM limits programmability of the internal states of deployed models. This prevents the use of popular test-time model alignment and enhancement methods. For example, it prevents the detection of adversarial prompts based on attention patterns or the adjustment of model responses based on activation steering. To bridge this critical gap, we present vLLM Hook, an opensource plug-in to enable the programming of internal states for vLLM models. Based on a configuration file specifying which internal states to capture, vLLM Hook provides seamless integration to vLLM and supports two essential features: passive programming and active programming. For passive programming, vLLM Hook probes the selected internal states for subsequent analysis, while keeping the model generation intact. For active programming, vLLM Hook enables efficient intervention of model generation by altering the selected internal states. In version 1 (named vLLM Hook MIA), the plugin runs on vLLM's V2 model runner and preserves the engine's CUDA graphs, so that capturing and steering internal states incurs only a small decoding overhead. It supports both offline use and serving through vllm serve. In addition to presenting the core functions of vLLM Hook, we demonstrate use cases including prompt injection detection, attention-based re-ranking for retrieval-augmented generation, activation steering, hidden-state probing, hallucination detection, schema linking for text-to-SQL, and tool-call risk assessment. Finally, we welcome the community's contribution to improve vLLM Hook via https://github.com/IBM/vLLM-Hook.
Citește articolul complet pe arXivSubiecte conexe

Trump administration wants schools to pay $70,000 fee for each international student in the OPT work program, as new foreign enrollment falls 17%
Fortune · 7 oct. 2026
Many Repairs, One Direction: Steering Code Models Toward Safer Cryptographic API Use
arXiv · 21 oct. 2026

Universal Dilation of Linear Itô SDEs: Quantum Trajectories and Lindblad Simulation of Second Moments
Quantum Journal · 1 oct. 2026

Faster Quantum Simulation Of Markovian Open Quantum Systems Via Randomisation
Quantum Journal · 3 sept. 2026