Daniel Shalam

Daniel Shalam

Amazon (United States) · University of Haifa
2 previous affiliations
5Machine learning papers tracked by Lacuna
Is this you?

Research Overview

Daniel Shalam focuses on unsupervised representation learning, visual correspondence, and few-shot classification. His research investigates methods for structured alignment and feature enhancement, particularly through the application of The Iterative Optimization Bottleneck of Optimal Transport. By moving beyond point-wise metrics toward set-to-set and transductive approaches, his work addresses the limitations of traditional metric learning in low-data and unsupervised regimes. Shalam’s methodology frequently employs Doubly Stochastic Normalization for Balanced Matching and structural regularization to ensure that learned representations are semantically consistent and geometrically preserved across varying distributions.

Research Trajectory

Shalam’s early work centered on the challenge of enhancing feature sets to facilitate complex matching and grouping tasks. In 2022, he introduced a framework for upgrading data instance features by encoding high-order relations. This approach moved away from simple pairwise distances, instead capturing "third-party agreement"—the degree to which two features agree on their similarity to the rest of the set. This period established his interest in Global Structural Regularization for Metric Learning, using optimal transport (OT) optimization to create differentiable and equivariant transforms that could be integrated into standard computer vision pipelines.

By 2023, Shalam began applying these structural alignment principles to the problem of visual correspondence. He proposed reinterpreting the matching of local features or patches as a few-shot classification task. This shift allowed for the use of class prototypes in a way that improved performance under significant domain shifts and low-supervision constraints. During this time, his work also explored The Transductive Batch Dependency in Sequential Inference, focusing on how the context of a query set can be leveraged to refine classification boundaries without requiring extensive retraining.

In 2024, Shalam’s focus expanded into Preventing Representation Collapse in Joint Embedding Architectures and unsupervised representation learning. He developed methods to align self-attention representations across images, aiming to learn features that are both geometry-preserving and semantically consistent without human labels. This work addressed the "short-sightedness" of traditional contrastive losses by enforcing balanced matching across the entire feature set. His recent trajectory also includes the alignment of uni-modal encoders, such as separate vision and text models, to enable cross-modal classification in few-shot regimes. This involves leveraging Scaling Contrastive Learning Under Hardware Memory Constraints and lightweight flow-matching priors to regularize the adaptation process.

Current Directions

Shalam’s current research continues to refine the intersection of optimal transport and deep representation learning. A primary focus is the development of training-free feature transforms that can be applied to pre-trained models to improve their robustness to distribution shifts. By treating feature sets as distributions and applying optimal-transport-inspired balancing, he aims to enhance the transductive capabilities of models in few-shot scenarios.

Another active area of investigation is the alignment of disparate uni-modal encoders. Rather than relying on multi-modal pre-training (which requires massive paired datasets), Shalam is exploring frameworks that can align arbitrary vision or text models using closed-form geometric maps and flow-based priors. This direction seeks to make few-shot vision-language tasks more accessible by utilizing models trained on broad, non-paired corpora.

Representative Work

In The Self-Optimal-Transport Feature Transform, Shalam introduced the SOT transform, a method designed to upgrade the features of a data instance for downstream matching. The transform utilizes an entropy-regularized version of a min-cost-max-flow fractional matching problem. By capturing high-order relations, the SOT transform ensures that distances between features reflect not just direct similarity, but also their collective agreement within the set. This work demonstrated that transductive transforms could be made efficient and differentiable, providing a foundation for structured alignment in deep learning.

Shalam further explored the relationship between matching and classification in MFSC: Matching by Few-Shot Classification. This work reinterprets the visual correspondence problem—finding matches between sets of local features or patches—as a few-shot classification task. In this framework, match candidates act as class prototypes. By framing the problem this way, the method leverages the strengths of few-shot learning algorithms to enhance matching performance, particularly when supervision is sparse or when there is a significant shift between the source and target domains.

The development of the The Balanced-Pairwise-Affinities Feature Transform (BPA) represented a move toward training-free, optimal-transport-inspired solutions for few-shot classification. BPA is a transductive transform that balances pairwise relations among samples in a query set. By ensuring that each sample contributes equally to the affinity structure, the transform improves the accuracy of few-shot classification without the need for additional training or fine-tuning. This approach highlights Shalam's focus on leveraging the global geometry of data to overcome the biases inherent in low-data regimes.

In a collaborative capacity, Shalam participated in the refinement of the MFSC framework, as seen in MFSC: Matching by Few-Shot Classification. This work critiqued the standard reliance on simple pairwise or triplet distance-based metric learning, which often ignores the set-to-set nature of matching problems. The research emphasized that advancing the matching process itself—rather than just the underlying data embeddings—is crucial for improving computer vision pipelines in applications ranging from local feature correspondence to image collection matching.

Most recently, Shalam developed the Flow-Based Alignment of Uni-Modal Vision and Text Encoders for Few-Shot Image Classification (FSF) framework. FSF addresses the challenge of using vision-language models when paired image-text data is unavailable. The framework aligns arbitrary uni-modal encoders using a two-step process: first, a closed-form orthogonal Procrustes map aligns the embeddings while preserving their internal geometry; second, a lightweight flow-matching prior regularizes the adaptation during few-shot learning. This method allows for effective cross-modal classification using models that were originally trained on independent corpora.

Shalam also introduced Unsupervised Representation Learning by Balanced Self-Attention Matching (BAM), a method that aligns self-attention representations across different images. By enforcing semantic consistency in an entirely unsupervised manner, BAM improves the robustness of downstream recognition tasks to distribution shifts. This work exemplifies his commitment to developing unsupervised methods that maintain geometric and semantic integrity through structured, balanced matching.

Profile updated

See something wrong? Report a mistake