Treewalker samples ungrounded Gemini responses across multiple runs, extracting token-level logprobs to measure confidence and exploring branching token paths to map latent brand associations.

flowchart LR
    A[Brand/Entity Prompt] --> B[Gemini Generate Content]
    B --> C[Extract Token Logprobs]
    C --> D{Alt Tokens >= Threshold?}
    D -- Yes --> E[Branch Completion & Tree Walk]
    D -- No --> F[Standard Associations]
    E --> G[Multi-Run Aggregation]
    F --> G
    G --> H[Brand Associations Map]