Close Menu
Ztoog
    What's Hot
    Technology

    Imran Khan – victory speech from jail shows AI genius

    Technology

    Developing the Next Generation of AI Assistant

    Technology

    University students built an electric car that can go from 0-100 km/h in under a second

    Important Pages:
    • About Us
    • Contact us
    • Privacy Policy
    • Terms & Conditions
    Facebook X (Twitter) Instagram Pinterest
    Facebook X (Twitter) Instagram Pinterest
    Ztoog
    • Home
    • The Future

      Can work-life balance tracking improve well-being?

      Any wall can be turned into a camera to see around corners

      JD Vance and President Trump’s Sons Hype Bitcoin at Las Vegas Conference

      AI may already be shrinking entry-level jobs in tech, new research suggests

      Today’s NYT Strands Hints, Answer and Help for May 26 #449

    • Technology

      Elon Musk tries to stick to spaceships

      A Replit employee details a critical security flaw in web apps created using AI-powered app builder Lovable that exposes API keys and personal info of app users (Reed Albergotti/Semafor)

      Gemini in Google Drive can now help you skip watching that painfully long Zoom meeting

      Apple iPhone exports from China to the US fall 76% as India output surges

      Today’s NYT Wordle Hints, Answer and Help for May 26, #1437

    • Gadgets

      Future-proof your career by mastering AI skills for just $20

      8 Best Vegan Meal Delivery Services and Kits (2025), Tested and Reviewed

      Google Home is getting deeper Gemini integration and a new widget

      Google Announces AI Ultra Subscription Plan With Premium Features

      Google shows off Android XR-based glasses, announces Warby Parker team-up

    • Mobile

      Deals: the Galaxy S25 series comes with a free tablet, Google Pixels heavily discounted

      Microsoft is done being subtle – this new tool screams “upgrade now”

      Wallpaper Wednesday: Android wallpapers 2025-05-28

      Google can make smart glasses accessible with Warby Parker, Gentle Monster deals

      vivo T4 Ultra specs leak

    • Science

      June skygazing: A strawberry moon, the summer solstice… and Asteroid Day!

      Analysts Say Trump Trade Wars Would Harm the Entire US Energy Sector, From Oil to Solar

      Do we have free will? Quantum experiments may soon reveal the answer

      Was Planet Nine exiled from the solar system as a baby?

      How farmers can help rescue water-loving birds

    • AI

      Fueling seamless AI at scale

      Rationale engineering generates a compact new tool for gene therapy | Ztoog

      The AI Hype Index: College students are hooked on ChatGPT

      Learning how to predict rare kinds of failures | Ztoog

      Anthropic’s new hybrid AI model can work on tasks autonomously for hours at a time

    • Crypto

      Bitcoin Maxi Isn’t Buying Hype Around New Crypto Holding Firms

      GameStop bought $500 million of bitcoin

      CoinW Teams Up with Superteam Europe to Conclude Solana Hackathon and Accelerate Web3 Innovation in Europe

      Ethereum Net Flows Turn Negative As Bulls Push For $3,500

      Bitcoin’s Power Compared To Nuclear Reactor By Brazilian Business Leader

    Ztoog
    Home » Region-aware pre-training for open-vocabulary object detection with vision transformers – Google Research Blog
    AI

    Region-aware pre-training for open-vocabulary object detection with vision transformers – Google Research Blog

    Facebook Twitter Pinterest WhatsApp
    Region-aware pre-training for open-vocabulary object detection with vision transformers – Google Research Blog
    Share
    Facebook Twitter LinkedIn Pinterest WhatsApp

    Posted by Dahun Kim and Weicheng Kuo, Research Scientists, Google

    The potential to detect objects within the visible world is essential for laptop vision and machine intelligence, enabling functions like adaptive autonomous brokers and versatile buying programs. However, trendy object detectors are restricted by the guide annotations of their coaching knowledge, leading to a vocabulary measurement considerably smaller than the huge array of objects encountered in actuality. To overcome this, the open-vocabulary detection process (OVD) has emerged, using image-text pairs for coaching and incorporating new class names at take a look at time by associating them with the picture content material. By treating classes as textual content embeddings, open-vocabulary detectors can predict a variety of unseen objects. Various methods comparable to image-text pre-training, data distillation, pseudo labeling, and frozen fashions, usually using convolutional neural community (CNN) backbones, have been proposed. With the rising recognition of vision transformers (ViTs), you will need to discover their potential for constructing proficient open-vocabulary detectors.

    The present approaches assume the provision of pre-trained vision-language fashions (VLMs) and concentrate on fine-tuning or distillation from these fashions to handle the disparity between image-level pre-training and object-level fine-tuning. However, as VLMs are primarily designed for image-level duties like classification and retrieval, they don’t absolutely leverage the idea of objects or areas throughout the pre-training part. Thus, it could possibly be useful for open-vocabulary detection if we construct locality info into the image-text pre-training.

    In “RO-ViT: Region-Aware Pretraining for Open-Vocabulary Object Detection with Vision Transformers”, introduced at CVPR 2023, we introduce a easy methodology to pre-train vision transformers in a region-aware method to enhance open-vocabulary detection. In vision transformers, positional embeddings are added to picture patches to encode details about the spatial place of every patch inside the picture. Standard pre-training sometimes makes use of full-image positional embeddings, which doesn’t generalize properly to detection duties. Thus, we suggest a brand new positional embedding scheme, referred to as “cropped positional embedding”, that higher aligns with using area crops in detection fine-tuning. In addition, we substitute the softmax cross entropy loss with focal loss in contrastive image-text studying, permitting us to study from more difficult and informative examples. Finally, we leverage current advances in novel object proposals to boost open-vocabulary detection fine-tuning, which is motivated by the commentary that present strategies usually miss novel objects throughout the proposal stage as a result of overfitting to foreground classes. We are additionally releasing the code right here.

    Region-aware image-text pre-training

    Existing VLMs are educated to match a picture as an entire to a textual content description. However, we observe there’s a mismatch between the best way the positional embeddings are used within the present contrastive pre-training approaches and open-vocabulary detection. The positional embeddings are essential to transformers as they supply the knowledge of the place every component within the set comes from. This info is usually helpful for downstream recognition and localization duties. Pre-training approaches sometimes apply full-image positional embeddings throughout coaching, and use the identical positional embeddings for downstream duties, e.g., zero-shot recognition. However, the popularity happens at region-level for open-vocabulary detection fine-tuning, which requires the full-image positional embeddings to generalize to areas that they by no means see throughout the pre-training.

    To tackle this, we suggest cropped positional embeddings (CPE). With CPE, we upsample positional embeddings from the picture measurement typical for pre-training, e.g., 224×224 pixels, to that typical for detection duties, e.g., 1024×1024 pixels. Then we randomly crop and resize a area, and use it because the image-level positional embeddings throughout pre-training. The place, scale, and facet ratio of the crop is randomly sampled. Intuitively, this causes the mannequin to view a picture not as a full picture in itself, however as a area crop from some bigger unknown picture. This higher matches the downstream use case of detection the place recognition happens at region- reasonably than image-level.

    For the pre-training, we suggest cropped positional embedding (CPE) which randomly crops and resizes a area of positional embeddings as an alternative of utilizing the whole-image positional embedding (PE). In addition, we use focal loss as an alternative of the frequent softmax cross entropy loss for contrastive studying.

    We additionally discover it useful to study from arduous examples with a focal loss. Focal loss permits finer management over how arduous examples are weighted than what the softmax cross entropy loss can present. We undertake the focal loss and substitute it with the softmax cross entropy loss in each image-to-text and text-to-image losses. Both CPE and focal loss introduce no additional parameters and minimal computation prices.

    Open-vocabulary detector fine-tuning

    An open-vocabulary detector is educated with the detection labels of ‘base’ classes, however must detect the union of ‘base’ and ‘novel’ (unlabeled) classes at take a look at time. Despite the spine options pre-trained from the huge open-vocabulary knowledge, the added detector layers (neck and heads) are newly educated with the downstream detection dataset. Existing approaches usually miss novel/unlabeled objects within the object proposal stage as a result of the proposals are inclined to classify them as background. To treatment this, we leverage current advances in a novel object proposal methodology and undertake the localization quality-based objectness (i.e., centerness rating) as an alternative of object-or-not binary classification rating, which is mixed with the detection rating. During coaching, we compute the detection scores for every detected area because the cosine similarity between the area’s embedding (computed by way of RoI-Align operation) and the textual content embeddings of the bottom classes. At take a look at time, we append the textual content embeddings of novel classes, and the detection rating is now computed with the union of the bottom and novel classes.

    The pre-trained ViT spine is transferred to the downstream open-vocabulary detection by changing the worldwide common pooling with detector heads. The RoI-Align embeddings are matched with the cached class embeddings to acquire the VLM rating, which is mixed with the detection rating into the open-vocabulary detection rating.

    Results

    We consider RO-ViT on the LVIS open-vocabulary detection benchmark. At the system-level, our greatest mannequin achieves 33.6 field common precision on uncommon classes (APr) and 32.1 masks APr, which outperforms one of the best present ViT-based method OWL-ViT by 8.0 APr and one of the best CNN-based method ViLD-Ens by 5.8 masks APr. It additionally exceeds the efficiency of many different approaches based mostly on data distillation, pre-training, or joint coaching with weak supervision.

    RO-ViT outperforms each the state-of-the-art (SOTA) ViT-based and CNN-based strategies on LVIS open-vocabulary detection benchmark. We present masks AP on uncommon classes (APr) , besides for SOTA ViT-based (OwL-ViT) the place we present field AP.

    Apart from evaluating region-level illustration by way of open-vocabulary detection, we consider the image-level illustration of RO-ViT in image-text retrieval by way of the MS-COCO and Flickr30K benchmarks. Our mannequin with 303M ViT outperforms the state-of-the-art CoCa mannequin with 1B ViT on MS COCO, and is on par on Flickr30K. This exhibits that our pre-training methodology not solely improves the region-level illustration but in addition the worldwide image-level illustration for retrieval.

    We present zero-shot image-text retrieval on MS COCO and Flickr30K benchmarks, and evaluate with dual-encoder strategies. We report recall@1 (top-1 recall) on image-to-text (I2T) and text-to-image (T2I) retrieval duties. RO-ViT outperforms the state-of-the-art CoCa with the identical spine.
    RO-ViT open-vocabulary detection on LVIS. We solely present the novel classes for readability. RO-ViT detects many novel classes that it has by no means seen throughout detection coaching: “fishbowl”, “sombrero”, “persimmon”, “gargoyle”.

    Visualization of positional embeddings

    We visualize and evaluate the discovered positional embeddings of RO-ViT with the baseline. Each tile is the cosine similarity between positional embeddings of 1 patch and all different patches. For instance, the tile within the top-left nook (marked in crimson) visualizes the similarity between the positional embedding of the situation (row=1, column=1) and people positional embeddings of all different areas in 2D. The brightness of the patch signifies how shut the discovered positional embeddings of various areas are. RO-ViT kinds extra distinct clusters at completely different patch areas exhibiting symmetrical world patterns across the middle patch.

    Each tile exhibits the cosine similarity between the positional embedding of the patch (on the indicated row-column place) and the positional embeddings of all different patches. ViT-B/16 spine is used.

    Conclusion

    We current RO-ViT, a contrastive image-text pre-training framework to bridge the hole between image-level pre-training and open-vocabulary detection fine-tuning. Our strategies are easy, scalable, and straightforward to use to any contrastive backbones with minimal computation overhead and no enhance in parameters. RO-ViT achieves the state-of-the-art on LVIS open-vocabulary detection benchmark and on the image-text retrieval benchmarks, exhibiting the discovered illustration shouldn’t be solely useful at region-level but in addition extremely efficient on the image-level. We hope this examine might help the analysis on open-vocabulary detection from the attitude of image-text pre-training which may profit each region-level and image-level duties.

    Acknowledgements

    Dahun Kim, Anelia Angelova, and Weicheng Kuo performed this work and at the moment are at Google DeepMind. We wish to thank our colleagues at Google Research for their recommendation and useful discussions.

    Share. Facebook Twitter Pinterest LinkedIn WhatsApp

    Related Posts

    AI

    Fueling seamless AI at scale

    AI

    Rationale engineering generates a compact new tool for gene therapy | Ztoog

    AI

    The AI Hype Index: College students are hooked on ChatGPT

    AI

    Learning how to predict rare kinds of failures | Ztoog

    AI

    Anthropic’s new hybrid AI model can work on tasks autonomously for hours at a time

    AI

    AI learns how vision and sound are connected, without human intervention | Ztoog

    AI

    How AI is introducing errors into courtrooms

    AI

    With AI, researchers predict the location of virtually any protein within a human cell | Ztoog

    Leave A Reply Cancel Reply

    Follow Us
    • Facebook
    • Twitter
    • Pinterest
    • Instagram
    Top Posts
    Crypto

    US Bitcoin Reserve Could Push Price To $500,000: Expert

    Este artículo también está disponible en español. In an unique interview with Yahoo Finance, Matt…

    AI

    Nomic AI Introduces Nomic Embed: Text Embedding Model with an 8192 Context-Length that Outperforms OpenAI Ada-002 and Text-Embedding-3-Small on both Short and Long Context Tasks

    Nomic AI launched an embedding mannequin with a multi-stage coaching pipeline, Nomic Embed, an open-source,…

    Technology

    Text Blaze is the one Chrome extension I can’t live without

    Rita El Khoury / Android AuthorityChrome is a useful resource beast. I spend most of…

    Science

    These insects give off major red flags

    Nature is available in wild colours, like the electrical blue tarantulas and brightly noticed poison…

    Science

    The Murky Campaign to Discredit Lab-Grown Meat

    Alamy mentioned that the suggestion that ingesting immortalized cells might be linked to most cancers…

    Our Picks
    The Future

    The (Cleaning) Droid You’re Looking for – Review Geek

    Technology

    Samsung Brings New Z Flip 5, Z Fold 5 Features to Older Foldable Devices

    Science

    Insurance Rates Are Soaring for US Homeowners in Climate Danger Zones

    Categories
    • AI (1,494)
    • Crypto (1,754)
    • Gadgets (1,805)
    • Mobile (1,851)
    • Science (1,867)
    • Technology (1,803)
    • The Future (1,649)
    Most Popular
    AI

    Finding value in generative AI for financial services

    Crypto

    Bitcoin Will Climb 30% After ETF Approval, Then Drop To 37K Afterward

    Science

    Gene Therapy in the Womb Is Inching Closer to Reality

    Ztoog
    Facebook X (Twitter) Instagram Pinterest
    • Home
    • About Us
    • Contact us
    • Privacy Policy
    • Terms & Conditions
    © 2025 Ztoog.

    Type above and press Enter to search. Press Esc to cancel.