Introduction
As Large Language Models (LLMs) scale to hundreds of billions of parameters, full fine-tuning has become computationally prohibitive for most researchers. Parameter-Efficient Fine-Tuning (PEFT) methods, such as Prompt Tuning (PT), address this by freezing the base model and training only a small set of "soft prompt" tokens. However, standard PT suffers from two primary limitations: high discreteness (tokens are trained in isolation without semantic cohesion) and a significant computational bottleneck when using the long prompts required for complex tasks.
This paper introduces LAMP (Low-pAraMeters Prompt Tuning), a novel framework designed to enhance the semantic structure of soft prompts while drastically reducing the trainable parameter count and computational overhead.
Methodology: The LAMP Framework
LAMP replaces the standard $l \times d$ embedding matrix used in PT with a more structured approach consisting of three core components:
- Prompt Decomposition (Truncated SVD): Inspired by the low intrinsic rank of fine-tuning updates, LAMP decomposes the soft prompt using Truncated Singular Value Decomposition. By training only the top-$r$ singular values and vectors, the parameter space is significantly compressed.
- Compressed Outer Product: To address the lack of semantic interaction between tokens, LAMP utilizes a compressed outer product to reconstruct the prompt. This mechanism forces higher-order interactions between decomposed components, ensuring that prompt tokens share semantic context rather than existing as isolated vectors.
- Average Pooling: To mitigate the quadratic scaling costs of long prompts in Transformers, LAMP applies an average pooling operation to the reconstructed prompt before it enters the LLM. This reduces the effective sequence length (e.g., from 100 tokens to 20) without losing the rich semantic information generated in the previous steps.
Key Results and Efficiency Gains
LAMP was evaluated across several architectures, including T5 (up to 11B) and Llama2-7B, using the SuperGLUE and GLUE benchmarks. The results demonstrate that LAMP is not only more efficient but often more effective than standard baselines.
- Parameter and Memory Efficiency: On T5-11B, LAMP reduced trainable parameters by 91.21% and training memory by 24.49% compared to vanilla PT. For Llama2-7B with a prompt length of 500, LAMP requires only ~36.8K parameters, whereas standard PT requires over 2 million.
- Performance Superiority: LAMP outperformed state-of-the-art LoRA variants (such as PiSSA and DoRA) on the GLUE benchmark while using a fraction of the parameters (7K vs. 3.8M). On T5-11B, it achieved a 5.59% performance improvement over standard PT.
- Inference Speed: By utilizing average pooling to shorten the prompt length seen by the Transformer, LAMP increased inference speed by 31%.
Discussion and Insights
Visual analysis via t-SNE confirms that standard PT tokens are often scattered randomly in vector space. In contrast, LAMP’s outer product mechanism encourages meaningful clustering, suggesting that injecting semantic structure directly improves model comprehension. Furthermore, the success of the average pooling step indicates that long soft prompts contain redundant information that can be compressed to save computation without sacrificing accuracy—a "free lunch" for prompt-based adaptation.
Conclusion
LAMP provides a robust solution to the efficiency-performance trade-off in Prompt Tuning. By leveraging low-rank decomposition and compressed interactions, it achieves superior results on complex language tasks while remaining lightweight enough for deployment on resource-constrained hardware. Future work will explore extending LAMP to multimodal domains and further refining the semantic mining of soft prompts.
Summary updated