Pith. sign in

REVIEW 1 cited by

Hard Prompts Made Easy: Gradient-Based Discrete Optimization for Prompt Tuning and Discovery

Not yet reviewed by Pith; the record is open.

This paper has not been read by Pith yet. Machine review is queued; the pith claim, tier, and objections will appear here once it completes.

SPECIMEN: schema-true, not a live event

T0 review · schema-true

One-sentence machine reading of the paper's core claim.

pith:XXXXXXXX · record.json · timestamp

arxiv 2302.03668 v2 pith:JG7VL53R submitted 2023-02-07 cs.LG cs.CL

classification cs.LGcs.CL
keywords promptshardmodelsoptimizationtext-basedapproachautomaticallydiscovered
verification ladder T0 review T1 audit T2 compute T3 formal
0 comments
read the original abstract

The strength of modern generative models lies in their ability to be controlled through text-based prompts. Typical "hard" prompts are made from interpretable words and tokens, and must be hand-crafted by humans. There are also "soft" prompts, which consist of continuous feature vectors. These can be discovered using powerful optimization methods, but they cannot be easily interpreted, re-used across models, or plugged into a text-based interface. We describe an approach to robustly optimize hard text prompts through efficient gradient-based optimization. Our approach automatically generates hard text-based prompts for both text-to-image and text-to-text applications. In the text-to-image setting, the method creates hard prompts for diffusion models, allowing API users to easily generate, discover, and mix and match image concepts without prior knowledge on how to prompt the model. In the text-to-text setting, we show that hard prompts can be automatically discovered that are effective in tuning LMs for classification.

Discussion (0). Sign in to comment.

Forward citations

Cited by 1 Pith paper

Reviewed papers in the Pith corpus that reference this work. Sorted by Pith novelty score. OpenAlex reports about 40 citations worldwide. Full citation record

  1. Efficient and Privacy-Preserving Soft Prompt Transfer for LLMs

    cs.LG 2025-06 conditional novelty 6.0 of 10

    POST tunes a soft prompt privately on a small distilled model and transfers it to the large model using a two-term public-data loss, with optional differential privacy.

Pith tools