Anita Raja

dblp:93/5894 · DBLP profile ↗
← Back
19ranked-venue papers
1as first author
5since 2021 · last 2025
0000-0002-0735-7358ORCID · corroborated

Domains — the database's venue-derived domains; a paper can count in several

Artificial intelligence and machine learning · 11 · 1 first-authorSoftware engineering, systems software and programming languages · 5 · 5 since 2021Graphics, computer vision, multimedia, augmented reality and games · 3Computer networks · 1Security and privacy · 1Databases, data management, data science and information retrieval · 1 · 1 since 2021
YearPublicationVenuePosition
2025 Hybridize Functions: A Tool for Automatically Refactoring Imperative Deep Learning Programs to Graph Execution
abstract
Abstract Efficiency is essential to support responsiveness w.r.t. ever-growing datasets, especially for Deep Learning (DL) systems. DL frameworks have traditionally embraced deferred execution-style DL code—supporting symbolic, graph-based Deep Neural Network (DNN) computation. While scalable, such development is error-prone, non-intuitive, and difficult to debug. Consequently, more natural, imperative DL frameworks encouraging eager execution have emerged but at the expense of run-time performance. Though hybrid approaches aim for the “best of both worlds,” using them effectively requires subtle considerations to make code amenable to safe, accurate, and efficient graph execution—avoiding performance bottlenecks and semantically inequivalent results. We discuss the engineering aspects of a refactoring tool that automatically determines when it is safe and potentially advantageous to migrate imperative DL code to graph execution and vice-versa.
Raffi Khatchadourian, Tatiana Castro Vélez, Mehdi Bagherzadeh 0001, Anita Raja
FASE5
2025 Speculative Automated Refactoring of Imperative Deep Learning Programs to Graph Execution
abstract
Efficiency is essential to support ever-growing datasets, especially for Deep Learning (DL) systems. DL frameworks have traditionally embraced deferred execution-style DL code—supporting symbolic, graph-based Deep Neural Network (DNN) computation. While scalable, such development is error-prone, non-intuitive, and difficult to debug. Consequently, more natural, imperative DL frameworks encouraging eager execution have emerged but at the expense of run-time performance. Though hybrid approaches aim for the "best of both worlds," using them effectively requires subtle considerations. Our key insight is that, while DL programs typically execute sequentially, hybridizing imperative DL code resembles parallelizing sequential code in traditional systems. Inspired by this, we present an automated refactoring approach that assists developers in determining which otherwise eagerly-executed imperative DL functions could be effectively and efficiently executed as graphs. The approach features novel static imperative tensor and side-effect analyses for Python. Due to its inherent dynamism, analyzing Python may be unsound; however, the conservative approach leverages a speculative (keyword-based) analysis for resolving difficult cases that informs developers of any assumptions made. The approach is: (i) implemented as a plug-in to the PyDev Eclipse IDE that integrates the WALA Ariadne analysis framework and (ii) evaluated on nineteen DL projects consisting of 132 KLOC. The results show that 326 of 766 candidate functions (42.56%) were refactorable, and an average relative speedup of 2.16x on performance tests was observed with negligible differences in model accuracy. The results indicate that the approach is useful in optimizing imperative DL code to its full potential.
Raffi Khatchadourian, Tatiana Castro Vélez, Mehdi Bagherzadeh 0001, Anita Raja
ASE5
2023 Towards Safe Automated Refactoring of Imperative Deep Learning Programs to Graph Execution
abstract
Efficiency is essential to support responsiveness w.r.t. ever-growing datasets, especially for Deep Learning (DL) systems. DL frameworks have traditionally embraced deferred execution-style DL code-supporting symbolic, graph-based Deep Neural Network (DNN) computation. While scalable, such development is error-prone, non-intuitive, and difficult to debug. Consequently, more natural, imperative DL frameworks encouraging eager execution have emerged at the expense of run-time performance. Though hybrid approaches aim for the “best of both worlds,” using them effectively requires subtle considerations to make code amenable to safe, accurate, and efficient graph execution. We present our ongoing work on automated refactoring that assists developers in specifying whether and how their otherwise eagerly-executed imperative DL code could be reliably and efficiently executed as graphs while preserving semantics. The approach, based on a novel imperative tensor analysis, will automatically determine when it is safe and potentially advantageous to migrate imperative DL code to graph execution and modify decorator parameters or eagerly executing code already running as graphs. The approach is being implemented as a PyDev Eclipse IDE plug-in and uses the WALA Ariadne analysis framework. We discuss our ongoing work towards optimizing imperative DL code to its full potential.
Raffi Khatchadourian, Tatiana Castro Vélez, Mehdi Bagherzadeh 0001, Anita Raja
ASE5
2022 Challenges in Migrating Imperative Deep Learning Programs to Graph Execution: An Empirical Study
abstract
Efficiency is essential to support responsiveness w.r.t. ever-growing datasets, especially for Deep Learning (DL) systems. DL frameworks have traditionally embraced deferred execution-style DL code that supports symbolic, graph-based Deep Neural Network (DNN) computation. While scalable, such development tends to produce DL code that is error-prone, non-intuitive, and difficult to debug. Consequently, more natural, less error-prone imperative DL frameworks encouraging eager execution have emerged at the expense of run-time performance. While hybrid approaches aim for the "best of both worlds," the challenges in applying them in the real world are largely unknown. We conduct a data-driven analysis of challenges---and resultant bugs---involved in writing reliable yet performant imperative DL code by studying 250 open-source projects, consisting of 19.7 MLOC, along with 470 and 446 manually examined code patches and bug reports, respectively. The results indicate that hybridization: (i) is prone to API misuse, (ii) can result in performance degradation---the opposite of its intention, and (iii) has limited application due to execution mode incompatibility. We put forth several recommendations, best practices, and anti-patterns for effectively hybridizing imperative DL code, potentially benefiting DL practitioners, API designers, tool developers, and educators.
Tatiana Castro Vélez, Raffi Khatchadourian, Mehdi Bagherzadeh 0001, Anita Raja
MSR4
2021 An Empirical Study of Refactorings and Technical Debt in Machine Learning Systems
abstract
Machine Learning (ML), including Deep Learning (DL), systems, i.e., those with ML capabilities, are pervasive in today's data-driven society. Such systems are complex; they are comprised of ML models and many subsystems that support learning processes. As with other complex systems, ML systems are prone to classic technical debt issues, especially when such systems are long-lived, but they also exhibit debt specific to these systems. Unfortunately, there is a gap of knowledge in how ML systems actually evolve and are maintained. In this paper, we fill this gap by studying refactorings, i.e., source-to-source semantics-preserving program transformations, performed in real-world, open-source software, and the technical debt issues they alleviate. We analyzed 26 projects, consisting of 4.2 MLOC, along with 327 manually examined code patches. The results indicate that developers refactor these systems for a variety of reasons, both specific and tangential to ML, some refactorings correspond to established technical debt categories, while others do not, and code duplication is a major cross-cutting theme that particularly involved ML configuration and model code, which was also the most refactored. We also introduce 14 and 7 new ML-specific refactorings and technical debt categories, respectively, and put forth several recommendations, best practices, and anti-patterns. The results can potentially assist practitioners, tool developers, and educators in facilitating long-term ML system usefulness.
Yiming Tang 0002, Raffi Khatchadourian, Mehdi Bagherzadeh 0001, Rhia Singh, Ajani Stewart, Anita Raja
ICSE6
2019 A context-aware convention formation framework for large-scale networks
Mohammad Rashedul Hasan, Anita Raja, Ana L. C. Bazzan
Auton. Agents Multi Agent Syst.2
2015 Fast Convention Formation in Dynamic Networks Using Topological Knowledge
abstract
In this paper, we design a distributed mechanism that is able to create a social convention within a large convention space for multiagent systems (MAS) operating on various topologies. Specifically, we investigate a language coordination problem in which agents in a dynamic MAS construct a common lexicon in a decentralized fashion. Agent interactions are modeled using a language game where every agent repeatedly plays with its neighbors. Each agent stochastically updates its lexicons based on the utility values of the received lexicons from its immediate neighbors. We present a novel topology-aware utility computation mechanism and equip the agents with the ability to reorganize their neighborhood based on this utility estimate to expedite the convention formation process. Extensive simulation results indicate that our proposed mechanism is both effective (able to converge into a large majority convention state with more than 90\% agents sharing a high-quality lexicon) and efficient (faster) as compared to state-of-the-art approaches for social conventions in large convention spaces.
Mohammad Rashedul Hasan, Anita Raja, Ana L. C. Bazzan
AAAI2
2014 Dynamic multiagent load balancing using distributed constraint optimization techniques
abstract
Resource management is a key challenge in multiagent systems. It is especially important in dynamic environments where decisions need to be made quickly and when decisions can get obsolete quickly. In wireless local area networks (WLANs), resource ma
Shanjun Cheng, Anita Raja, Jiang (Linda) Xie
Web Intell. Agent Syst.2
2013 The Role of Complex Network Dynamics in the Emergence of Multiagent Coalition
abstract
Emergence of a single coalition among self-interested agents operating on large scale-free networks is a challenging task. Many existing approaches assume a given static network platform and do not use the network dynamics to facilitate the dynamics of agent interactions. In this paper, we present a decentralized game-theoretic approach to this single coalition emergence problem in which agent communications are limited only to their immediate neighbors. Our coalition emergence algorithm is based on the heuristic that agents benefit by forming coalitions with wealthy (higher payoff) and influential (higher accumulated coupling strength) neighbors. Simulation results show that the emergence phenomenon is significantly enhanced when the topological insights, such as increasing degree-heterogeneity and clustering, are embedded into the agent partner selection strategy.
Mohammad Rashedul Hasan, Anita Raja
AAAI2
2013 Multiagent meta-level control for radar coordination
abstract
It is crucial for embedded systems to adapt to the dynamics of open environments. This adaptation process becomes especially challenging in the context of multiagent systems. In this paper, we argue that multiagent meta-level control is an effective
Shanjun Cheng, Anita Raja, Victor R. Lesser
Web Intell. Agent Syst.2
2010 Towards Multiagent Meta-level Control
abstract
Embedded systems consisting of collaborating agents capable of interacting with their environment are becoming ubiquitous. It is crucial for these systems to be able to adapt to the dynamic and uncertain characteristics of an open environment. In this paper, we argue that multiagent meta-level control (MMLC) is an effective way to determine when this adaptation process should be done and how much effort should be invested in adaptation as opposed to continuing with the current action plan. We describe a reinforcement learning based approach to learn decentralized meta-control policies offline. We then propose to use the learned reward model as input to a global optimization algorithm to avoid conflicting meta-level decisions between coordinating agents. Our initial experiments in the context of NetRads, a multiagent tornado tracking application show that MMLC significantly improves performance in a 3-agent network.
Shanjun Cheng, Anita Raja, Victor R. Lesser
AAAI2
2007 Cognitive Radio Resource Management Using Multi-Agent Systems
abstract
This paper investigates cooperative radio resource management for multiple cognitive radio networks in interference environments. The objective of this research is to manage shared radio resources fairly among multiple non- cooperative cognitive radio networks to optimize the overall performance. We emphasize the underlying predictability of network conditions and promote management solutions tailored to different interference environments. A multi-agent-system- based approach is proposed to achieve information sharing and decision distribution among multiple cognitive radio networks in a distributed manner. We address the distributed constraint optimization problem (DCOP) in cognitive radio networks and study the effectiveness of DCOP algorithms to find the optimal radio resource assignment through communications between distributed agents.
Jiang (Linda) Xie, Ivan Howitt, Anita Raja
CCNC3
2007 A framework for meta-level control in multi-agent systems
Anita Raja, Victor R. Lesser
Auton. Agents Multi Agent Syst.1
2006 Modeling Uncertainty and its Implications to Sophisticated Control in Tæms Agents
Thomas A. Wagner, Anita Raja, Victor R. Lesser
Auton. Agents Multi Agent Syst.2
2006 Modeling uncertainty and its implications to sophisticated control Tæms agents
Thomas A. Wagner, Anita Raja, Victor R. Lesser
Auton. Agents Multi Agent Syst.2
2005 Predictive protocol management with contingency planning for wireless sensor networks
abstract
Wireless sensor networks (WSN) are a subset of wireless networking applications focused on enabling sensor and actuator connectivity without the use of wires. Energy consumption among the wireless devices participating in these networks is a major constraint on the deployment for a broad range of applications enabled by WSNs. This paper introduces, for the first time, a novel methodology based on predictive protocol management with contingency planning (PPM and CP). This approach allows efficient update of the WSN operational mode in order to optimize the energy utilization based on the time varying characteristics of the radio-frequency (RF) in which the network operates.
Ivan Howitt, John C. Stamper, Anita Raja, Verghese Mappillai
MASS3
2004 Critical Infrastructure Integration Modeling and Simulation
William J. Tolone, Anita Raja, Wei-Ning Xiang, Huili Hao, Stuart Phelps, E. Wray Johnson
ISI3
2004 Evolution of the GPGP/TÆMS Domain-Independent Coordination Framework
Victor R. Lesser, Keith S. Decker, Thomas Wagner 0001, Norman Carver, Alan Garvey, Bryan Horling, Daniel E. Neiman, Rodion M. Podorozhny, M. V. Nagendra Prasad, Anita Raja, Régis Vincent, Ping Xuan, Xiaoqin Zhang 0001
Auton. Agents Multi Agent Syst.10
2000 BIG: An agent for resource-bounded information gathering and decision making
Victor R. Lesser, Bryan Horling, Frank Klassner, Anita Raja, Thomas Wagner 0001, Xiaoqin Zhang 0001
Artif. Intell.4