InfiGUI-G1
InfiGUI-G1 copied to clipboard
A question about Multi-Answer Generation
Hi!
Very great work and thank you for your sharing!
I'd like to understand a few things, please correct me if I'm wrong:
- I guess, the M candidate points in each rollout is also auto-regressivelly generated, induced by a specific prompt?
- What is the exact prompt in rollout process?
- Do we still get M candidate points If we use the trained policy in inference mode?
Hi @xray1111,
Thanks for your kind words and for the thoughtful questions! Glad to clarify:
-
Yes, the M candidate points in each rollout are generated auto-regressively within a single forward pass.
-
The exact rollout prompt is as follows:
f"""<image>The screen's resolution is {image_width}x{image_height}. Locate the UI element(s) for "{sample['instruction']}", output the coordinates using JSON format: [{{"point_2d": [x, y]}}, ...]""" -
Yes, during inference the model still produces M candidate points, but we typically take only the first one for evaluation or deployment — since the model is trained to rank higher-confidence predictions earlier in the sequence.
Hope this helps! Feel free to open another issue if you have any other questions.