Andreas Madsen

Andreas Madsen

Guide Labs · Mila - Quebec Artificial Intelligence Institute
8 previous affiliations
75Machine learning papers tracked by Lacuna
Is this you?

Research Overview

Andreas Madsen focuses on the interpretability and faithfulness of machine learning models, with a specific emphasis on natural language processing and neural arithmetic. His work addresses the discrepancy between how models process information and how they explain their reasoning to human users, particularly in the context of large language models (LLMs) and chain-of-thought prompting. By developing inherently faithfulness-measurable architectures and new evaluation frameworks, he seeks to ensure that model explanations serve as accurate reflections of internal logic rather than post-hoc justifications.

Research Trajectory

Madsen’s research trajectory is characterized by a transition from experimental life sciences and systems engineering into the theoretical and practical challenges of artificial intelligence interpretability. His early work, spanning from the mid-1980s through the 2010s, was primarily situated in endocrinology and metabolic research. During this period, he contributed to studies on the immunohistochemical localization of GABA in pancreatic cells and the signaling mechanisms of the ghrelin receptor. A notable contribution from this phase was the first-authored study, Physiological and Pathological Impact of Blood Sampling by Retro-Bulbar Sinus Puncture and Facial Vein Phlebotomy in Laboratory Mice, which provided a rigorous comparative analysis of stress responses and tissue damage associated with common laboratory phlebotomy techniques. He also participated in large-scale collaborative research identifying molecular mechanisms of insulin sensitivity, such as the role of Soluble SorCS1 binds the insulin receptor to enhance insulin sensitivity.

Parallel to his scientific work, Madsen established a significant presence in the open-source software community, specifically within the Node.js ecosystem. Since 2011, he has contributed to the core development of Node.js and created performance profiling tools like clinic.js. This background in systems and software reliability informed his subsequent move into independent machine learning research, where he began investigating the failure modes of neural networks in logical and arithmetic tasks.

In 2019, Madsen published a critical evaluation of Neural Arithmetic Logic Units (NALUs), focusing on their ability to generalize beyond the range of numbers seen during training. In Measuring Arithmetic Extrapolation Performance, he identified that standard metrics like Mean Squared Error (MSE) were insufficient for determining whether a model had truly learned an underlying arithmetic rule or was merely interpolating within a specific distribution. This work introduced more stringent success criteria for extrapolation, highlighting the sensitivity of these models to initialization and the difficulty of achieving perfect logical recovery.

Following this, Madsen’s focus shifted toward the broader problem of "faithfulness" in AI explanations. He joined Mila and Polytechnique Montreal for his doctoral studies, where he began advocating for a shift in how the field approaches explainability. He argued that existing post-hoc explanation methods—which attempt to explain a "black box" model after it has been trained—often produce persuasive but misleading results. This led to his current focus on designing models that are interpretable by construction or that treat faithfulness as a primary optimization objective.

Current Directions

Madsen’s current research is centered on Scaling Faithfulness in Large Language Model Explanations. As LLMs increasingly use chain-of-thought (CoT) reasoning to solve complex problems, a critical question arises: do the intermediate steps written by the model actually cause the final answer, or is the model "hallucinating" a plausible-sounding explanation for an answer it reached through other means? Madsen investigates this through the lens of The Faithfulness Interpretability Trade-off in Neural Network Explanations, noting that the more an explanation is optimized for human readability, the more likely it is to diverge from the model's actual internal mechanics.

A significant portion of his recent work involves Interpreting the Internal Logic of Large Language Models by developing new paradigms for attribution. He has explored Signed Attribution for Faithful Model Explanations, which aims to move beyond simple heatmaps of "importance" to understand the direction of influence—whether a specific token or feature supports or opposes a particular prediction. This is part of a larger effort toward Global Interpretability through Local Explanation Aggregation, seeking to understand model behavior across entire datasets rather than just individual instances.

Furthermore, Madsen is active in refining the training processes of these models. His participation in research regarding Iterative Training for Progressive Label and Data Refinement suggests an interest in how data quality and label noise affect the eventual interpretability of the system. Most recently, he has proposed that the field of interpretability requires a fundamental shift in its underlying assumptions, moving away from the binary of "intrinsic" versus "post-hoc" explanations toward a framework where faithfulness is measurable and guaranteed.

Representative Work

Interpretability Needs a New Paradigm

In this position paper, Madsen and his colleagues argue that the current state of AI interpretability is hindered by a reliance on post-hoc methods that lack causal grounding. They propose that faithfulness should not be a secondary hope but a core optimization objective during model development. The paper critiques the existing debate between inherently interpretable models and black-box explanations, suggesting that new paradigms are needed to bridge the gap between human-understandable narratives and the actual computational paths taken by deep learning systems.

Faithfulness Measurable Masked Language Models

This work addresses a major flaw in common interpretability techniques: the use of token masking to measure importance. Madsen identifies that masking tokens often introduces out-of-distribution (OOD) artifacts, making it unclear whether a drop in model performance is due to the loss of important information or the model's confusion at seeing an unfamiliar input format. He proposes a model architecture that is inherently designed to be faithfulness-measurable, allowing for more accurate assessments of which input features are truly driving the model's predictions without the computational overhead or proxy-model reliance of previous methods.

Measuring Arithmetic Extrapolation Performance

Focusing on the Neural Arithmetic Logic Unit (NALU), this paper highlights the limitations of standard evaluation metrics in assessing a model's logical reasoning. Madsen demonstrates that a model can achieve low MSE on a task while failing to learn the actual arithmetic operation, leading to total failure when tested on numbers outside the training range. By introducing a success-criterion based on exact logical recovery, the work provides a more rigorous benchmark for researchers working on neural-symbolic integration and algorithmic generalization.

Physiological and Pathological Impact of Blood Sampling by Retro-Bulbar Sinus Puncture and Facial Vein Phlebotomy in Laboratory Mice

As the lead author of this study, Madsen conducted a detailed physiological assessment of two prevalent blood-sampling methods in murine models. The research challenged the prevailing assumption that facial vein phlebotomy (FVP) is a more humane alternative to retro-bulbar sinus puncture (RSP). By measuring corticosterone levels and observing weight loss and tissue damage, the study concluded that FVP actually induced higher stress responses, providing critical data for the refinement of animal welfare protocols in biomedical research.

GPR119, a Major Enteroendocrine Sensor of Dietary Triglyceride Metabolites Coacting in Synergy With FFA1 (GPR40)

In this collaborative study, Madsen contributed to the identification of how specific receptors (GPR119, FFA1, and FFA4) coordinate to sense dietary fats and trigger the secretion of metabolic hormones like GLP-1 and GIP. The work utilized fluorescence-activated cell sorting and transgenic reporter mice to map the expression of these receptors, demonstrating their synergistic role in the body's response to triglyceride metabolites. This research is part of Madsen's broader early involvement in understanding the complex signaling networks that regulate systemic metabolism.

Profile updated

See something wrong? Report a mistake