Output Length Effect on DeepSeek-R1’s Safety in Forced Thinking

Xuying Li, Zhuo Li, Yuji Kosuga, Victor Bian · 2025

Read Output Length Effect on DeepSeek-R1’s Safety in Forced Thinking by Xuying Li, Zhuo Li, Yuji Kosuga, Victor Bian (2025) in the Tower of Babel, a free online library of public-domain works preserved in clean, searchable text. No sign-up. The full text is served as a plain-text file at a predictable URL, where text is present: https://antarctic-labs.com/tower-of-babel/arxiv-2503-01923.txt.

Description

Xuying Li, Zhuo Li, Yuji Kosuga, and Victor Bian study how answer length affects the safety of a reasoning model when it is forced to think step by step. Longer replies can help a model correct itself, but attackers may also use long outputs to slip past guards. The team tested the model DeepSeek-R1 against varied hostile prompts.

They find length cuts both ways: more room helps self-correction in some cases, while certain attacks gain from extended replies. The authors suggest that length should be controlled in a flexible way rather than fixed. They propose training tweaks and adaptive limits on output size to keep reasoning strong while improving safety.

Catalog record

CREATORXuying Li, Zhuo Li, Yuji Kosuga, Victor Bian
YEAR2025
COLLECTIONPAPERS
FORMATTXT
FILE SIZE19 KB
VERSION1.0
LICENSEhttp://creativecommons.org/licenses/by/4.0/
RIGHTSCC BY
SOURCEarXiv

Source: https://arxiv.org/abs/2503-01923

Browse the full library · About the Tower of Babel