Shashank Srikant

Massachusetts Institute of Technology
1 previous affiliation
8Machine learning papers tracked by Lacuna
Is this you?

Research Overview

Shashank Srikant focuses on the intersection of machine learning, software engineering, and cognitive science. His work investigates how both artificial models and the human brain represent and process computer programs, with a particular emphasis on model robustness and the alignment between neural and computational representations of code. By bridging the gap between program analysis and cognitive neuroscience, Srikant’s research seeks to understand the underlying mechanisms of code comprehension in both biological and artificial systems.

Research Trajectory

Srikant’s early research addressed practical challenges in the application of machine learning to computer science education. In Question Independent Grading using Machine Learning: The Case of Computer Program Grading, he participated in the development of a supervised learning framework designed to automate the grading of open-ended programming responses. This work targeted a significant bottleneck in scaling programming education: the requirement for expert-labeled samples for every unique question and programming language. By proposing a method that reduced the dependency on manually assigned labels, the research demonstrated an early interest in the generalizability of machine learning models across different programming contexts.

In 2021 and 2022, Srikant’s focus shifted toward the security and internal consistency of machine learning models designed for code-related tasks, such as bug detection and code summarization. As the lead author of Generating Adversarial Computer Programs using Optimized Obfuscations, he explored the adversarial robustness of these models. This research utilized program obfuscation—a technique traditionally used to prevent reverse engineering—as a method for generating adversarial perturbations. By modifying programs in ways that preserved their original functionality but altered their statistical or structural features, Srikant demonstrated that current ML models for code are susceptible to being misled by principled perturbations. This work highlighted a critical gap between a model's ability to predict properties of code and its actual understanding of program logic.

Most recently, Srikant has pioneered research into the cognitive foundations of programming. This work moves beyond evaluating model performance to ask fundamental questions about how the human brain encodes code compared to artificial neural networks. In Representations of Computer Programs in the Human Brain, he led an investigation using functional magnetic resonance imaging (fMRI) to record brain activity while programmers comprehended Python code. This study identified specific regions of the brain, particularly the Multiple Demand (MD) system, that encode both static properties (such as abstract syntax tree structures) and dynamic properties (such as runtime information) of computer programs.

Current Directions

Srikant’s current work continues to explore the convergence of human and machine intelligence in the domain of formal languages. In Convergent Representations of Computer Programs in Human and Artificial Neural Networks, he expanded on his fMRI research by training computational probes to align brain recordings with the internal representations learned by various machine learning models. This comparative approach allows for a more granular understanding of which aspects of code—ranging from simple syntax to complex logic—are prioritized by different systems.

The findings from this line of inquiry suggest that both the human brain and sophisticated ML models develop specialized representations for code that are distinct from natural language processing. By mapping these representations to specific neural systems, such as the Multiple Demand system, Srikant’s work provides a neuroscientific basis for understanding the cognitive load and structural processing involved in programming. This research has implications for both the design of more "human-like" AI models for software engineering and the development of better pedagogical tools for computer science.

Representative Work

The following papers represent the evolution of Srikant's research from applied machine learning in education to the cognitive science of programming:

Srikant’s research trajectory reflects a consistent move toward deeper, more foundational questions regarding the nature of code. While his early work focused on the output of machine learning systems (grading), his subsequent work has delved into the robustness of their internal logic (adversarial attacks) and finally into the biological parallels of those internal representations (neuroimaging). This interdisciplinary path positions his work at the forefront of understanding how intelligence processes formal, executable logic.

Profile updated

See something wrong? Report a mistake