Safety

Usage Recommendation for DeepSeek-R1

First page
Usage Recommendation for DeepSeek-R1
Paper summary

This work provides a set of recommendations for how to prompt the DeepSeek-R1 model. Below are the key guidelines: 1. Prompt Engineering:

Ask this paper

Key points
01

Use clear, structured prompts with explicit instructions

02

Avoid few-shot prompting; use zero-shot instead 1. Output Formatting:

03

Specify the desired format (JSON, tables, markdown)

04

Request step-by-step explanations for reasoning tasks 1. Language:

05

Explicitly specify input/output language to prevent mixing The paper also summarizes when to use the different model variants, when to fine-tune, and other safety considerations.

Abstract

Large Language Models (LLMs) have achieved remarkable progress in reasoning, alignment, and task-specific performance. However, ensuring harmlessness in these systems remains a critical challenge, particularly in advanced models like DeepSeek-R1. This paper examines the limitations of Reinforcement Learning (RL) as the primary approach for reducing harmful outputs in DeepSeek-R1 and compares it with Supervised Fine-Tuning (SFT). While RL improves reasoning capabilities, it faces challenges such as reward hacking, generalization failures, language mixing, and high computational costs. We propose hybrid training approaches combining RL and SFT to achieve robust harmlessness reduction. Usage recommendations and future directions for deploying DeepSeek-R1 responsibly are also presented.

Every Monday
Get next week’s papers.
Subscribe on Substack