ByteDance Discovers Fluctuating Performance in DeepSeek Models π€
DeepSeek-V4's accuracy fluctuates based on the position of information in the input, revealing an unexpected aspect of large language models.
Introduction to DeepSeek-V4
DeepSeek-V4, developed by ByteDance's Seed team, is a large language model known for its ability to process long texts. However, recent research has uncovered an interesting phenomenon related to its performance.
Fluctuating Performance Based on Input Position
Researchers found that DeepSeek-V4's performance fluctuates periodically with the input position, every 4 Token cycles. This means that the model's ability to remember and process information depends on where it is positioned in the input sequence.
Effect on Accuracy
In a 128K long context retrieval test, the accuracy of DeepSeek-V4 series models varied up to 40.2 percentage points based on the position of a single piece of information. This highlights the significant impact of input position on model performance.
KV Cache Compression
The fluctuating performance is related to a long context optimization technique used in DeepSeek-V4, known as block KV Cache compression. This technique aims to reduce memory usage and improve efficiency when processing long texts.
Experiment with Token Position
The research team conducted an experiment by adding decorative documentation strings with repeated equal signs at the beginning of the code. They found that the model's answers varied depending on the number of equal signs, with a repeating pattern every 4 Tokens.
βThe model's ability to remember and process information depends on where it is positioned in the input sequence.β
β Seed research team
By Chaos Lab Β· ε¦ηζηAI