Skywalker0410 commited on
Commit
252a2ef
·
verified ·
1 Parent(s): f879290

Document architecture, inference, evaluation, and paper results

Browse files
Files changed (2) hide show
  1. README.md +6 -6
  2. checksums.sha256 +1 -1
README.md CHANGED
@@ -17,7 +17,7 @@ tags:
17
  inference: false
18
  ---
19
 
20
- <p align="center"><img src="assets/logo.png" width="150" alt="GroundAnything logo" /></p>
21
 
22
  # GroundAnything: Reconciling Parallel Decoding with Precise Visual Grounding at Flash Speed
23
 
@@ -25,7 +25,7 @@ inference: false
25
 
26
  **This repository contains the GroundAnything DLM checkpoint.** Use entropy-guided decoding for the main benchmark setting, or select optional self-speculative decoding.
27
 
28
- <p align="center"><img src="assets/fig1-teaser.png" width="100%" alt="GroundAnything Figure 1: broad visual grounding and parallel visual evidence extraction" /></p>
29
 
30
  ## 🔗 Quick Links
31
 
@@ -104,11 +104,11 @@ Global.
104
  - **Spatial vocabulary:** 1,000 coordinate tokens shared with semantic labels and protocol markers.
105
  - **DLM conversion:** the shared decoder and vocabulary head support both causal prediction and bidirectional response-block denoising. A mask token is added for diffusion generation.
106
 
107
- <p align="center"><img src="assets/fig2-architecture.png" width="100%" alt="GroundAnything Figure 2: vision-language architecture and autoregressive-to-diffusion conversion" /></p>
108
 
109
  *Figure 2. Shared model architecture and the conversion to parallel grounding.*
110
 
111
- <p align="center"><img src="assets/fig4-attention-mask.png" width="640" alt="GroundAnything Figure 4: clean-stream causal and noisy-response block attention" /></p>
112
 
113
  *Figure 4. The attention mask used during diffusion conversion. The clean stream uses causal attention. A noisy response block attends bidirectionally within its block and reads the clean conditioning context and strictly preceding clean response blocks. Conversion uses B=32; the illustration uses two-token blocks.*
114
 
@@ -191,7 +191,7 @@ External baseline weights and model services are separate from the evaluation to
191
 
192
  ## Quantitative Evaluation Benchmarks
193
 
194
- <p align="center"><img src="assets/fig7-grounding-performance.png" width="100%" alt="GroundAnything Figure 7: GroundAnything and GroundAnything-VLM benchmark overview" /></p>
195
 
196
  *Figure 7. Paper-reported capability overview. Detailed task-level scores, baseline settings, and evaluation protocols are provided in the paper and supplementary material.*
197
 
@@ -298,7 +298,7 @@ After a block is complete, a causal forward reconstructs its authoritative KV ca
298
 
299
  The model uses its own shared weights to draft tokens with bidirectional attention and verify them with causal attention. Verification accepts the **longest consecutive matching prefix**, stops at the first mismatch, applies the causal correction, and discards the rejected suffix cache states. The shipped speculative route uses greedy verification; it is not a general stochastic speculative sampler.
300
 
301
- <p align="center"><img src="assets/fig6-self-speculative-decoding.png" width="100%" alt="GroundAnything Figure 6: linear and quadratic self-speculative schedules with shared model weights" /></p>
302
 
303
  *Figure 6. The paper studies two schedules: linear drafting and verification use two model forwards and 2B query tokens per round; quadratic fusion uses one forward after initialization with B(B + 1) query tokens. These counts describe queries and model calls, not total Transformer FLOPs.*
304
 
 
17
  inference: false
18
  ---
19
 
20
+ <p align="center"><img src="https://huggingface.co/GroundingPI/GroundAnything/resolve/0f8e30894c3ca86378d01ae51ec69c217c78151b/assets/logo.png" width="150" alt="GroundAnything logo" /></p>
21
 
22
  # GroundAnything: Reconciling Parallel Decoding with Precise Visual Grounding at Flash Speed
23
 
 
25
 
26
  **This repository contains the GroundAnything DLM checkpoint.** Use entropy-guided decoding for the main benchmark setting, or select optional self-speculative decoding.
27
 
28
+ <p align="center"><img src="https://huggingface.co/GroundingPI/GroundAnything/resolve/0f8e30894c3ca86378d01ae51ec69c217c78151b/assets/fig1-teaser.png" width="100%" alt="GroundAnything Figure 1: broad visual grounding and parallel visual evidence extraction" /></p>
29
 
