Position: Vector Prompt Interfaces Should Be Exposed to Enable Customization of Large Language Models

Liangwei Yang, Shiyu Wang, Haolin Chen, Rithesh Murthy, Ming Zhu, Jielin Qiu, Zixiang Chen, Juntao Tan, Jianguo Zhang, Zhiwei Liu, Wenting Zhao, Silvio Savarese, Caiming Xiong, Huan Wang, Shelby HeineckearXiv 2026

TL;DR

Current LLM customization forces a frustrating trade-off between brittle, bloated text prompts and operationally heavy fine-tuning. This position paper argues that model providers should expose "vector prompt" interfaces—allowing users to pass continuous, optimized control vectors directly into the model's embedding layer. The authors demonstrate that vector prompts absorb data supervision far better than text prompts and act as global, persistent control anchors within the model's internal attention mechanism.

What Problem Does This Paper Address?

When developers adapt Large Language Models (LLMs) for specific enterprise applications, they hit a customization bottleneck. Currently, they have two main options, both flawed:

  1. Text Prompting: Easy to use and works entirely at inference time, but it is highly brittle. Trying to force a model to handle complex tasks via text often leads to "prompt explosion"—bloated instructions filled with edge cases and few-shot examples that eat up context windows, increase latency, and quickly hit a performance ceiling.
  2. Fine-Tuning (e.g., LoRA): Highly effective but computationally expensive, slow to iterate, and introduces massive version-management overhead when handling thousands of distinct downstream tasks. Furthermore, it is completely unavailable when using commercial black-box APIs.

The authors reframe prompting not as a manual instruction-writing chore, but as a control interface design problem. They propose that model providers expose a continuous vector prompt interface to allow scalable, stable, and inference-only customization without modifying model weights.

Figure 1. Illustration of prompt interfaces under black-box LLM deployment. Current LLM services predominantly expose text prompts as the customization interface. We argue that vendors should additionally expose vector prompts—optimized control vectors injected at the input-encoding stage—as a complementary interface. Vector prompt interfaces provide a more expressive and control-efficient parameterization while remaining compatible with inference-only access, without requiring gradient access, weight updates, or internal activation inspection.

Methods

Rather than introducing a brand-new optimization algorithm, this paper presents a system-level position backed by diagnostic experiments.

To evaluate how different interface abstractions handle customization, the authors fixed the backbone model (LLaMA3-8B-Instruct) and compared three approaches:

  1. Human-Written Prompts: Standard natural language instructions.
  2. Optimized Text Prompts: Discrete text prompts optimized automatically using TextGrad (a state-of-the-art text optimization framework).
  3. Optimized Vector Prompts: Continuous vectors optimized via gradient-based prompt tuning (prepended to the input sequence). Crucially, gradient descent was used here purely as a diagnostic tool to establish the upper-bound capacity of the vector interface.

The authors also conducted a mechanistic analysis by visualizing the internal attention maps of the LLM (specifically at layers 12 and 20) to observe exactly how task tokens interact with text prompts versus vector prompts.

Datasets

The scaling and attention experiments were conducted using:

  • SST-5 (Stanford Sentiment Treebank): A standard 5-class text sentiment classification dataset.

The authors varied the amount of labeled training data from 32 to 8,000 samples to observe how each interface scales with increased supervision. No new datasets or benchmarks were introduced.

Key Insights and Ideas

  • The Text Interface is an Inherent Bottleneck: The early performance plateau of text prompts isn't a failure of optimization algorithms; it's a fundamental limitation of language itself. Discrete tokens cannot smoothly absorb large amounts of data supervision.
  • Transient Instructions vs. Persistent Control Anchors: Attention visualizations revealed a stark mechanistic difference. Text prompts behave like ordinary sequence tokens—attention to them is sparse, localized, and fades across layers. Vector prompts, conversely, act as dense, globally addressable "control anchors." Task tokens repeatedly and broadly attend to them across all layers.
  • Mitigating Attention Sinks: In standard transformer processing, models tend to dump a disproportionate amount of attention onto the initial "BOS" (beginning-of-sequence) token—a phenomenon known as an attention sink. Vector prompts substantially attenuate this effect, distributing attention evenly across the learned control vectors and enabling more uniform modulation of model behavior.
  • Security Risks are Equivalent: A common objection to exposing vector interfaces is that they might increase the risk of proprietary data or model leakage. The authors counter this with an information-theoretic perspective: under a standard black-box threat model, an attacker can still only observe the text output channel. Changing the input parameterization might alter search efficiency, but it does not expand the fundamental information capacity of what can be extracted from the model's outputs.

Key Results

  • Sustained Performance Scaling: As the number of training samples increased from 32 to 8,000, the accuracy of optimized text prompts quickly flatlined around 46–48%. Meanwhile, optimized vector prompts continued to scale steadily with more data, ultimately surpassing 60% accuracy on SST-5.
Figure 2. Scaling behavior of different prompt interfaces on SST-5 with a fixed LLaMA3-8B Instruct backbone. As the amount of supervision increases, vector-based prompts continue to benefit from additional data, while text-based prompts saturate early. Op- timized vector prompts are obtained via gradient-based prompt tuning and serve as a diagnostic upper bound on the customization capacity enabled by vector-based interfaces.
  • Higher Control Efficiency: Vector prompts achieved superior behavioral control using a fraction of the token length (e.g., 32 continuous tokens) compared to long, instruction-heavy text prompts, offering a clear path to reducing inference latency and serving costs in production.

Limitations and Future Work

  • The Black-Box Optimization Gap: While this paper uses gradient descent to prove the capacity of vector prompts, downstream users of commercial APIs do not have gradient access. Existing black-box optimization methods (like derivative-free search) can optimize vector prompts under inference-only constraints, but they currently fall short of gradient-based performance. Closing this optimization gap is a vital area for future research.
  • Provider Adoption: Implementing this requires API vendors (OpenAI, Anthropic, etc.) to open up new endpoints that accept raw vector sequences at the input-encoding stage, requiring a significant shift in current commercial LLM infrastructure.

Summary updated

BibTeX
@misc{yang2026position,
  author = {Liangwei Yang and Shiyu Wang and Haolin Chen and Rithesh Murthy and Ming Zhu and Jielin Qiu and Zixiang Chen and Juntao Tan and Jianguo Zhang and Zhiwei Liu and Wenting Zhao and Silvio Savarese and Caiming Xiong and Huan Wang and Shelby Heinecke},
  title = {{Position: Vector Prompt Interfaces Should Be Exposed to Enable Customization of Large Language Models}},
  year = {2026},
  eprint = {2603.04292},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2603.04292},
}
Figure