[KongchangAI]
Concepttree attention

Tree Attention

A structured attention-mask design that places a shared context prefix and multiple parallel branches in a single sequence, so that each branch can attend only to the prefix and itself. All option representations are computed in parallel in one forward pass, eliminating processing-order bias.

Timeline (last 90 days)

Nov 24

Tree attention was shown to be a simple and efficient solution for mitigating order sensitivity.

Unverified50%
Nov 24

When used during training, tree attention achieves average accuracy on par with the baseline model.

Unverified50%
Nov 24

Without retraining, applying tree attention directly to the baseline model likewise eliminated order sensitivity, bringing only a 1.1 percentage point drop in accuracy.

Unverified50%
Nov 24

Tree attention stems from a structured design of the attention mask: a shared context prefix and multiple parallel branches are placed in the same sequence, and a customized attention mask lets each branch see only the prefix and itself, not the other branches.

Unverified50%
Nov 24

The cost of tree attention is that it requires modifying the attention implementation or positional encoding handling, and memory usage rises as the number of branches increases.

Unverified50%

All Facts (5)

Source Articles