Abstract Hizkuntza naturalaren prozesamendua (NLP) eta konputagailu bidezko ikusmenaren (CV) alorrak asko hazi dira azkenaldian. NLP eta CV-ren arteko zubian aurrerapenak lortu badira ere, gaur egun testuak eta irudiak prozesatzen dituzten sistemek hainbat ahulezia erakusten dituzte. Lan honetan, doktorego-tesi baten ekarpenak aurkezten dira, non ikusizko hizkuntza-ereduen bi ahulezi aztertu diren: munduko ezagutzaren integrazioa eta arrazonamendu espaziala. Alde batetik, irudietatik goiburukoak sortu ditugu hizkuntza-ereduetan inplizituki kodetuta dagoen munduko ezagutza hobeto aprobetxatzeko. Bestetik, objektu anotazioetatik datu sintetikoak sortzen zentratu gara, bai hizkuntza-ereduetan eta baita testu bidezko irudi sortzaileetan ere arrazonamendu espaziala hobetzeko.
Introduction
Modern Vision-Language Models (VLMs) have demonstrated impressive capabilities in describing visual scenes and answering basic queries. However, these models often falter when tasks require "thinking outside the pixels"—specifically regarding external world knowledge and complex spatial reasoning. This research, presented by Ander Salaberria, Gorka Azkune, and Eneko Agirre, addresses these gaps by leveraging the descriptive power of text to unlock the latent knowledge within Large Language Models (LLMs) and using synthetic datasets to refine spatial logic.
Bridging the External Knowledge Gap
A significant limitation of standard VLMs is their inability to retrieve facts not present in the visual input. For example, a model might identify a specific bird but fail to state its average lifespan without external data.
The researchers proposed a Caption-based Model (CBM) approach. Instead of feeding raw image data directly into a multimodal network, the system first "verbalizes" the image. Using the OSCAR model, detailed captions are generated and then passed to LLMs such as BERT and T5. This method allows the system to treat the visual task as a text-based reasoning problem, effectively tapping into the massive repository of world knowledge implicitly stored in the LLM's weights.
Enhancing Spatial Reasoning through Synthetic Data
Spatial reasoning—the ability to understand and generate relationships like "to the left of" or "overlapping"—is notoriously difficult for AI. The authors tackled this through a data-centric strategy:
- For VLMs: They introduced coordinate-based "location tokens" and trained models on a new Synthetic Spatial Training Dataset (SSTD) derived from COCO object annotations.
- For Image Generation: They created SR4G (Spatial Relations for Generation), a dataset of synthetic captions paired with real images. This was used to fine-tune Stable Diffusion, improving its ability to respect spatial prepositions in user prompts.
Key Results and Findings
The study utilized several benchmarks, including OK-VQA for external knowledge and VSR (Visual Spatial Reasoning) for logic.
- Knowledge Gains: The CBM-BERT model achieved 32.5% accuracy on OK-VQA, while the largest iteration, T5-11B, reached 47.9%. This performance surpasses many state-of-the-art systems that rely on complex external database lookups, proving that "verbalization" is a viable bridge to LLM knowledge.
- Spatial Logic Gains: On the VSR benchmark, adding location tokens and training on SSTD boosted BERT's accuracy from 61.8% to 73.7%.
- Generative Improvements: Fine-tuning Stable Diffusion on the SR4G dataset improved its spatial accuracy (measured by the VISOR metric) from 27.4 to 31.7, indicating a better grasp of object placement.
Conclusion and Future Directions
The research demonstrates that turning pixels into descriptive text—verbalization—is an effective way to access the reasoning capabilities of large-scale language models. Furthermore, the results suggest that improving spatial reasoning may depend more on the quality and structure of training data (such as location tokens) than on increasing model complexity.
Future work will explore Retrieval-Augmented Generation (RAG) for VLMs to minimize hallucinations by allowing models to actively search external databases. The authors also aim to integrate these spatial and knowledge-based improvements into a single, unified multimodal architecture.
This work was presented at the IkerGazte 2025 conference.
Summary updated