Karolis Martinkus

Karolis Martinkus

Google (United States)
4 previous affiliations
    • Researcher · Since 2025
  • Roche2022–2025
    • Researcher · 2022–2025
  • ETH Zurich2018–2023
    • PhD student · 2020–2023
    • MS student · 2018–2020
  • Vilnius University2013–2018
    • MS student · 2017–2018
    • Undergrad student · 2013–2017
22Machine learning papers tracked by Lacuna
Is this you?

Research Overview

Karolis Martinkus focuses on graph machine learning, generative modeling, and the intersection of deep learning with physical and biological systems. His work addresses fundamental limitations in Graph Neural Networks (GNNs), particularly regarding computational scalability, structural expressivity, and Size Generalization. His recent research trajectory has evolved from analyzing the internal representations of Transformers and GNNs toward developing physics-informed diffusion models for therapeutic design and establishing theoretical frameworks for out-of-distribution generalization.

Research Trajectory

Martinkus’s early work examined the geometric and structural properties of neural representations. In 2021, he investigated the phenomenon of anisotropy in Transformer embeddings, questioning the prevailing assumption that forcing uniform distributions in embedding space necessarily improves performance. This research demonstrated that standard calibration methods often increased computational costs without providing consistent accuracy gains across natural language tasks.

By 2022, his focus shifted toward overcoming the scalability and expressivity bottlenecks of standard GNNs. Traditional message-passing architectures often struggle to capture global structures or distinguish complex motifs without incurring high computational costs. Martinkus addressed this by introducing AgentNet, an architecture that replaces global message passing with a swarm of neural agents. This approach achieved sublinear computational complexity, allowing for the classification of massive graphs without visiting every node, while simultaneously improving the detection of higher-order structures like cliques and cycles. This work contributes to the broader field of Localized Higher Order Graph Neural Networks.

Concurrently, Martinkus expanded into generative modeling for graphs, specifically targeting the Scaling Graph Generation Beyond the Quadratic Bottleneck. He developed methods to move beyond "one-shot" generators that often fail to capture global topological dependencies. By utilizing spectral conditioning and discrete state spaces in diffusion models, he improved the fidelity and efficiency of graph generation. His work in this period also explored symbolic AI, developing evolutionary methods to discover interpretable graph generation algorithms that generalize to graph sizes far beyond those seen during training.

In 2023 and 2024, Martinkus transitioned these generative techniques into applied domains, most notably in structural biology and physical design. He led the development of diffusion models for the joint generation of antibody sequences and 3D structures, incorporating physics-based constraints to improve denoising processes. During this time, he also participated in interdisciplinary research applying discrete optimization to rigid origami design, expanding the diversity of achievable crease patterns beyond traditional tessellations.

Current Directions

Martinkus’s current research focuses on the theoretical foundations of model robustness and the practical application of generative models in biotechnology. A significant portion of his recent work addresses the challenge of generalizing to diverse test distributions that deviate from training data. He has contributed to establishing that training on uniform distributions within a known domain can be optimal for minimizing worst-case error across all sufficiently diverse test distributions.

In the biological domain, he continues to work on "lab-in-the-loop" systems for therapeutic design. This involves integrating generative machine learning models with active learning and in vitro experimentation to optimize multi-property antibody variants. His recent work emphasizes reducing the memory complexity of these models to enable the full-atom generation of protein backbones and side chains, facilitating more efficient therapeutic discovery.

Representative Work

Agent-based Graph Neural Networks In this work, Martinkus introduces AgentNet, a novel GNN architecture designed for graph-level tasks. By employing trained neural agents that intelligently walk the graph, the model achieves a computational complexity independent of total graph size. The paper provides theoretical analysis showing that these agents can systematically explore neighborhoods and distinguish structural motifs that are indistinguishable by the 2-Weisfeiler-Lehman test.

SPECTRE: Spectral Conditioning Helps to Overcome the Expressivity Limits of One-shot Graph Generators Martinkus proposes a generative model that addresses the structural limitations of one-shot graph generators. SPECTRE generates a graph's spectral "blueprint"—its eigenvalues and eigenvectors—prior to determining local connectivity. This method allows for the generation of large, structurally complex graphs with higher fidelity and significantly greater speed than traditional autoregressive models.

AbDiffuser: full-atom generation of in-vitro functioning antibodies As lead author, Martinkus presents an equivariant and physics-informed diffusion model for the simultaneous generation of antibody 3D structures and sequences. AbDiffuser utilizes a new protein structure representation and strong diffusion priors to improve denoising. The model handles sequence-length changes and reduces memory complexity by an order of magnitude, enabling the generation of both backbones and side chains, validated through both in silico and in vitro experiments.

Discovering Graph Generation Algorithms This research moves away from black-box deep learning toward symbolic, interpretable algorithms. Martinkus develops a method to evolve Python programs for graph generation using evolutionary search guided by a randomly initialized GNN. This approach successfully discovers the underlying logic of specific graph structures, such as grids, and demonstrates perfect generalization to significantly larger graph sizes.

Diffusion Models for Graphs Benefit From Discrete State Spaces In this second-author paper, Martinkus contributes to the development of denoising diffusion probabilistic models that utilize discrete noise for the forward Markov process. By ensuring the graph remains discrete at every intermediate step—rather than relying on continuous Gaussian perturbations—the approach reduces the average Maximum Mean Discrepancy (MMD) across multiple datasets, resulting in higher-quality generated samples.

Generalizing to any diverse distribution: uniformity, gentle finetuning and rebalancing Martinkus provides a theoretical foundation for out-of-distribution generalization. The work adopts a conservative perspective by accounting for the worst-case error across all diverse test distributions within a domain. The findings suggest that uniform training over the domain is optimal for broad generalization, and the paper interrogates practical strategies like rebalancing and finetuning to achieve this robustness.

Profile updated

See something wrong? Report a mistake