30
  ## 🔗 Quick Links
31
 
 
104
  - **Spatial vocabulary:** 1,000 coordinate tokens shared with semantic labels and protocol markers.
105
  - **DLM conversion:** the shared decoder and vocabulary head support both causal prediction and bidirectional response-block denoising. A mask token is added for diffusion generation.
106
 
107
+ <p align="center"><img src="https://huggingface.co/GroundingPI/GroundAnything/resolve/0f8e30894c3ca86378d01ae51ec69c217c78151b/assets/fig2-architecture.png" width="100%" alt="GroundAnything Figure 2: vision-language architecture and autoregressive-to-diffusion conversion" /></p>
108
 
109
  *Figure 2. Shared model architecture and the conversion to parallel grounding.*
110
 
111
+ <p align="center"><img src="https://huggingface.co/GroundingPI/GroundAnything/resolve/0f8e30894c3ca86378d01ae51ec69c217c78151b/assets/fig4-attention-mask.png" width="640" alt="GroundAnything Figure 4: clean-stream causal and noisy-response block attention" /></p>
112
 
113
  *Figure 4. The attention mask used during diffusion conversion. The clean stream uses causal attention. A noisy response block attends bidirectionally within its block and reads the clean conditioning context and strictly preceding clean response blocks. Conversion uses B=32; the illustration uses two-token blocks.*
114
 
 
191
 
192
  ## Quantitative Evaluation Benchmarks
193
 
194
+ <p align="center"><img src="https://huggingface.co/GroundingPI/GroundAnything/resolve/0f8e30894c3ca86378d01ae51ec69c217c78151b/assets/fig7-grounding-performance.png" width="100%" alt="GroundAnything Figure 7: GroundAnything and GroundAnything-VLM benchmark overview" /></p>
195
 
196
  *Figure 7. Paper-reported capability overview. Detailed task-level scores, baseline settings, and evaluation protocols are provided in the paper and supplementary material.*
197
 
 
298
 
299
  The model uses its own shared weights to draft tokens with bidirectional attention and verify them with causal attention. Verification accepts the **longest consecutive matching prefix**, stops at the first mismatch, applies the causal correction, and discards the rejected suffix cache states. The shipped speculative route uses greedy verification; it is not a general stochastic speculative sampler.
300
 
301
+ <p align="center"><img src="https://huggingface.co/GroundingPI/GroundAnything/resolve/0f8e30894c3ca86378d01ae51ec69c217c78151b/assets/fig6-self-speculative-decoding.png" width="100%" alt="GroundAnything Figure 6: linear and quadratic self-speculative schedules with shared model weights" /></p>
302
 
303
  *Figure 6. The paper studies two schedules: linear drafting and verification use two model forwards and 2B query tokens per round; quadratic fusion uses one forward after initialization with B(B + 1) query tokens. These counts describe queries and model calls, not total Transformer FLOPs.*
304
 
checksums.sha256 CHANGED
@@ -1,5 +1,5 @@
1
  20c797ce19af0c17de52c6afb144644768a591c521655f5ebf5712c9850f2887 LICENSE
2
- 2c09ea3d520a5ed5d06ed0fd5d02c57df4d9be4b05ed469ad30c231c5c1221c5 README.md
3
  669bb095cca2e86ddc821926f4c3b42dd7389f2ad3ec49c8edca8fe6294aae7f added_tokens.json
4
  a0bc6f6fc7a29a80017a433e8f03a1cc1236e838a944a2d034295a60c4f2fddb chat_template.jinja
5
  22c369e2bdac19723fe7db7e4c64b224462744b1f1aae7bd5daf05307db3b9fd config.json
 
1
  20c797ce19af0c17de52c6afb144644768a591c521655f5ebf5712c9850f2887 LICENSE
2
+ 9b467c445a8e0a851fa12e7e10d1b26e4d2d80bd05c0c76746e73c4d5c7640e0 README.md
3
  669bb095cca2e86ddc821926f4c3b42dd7389f2ad3ec49c8edca8fe6294aae7f added_tokens.json
4
  a0bc6f6fc7a29a80017a433e8f03a1cc1236e838a944a2d034295a60c4f2fddb chat_template.jinja
5
  22c369e2bdac19723fe7db7e4c64b224462744b1f1aae7bd5daf05307db3b9fd config.json