ByteDance Discovers Fluctuating Performance of DeepSeek Models 🤔
DeepSeek-V4's performance varies with information input position, affecting accuracy in long context retrieval.
Background of DeepSeek-V4
DeepSeek-V4, developed by ByteDance's Seed team, is designed for long context retrieval. It aims to enhance efficiency and reduce memory usage in processing long texts.
Fluctuating Performance
Seed researchers found that DeepSeek-V4's performance changes periodically with the input position of information, every 4 Token cycles. This fluctuation affects the model's ability to remember and retrieve information correctly.
Experiment Details
The research team conducted experiments using DeepSeek-V4-Flash-Base. They manipulated the position of decorative strings in the code to observe changes in the model's answers. The results showed that the model's answers varied with the number of tokens added before the target code segment.
Impact on Accuracy
In a 128K long context retrieval test, the accuracy difference between the highest and lowest performance was up to 40.2 percentage points. This indicates that the position of information can significantly affect the model's accuracy.
Relation to KV Cache Compression
The fluctuation in performance is related to the long context optimization technique used by DeepSeek-V4, which is the block KV Cache compression. This technique is intended to reduce memory usage and computational cost but may be causing the model's inconsistent performance.
“'The model's ability to remember and retrieve information depends on the position of the information in the input.'”
— Seed research team