PromptCD: Test-Time Behavior Enhancement via Polarity-Prompt Contrastive Decoding
Not on the map. Why?
Abstract (arXiv)
Reliable AI systems require large language models (LLMs) to exhibit behaviors aligned with human preferences and values. However, most existing alignment approaches operate at training time and rely on additional high-quality data, incurring significant computational and annotation costs. While recent work has shown that contrastive decoding can leverage a model's internal distributions to improve specific capabilities, its applicability remains limited to narrow behavioral scopes and scenarios. In this work, we introduce Polarity-Prompt Contrastive Decoding (PromptCD), a test-time behavior control method that generalizes contrastive decoding to broader enhancement settings. PromptCD constructs paired positive and negative guiding prompts for a target behavior and contrasts model responses-specifically token-level probability distributions in LLMs and visual attention patterns in VLMs-to reinforce desirable outcomes. This formulation extends contrastive decoding to a wide range of enhancement objectives and is applicable to both LLMs and Vision-Language Models (VLMs) without additional training. For LLMs, experiments on the "3H" alignment objectives (helpfulness, honesty, and harmlessness) demonstrate consistent and substantial improvements, indicating that post-trained models can achieve meaningful self-enhancement purely at test time. For VLMs, we further analyze contrastive effects on visual attention, showing that PromptCD significantly improves VQA performance by reinforcing behavior-consistent visual grounding. Collectively, these results highlight PromptCD as a simple, general, and cost-efficient strategy for reliable behavior control across modalities.
Key facts. No citing papers in the map yet (data through 7 Oct 2026). Builds on 75 of its 86 references that are in the map. First posted on arXiv 24 Feb 2026.
Builds on
75 of 86 references.
References · 75
- 2021Learning Transferable Visual Models From Natural Language Supervisioncited by 33,456
- 2023GPT-4 Technical Reportcited by 18,132
- 2022Training language models to follow instructions with human feedbackcited by 15,712
- 2024The Llama 3 Herd of Modelscited by 14,192
- 2023Llama 2: Open Foundation and Fine-Tuned Chat Modelscited by 12,865
- 2022Chain-of-Thought Prompting Elicits Reasoning in Large Language Modelscited by 12,302
- 2023Segment Anythingcited by 8,158
- 2023Direct Preference Optimization: Your Language Model is Secretly a Reward Modelcited by 7,916
- 2023Visual Instruction Tuningcited by 7,792
- 2015You Only Look Once: Unified, Real-Time Object Detectioncited by 4,829
- 2024Qwen2.5 Technical Reportcited by 4,713
- 2017Deep reinforcement learning from human preferencescited by 3,846
38 more
- 2023Generative Agents: Interactive Simulacra of Human Behaviorcited by 3,500
- 2023Self-Refine: Iterative Refinement with Self-Feedbackcited by 3,317
- 2023Mistral 7Bcited by 3,065
- 2022Constitutional AI: Harmlessness from AI Feedbackcited by 2,950
- 2021TruthfulQA: Measuring How Models Mimic Human Falsehoodscited by 2,919
- 2020REALM: Retrieval-Augmented Language Model Pre-Trainingcited by 2,126
- 2024Scaling LLM Test-Time Compute Optimally can be More Effective than Scaling Model Parameterscited by 1,928
- 2019Towards VQA Models That Can Readcited by 1,696
- 2023Evaluating Object Hallucination in Large Vision-Language Modelscited by 1,696
- 2023A Survey on Hallucination in Large Language Models: Principles, Taxonomy, Challenges, and Open Questionscited by 1,582
- 2025s1: Simple test-time scalingcited by 1,311
- 2023FActScore: Fine-grained Atomic Evaluation of Factual Precision in Long Form Text Generationcited by 1,259
- 2023Inference-Time Intervention: Eliciting Truthful Answers from a Language Modelcited by 1,259
- 2020Leveraging Passage Retrieval with Generative Models for Open Domain Question Answeringcited by 1,203
- 2021A General Language Assistant as a Laboratory for Alignmentcited by 1,023
- 2022Discovering Language Model Behaviors with Model-Written Evaluationscited by 805
- 2023Whose Opinions Do Language Models Reflect?cited by 759
- 2023Open Problems and Fundamental Limitations of Reinforcement Learning from Human Feedbackcited by 743
- 2022Teaching Models to Express Their Uncertainty in Wordscited by 731
- 2020Aligning AI With Shared Human Valuescited by 706
- 2022A-OKVQA: A Benchmark for Visual Question Answering using World Knowledgecited by 702
- 2023Siren's Song in the AI Ocean: A Survey on Hallucination in Large Language Modelscited by 695
- 2023Automatic Prompt Optimization with "Gradient Descent" and Beam Searchcited by 628
- 2022Contrastive Decoding: Open-ended Text Generation as Optimizationcited by 598
- 2021Editing Factual Knowledge in Language Modelscited by 548
- 2023Promptbreeder: Self-Referential Self-Improvement Via Prompt Evolutioncited by 521
- 2023V*: Guided Visual Search as a Core Mechanism in Multimodal LLMscited by 459
- 2020Artificial Intelligence, Values and Alignmentcited by 443
- 2022Memory-Based Model Editing at Scalecited by 443
- 2023Trustworthy LLMs: a Survey and Guideline for Evaluating Large Language Models' Alignmentcited by 394
- 2023Editing Large Language Models: Problems, Methods, and Opportunitiescited by 367
- 2023DoLa: Decoding by Contrasting Layers Improves Factuality in Large Language Modelscited by 367
- 2023Trusting Your Evidence: Hallucinate Less with Context-aware Decodingcited by 319
- 2023AMBER: An LLM-free Multi-dimensional Benchmark for MLLMs Hallucination Evaluationcited by 293
- 2023MQuAKE: Assessing Knowledge Editing in Language Models via Multi-Hop Questionscited by 292
- 2023AI Alignment: A Comprehensive Surveycited by 256
- 2023Evaluating the Ripple Effects of Knowledge Editing in Language Modelscited by 238
- 2023Fine-tuning Language Models for Factualitycited by 219
50 most cited of 75 All 75 (JSON)
Built on by
Not cited yet.
Similar, not cited
Close in wording, no citation either way
- 2025Cross-Image Contrastive Decoding: Precise, Lossless Suppression of Language Priors in Large Vision-Language Models
- 2025ASCD: Attention-Steerable Contrastive Decoding for Reducing Hallucination in MLLM
- 2025Doubly Debiased Test-Time Prompt Tuning for Vision-Language Models
- 2026TPCD: Tone-Pressure Contrastive Decoding and the Label-Free Gating Bottleneck in Vision-Language Models
- 2025Token-Level Inference-Time Alignment for Vision-Language Models
- 2025Revisiting the Learning Objectives of Vision-Language Reward Models
- 2026Instruction-Evidence Contrastive Dual-Stream Decoding for Grounded Vision-Language Reasoning
- 2025Overconfident and Blind to Details: Fixing Prompt Insensitivity with Abductive Preference Learning