Prompt Engineering News
End-to-end DAG-Path Prompting
End-to-end DAG-Path Prompting (EEDP) is a new technique to boost LLMs' reasoning by "flattening" graphs into text that LLMs can read. It preprocesses graphs into Directed Acyclic Graphs (DAGs), extracting backbone paths for conversion to structured text. This preserves long-distance connections and compresses redundant parts, allowing LLMs to better process graph data. Learn more
AI Red Teaming Course
Learn Prompting has created an AI Red Teaming and Safety course featuring insights from HackAPrompt creators and other industry leaders. The 5-week program includes intensive hands-on exercises, a final project, and access to an AI security job board. Bonus: Free access to 15 additional AI courses! Enroll now
Instance-adaptive Zero-shot CoT
Instance-adaptive Zero-shot CoT is a new technique to improve LLM reasoning on unseen data:
- Collect diverse prompts with different reasoning styles.
- Use saliency analysis to evaluate how well each prompt handles the question.
- Find the best reasoning path using IAP-ss (sequential substitution) or IAP-mv (majority vote) strategy.
This allows LLMs to adapt prompts dynamically for better performance on new instances. Learn more
Conditional Prompt Learning
Conditional Prompt Learning (CoCoOp) is a new method to adapt vision-language models like CLIP to downstream datasets. It introduces a Meta-Net that generates dynamic, conditional prompts tailored to each image, allowing better adaptation to new or unseen classes. CoCoOp is ideal for tasks like image classification with changing data distributions, cross-dataset transfer, and fine-grained classification. Learn more
Prompting Technique Tweets
Date | Author | Content |
---|---|---|
2024-10-13 |
Our New AI Red Teaming & AI Safety Masterclass will have the best guest speakers in the AI Safety space... Learn more |
|
2024-10-12 |
How to Use Instance-adaptive Zero-shot CoT? 1. Collect diverse prompts. 2. Use saliency analysis. 3. Find best reasoning path (IAP-ss or IAP-mv). Learn more |
|
2024-10-11 |
LLMs struggle to process graphs directly. End-to-end DAG-Path Prompting (EEDP) helps by "flattening" graphs into text. Learn more |
|
2024-10-08 |
Conditional Prompt Learning (CoCoOp) generates dynamic prompts tailored to each image, improving vision-language model adaptation. Learn more |