Multimodal models are becoming increasingly effective, in part due to unified components, such as the Transformer architecture. However, multimodal models still often consist of many task- and modality-specific pieces and training procedures. For example, CLIP (Radford et al., 2021) trains independent text and image towers via a contrastive loss. We explore an additional unification: the use of a pure pixel-based model to perform image, text, and multimodal tasks. Our model is trained with contrastive loss alone, so we call it CLIP-Pixels Only (CLIPPO). CLIPPO uses a single encoder that processes both regular images and text rendered as images. CLIPPO performs image-based tasks such as retrieval and zero-shot image classification almost as well as CLIP-style models, with half the number of parameters and no text-specific tower or embedding. When trained jointly via image-text contrastive learning and next-sentence contrastive learning, CLIPPO can perform well on natural language understanding tasks, without any word-level loss (language modelling or masked language modelling), outperforming pixel-based prior work. Surprisingly, CLIPPO can obtain good accuracy in visual question answering, simply by rendering the question and image together. Finally, we exploit the fact that CLIPPO does not require a tokenizer to show that it can achieve strong performance on multilingual multimodal retrieval without modifications.
The analysis of events in dynamic environments poses a fundamental challenge in the development of intelligent agents and robots capable of interacting with humans. Current approaches predominantly utilize visual models. However, these methods often capture information implicitly from images, lacking interpretable spatial-temporal object representations. To address this issue we introduce DyGEnc - a novel method for Encoding a Dynamic Graph. This method integrates compressed spatial-temporal structural observation representation with the cognitive capabilities of large language models. The purpose of this integration is to enable advanced question answering based on a sequence of textual scene graphs. Extended evaluations on the STAR and AGQA datasets indicate that DyGEnc outperforms existing visual methods by a large margin of 15-25% in addressing queries regarding the history of human-to-object interactions. Furthermore, the proposed method can be seamlessly extended to process raw input images utilizing foundational models for extracting explicit textual scene graphs, as substantiated by the results of a robotic experiment conducted with a wheeled manipulator platform. We hope that these findings will contribute to the implementation of robust and compressed graph-based robotic memory for long-horizon reasoning. Code is available at github.com/linukc/DyGEnc.
멀티모달 대규모 언어 모델(MLLM)은 시각 문서 이해에 널리 적용되고 있다. 그러나 긴 문서의 이해는 제한된 컨텍스트 윈도우로 인해 여전히 문제로 남아 있다. 최근의 멀티모달 검색 증강 생성(MMRAG)은 관련 페이지를 검색함으로써 이 문제를 해결할 수 있으나, 문서에 대한 전체적인 이해를 요구하는 시각적 질의응답(VQA)에서는 여전히 어려움을 겪는다. 이를 해결하기 위해, 문서의 전역 지식을 요약하는 지식 그래프(KG)가 효과적인 해법이 될 수 있다. 그러나 기존의 대부분의 LLM 기반 KG 구축 방법은 언어 모달리티만 다루며, 시각적으로 풍부한 문서에 대한 멀티모달 KG(MMKG)의 자동 생성은 거의 탐구되지 않았다. 본 논문에서는 이 문제를 다루기 위한 멀티모달 그래프 기반 RAG 접근법을 소개한다. 기존 LLM 기반 KG 방법은 포괄성, 다양성, 역량 강화 등과 같은 간접적인 근거에 의존하여 QA 성능을 평가한다. 포괄적인 문서 수준 VQA를 위한 주석 데이터셋의 부재는 효과적인 모델 평가에 큰 어려움을 야기한다. 이러한 한계를 극복하기 위해, 전역 문서 수준 질문에 대한 참조 요약과 이에 상응하는 근거 사실을 제공하는 새로운 벤치마크 DLVQA(문서 수준 VQA)도 함께 소개한다. 실험 결과, 제안한 접근법은 멀티홉 QA/VQA 벤치마크와 DLVQA에서 기존의 MMRAG 또는 KG 기반 접근법을 능가한다.
최근 비전-언어 모델(VLMs)은 3D 장면 이해 분야에서 상당한 진전을 이루었으며, 임베디드 지능(embodied intelligence) 및 로봇 비전과 같은 응용 분야의 발전을 이끌고 있습니다. 그러나 기존 접근 방식은 일반적으로 명시적인 3D 입력(예: 포인트 클라우드 또는 RGB-D 시퀀스)에 직접 의존하거나, 2D 이미지에서 3D 인식 시각 토큰을 도출하기 위해 추가적인 3D 기하학 인코더를 도입합니다. 이러한 설계는 비전-언어 사전학습을 통해 학습된 풍부한 2D 의미(semantic)에서 3D 기하학적 지각을 구조적으로 분리시키며, 이는 통합된 3D 비전-언어 표현의 발전을 저해합니다. 본 연구에서는 포즈 정보가 포함된 RGB 이미지에서만 작동하며 단일 2D 비전 인코더를 사용하는 3D 장면 이해를 위한 새로운 프레임워크인 Occ-VLM을 제안합니다. 구체적으로, Occ-VLM은 3D 장면 점유(occupancy)를 보조 기하학적 사전(prior)으로 재구성하며, 이를 활용하여 전경(foreground) 2D 토큰을 3D 공간과 공간적으로 연결합니다. 이러한 토큰은 통합된 장면 이해를 위해 대규모 언어 모델(LLM)에 의해 디코딩됩니다. 광범위한 실험을 통해 Occ-VLM이 정확한 기하학적 지각과 강건한 비전-언어 추론(reasoning)을 모두 달성함을 입증합니다. 다중 뷰(multi-view) 점유 예측에서 최첨단(SOTA) 성능을 달성하는 동시에, 3D 시각 질의 응답(VQA) 및 3D 밀집 캡셔닝(dense captioning) 벤치마크에서는 3D 입력 VLMs과 대등한 성능을 보입니다.
Retrieval-augmented generation (RAG) has emerged as a pivotal technique in artificial intelligence (AI), particularly in enhancing the capabilities of large language models (LLMs) by enabling access to external, reliable, and up-to-date knowledge sources. In the context of AI-Generated Content (AIGC), RAG has proven invaluable by augmenting model outputs with supplementary, relevant information, thus improving their quality. Recently, the potential of RAG has extended beyond natural language processing, with emerging methods integrating retrieval-augmented strategies into the computer vision (CV) domain. These approaches aim to address the limitations of relying solely on internal model knowledge by incorporating authoritative external knowledge bases, thereby improving both the understanding and generation capabilities of vision models. This survey provides a comprehensive review of the current state of retrieval-augmented techniques in CV, focusing on two main areas: (I) visual understanding and (II) visual generation. In the realm of visual understanding, we systematically review tasks ranging from basic image recognition to complex applications such as medical report generation and multimodal question answering. For visual content generation, we examine the application of RAG in tasks related to image, video, and 3D generation. Furthermore, we explore recent advancements in RAG for embodied AI, with a particular focus on applications in planning, task execution, multimodal perception, interaction, and specialized domains. Given that the integration of retrieval-augmented techniques in CV is still in its early stages, we also highlight the key limitations of current approaches and propose future research directions to drive the development of this promising area.
멀티모달 대규모 언어 모델(MLLM)은 상세한 비디오 캡션을 생성할 수 있지만, 사소한 세부 사항을 지나치게 강조하고 핵심적인 맥락과 주요 사건을 간과할 수 있다. 우리는 시각 정보의 중요도가 각 비디오의 내용에 달려 있으므로 모든 시각적 증거가 동등한 주의를 받을 자격은 없다고 주장한다. 이 관찰에 동기를 얻어, 무엇을 관찰하고 관련 시각적 증거를 어떻게 수집할지 학습하는 에이전트형 비디오 캡셔닝 프레임워크 Reviso를 제안한다. Reviso는 낮은 프레임 레이트의 전역 미리보기로부터 비디오 맥락을 파악하고, 핵심 측면의 우선순위를 정하며, 구체적인 관찰 대상과 이에 대응하는 도구를 정의하는 계층적 Context--Focus--Points(CFP) 관찰 계획을 구성한다. 이 계획에 따라 Reviso는 시간 구간을 선택적으로 다시 살펴보고 도구를 조합하여 세밀하게 점검하는 목표 지향적 능동 지각을 수행한다. 획득한 증거를 해석하고 필요에 따라 계획을 갱신하며, 전역 및 지역 정보를 통합하여 최종 캡션을 생성한다. 이러한 관찰 전략을 학습하기 위해, 사실 검증과 교사 주도 정제를 통해 고품질 학습 궤적을 구성하는 검증 기반 파이프라인을 개발한다. 또한 캡션 품질을 위한 핵심 사실 보상, 중요한 관찰 대상을 식별하기 위한 계획 정렬 보상(PAR), 캡션 품질에 따라 관찰 비용 페널티를 조정하는 비생산적 도구 호출 페널티(UTCP)를 도입하여 그룹 상대 정책 최적화(GRPO)로 Reviso를 학습시킨다. 네 가지 비디오 캡셔닝 벤치마크에서의 실험은 Reviso가 평가된 오픈소스 기준선을 능가하며, 생성된 캡션이 후속 비디오 질의응답을 더 잘 지원함을 보여준다. 이러한 결과는 우선순위 기반 능동 관찰이 비디오 캡셔닝에서 갖는 효과와 잠재력을 부각한다.
Convolutional Neural Networks (CNN) and the locally connected layer are limited in capturing the importance and relations of different local receptive fields, which are often crucial for tasks such as face verification, visual question answering, and word sequence prediction. To tackle the issue, we propose a novel locally smoothed neural network (LSNN) in this paper. The main idea is to represent the weight matrix of the locally connected layer as the product of the kernel and the smoother, where the kernel is shared over different local receptive fields, and the smoother is for determining the importance and relations of different local receptive fields. Specifically, a multi-variate Gaussian function is utilized to generate the smoother, for modeling the location relations among different local receptive fields. Furthermore, the content information can also be leveraged by setting the mean and precision of the Gaussian function according to the content. Experiments on some variant of MNIST clearly show our advantages over CNN and locally connected layer.
Attention modules, as simple and effective tools, have not only enabled deep neural networks to achieve state-of-the-art results in many domains, but also enhanced their interpretability. Most current models use deterministic attention modules due to their simplicity and ease of optimization. Stochastic counterparts, on the other hand, are less popular despite their potential benefits. The main reason is that stochastic attention often introduces optimization issues or requires significant model changes. In this paper, we propose a scalable stochastic version of attention that is easy to implement and optimize. We construct simplex-constrained attention distributions by normalizing reparameterizable distributions, making the training process differentiable. We learn their parameters in a Bayesian framework where a data-dependent prior is introduced for regularization. We apply the proposed stochastic attention modules to various attention-based models, with applications to graph node classification, visual question answering, image captioning, machine translation, and language understanding. Our experiments show the proposed method brings consistent improvements over the corresponding baselines.
Most existing large-scale academic search engines are built to retrieve text-based information. However, there are no large-scale retrieval services for scientific figures and tables. One challenge for such services is understanding scientific figures' semantics, such as their types and purposes. A key obstacle is the need for datasets containing annotated scientific figures and tables, which can then be used for classification, question-answering, and auto-captioning. Here, we develop a pipeline that extracts figures and tables from the scientific literature and a deep-learning-based framework that classifies scientific figures using visual features. Using this pipeline, we built the first large-scale automatically annotated corpus, ACL-Fig, consisting of 112,052 scientific figures extracted from ~56K research papers in the ACL Anthology. The ACL-Fig-Pilot dataset contains 1,671 manually labeled scientific figures belonging to 19 categories. The dataset is accessible at https://huggingface.co/datasets/citeseerx/ACL-fig under a CC BY-NC license.
Large language models (LLMs) demonstrate extraordinary abilities in a wide range of natural language processing (NLP) tasks. In this paper, we show that, beyond text understanding capability, LLMs are capable of processing text layouts that are denoted by spatial markers. They are able to answer questions that require explicit spatial perceiving and reasoning, while a drastic performance drop is observed when the spatial markers from the original data are excluded. We perform a series of experiments with the GPT-3.5, Baichuan2, Llama2 and ChatGLM3 models on various types of layout-sensitive datasets for further analysis. The experimental results reveal that the layout understanding ability of LLMs is mainly introduced by the coding data for pretraining, which is further enhanced at the instruction-tuning stage. In addition, layout understanding can be enhanced by integrating low-cost, auto-generated data approached by a novel text game. Finally, we show that layout understanding ability is beneficial for building efficient visual question-answering (VQA) systems.
Referring object detection and referring image segmentation are important tasks that require joint understanding of visual information and natural language. Yet there has been evidence that current benchmark datasets suffer from bias, and current state-of-the-art models cannot be easily evaluated on their intermediate reasoning process. To address these issues and complement similar efforts in visual question answering, we build CLEVR-Ref+, a synthetic diagnostic dataset for referring expression comprehension. The precise locations and attributes of the objects are readily available, and the referring expressions are automatically associated with functional programs. The synthetic nature allows control over dataset bias (through sampling strategy), and the modular programs enable intermediate reasoning ground truth without human annotators. In addition to evaluating several state-of-the-art models on CLEVR-Ref+, we also propose IEP-Ref, a module network approach that significantly outperforms other models on our dataset. In particular, we present two interesting and important findings using IEP-Ref: (1) the module trained to transform feature maps into segmentation masks can be attached to any intermediate module to reveal the entire reasoning process step-by-step; (2) even if all training data has at least one object referred, IEP-Ref can correctly predict no-foreground when presented with false-premise referring expressions. To the best of our knowledge, this is the first direct and quantitative proof that neural modules behave in the way they are intended.
Vision-Language Models (VLMs) are crucial for applications requiring integrated understanding textual and visual information. However, existing VLMs struggle with long videos due to computational inefficiency, memory limitations, and difficulties in maintaining coherent understanding across extended sequences. To address these challenges, we introduce ReWind, a novel memory-based VLM designed for efficient long video understanding while preserving temporal fidelity. ReWind operates in a two-stage framework. In the first stage, ReWind maintains a dynamic learnable memory module with a novel \textbf{read-perceive-write} cycle that stores and updates instruction-relevant visual information as the video unfolds. This module utilizes learnable queries and cross-attentions between memory contents and the input stream, ensuring low memory requirements by scaling linearly with the number of tokens. In the second stage, we propose an adaptive frame selection mechanism guided by the memory content to identify instruction-relevant key moments. It enriches the memory representations with detailed spatial information by selecting a few high-resolution frames, which are then combined with the memory contents and fed into a Large Language Model (LLM) to generate the final answer. We empirically demonstrate ReWind's superior performance in visual question answering (VQA) and temporal grounding tasks, surpassing previous methods on long video benchmarks. Notably, ReWind achieves a +13\% score gain and a +12\% accuracy improvement on the MovieChat-1K VQA dataset and an +8\% mIoU increase on Charades-STA for temporal grounding.
Multi-modal large language models (MLLMs) have achieved remarkable success in image- and region-level remote sensing (RS) image understanding tasks, such as image captioning, visual question answering, and visual grounding. However, existing RS MLLMs lack the pixel-level dialogue capability, which involves responding to user instructions with segmentation masks for specific instances. In this paper, we propose GeoPix, a RS MLLM that extends image understanding capabilities to the pixel level. This is achieved by equipping the MLLM with a mask predictor, which transforms visual features from the vision encoder into masks conditioned on the LLM's segmentation token embeddings. To facilitate the segmentation of multi-scale objects in RS imagery, a class-wise learnable memory module is integrated into the mask predictor to capture and store class-wise geo-context at the instance level across the entire dataset. In addition, to address the absence of large-scale datasets for training pixel-level RS MLLMs, we construct the GeoPixInstruct dataset, comprising 65,463 images and 140,412 instances, with each instance annotated with text descriptions, bounding boxes, and masks. Furthermore, we develop a two-stage training strategy to balance the distinct requirements of text generation and masks prediction in multi-modal multi-task optimization. Extensive experiments verify the effectiveness and superiority of GeoPix in pixel-level segmentation tasks, while also maintaining competitive performance in image- and region-level benchmarks.
Large Vision-Language Models (LVLMs) have achieved significant progress in combining visual comprehension with language generation. Despite this success, the training data of LVLMs still suffers from Long-Tail (LT) problems, where the data distribution is highly imbalanced. Previous works have mainly focused on traditional VLM architectures, i.e., CLIP or ViT, and specific tasks such as recognition and classification. Nevertheless, the exploration of LVLM (e.g. LLaVA) and more general tasks (e.g. Visual Question Answering and Visual Reasoning) remains under-explored. In this paper, we first conduct an in-depth analysis of the LT issues in LVLMs and identify two core causes: the overrepresentation of head concepts and the underrepresentation of tail concepts. Based on the above observation, we propose an $\textbf{A}$daptive $\textbf{D}$ata $\textbf{R}$efinement Framework ($\textbf{ADR}$), which consists of two stages: $\textbf{D}$ata $\textbf{R}$ebalancing ($\textbf{DR}$) and $\textbf{D}$ata $\textbf{S}$ynthesis ($\textbf{DS}$). In the DR stage, we adaptively rebalance the redundant data based on entity distributions, while in the DS stage, we leverage Denoising Diffusion Probabilistic Models (DDPMs) and scarce images to supplement underrepresented portions. Through comprehensive evaluations across eleven benchmarks, our proposed ADR effectively mitigates the long-tail problem in the training data, improving the average performance of LLaVA 1.5 relatively by 4.36%, without increasing the training data volume.
Vision-language models (VLMs) have recently shown promising results in traditional downstream tasks. Evaluation studies have emerged to assess their abilities, with the majority focusing on the third-person perspective, and only a few addressing specific tasks from the first-person perspective. However, the capability of VLMs to "think" from a first-person perspective, a crucial attribute for advancing autonomous agents and robotics, remains largely unexplored. To bridge this research gap, we introduce EgoThink, a novel visual question-answering benchmark that encompasses six core capabilities with twelve detailed dimensions. The benchmark is constructed using selected clips from egocentric videos, with manually annotated question-answer pairs containing first-person information. To comprehensively assess VLMs, we evaluate eighteen popular VLMs on EgoThink. Moreover, given the open-ended format of the answers, we use GPT-4 as the automatic judge to compute single-answer grading. Experimental results indicate that although GPT-4V leads in numerous dimensions, all evaluated VLMs still possess considerable potential for improvement in first-person perspective tasks. Meanwhile, enlarging the number of trainable parameters has the most significant impact on model performance on EgoThink. In conclusion, EgoThink serves as a valuable addition to existing evaluation benchmarks for VLMs, providing an indispensable resource for future research in the realm of embodied artificial intelligence and robotics.
고정된 보상 신호 대신 언어 기반의 추론 원칙(reasoning principle)을 명시적 감독 신호로 활용하는 Evo-PI 프레임워크를 제안하며, 원칙이 모델 추론을 안내하고 모델의 실패 사례가 다시 원칙을 개선하는 공진화(co-evolutionary) 루프를 구성한다. 의료 Visual Question Answering 8개 벤치마크에서 정적 감독 방식 대비 최대 24.6%의 추론 정확도 향상을 달성했다.
제한된 수의 프레임으로 비디오 질의응답을 수행하려면 국소 움직임과 사건의 순서를 보존해야 한다. 그러나 현재 비디오 멀티모달 대규모 언어 모델(MLLM)은 선택하지 않은 프레임을 버리고 키프레임을 독립적으로 인코딩해 비디오 이해를 정적 다중 이미지 추론으로 단순화한다. (1) 공간적으로는 프레임 전체를 풀링하므로 정적인 배경에 섞인 작은 이동 물체의 특징이 희석된다. (2) 시간적으로는 중간 프레임을 버리거나 토큰을 평균 내면서 프레임 간 움직임이 지워져 방향, 속도, 순서를 혼동한다. 사람의 시각처럼 정적 스냅샷을 넘어서는 VIVID(Visual Inter-frame Variations and Individual Dynamics)를 제안한다. 키프레임은 핵심 상태를 포착하고, 프레임 간 패치 차이(Patch Diffs)는 키프레임 $K_f$개를 사용하는 범위 안에서 인접 프레임의 변화를 보존한다. 자율 변화 기반 키프레임 계획(ADKP)이 $3\text{ fps}$ 프레임 풀에서 기준 프레임을 고르고, 주변 패치의 차이를 이중 경로 변화 메모리(DRCM)에 입력한다. 이로써 기준 토큰을 추가하지 않고 동적 토큰을 만든다. 이 토큰은 카메라 움직임을 보정한 활성 움직임 관심 영역(ROI), 시간 순서에 따른 개체 상태 연쇄와 함께 쓰인다. 동결한 $27\text{B}$ 규모 백본에 학습 가능한 매개변수를 $0.22\%$만 추가한 VIVID-Small(예시 $50$개, GPU 시간 $\sim 1.5$시간)은 질문 $8,083$개에서 전체 정확도 기준 비교 기준선 11개를 모두 앞섰다. VIVID-Large(예시 $3,600$개)만 VIVID-Small보다 앞섰으며, MotionBench, Video-MME, TempCompass에서도 가장 높은 성능을 보였다.
멀티모달 대규모 언어 모델(MLLM)은 서양 의학의 의료 영상에서 뛰어난 성능을 보였으나, 중의학(TCM)의 설진에서 얼마나 유용한지는 체계적으로 평가되지 않았다. 설진은 혀 전체와 국소 부위를 모두 세밀하게 살펴야 하므로 MLLM의 시각 이해 수준을 엄격히 평가할 수 있다. 기존 데이터셋은 평가 차원이 하나뿐이거나 구분이 거칠고 레이블이 모호해 실제 임상 능력을 평가하는 데 한계가 있다. 이를 해결하기 위해 중의학 설진을 위한 최초의 종합 세부 시각 질의응답 벤치마크 OmniTongue를 소개한다. 전문가가 검증한 이미지 1,351장과 지시 쌍 21,616개를 포함한다. 다차원 평가를 위한 임상 차원 16개, 병리 소견의 위치를 나타내는 부위별 주석, 진단을 정밀하게 표현하는 세부 레이블 66개를 갖췄다. 기존 MLLM을 평가하자 뚜렷한 성능 격차가 드러났다. 의료 특화 모델은 이 영역에서 우위를 보이지 못했다. 모든 모델의 매크로 F1이 낮아, 혀의 병리 소견을 제대로 이해하기보다 통계적 지름길에 의존함을 보여 줬다. 이 결과는 MLLM이 의료 영상의 국소 특징을 해석하는 데 여전히 한계가 있음을 보여 주며, 강건한 자동 설진 모델을 개발하기 위한 OmniTongue의 역할을 강조한다. 코드와 데이터셋은 향후 공개할 예정이다.
This paper presents a restricted visual Turing test (VTT) for story-line based deep understanding in long-term and multi-camera captured videos. Given a set of videos of a scene (such as a multi-room office, a garden, and a parking lot.) and a sequence of story-line based queries, the task is to provide answers either simply in binary form "true/false" (to a polar query) or in an accurate natural language description (to a non-polar query). Queries, polar or non-polar, consist of view-based queries which can be answered from a particular camera view and scene-centered queries which involves joint inference across different cameras. The story lines are collected to cover spatial, temporal and causal understanding of input videos. The data and queries distinguish our VTT from recently proposed visual question answering in images and video captioning. A vision system is proposed to perform joint video and query parsing which integrates different vision modules, a knowledge base and a query engine. The system provides unified interfaces for different modules so that individual modules can be reconfigured to test a new method. We provide a benchmark dataset and a toolkit for ontology guided story-line query generation which consists of about 93.5 hours videos captured in four different locations and 3,426 queries split into 127 story lines. We also provide a baseline implementation and result analyses.
In this work, we introduce Vision-Language Generative Pre-trained Transformer (VL-GPT), a transformer model proficient at concurrently perceiving and generating visual and linguistic data. VL-GPT achieves a unified pre-training approach for both image and text modalities by employing a straightforward auto-regressive objective, thereby enabling the model to process image and text as seamlessly as a language model processes text. To accomplish this, we initially propose a novel image tokenizer-detokenizer framework for visual data, specifically designed to transform raw images into a sequence of continuous embeddings and reconstruct them accordingly. In combination with the existing text tokenizer and detokenizer, this framework allows for the encoding of interleaved image-text data into a multimodal sequence, which can subsequently be fed into the transformer model. Consequently, VL-GPT can perform large-scale pre-training on multimodal corpora utilizing a unified auto-regressive objective (i.e., next-token prediction). Upon completion of pre-training, VL-GPT exhibits remarkable zero-shot and few-shot performance across a diverse range of vision and language understanding and generation tasks, including image captioning, visual question answering, text-to-image generation, and more. Additionally, the pre-trained model retrains in-context learning capabilities when provided with multimodal prompts. We further conduct instruction tuning on our VL-GPT, highlighting its exceptional potential for multimodal assistance. The source code and model weights shall be released.