Latent encoder

Pinned implementation and paper LDLM @ e18c42a, not yet public · arXiv:2605.07933v1 · OpenWebText · 1024 · checkpoint, tokenizer and saved statistics not verified · How to read

Latent encoder

Add positions

×

no parameters

Add each position’s learned vector to its features.

hp=h+Ep{\htmlData{light=with-positions add-positions}{h^{p}}}={\htmlData{light=features}{h}}+{\htmlData{light=positions}{E_{p}}}
in
hh [B batch, T positions, 768 d]EpE_{p} [B batch, T positions, 768 d]
out
hph^{p} [B batch, T positions, 768 d]
Sources1

Direct evidence

The encoder adds positions to the features, normalizes the learned queries, applies the blocks, each attending to the features, and normalizes the result.

The implementation, pinned at revision e18c42acdfb7, not yet public