MoE-Context
A dynamic context selection mechanism that divides context into chunks and presents them to the model on demand, imitating the on-demand recall of human memory, in order to reduce computational cost and lessen interference from irrelevant information.
Timeline (last 90 days)
MoE-Context divides the context into multiple chunks; before each step, a fast yes/no judgment module evaluates whether each chunk is relevant, relevant chunks are shown in full, and the remaining chunks are compressed into a one-line summary (note) and are not deleted.
Tested on a laptop using the Qwen3-1.7B model and a synthetic lookup task, showing only the needed chunks raised task accuracy from 93/120 to 119/120.
On the same task, masking chunks is equivalent in effect to physically deleting them.
The model's own accuracy in judging whether each chunk is relevant is only 80/120.
Using a supervised linear probe (written into idle output rows) raised chunk-selection accuracy from 80/120 to 110/120.
MoE-Context lets all blocks share a single key-value cache; hidden blocks mask the participation of their key/value via attention masks, so they can be recalled in subsequent steps without re-encoding.
Undoing a failed attempt only requires re-hiding the relevant blocks (flipping mask bits), at extremely low cost.
When running a sub-agent, no new context needs to be created; existing blocks can be reused directly.
In MoE-Context, the model's own selection capability is the system's weak point, and in the future it may need to combine simple methods such as keyword search with a learned selector.
All Facts (9)
MoE-Context divides the context into multiple chunks; before each step, a fast yes/no judgment module evaluates whether each chunk is relevant, relevant chunks are shown in full, and the remaining chunks are compressed into a one-line summary (note) and are not deleted.
50%UnverifiedTested on a laptop using the Qwen3-1.7B model and a synthetic lookup task, showing only the needed chunks raised task accuracy from 93/120 to 119/120.
50%UnverifiedOn the same task, masking chunks is equivalent in effect to physically deleting them.
50%UnverifiedThe model's own accuracy in judging whether each chunk is relevant is only 80/120.
50%UnverifiedUsing a supervised linear probe (written into idle output rows) raised chunk-selection accuracy from 80/120 to 110/120.
50%UnverifiedMoE-Context lets all blocks share a single key-value cache; hidden blocks mask the participation of their key/value via attention masks, so they can be recalled in subsequent steps without re-encoding.
50%UnverifiedUndoing a failed attempt only requires re-hiding the relevant blocks (flipping mask bits), at extremely low cost.
50%UnverifiedWhen running a sub-agent, no new context needs to be created; existing blocks can be reused directly.
50%UnverifiedIn MoE-Context, the model's own selection capability is the system's weak point, and in the future it may need to combine simple methods such as keyword search with a learned selector.
50%