EmbedGrad: Gradient-Based Prompt Optimization in Embedding Space for Large Language Models
Not on the map. Why?
Abstract (arXiv)
Effectively adapting powerful pretrained foundation models to diverse tasks remains a key challenge in AI deployment. Current approaches primarily follow two paradigms:discrete optimization of text prompts through prompt engineering, or continuous adaptation via additional trainable parameters. Both exhibit limitations-discrete methods lack refinement precision while parameter-based techniques increase complexity and reduce interpretability. To address these constraints, we propose EmbedGrad, a novel framework that optimizes text prompt embeddings through gradient-based refinement. Our approach uniquely decouples training from deployment:during optimization,labeled examples guide precise embedding adjustments while preserving semantic meaning; during inference, only optimized embeddings integrate with user queries. This enables fine-grained calibration impossible in text space, such as enhancing the reasoning capability of prompts like please reason step by step. Comprehensive evaluations across mathematical reasoning, sentiment analysis, and causal judgment tasks demonstrate EmbedGrad's effectiveness:optimizing this reasoning prompt for Qwen2.5-Math-1.5B increased accuracy from 14.74% to 58.96% on mathematical problems. Consistent improvements were observed across model scales (0.5B-14B) and all tasks, with particularly significant gains for smaller models on complex problems like causal judgment. By bridging prompt engineering and parameter efficiency without architectural changes, our work establishes embedding refinement as a powerful new paradigm for task adaptation.
Key facts. Cited by 1 paper in the map (data through 14 Oct 2026). Builds on 10 of its 18 references that are in the map. First posted on arXiv 5 Aug 2025.
Builds on
10 of 18 references.
References · 10
- 2019Parameter-Efficient Transfer Learning for NLPcited by 4,236
- 2021Prefix-Tuning: Optimizing Continuous Prompts for Generationcited by 3,915
- 2021The Power of Scale for Parameter-Efficient Prompt Tuningcited by 3,795
- 2023Let's Verify Step by Stepcited by 3,789
- 2023Self-Refine: Iterative Refinement with Self-Feedbackcited by 3,442
- 2023QLoRA: Efficient Finetuning of Quantized LLMscited by 3,418
- 2023Representation Engineering: A Top-Down Approach to AI Transparencycited by 1,336
- 2020AdapterFusion: Non-Destructive Task Composition for Transfer Learningcited by 788
- 2020AdapterDrop: On the Efficiency of Adapters in Transformerscited by 224
- 2025No Free Lunch: Rethinking Internal Feedback for LLM Reasoningcited by 37
Built on by
Citing papers per year: 2026: 1.
1 paper.
Similar, not cited
Close in wording, no citation either way
- 2024Exploring Embedding Priors in Prompt-Tuning for Improved Interpretability and Control
- 2025Latent Reasoning via Sentence Embedding Prediction
- 2025Efficient Post-Training Refinement of Latent Reasoning in Large Language Models
- 2024GReaTer: Gradients over Reasoning Makes Smaller Language Models Strong Prompt Optimizers
- 2026STEVE: Stabilizing Textual Gradient-Based Prompt Optimization via Error-Driven Refinement and Regularized Verification
- 2025TRPrompt: Bootstrapping Query-Aware Prompt Optimization from Textual Rewards
- 2025MAPGD: Multi-Agent Prompt Gradient Descent for Collaborative Prompt Optimization
- 2024Simple Techniques for Enhancing Sentence Embeddings in Generative Language Models