A backward encoder can see the answer
numeric▲▲△A backward linear encoder obeys with terminal state . Compute its state at position one for , then for . Could a representation containing that state be used unchanged to predict the next token causally after reading only position one?
Hint
Evaluate from position three to position one.
Solution
For the backward states at positions three, two and one are , and . For they are , and .
Position one’s representation changes even though the observed prefix is identical. It depends on the future. Using it unchanged for causal next-token prediction leaks information that would be unavailable at generation time.
A bidirectional encoder is appropriate when the full input is already observed, such as tagging a completed sentence. The objection is to using future context for a task whose information boundary forbids it, not to bidirectional encoding itself.