AI Hot BriefingThis issue Β· All issues
HOTQbitAIOct 09, 15:11ChinaπŸ‡¨πŸ‡³ China

ByteDance's DeepSeek Fluctuations Unveiled 🧐

DeepSeek-V4's performance varies with information input position, impacting accuracy in long context retrieval.

DeepSeek-V4Token PositioningAccuracy FluctuationsKV Cache Compression
ByteDance's DeepSeek Fluctuations Unveiled 🧐
Image linked from the original article Β· Β© original publisher

Introduction

ByteDance's Seed team has discovered the cause of DeepSeek-V4's fluctuating performance. The model's accuracy in long context retrieval is affected by the position of information input, a finding that challenges traditional understanding of model behavior.

Fluctuating Performance

The team found that DeepSeek-V4's performance changes periodically every 4 Token cycles. This means the model's ability to remember and process information depends on its position within the input sequence. The accuracy of the model can vary significantly based on the placement of irrelevant characters at the beginning of the input.

Impact on Accuracy

In a 128K long context retrieval test, the researchers observed a maximum accuracy difference of 40.2 percentage points between different positions of the same information. This highlights the significant impact of token positioning on model performance.

KV Cache Compression

The issue is linked to DeepSeek-V4's use of a long context optimization technique called 'Block KV Cache Compression.' This technique is designed to save memory and improve efficiency when processing long texts, but it seems to be the source of the model's fluctuating performance.

Experiment and Observation

The research team conducted experiments with DeepSeek-V4-Flash-Base, adjusting the number of decorative equal signs in the code without changing the logic or the correct answer. This manipulation caused the model to switch between correct and incorrect answers, demonstrating the impact of token positioning.

β€œThe model's ability to remember and process information depends on its position within the input sequence.”

β€” ByteDance Seed Research Team
TAKEAWAYToken positioning significantly impacts the performance of large language models like DeepSeek-V4
Source: QbitAI Β· always refer to the original article
AI-curated from public sources for informational purposes only; images are hotlinked originals and copyright belongs to their respective publishers.
By Chaos Lab Β· ε¦™η­”ζ˜ŸηƒAI