Alfy Samuel
Alfy Samuel

Hi, I'm Alfy

Trustworthy AI, Multi-Agentic Systems, Retrieval & Alignment

Senior Director, AI and ML Research  ·  Capital One AI Foundations

I am a Senior Director within the AI Foundations team at Capital One, where I lead a team of scientists, AI engineers, and researchers dedicated to advancing NLP research and ML for Capital One's generative AI initiatives. My work focuses on trustworthy AI and uncertainty quantification of LLMs; multi-agentic systems; information retrieval and RAG; and LLM alignment, post-training, and adaptation.

Prior to Capital One, I was at the AI Center of Excellence at Fidelity Investments, where I worked on deep learning for NLP, including search, question answering, and sequence classification. My work there also covered vision, including 3D object detection, OCR, handwriting recognition, and document image processing. My career began at Fractal Analytics, building ML models for finance and retail companies. I have led initiatives in Responsible AI and Women in ML, and remain committed to a more inclusive and equitable future in AI.

I hold a Bachelor's degree from the University of Mumbai and a Master's degree from North Carolina State University. As an industry researcher, I have published multiple papers in top-tier conferences. In 2026 alone, I have led research published at the main conferences of ICLR, ICML, EMNLP, and NeurIPS. I'm also active as a program committee member for several of these conferences.


Research interests


Updates:

  • December 2026 — Presenting ConRAG at NeurIPS Sydney, Poster Session 5, December 10.
  • December 2026 — Presenting two papers from the team at the LP4FM workshop at NeurIPS Sydney, December 12.
  • November 2026 — YouTube video on Confidence-Based Response Abstinence released.
  • August 2026 — VerTox accepted as an oral at EMNLP 2026.
  • July 2026 — Presented the EPSVec poster at ICML 2026, Seoul.
  • April 2026 — Presented Alignment-Weighted DPO and Uncertainty as Feature Gaps posters at ICLR 2026, Rio de Janeiro.
  • July 2025 — Presented at the ICML 2025 Expo workshop on uncertainty estimation in LLM-generated content, Vancouver.
  • April 2025 — Capital One GenAI video released: “A GenAI Tool To Help Our Agents Answer Customers Faster.”
  • March 2025 — Presented “How Capital One Built its Own Generative AI Agent Servicing Tool” at NVIDIA GTC 2025, San Jose.
  • Ongoing: Research on uncertainty quantification for LLMs and multi-agentic systems, alongside work on IR & RAG and LLM alignment, post-training and adaptation.

Selected Publications

Improving Consistency in Retrieval-Augmented Systems with Group Similarity Rewards

Faisal Hamman, Chenyang Zhu, Anoop Kumar, Xujun Peng, Sanghamitra Dutta, Daben Liu, Alfy Samuel

NeurIPS 2026

Paper

RAG systems are increasingly deployed in high-stakes domains where users expect outputs to be consistent across semantically equivalent queries. However, existing systems often exhibit significant inconsistencies due to variability in both the retriever and generator (LLM), undermining trust and reliability. In this work, we focus on information consistency, i.e., the requirement that outputs convey the same core content across semantically equivalent inputs. We introduce a principled evaluation framework that decomposes RAG consistency into retriever-level, generator-level, and end-to-end components, helping identify inconsistency sources. To improve consistency, we propose Paraphrased Set Group Relative Policy Optimization (PS-GRPO), an RL approach that leverages multiple rollouts across paraphrased set to assign group similarity rewards. We leverage PS-GRPO to achieve Information Consistent RAG (Con-RAG), training the generator to produce consistent outputs across paraphrased queries and remain robust to retrieval-induced variability. Because exact reward computation over paraphrase sets is computationally expensive, we also introduce a scalable approximation method that retains effectiveness while enabling efficient, large-scale training. Empirical evaluations across short-form, multi-hop, and long-form QA benchmarks demonstrate that Con-RAG significantly improves both consistency and accuracy over strong baselines, even in the absence of explicit ground-truth supervision. Our work provides practical solutions for evaluating and building reliable RAG systems for safety-critical deployments.

Figure 3 from the Con-RAG paper: overview of the PS-GRPO framework with group similarity rewards

Alignment-Weighted DPO: A principled reasoning approach to improve safety alignment

Mengxuan Hu, Vivek Datla, Anoop Kumar, Zihan Guan, Sheng Li, Alfy Samuel, Daben Liu

ICLR 2026

Paper

