PhD in Computer Science and AI/ML Engineer with 6+ years of experience building and deploying machine learning systems, conversational AI, and scalable MLOps/LLMOps pipelines. I obtained my PhD from the
Center for Research and Advanced Studies (CINVESTAV),
where I researched the robustness and security of deep learning models with a focus on medical imaging, under the supervision of
Dr. Andres Mendez-Vazquez
and
Dr. Gilberto Ochoa-Ruiz
at the CV INSIDE Lab.
I also work as an AI Specialist at Layer7, leading the design and deployment of enterprise LLM and multi-agent architectures for conversational AI, speech pipelines, and scalable MLOps workflows. I also serve as Lead AI/ML Instructor at AnyoneAI and teach machine learning, deep learning, and data science at graduate and undergraduate levels at ITESO, ITESM, and UMG.
I actively contribute to the research community as Mentorship Chair at the LatinX in Computer Vision Workshop at CVPR and as a mentor in the Google ExploreCSR Program LATAM.
I'm interested in computer vision, deep learning, generative AI, and robust machine learning. In my postdoc, I work on detecting deepfakes in real-time video calls and on federated learning methods for credit fraud detection, where financial institutions can train models together without sharing sensitive data. During my PhD, I focused on the robustness of deep learning models against adversarial and natural corruptions, and on federated learning for privacy-aware medical imaging.
A novel technique that boosts adversarial robustness by injecting perturbations from robust models into new tasks. Unlike traditional attacks, DDA enriches training with diverse, transferable adversarial signals, improving defenses across multiple datasets.
A benchmark for evaluating the robustness of monocular depth estimation models in endoscopic scenarios, featuring real-world image corruptions. Alongside it, we propose a new metric, mDERS, and release SCARED-C, a dataset tailored to assess performance under challenging endoscopic conditions.
A robust Federated Learning framework that leverages pre-trained models to improve kidney stone diagnosis while preserving data privacy. Our two-stage method—Learning Parameter Optimization and Federated Robustness Validation—boosts both accuracy and resilience to image corruptions across decentralized datasets.
A novel feature engineering method that combines meta-learning and causal analysis to automate the search for high-impact feature transformations. By encoding feature distributions and selecting causally relevant inputs, MACFE significantly improves prediction performance.
We present FedAgain, a federated learning algorithm for medical imaging anomaly detection across decentralized networks with heterogeneous data. The system uses a dual-signal trust mechanism based on reconstruction error and model divergence to downweight suspicious client contributions while maintaining privacy, achieving precision gains of up to +14.49% and F1 score improvements of up to +10.20% over traditional FedAvg.
A comparative evaluation between Vision Transformers and CNNs for kidney stone classification from endoscopic images. The ViT-base model pretrained on ImageNet-21k significantly outperformed ResNet50, achieving 95.2% accuracy on complex endoscopic patches compared to ResNet50's 64.5%, demonstrating that ViT architectures are a superior alternative for this medical imaging task.
Adversarial Robustness on Artificial Intelligence Ivan Reyes-Amezcua,
Gilberto Ochoa-Ruiz,
Andres Mendez-Vazquez Book Chapter - What AI Can Do: Strengths and Limitations of Artificial Intelligence (CRC Press), 2023
This chapter explores the critical need for evaluating the robustness of deep learning models, especially in safety-sensitive applications. Focusing on adversarial attacks, we highlight the vulnerabilities of neural networks to small, targeted input changes and emphasize the importance of developing reliable techniques to ensure trustworthy AI systems.
Guided Deep Metric Learning Jorge Gonzalez-Zapata,
Ivan Reyes-Amezcua,
Daniel Flores-Araiza,
Mauricio Mendez-Ruiz,
Gilberto Ochoa-Ruiz,
Andres Mendez-Vazquez CVPR - LatinX in AI Workshop, 2022 (Best Paper Award) Arxiv
A novel approach designed to improve generalization and manifold representation under distributional shifts. By combining a multi-branch master model with a student model in an offline distillation setup, our method achieves up to 40% performance gains in visual similarity tasks through more compact and robust clustering.
A trust-based federated learning strategy that weights each hospital's contribution using benchmark reliability and model divergence, reducing the impact of noisy or adversarial updates. Evaluated on MNIST, CIFAR-10, two private multi-institutional kidney stone datasets and MyStone, it consistently outperforms standard federated baselines.
Transfer Robustness to Downstream Tasks Through Sampling Adversarial Perturbations Ivan Reyes-Amezcua,
Gilberto Ochoa-Ruiz,
Andres Mendez-Vazquez Journal of LatinX in AI (LXAI) Research, 2023
We study how adversarial robustness learned by a robust source model can be carried over to downstream tasks by sampling its adversarial perturbations and using them during training of the new model.
A benchmark of frozen embeddings from 14 configurations (guard models such as LlamaGuard and WildGuard, base decoders, multilingual BERT encoders and commercial embedding APIs) across five safety tasks, including Spanish hate speech, prompt injection and jailbreaks, showing that cheap linear probes on embeddings can rival autoregressive guard models.
A two-step transfer learning approach that first learns kidney stone features from images acquired with a CCD camera and then transfers them to a classifier for endoscopic images, improving automated stone-type recognition during ureteroscopy.
A deep learning method that fuses surface and section views of kidney stone fragments, mimicking morpho-constitutional analysis. With two-step transfer learning and attention blocks, feature fusion improves classification accuracy by more than 6% over single-view models.
A few-shot learning approach that produces discriminative features for identifying kidney stone types in endoscopic images when only a handful of labeled samples are available.
We assess whether synthetic kidney stone images are plausible enough to augment scarce training data and improve AI models for endoscopic stone recognition, especially for rare stone classes.
Two distance-based loss functions, including the Proto-Triplet Loss, that enforce intra-class compactness and inter-class separation of embeddings to improve metric-learning methods for few-shot image classification.
An analysis of how pretrained CNN classifiers respond to natural image corruptions from CIFAR-C, identifying architectural factors that improve robustness.
An evaluation of the adversarial robustness of AlexNet, VGG and ResNet trained with PGD adversarial training on CIFAR-10 and CIFAR-100, showing the key role of the optimizer and learning rate.
A cascade framework for fast feature selection in high-dimensional supervised datasets that combines approximated and simulated-annealing versions of the Maximal Information Coefficient (MIC) to remove irrelevant and redundant features.
Projects
Awesome MLOps End-to-End (2025)
End-to-end MLOps system for predicting trip durations in Guadalajara's MiBici bike-sharing system using MLflow, DVC, FastAPI, Docker, and automated retraining.
MACFE Framework (2022)
Meta-learning + causality automated feature engineering framework published at MICAI 2022 with reproducible open-source Python implementation.
PyCUDAcov (2020)
Highly optimized covariance matrix computation library using CUDA parallel programming, released as a PyPI package.
Machine Learning Projects Repository
Actively maintained repository featuring ML, DL, and Data Science projects aligned with state-of-the-art architectures and evaluation practices.