Vivek Miglani

Meta (United States)
4 previous affiliations
11Machine learning papers tracked by Lacuna
Is this you?

Research Overview

Vivek Miglani focuses on the interpretability and structural properties of deep learning models, with a particular emphasis on the internal mechanics of convolutional neural networks (CNNs) and the development of explainability tools for generative language models. His work investigates how fundamental architectural components—such as convolution arithmetic, padding strategies, and pooling layers—introduce unintended biases or artifacts that affect model performance and robustness. More recently, Miglani has transitioned toward Interpreting the Internal Logic of Large Language Models, contributing to the development of open-source frameworks that facilitate Gradient-Based Feature Attribution for Language Models.

Research Trajectory

Miglani’s early research, beginning around 2021, was primarily concerned with the geometric and arithmetic properties of convolutional layers. This work identified that standard implementations of convolution can lead to "implicit foveation," where central pixels in an input image are processed differently than peripheral pixels due to the way filters overlap and boundary padding is applied. By analyzing these foveation effects, Miglani and his collaborators demonstrated that architectural choices often considered "implementation details" actually have significant implications for how a model distributes its attention across an input field.

In 2022, Miglani’s focus expanded to include algorithmic fairness. He participated in research developing frameworks to mitigate intersectional subgroup bias. This work utilized information-theoretic approaches, specifically the reduction of mutual information between protected attributes and model outputs, to ensure that neural networks do not learn spurious correlations related to sensitive variables. This period marked a bridge between his earlier interest in low-level architectural artifacts and a broader concern for the social and ethical reliability of machine learning systems.

By 2023, Miglani’s work shifted significantly toward the interpretability of Large Language Models (LLMs). As a lead contributor to the Captum library, he has focused on adapting traditional interpretability methods—such as Explaining Model Decisions via Contrastive Feature Attribution—to the specific challenges of generative text. This involves addressing the complexities of Optimization in Discrete Text Input Spaces, where the continuous gradients used in computer vision do not directly translate to the discrete nature of language. His recent work continues to explore the structural foundations of deep learning, including the study of symmetries in convolutional weights and the impact of pooling arithmetic on input-size generalization.

Current Directions

Miglani’s current research is characterized by a dual focus on tool-building for the broader research community and theoretical investigations into model robustness. A primary area of activity is the enhancement of the Captum library to support the analysis of learned associations within generative models. This work is critical for deploying AI in high-stakes domains where understanding the "why" behind a model's response is as important as the response itself.

Additionally, Miglani continues to investigate the "Mind the Pool" problem, which examines how standard downsampling layers in CNNs can cause models to overfit specific input sizes. This research direction seeks to develop "spatially-balanced pooling" techniques that improve the generalization of networks to arbitrary dimensions and enhance their robustness to translational shifts. By ensuring Distribution Compliant Feature Attribution, this line of inquiry aims to produce saliency maps and explanations that are more faithful to the model's actual decision-making process rather than being artifacts of the underlying grid arithmetic.

Representative Work

In Using Captum to Explain Generative Language Models, Miglani serves as the lead author, introducing new features to the Captum library specifically designed for the analysis of LLMs. The paper provides a framework for applying interpretability methods to generative tasks, allowing researchers to visualize and quantify the influence of specific input tokens on the generated output. This work is foundational for making the "black box" of modern language modeling more transparent and provides practical tools for identifying learned associations that may lead to hallucinations or biased outputs.

As a second author on Are Convolutional Networks Inherently Foveated?, Miglani contributed to the discovery that convolutional layers without padding naturally prioritize central pixels. The study reveals that this discrepancy grows exponentially with the number of layers, creating an implicit foveation effect similar to human vision but often unintended in computer vision tasks. The research explores how different padding techniques, such as zero-padding, can reduce but not entirely eliminate these effects, providing a deeper understanding of how convolution arithmetic skews the model's spatial focus.

In Debugging the Internals of Convolutional Networks, Miglani participated in developing visual-debugging tools to surface feature-map artifacts. These artifacts, often resulting from the interaction between filter sizes and strides, can interfere with downstream tasks and degrade model accuracy. The paper provides a methodology for model developers to analyze how these artifacts emerge and how they impact the weights learned during training, ultimately guiding more informed architectural choices.

Miglani also contributed to the Bias Mitigation Framework for Intersectional Subgroups in Neural Networks. This research addresses the challenge of fairness in models where multiple protected attributes (e.g., race and gender) intersect. The proposed framework uses a mutual information reduction strategy to prevent the model from learning relationships between these attributes and the target variable. This approach is notable for its simplicity and its ability to maintain high accuracy while significantly reducing bias across complex, overlapping subgroups.

In Mind the Pool: Convolutional Neural Networks Can Overfit Input Size, Miglani collaborated on an investigation into how pooling layers can cause CNNs to fail when presented with images of non-standard sizes. The research identifies that standard pooling arithmetic provides cues that the network uses to overfit the training input size. By introducing spatially-balanced pooling, the authors demonstrate improved generalization and translational invariance, ensuring that the model's performance remains stable across varying input dimensions.

Finally, Miglani’s more recent work, such as On Symmetries in Convolutional Weights, continues to probe the internal structure of trained networks. This research examines the mathematical symmetries that emerge in the weights of convolutional layers, contributing to the broader theoretical understanding of how neural networks represent spatial information and how these representations can be optimized for better performance and interpretability.

Profile updated

See something wrong? Report a mistake