Recent advances in alignment techniques such as Supervised Fine-Tuning (SFT), Reinforcement Learning from Human Feedback (RLHF), and Direct Preference Optimization (DPO) have improved the safety of large language models (LLMs). However, these LLMs remain vulnerable to jailbreak attacks that disguise harmful intent through indirect or deceptive phrasing. Using causal intervention, we empirically demonstrate that this vulnerability stems from shallow alignment mechanisms that lack deep reasoning, often rejecting harmful prompts without truly understanding why they are harmful. To mitigate this vulnerability, we propose enhancing alignment through reasoning-aware post-training. We construct and release a novel Chain-of-Thought (CoT) fine-tuning dataset that includes both utility-oriented and safety-critical prompts with step-by-step rationales. Fine-tuning on this dataset encourages models to produce principled refusals grounded in reasoning, outperforming standard SFT baselines. Furthermore, inspired by failure patterns in CoT fine-tuning, we introduce Alignment-Weighted DPO, which targets the most problematic parts of an output by assigning different preference weights to the reasoning and final-answer segments. This produces finer-grained, targeted updates than vanilla DPO and improves robustness to diverse jailbreak strategies. Extensive experiments across multiple safety and utility benchmarks show that our method consistently improves alignment robustness while maintaining overall model utility.

Figure 2 from the Alignment-Weighted DPO paper: the AW-DPO training pipeline

VerTox: Verifiable Reward-Guided Corpus Poisoning Against Neural Ranking Models

Zhiqi Huang, Vivek Datla, Zhichao Xu, Puxuan Yu, Vivek Srikumar, Alfy Samuel

EMNLP 2026

Paper

Neural ranking models have become core components of modern information retrieval systems and important building blocks of AI systems such as retrieval-augmented generation (RAG) pipelines. However, their robustness remains insufficiently understood in the presence of large language models (LLMs), which can generate fluent and deceptive content at scale. This work investigates the vulnerability of neural ranking models to corpus poisoning attacks, in which an adversary injects a small number of maliciously crafted documents into the corpus to distort ranking behavior. We propose VerTox, the first framework to formulate corpus poisoning as a verifiable reward-guided reinforcement learning (RLVR) problem. By explicitly coupling ranking distortion with factual corruption through specialized reward shaping, we fine-tune compact LLMs into adversarial generators. Experiments demonstrate that our method achieves near-perfect attack success rates, producing adversarial documents that frequently rank higher than target documents across major neural ranking architectures, as well as a proprietary commercial embedding model. The generated adversarial documents are fluent and exhibit low perplexity, making them difficult to detect. Furthermore, by explicitly encouraging factual corruption, our adversarial documents significantly degrade the performance of a downstream RAG application.

Figure 1 from the VerTox paper: overview of the corpus poisoning attack pipeline

FB-RAG: Improving RAG with Forward and Backward Lookup

Kushal Chawla, Alfy Samuel, Anoop Kumar, Daben Liu

Findings of AACL 2025

Paper

Traditional Retrieval-Augmented Generation (RAG) struggles with complex queries that lack strong signals to retrieve the most relevant context, forcing a trade-off between choosing a small context that misses key information and a large context that confuses the LLM. To address this, we propose Forward-Backward RAG (FB-RAG), a new training-free framework based on a simple yet powerful forward-looking strategy. FB-RAG employs a light-weight LLM to peek into potential future generations, using evidence from multiple sampled outputs to precisely identify the most relevant context for a final, more powerful generator. This improves performance without complex finetuning or Reinforcement Learning common in prior work. Across 9 datasets from LongBench and InfiniteBench, FB-RAG consistently delivers strong results. Further, the performance gains can be achieved with reduced latency due to a shorter, more focused prompt for the powerful generator. On EN.QA dataset, FB-RAG matches the leading baseline with over 48% latency reduction or achieves an 8% performance improvement with a 10% latency reduction. Our analysis finds cases where even when the forward-looking LLM fails to generate correct answers, its attempts are sufficient to guide the final model to an accurate response, demonstrating how smaller LLMs can systematically improve the performance and efficiency of larger ones.

Figure 1 from the FB-RAG paper: overview of forward and backward lookup

A Comparison of Independent and Joint Fine-tuning Strategies for Retrieval-Augmented Generation

Neal Gregory Lawton, Alfy Samuel, Anoop Kumar, Daben Liu

Findings of EMNLP 2025

Paper

Retrieval augmented generation (RAG) is a popular framework for question answering that is powered by two large language models (LLMs): an embedding model that retrieves context documents from a database that are relevant to a given question, and a generator model that uses the retrieved context to generate an answer to the question. Both the embedding and generator models can be fine-tuned to increase performance of a RAG pipeline on a new task, but multiple fine-tuning strategies exist with different costs and benefits. In this paper, we evaluate and compare several RAG fine-tuning strategies, including independent, joint, and two-phase fine-tuning. In our experiments, we observe that all of these strategies achieve about equal improvement in EM and F1 generation quality metrics, although they have significantly different computational costs. We conclude the optimal fine-tuning strategy to use depends on whether the training dataset includes context labels and whether a grid search over the learning rates for the embedding and generator models is required.

