Gathika Ratnayaka
· 5 previous affiliations
- XeptagonSince 2025
- Senior Lead - Data Science · Since 2025
- Research And Development Engineer · 2020–2021
- Australian National UniversitySince 2021
- Researcher Phd Candidate · Since 2021
- Tutor · 2023–2025
- PhD student · 2021–2025
- University of Moratuwa2014–2020
- Visiting Instructor · 2019–2020
- Bachelor’s Degree, Computer Science and Engineering · 2014–2018
- Entgra.io2018–2019
- Software Engineer · 2018–2019
- Chartered Institute of Management Accountants2014–2015
- Associate's degree, Finance · 2014–2015
Research Overview
Gathika Ratnayaka focuses on natural language processing (NLP) and structural machine learning, with a primary emphasis on Label Efficient Learning for Expert Scarcity Domains and deep graph matching. Ratnayaka's work addresses the challenges of extracting semantic and structural information from complex, high-stakes data environments, such as legal proceedings and social media interactions. Recent research extends these interests into the domain of geometric deep learning, specifically exploring contrastive learning and optimal transport for finding correspondences between non-isomorphic graphs.
Research Trajectory
The early phase of Ratnayaka’s research, spanning approximately 2018 to 2021, was concentrated on the intersection of NLP and legal informatics. This work addressed the "complexity tax" inherent in legal texts, where Semantic Decomposition of Syntactically Complex Sentences is necessary to facilitate automated reasoning. During this period, Ratnayaka developed methods for identifying discourse relations and shifts in perspective within court case transcripts, moving beyond simple keyword search toward a structural understanding of legal arguments.
A significant portion of this early work focused on the scarcity of expert-labeled data in the legal domain. Because legal annotation requires specialized knowledge, Ratnayaka explored transfer learning and rule-based augmentation to build robust models with minimal manual intervention. This effort culminated in the development of the SigmaLaw framework, where Ratnayaka served as a senior researcher on several projects involving party identification and aspect-based sentiment analysis (ABSA). By treating legal parties as "aspects," this research enabled a more granular analysis of how judicial opinions express sentiment toward specific plaintiffs or defendants. This work leveraged Injecting Sentiment Polarity into Word Embeddings to account for the specialized vocabulary of the courtroom, where standard sentiment lexicons often fail.
In 2020, Ratnayaka expanded this focus on affective computing to the domain of online safety. This research applied Decomposing Complex Classification into Hierarchical Decisions to the problem of cyberbullying. Rather than treating bullying as a binary classification task, Ratnayaka’s approach identified the specific social roles—such as harasser, victim, or bystander—involved in an exchange. This move toward role-based identification mirrored the earlier work in legal party identification, suggesting a consistent interest in the structural roles entities play within a discourse.
Starting in 2023, Ratnayaka’s research trajectory shifted toward more fundamental problems in graph-based machine learning. This current phase focuses on Global Consistency in Multi-Graph Matching, addressing how to align nodes across multiple disparate graphs. This work moves away from purely linguistic data toward general structural alignment, utilizing contrastive learning and optimal transport to handle noise, occlusions, and partial matches in complex datasets.
Current Directions
Ratnayaka’s current research focuses on the theoretical and algorithmic foundations of graph matching. A central theme is the development of "stable" matching algorithms that can operate efficiently in deep learning frameworks. This involves integrating combinatorial constraints, such as those found in the stable marriage problem, into differentiable architectures.
Another active area of investigation is the application of Measuring Semantic Shift with Aligned Word Embeddings techniques to broader structural alignment problems. By casting graph matching as a contrastive learning task, Ratnayaka is developing methods to exploit the relationships between matches and non-matches more effectively. This includes the design of hardness attention mechanisms to select informative negative samples, improving the robustness of alignment in the presence of structural noise. Most recently, this has led to the exploration of partial graph matching (PGM), where the goal is to find correspondences even when some nodes have no counterpart in the target graph, a common scenario in real-world computer vision and bioinformatics applications.
Representative Work
Identifying Relationships Among Sentences in Court Case Transcripts Using Discourse Relations As first author, Ratnayaka developed a hybrid system combining machine learning and rule-based logic to map discourse relations in U.S. court transcripts. The work established a framework for understanding the logical flow of legal arguments by identifying relations such as "Elaboration" and "Citation," providing a foundation for automated legal research tools.
Shift-of-Perspective Identification Within Legal Cases In this first-author paper, Ratnayaka addressed the difficulty of teaching machines to recognize when a judicial opinion pivots between different viewpoints, such as moving from a statement of fact to a dissenting argument. The research introduced methods to identify these transitions, which are critical for legal professionals navigating complex case law.
Effective Approach to Develop a Sentiment Annotator For Legal Domain in a Low Resource Setting This first-author work tackled the problem of expert scarcity by developing a semi-automated pipeline for sentiment analysis. By identifying "sentiment-shifting" words specific to the legal context, the research improved the accuracy of BERT-based models while significantly reducing the number of manual annotations required from legal experts.
Enhancing the Identification of Cyberbullying through Participant Roles Ratnayaka served as first author on this study, which introduced a hierarchical ensemble of BERT models to identify social roles in cyberbullying exchanges. The system moved beyond simple detection to classify users as harassers, victims, or bystanders, outperforming existing baselines in role identification.
Contrastive learning for supervised graph matching In this first-author paper, Ratnayaka reframed deep graph matching as a contrastive learning task. The work introduced the Stable Graph Matching (StableGM) framework, which incorporates Sinkhorn ranking into a stable marriage algorithm to compute one-to-one node correspondences efficiently. The research also proposed a hardness attention mechanism to improve the selection of negative samples.
Learning Partial Graph Matching via Optimal Partial Transport As first author, Ratnayaka explored the problem of partial graph matching (PGM), where nodes may not have a direct counterpart in the paired graph. The work utilizes optimal partial transport to find correspondences in the presence of noise and structural uniqueness, addressing a significant limitation in traditional one-to-one matching algorithms.
Profile updated
Loading new papers…
Other researchers whose papers cluster into the same research directions — a proxy for overlapping technical interests and shared intellectual neighborhoods.
See something wrong? Report a mistake