Teaching AI to read a map
MapTrace is a synthetic data pipeline that teaches multimodal LLMs to trace valid routes on maps. An LLM writes map prompts, a text-to-image model renders them, color clustering produces walkable-area masks filtered by an MLLM "Mask Critic", and the masks become pixel graphs where Dijkstra finds shortest paths that an MLLM "Path Critic" then vets. Fine-tuning Gemini 2.5 Flash and Gemma 3 27B on 23K generated paths improved MapBench NDTW (Flash 1.29→0.87, Gemma 1.29→1.13) and raised parse success rates. The critics reached 76–83% accuracy with 8–9% false positives, and 2M QA pairs are released openly.
Related posts
- Introducing ConTextual: How well can your Multimodal model jointly reason over text and image in text-rich scenes?
Hugging Face easyNoviceConTextual is a benchmark of 506 human-written instructions over text-rich images that require joint reasoning over textual and visual cues across 8 scenarios, including time reading, shopping, navigation, infographics, web and mobile UIs. Evaluating 13 models with GPT-4 as judge shows that all large multimodal models trail humans. GPT-4V is the strongest model and beats humans on abstract scenes but struggles with time reading and infographics. Open-source LMMs only do acceptably on natural and abstract scenes, and an OCR/caption-augmented GPT-4 pipeline reaches just 17.2% human approval. The authors point to better image encoders, more accurate image descriptions and fine-grained vision-language alignment as next steps, and a public leaderboard accepts validation and test submissions.
- Palette: teaching a small model to build decks in your design language
Hugging Face mediumAdeptPalette fine-tunes a 20B open-weight model with a single LoRA adapter to generate slide decks in a specific design language (IBM Design Language), splitting the work into a designer role that writes a structured JSON brief and a coder role that writes per-slide pptxgenjs code in parallel (about 6–7× faster). Training data is ~1000 synthetic decks (~10,000 slides) from a large open teacher, with counterfactual reasoning traces and render-check-repair loops. Reference decks fixed hallucination where prompt rules did not, and designer examples had to be oversampled 5×. A geometry-checking harness keeps editor-model rewrites only when they measurably improve a slide, adding 3.5 points on PresentBench, where Palette ranks first on Economics and Education and second overall (59.7 vs NotebookLM's 60.8).
- Building on Nemotron 3.5 Parse: Open Data, Fine-Tuning, and Faster Inference
Hugging Face hardMasterNemotron 3.5 Parse, a compact page-image-to-structured-data model for RAG and agents, was trained with SFT followed by RLVR using GRPO. In a matched comparison, the RL phase cut looping outputs from 126 to 29 pages and raised the overall score from 66.24 to 71.38. Architecture changes include NaViT dynamic inputs, compressed visual tokens used as a causal prefix, GQA-8, and an MTP head, plus an optional DFlash2 speculator that drafts up to 32 tokens. On one H200, DFlash2 gives 7.62× throughput at concurrency 1 and 20.44 pages/s at 512, versus 2.98 for Parse 2.0. NVIDIA is also releasing three synthetic datasets (charts, tables, multilingual OCR) and a fine-tuning recipe; on a dental form example, the recipe lifts pass@1 from 0% to 96.58%.
- Image search with 🤗 datasets
Hugging Face mediumAdeptA text-to-image search over 10,000 British Library book embellishments can be built by loading the images with the 🤗 datasets ImageFolder loader and embedding them with the CLIP ViT-B/32 model via sentence_transformers. The embeddings are indexed with datasets' built-in add_faiss_index, and text prompts are queried with get_nearest_examples. push_to_hub stores intermediate datasets so work can move between machines, such as a laptop and a Colab GPU. Results for prompts like "a steam engine" or "a musical instrument" are not always correct but are usually reasonable, which is enough to search images by semantic content.
- Training a coding model to paint watercolours with TRL and OpenEnv
Hugging Face hardMasterAn open reproduction of Surya Narreddi's watercolour-painting language model trains Qwen3.5-35B-A3B with GRPO in TRL to write p5.brush JavaScript, using an OpenEnv environment that renders sketches in headless Chromium. Restricted to 10 of the library's 47 methods, the policy is scored on a gate, code length, a Qwen3-VL pairwise judge comparing against a hand-rated pool of 178 model-generated paintings, and the HPSv3 preference model. Three reward mixes all learned, with mean group reward rising by +0.13 to +0.27. Early flat runs were fixed by four trainer changes: learning rate 2e-5 to 5e-5, constant_with_warmup scheduling, scale_rewards=none, and all-linear LoRA targets so the MoE projections actually got adapters. The environment, pool, scripts and models are all published.