Figure 1 from the RAG fine-tuning comparison paper: the four fine-tuning subprocess diagrams with their (a)–(d) subcaptions

Confidence-Based Response Abstinence: Improving LLM Trustworthiness via Activation-Based Uncertainty Estimation

Zhiqi Huang, Vivek Datla, Chenyang Zhu, Alfy Samuel, Daben Liu, Anoop Kumar, Ritesh Soni

Proceedings of the 2nd Workshop on Uncertainty-Aware NLP (UncertaiNLP 2025)

Paper

We propose a method for confidence estimation in retrieval-augmented generation (RAG) systems that aligns closely with the correctness of large language model (LLM) outputs. Confidence estimation is especially critical in high-stakes domains such as finance and healthcare, where the cost of an incorrect answer outweighs that of not answering the question. Our approach extends prior uncertainty quantification methods by leveraging raw feed-forward network (FFN) activations as auto-regressive signals, avoiding the information loss inherent in token logits and probabilities after projection and softmax normalization. We model confidence prediction as a sequence classification task, and regularize training with a Huber loss term to improve robustness against noisy supervision. Applied in a real-world financial industry customer-support setting with complex knowledge bases, our method outperforms strong baselines and maintains high accuracy under strict latency constraints. Experiments on Llama 3.1 8B model show that using activations from only the 16th layer preserves accuracy while reducing response latency. Our results demonstrate that activation-based confidence modeling offers a scalable, architecture-aware path toward trustworthy RAG deployment.

Figure 4 from the Confidence-Based Response Abstinence paper: confidence model based on LLM activations

For the full list of publications, see my Google Scholar profile.


Patents

United States (11)

US20260244551A1

Systems and methods for improving evaluation in supervised fine-tuning processes

Published Aug 20, 2026

US20260099519A1

Systems and methods for improved data processing of communications across computer networks using trifurcated prompts

Published Apr 9, 2026

US20260244915A1

Knowledge gap detection for agentic conversation

Published Aug 20, 2026

US20260244863A1

Source detection for target llms using token accessible llms for token activations

Published Aug 20, 2026

US20260244864A1

Data generation for llm source classification modeling

Published Aug 20, 2026

US20260244634A1

Source detection for llms using internal token activations

Published Aug 20, 2026

US20260244852A1

Systems and methods for improving prompt versioning in supervised fine-tuning processes

Published Aug 20, 2026

US20260244859A1

Live conversation information retrieval via context tokens and real-time natural language utterances systems and methods

Published Aug 20, 2026

US20260244935A1

Systems and methods for improving efficiency of supervised fine tuning processes for large language models

Published Aug 20, 2026

US20260147772A1

Systems and methods for minimizing latency in network models to facilitate real-time applications

Published May 28, 2026

US20260245577A1

Queryless information retrieval during a live conversation via a bifurcated model implemented in a secured computer network

Published Aug 20, 2026

Europe (4)

EP4793795A1

Queryless information retrieval during a live conversation via a bifurcated model implemented in a secured computer network

Published Aug 19, 2026

EP4793844A1

Systems and methods for improving prompt versioning in supervised fine-tuning processes

Published Aug 19, 2026

EP4793794A1

Knowledge gap detection for agentic conversation

Published Aug 19, 2026

EP4793834A1

Source detection for llms using internal token activations

Published Aug 19, 2026


Talks & videos

Talks, videos, and workshop appearances on trustworthy AI, uncertainty quantification, and generative AI.

Confidence-Based Response Abstinence in RAG Applications (Architecture Breakdown)

Video — Capital One, YouTube channel

Alfy Samuel and Anoop Kumar walk through the EMNLP 2025 UncertaiNLP paper on activation-based uncertainty estimation and confidence-based response abstinence in RAG.

Watch on YouTube →

How Capital One Built its Own Generative AI Agent Servicing Tool

Video — NVIDIA GTC 2025, Session EXS74442, San Jose

Watch on NVIDIA On-Demand →

A GenAI Tool To Help Our Agents Answer Customers Faster: That's How We Stack (:30s)

Video — Capital One, YouTube channel

Watch on YouTube →

Uncertainty Estimation in LLM-Generated Content

Workshop — ICML 2025 Expo Workshop, Capital One

ICML 2025 Expo workshop covering calibration, confidence-aware generation, out-of-distribution detection, uncertainty communication, and benchmarking.

View workshop page →