[KongchangAI]
ConceptPrevious-Token Prediction

Previous-Token Prediction

A task that predicts the preceding token based on the current and subsequent tokens. It can be regarded as the time reversal of standard next-token prediction, requiring adjustment of attention direction or reversed-sequence training, and can be used for LLM inversion attacks.

Timeline (last 90 days)

Nov 19

A study discussed on Hacker News proposes an LLM inversion technique based on Previous-Token Prediction, attempting to reconstruct prompts from model outputs.

Unverified50%
Nov 19

The key idea of this research is to transform the inversion problem into a prediction task, using preceding-token prediction to infer the input sequence.

Unverified50%
Nov 19

Preceding-token prediction refers to the task of predicting the previous token based on the current and subsequent tokens, which can be viewed as the time-reversal of standard next-token prediction.

Unverified50%
Nov 19

To implement preceding-token prediction, one usually needs to adjust the attention direction (e.g., use bidirectional or reverse attention), or reverse the sequence before training.

Unverified50%
Nov 19

Preceding-token prediction can be used for inversion attacks because the model's conditional dependencies between tokens encode local structural information of the input sequence.

Unverified50%
Nov 19

Compared with gradient-based inversion methods, preceding-token prediction is closer to the model's native prediction interface and is more operable when only output access is available.

Unverified50%
Nov 19

The reconstruction accuracy of preceding-token prediction depends heavily on the model's strength in modeling the input sequence.

Unverified50%

All Facts (7)

Source Articles