ARAdín Ramírez Rivera

Adín Ramírez Rivera

*This is an algorithmically generated author record based on publicly available information.

Current Organizations / Institutes

The organizations/institutes from the scholar's latest article

Previous Organizations / Institutes

The organizations / institutes from the scholar's other articles in the past ten years


Adín Ramírez Rivera has a total of 68 co-authors. Here are the top co-authors by number of shared publications:


Latest Publications

  • Open Access

    What Words Drive the Edit? IE-SMILE for Model-Agnostic Explainability of Instruction-Based Image Editing

    by Zeinab Dehghani, Koorosh Aslansefat, Hamed Daneshvar, Mojgan Hashemian, Adil Khan, Adín Ramírez Rivera, Franky George, Muhammad Khalid, Mona Faraji Niri

    Instruction-based image editing models including large multimodal models (LMMs) modify images in response to text prompts, yet existing explainability approaches either rely on internal model states or are not designed to explain high-dimensional generative editing outputs. As a result, the influence of individual instruction words on the final edit remains largely unexplained in widely used instruction-based image editing models. This paper introduces IE-SMILE, a model-agnostic extension of SMILE for word-level explainability in instruction-based image editing. The contributions of this work are: (i) a novel response-based explanation formulation for instruction-based image editing, in which changes between a reference edited output and outputs generated from perturbed instructions are represented through distances in a latent feature space rather than through a conventional scalar prediction score, (ii) a prompt-side attribution method that fixes the input image, perturbs instruction words, and estimates their influence using Wasserstein distances over DINOv2 embeddings with a surrogate model, and (iii) as we are defining a new way of providing explainability for GenAI solutions, a word-level evaluation framework is introduced that evaluates attribution accuracy, stability, and consistency, together with surrogate fidelity. This article evaluates IE-SMILE on I2E-Bench across both open-source editors and commercial models, including GPT-based image models, Nano Banana Pro, and Seedream 4.5. The results show that IE-SMILE can generate word-level attributions without access to model internals, while providing high attribution accuracy and stability across most of editing models, tasks, and perturbation conditions.

  • Open Access

    Concepts' Information Bottleneck Models

    by Karim Galliamov, Syed M Ahsan Kazmi, Adil Khan, Adín Ramírez Rivera

    Concept Bottleneck Models (CBMs) aim to deliver interpretable predictions by routing decisions through a human-understandable concept layer, yet they often suffer reduced accuracy and concept leakage that undermines faithfulness. We introduce an explicit Information Bottleneck regularizer on the concept layer that penalizes $I(X;C)$ while preserving task-relevant information in $I(C;Y)$, encouraging minimal-sufficient concept representations. We derive two practical variants (a variational objective and an entropy-based surrogate) and integrate them into standard CBM training without architectural changes or additional supervision. Evaluated across six CBM families and three benchmarks, the IB-regularized models consistently outperform their vanilla counterparts. Information-plane analyses further corroborate the intended behavior. These results indicate that enforcing a minimal-sufficient concept bottleneck improves both predictive performance and the reliability of concept-level interventions. The proposed regularizer offers a theoretic-grounded, architecture-agnostic path to more faithful and intervenable CBMs, resolving prior evaluation inconsistencies by aligning training protocols and demonstrating robust gains across model families and datasets.

  • Open Access

    Differentiable Hierarchical Visual Tokenization

    by Marius Aasan, Martine Hjelkrem-Tan, Nico Catalano, Changkyu Choi, Adín Ramírez Rivera

    Vision Transformers rely on fixed patch tokens that ignore the spatial and semantic structure of images. In this work, we introduce an end-to-end differentiable tokenizer that adapts to image content with pixel-level granularity while remaining backward-compatible with existing architectures for retrofitting pretrained models. Our method uses hierarchical model selection with information criteria to provide competitive performance in both image-level classification and dense-prediction tasks, and even supports out-of-the-box raster-to-vector conversion.

  • A Spitting Image: Modular Superpixel Tokenization in Vision Transformers

    by Marius Aasan, Odd Kolbjørnsen, Anne Schistad Solberg, Adín Ramirez Rivera


  • Open Access

    A Spitting Image: Modular Superpixel Tokenization in Vision Transformers

    by Marius Aasan, Odd Kolbjørnsen, Anne Schistad Solberg, Adín Ramirez Rivera

    Vision Transformer (ViT) architectures traditionally employ a grid-based approach to tokenization independent of the semantic content of an image. We propose a modular superpixel tokenization strategy which decouples tokenization and feature extraction; a shift from contemporary approaches where these are treated as an undifferentiated whole. Using on-line content-aware tokenization and scale- and shape-invariant positional embeddings, we perform experiments and ablations that contrast our approach with patch-based tokenization and randomized partitions as baselines. We show that our method significantly improves the faithfulness of attributions, gives pixel-level granularity on zero-shot unsupervised dense prediction tasks, while maintaining predictive performance in classification tasks. Our approach provides a modular tokenization framework commensurable with standard architectures, extending the space of ViTs to a larger class of semantically-rich models.

  • Open Access

    Representation Learning via Consistent Assignment of Views over Random Partitions

    by Thalles Silva, Adín Ramírez Rivera

    We present Consistent Assignment of Views over Random Partitions (CARP), a self-supervised clustering method for representation learning of visual features. CARP learns prototypes in an end-to-end online fashion using gradient descent without additional non-differentiable modules to solve the cluster assignment problem. CARP optimizes a new pretext task based on random partitions of prototypes that regularizes the model and enforces consistency between views' assignments. Additionally, our method improves training stability and prevents collapsed solutions in joint-embedding training. Through an extensive evaluation, we demonstrate that CARP's representations are suitable for learning downstream tasks. We evaluate CARP's representations capabilities in 17 datasets across many standard protocols, including linear evaluation, few-shot classification, k-NN, k-means, image retrieval, and copy detection. We compare CARP performance to 11 existing self-supervised methods. We extensively ablate our method and demonstrate that our proposed random partition pretext task improves the quality of the learned representations by devising multiple random classification tasks. In transfer learning tasks, CARP achieves the best performance on average against many SSL methods trained for a longer time.

  • Open Access

    Self-supervised Learning of Contextualized Local Visual Embeddings

    by Thalles Santos Silva, Helio Pedrini, Adín Ramírez Rivera

    We present Contextualized Local Visual Embeddings (CLoVE), a self-supervised convolutional-based method that learns representations suited for dense prediction tasks. CLoVE deviates from current methods and optimizes a single loss function that operates at the level of contextualized local embeddings learned from output feature maps of convolution neural network (CNN) encoders. To learn contextualized embeddings, CLoVE proposes a normalized mult-head self-attention layer that combines local features from different parts of an image based on similarity. We extensively benchmark CLoVE's pre-trained representations on multiple datasets. CLoVE reaches state-of-the-art performance for CNN-based architectures in 4 dense prediction downstream tasks, including object detection, instance segmentation, keypoint detection, and dense pose estimation.

  • Open Access

    SelfGraphVQA: A Self-Supervised Graph Neural Network for Scene-based Question Answering

    by Bruno Souza, Marius Aasan, Helio Pedrini, Adín Ramírez Rivera

    The intersection of vision and language is of major interest due to the increased focus on seamless integration between recognition and reasoning. Scene graphs (SGs) have emerged as a useful tool for multimodal image analysis, showing impressive performance in tasks such as Visual Question Answering (VQA). In this work, we demonstrate that despite the effectiveness of scene graphs in VQA tasks, current methods that utilize idealized annotated scene graphs struggle to generalize when using predicted scene graphs extracted from images. To address this issue, we introduce the SelfGraphVQA framework. Our approach extracts a scene graph from an input image using a pre-trained scene graph generator and employs semantically-preserving augmentation with self-supervised techniques. This method improves the utilization of graph representations in VQA tasks by circumventing the need for costly and potentially biased annotated data. By creating alternative views of the extracted graphs through image augmentations, we can learn joint embeddings by optimizing the informational content in their representations using an un-normalized contrastive approach. As we work with SGs, we experiment with three distinct maximization strategies: node-wise, graph-wise, and permutation-equivariant regularization. We empirically showcase the effectiveness of the extracted scene graph for VQA and demonstrate that these approaches enhance overall performance by highlighting the significance of visual information. This offers a more practical solution for VQA tasks that rely on SGs for complex reasoning questions.

  • Open Access

    Global and Local Features Through Gaussian Mixture Models on Image Semantic Segmentation

    by Darwin Saire, Adin Ramirez Rivera

    The semantic segmentation task aims at dense classification at the pixel-wise level. Deep models exhibited progress in tackling this task. However, one remaining problem with these approaches is the loss of spatial precision, often produced at the segmented objects’ boundaries. Our proposed model addresses this problem by providing an internal structure for the feature representations while extracting a global representation that supports the former. To fit the internal structure, during training, we predict a Gaussian Mixture Model from the data, which, merged with the skip connections and the decoding stage, helps avoid wrong inductive biases. Furthermore, our results show that we can improve semantic segmentation by providing both learning representations (global and local) with a clustering behavior and combining them. Finally, we present results demonstrating our advances in Cityscapes and Synthia datasets.