The algorithm generates an initial response with token logprobs, identifies alternate candidate tokens that exceed a set confidence threshold, and forks separate generation branches using the prefix plus the alternate token to uncover diverging associations.

flowchart LR
    A[Initial Prompt] --> B[Token Step with Logprobs]
    B --> C{Confidence Threshold Check}
    C -->|Top Token| D[Continue Base Generation]
    C -->|Alt Token >= Threshold| E[Fork Branch Prompt]
    E --> F[Generate Alternative Associations]

Referenced by