Manuscript Offprint

arXiv:2609.07937

TDDN: Text-aligned Diffused DINO Network for Puzzle Understanding

Harsha Patnala, Debopriyo Banerjee, Ayush Sunil Munot, Somak Aditya

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original. This text is shared under the same licence.

Harsha Patnala 1,∗^{1,*}, Debopriyo Banerjee 2,∗^{2,*}, Ayush Sunil Munot 3^{3}, Somak Aditya 3^{3}

1^{1}Eightfold AI, 2^{2}Inception42,

3^{3}Indian Institute of Technology Kharagpur

{pshanmukhasreeharsha, deb.ban89, munotayush6}@gmail.com,

saditya@cse.iitkgp.ac.in

Project Code Datasets

Figure

(a) Chess (Input Image)

Figure

CLIP

Figure

Stable Diffusion

Figure

DINOv2

Figure

CleanDIFT

Figure

DINOv3

Figure

DIFFUSEDINO

Figure

TDN

Figure

TDDN

Chess – Localization (success)

Figure

source

Figure

oracle (GT)

Figure

TDDN

Q. Which quarter of the board is the white queen in?

InternVL3-8B: raw B X • oracle C ✓ • TDDN C ✓ • GT C

References (100)

  • Qwen2.5-VL Technical Report
  • Talking to DINO: Bridging Self-Supervised Vision Backbones with Language for Open-Vocabulary Segmentation
  • LAION-5B: A New Era of Open Large-Scale Multi-Modal Datasets
  • Food-101 – Mining Discriminative Components with Random Forests
  • COCO-Stuff: Thing and stuff classes in context
  • Learning to Generate Text-grounded Mask for Open-world Semantic Segmentation from Only Image-Text Pairs
  • Interpretable Zero-Shot Learning with Locally-Aligned Vision-Language Model
  • Hawaii: IEEE/CVF
  • InternVL: Scaling up Vision Foundation Models and Aligning for Generic Visual-Linguistic Tasks
  • Reproducible Scaling Laws for Contrastive Language-Image Learning
  • K.; Toh, V. Y. H.; Ghosal, D.; Bing, L.; and Poria, S. 2024
  • The Cityscapes Dataset for Semantic Urban Understanding
  • ImageNet: A Large-Scale Hierarchical Image Database
  • Data Filtering Networks
  • Learning Generative Visual Models from Few Training Examples: An Incremental Bayesian Approach Tested on 101 Object Categories
  • Gemini: A Family of Highly Capable Multimodal Models
  • Gemma 3 Technical Report
  • AlgoPuzzleVQA: Diagnosing Multimodal Reasoning Challenges of Language Models with Algorithmic Multimodal Puzzles
  • With Limited Data for Multimodal Alignment, Let the STRUCTURE Guide You
  • A.; and Manning, C. D. 2019
  • VCoder: Versatile Vision Encoders for Multimodal Large Language Models
  • MARVEL: Multidimensional Abstraction and Reasoning through Visual EvaLuation
  • CLEVR: A Diagnostic Dataset for Compositional Language and Elementary Visual Reasoning
  • DINOV2 Meets Text: A Unified Framework for Image- and Pixel-Level Vision-Language Alignment
  • ChessRender360: High-Fidelity Rendered Chess Dataset with Multi-Modal Annotations
  • Learning Multiple Layers of Features from Tiny Images
  • BLIP-2: Bootstrapping Language-Image Pre-training with Frozen Image Encoders and Large Language Models
  • LaViDa: A Large Diffusion Language Model for Multimodal Understanding
  • Microsoft COCO: Common Objects in Context
  • Visual Instruction Tuning
  • RoBERTa: A Robustly Optimized BERT Pretraining Approach
  • DEEM: Diffusion Models Serve as the Eyes of Large Language Models for Image Perception
  • Jigsaw-Puzzles: From Seeing to Understanding to Reasoning in Vision-Language Models
  • SPair-71k: A Large-scale Benchmark for Semantic Correspondence (opens arXiv in a new tab)
  • The Role of Context for Object Detection and Semantic Segmentation in the Wild
  • Revisiting a kNN-based Image Classification System with High-capacity Storage
  • GPT-4 Technical Report
  • DINOv2: Learning Robust Visual Features without Supervision
  • TripletCLIP: Improving Compositional Reasoning of CLIP via Synthetic Vision-Language Negatives
  • A.; Wang, L.; Cervantes, C. M.; Caicedo, J. C.; Hockenmaier, J.; and Lazebnik, S. 2015
  • What does a platypus look like? Generating customized prompts for zero-shot image classification
  • Learning Transferable Visual Models From Natural Language Supervision
  • VGRP-Bench: Visual Grid Reasoning Puzzle Benchmark for Large Vision-Language Models (opens arXiv in a new tab)
  • High-Resolution Image Synthesis with Latent Diffusion Models
  • A Picture is Worth a Thousand Words: Principled Recaptioning Improves Image Generation (opens arXiv in a new tab)
  • Man vs. computer: Benchmarking machine learning algorithms for traffic sign recognition
  • CleanDIFT: Diffusion Features without Noise
  • Emergent Correspondence from Image Diffusion
  • Eyes Wide Shut? Exploring the Visual Shortcomings of Multimodal LLMs
  • SigLIP 2: Multilingual Vision-Language Encoders with Improved Semantic Understanding, Localization, and Dense Features
  • Contrastive Region Guidance: Improving Grounding in Vision-Language Models without Training
  • Understanding Contrastive Representation Learning through Alignment and Uniformity on the Hypersphere
  • FG-CLIP 2: A Bilingual Fine-grained Vision-language Alignment Model
  • Demystifying CLIP Data
  • LVLM-eHub: A Comprehensive Evaluation Benchmark for Large Vision-Language Models
  • Set-of-Mark Prompting Unleashes Extraordinary Visual Grounding in GPT-4V (opens arXiv in a new tab)
  • Sigmoid Loss for Language Image Pre-Training
  • LiT: Zero-Shot Transfer with Locked-Image Text Tuning
  • Tip-Adapter: Training-free Adaptation of CLIP for Few-shot Classification
  • Scene Parsing through ADE20K Dataset
  • Extract Free Dense Labels from CLIP. In Proceedings of the European Conference on Computer Vision (ECCV)
  • InternVL3: Exploring Advanced Training and Test-Time Recipes for Open-Source Multimodal Models
  • DynaMath: A Dynamic Visual Benchmark for Evaluating Mathematical Reasoning Robustness of Vision Language Models
  • During text alignment, we replace the fixed PCA projections with learned MLP projection heads
  • The projected feature components are then concatenated along the channel dimension to construct the CD' representation:
  • $\mathrm{SD}'$ features are extracted in the same manner
  • We set $\alpha = 0.5$ throughout
  • Specifically, the vision encoder processes only DN features, while the text encoder, training objective, and optimization procedure remain identical to those described in Section 3.1
  • We average-pool the patch representations to obtain:
  • This improves optimization in the limited image-text pair regime by retaining the geometric structure learned by the pretrained encoder instead of allowing it to drift during contrastive training
  • Table 6 summarizes the frozen and trainable modules used during alignment
  • ><tr><td>Component</td><td>Status</td><td>Notes</td></tr><tr><td colspan=
  • We use $K = 2$ self-attention blocks for both modalities
  • We project each layer independently to a common dimension, $d_c = 512$, and resample the feature maps to a shared $21 \times 21$ grid before applying the fusion procedure defined in Eq
  • We use $\lambda = 10$ and apply a 500-iteration warm-up to $\mathcal{L}_{\text{struct}}$
  • We use GradCache to accumulate 16 micro-batches of size 64 per GPU, resulting in an effective contrastive batch size of 4,096
  • We construct a text classifier from the respective class names and assign each patch to its highest-similarity class following the standard sliding-window protocol of TCL (Cha, Mun, and Roh 2023)
  • Their final patch embeddings are therefore unsuitable for dense prediction
  • a photo of a class
  • Describe what {class} looks like in a photograph. Focus on visual appearance—colors, textures, shapes, and distinguishing features. One paragraph, 2–3 sentences only
  • What visual features distinguish class from other similar objects or scenes? Focus on what makes it visually unique. One paragraph, 2–3 sentences only
  • a photo of class
  • For each shot setting $K \in \{1, 2, 4, 8, 16\}$, we sample $K$ training examples per class using a fixed random seed and construct a cache of $\ell_2$-normalized image embeddings and labels
  • Lower-shot caches are then obtained by selecting the first $k$ examples from this shared pool for each class
  • Subscripts g and p denote global (CLS) and patch-mean pooling
  • We then black out the region assigned to the queried object while leaving the remainder of the image unchanged
  • DDN' closely tracks DN on both axes, indicating that fusion preserves DINOv3's image-level geometry without sacrificing its discriminative properties
  • Each model's patch features have shape $(N^2, z_{img})$, where $N = 32$ for a patch size of 16
  • To test the data-coverage hypothesis, Table 10 reports top-1 accuracy on classes observed during text alignment
  • ><tr><td>Dataset</td><td>Model</td><td>K=1</td><td>K=2</td><td>K=4</td><td>K=8</td><td>K=16</td></tr><tr><td rowspan=
  • Best per (dataset, K) in bold
  • Here, $\Delta_{o}$ and $\Delta_{TDDN}$ denote the accuracy gains obtained using oracle and TDDN-predicted regions relative to the image-only baseline
  • On Chess, the largest oracle gains are observed for Gemma-4-12B-it (+6.4), Qwen2.5-VL-7B-Instruct (+5.6), and Qwen3.6-27B (+4.6), while on N-Queens, Qwen3.6-27B and Qwen3.6-35B-A3B benefit the most (+7.0 each)
  • Gemma-4-12B-it achieves substantial gains on Chess (+6.4/+2.6, baseline 60.0) but remains flat on N-Queens (-0.8/-1.2, baseline 75.0)
  • when oracle regions help, TDDN recovers substantial gains and sometimes matches or exceeds them; when they do not, neither does TDDN. This suggests the main limitation is the VLM's ability to exploit region-level information, rather than TDDN's region quality
  • >Model</td><td colspan=
  • For the Puzzle Perception benchmark (Table 1), segmentation masks are obtained directly from the rendering pipeline, providing noise-free, pixel-level annotations for the puzzle variations described above
  • We retain LAION samples with aesthetic scores above 0.5, remove NSFW content, and recaption the retained images using Gemma-3 to improve image-text correspondence
  • This ensures that our results remain directly comparable with established evaluation protocols and prior work
  • Natural-image datasets such as COCO-Stuff and ADE20K provide pixel-level segmentation annotations but do not evaluate question answering or puzzle understanding, whereas VQA benchmarks such as CLEVR and GQA assess visual reasoning without dense segmentation supervision

Couldn't load all references. Reload the page to try again.