HASSLE: A Self-Supervised Learning Enhanced Hijacking Attack on Vertical Federated Learning

Weiyang He, Chip-Hong Chang · DOI

Abstract

Vertical Federated Learning (VFL) enables an orchestrating active party to perform a machine learning task by cooperating with passive parties that provide additional task-related features for the same training data entities. While prior research has leveraged the privacy vulnerability of VFL to compromise its integrity through a combination of label inference and backdoor attacks, their effectiveness is constrained by the low label inference precision and suboptimal backdoor injection conditions. To facilitate a more rigorous security evaluation on VFL without these limitations, we propose HASSLE, a hijacking attack framework composed of a gradient-direction-based label inference module and an adversarial embedding generation algorithm enhanced by self-supervised learning. HASSLE accurately identifies private samples associated with a targeted label using only a single known instance of that label. In the two-party scenario, it demonstrates strong performance with an attack success rate (ASR) of over 99% across four datasets, including both image and tabular modalities, and achieves 85% ASR on the more complex CIFAR-100 dataset. Evaluation of HASSLE against 8 potential defenses further highlights its significant threat while providing new insights into building a trustworthy VFL system.

Introduction: The Vulnerability of Vertical Federated Learning

Vertical Federated Learning (VFL) is a collaborative machine learning paradigm where data is partitioned by features rather than by samples. For example, a bank (the active party) holding financial records and ground-truth labels might collaborate with a hospital (a passive party) holding health records to predict loan defaults for shared clients. While raw data remains local, the active party shares gradients with passive parties to update their local "bottom models."

Overview of the VFL architecture and the hijacking attack mechanism.

A malicious passive party can exploit this gradient flow to "hijack" the final model, forcing it to output specific target predictions for certain inputs. However, existing hijacking attacks often fail when the active party employs complex, multi-layer neural networks, or when the attacker's features have low saliency. HASSLE addresses these gaps by proposing a highly precise and stealthy attack framework that overcomes these architectural limitations.

The HASSLE Framework

HASSLE (Hijacking Attack on VFL model with Self-Supervised Learning Enhancement) integrates three primary components to maximize attack effectiveness:

  1. Improved Gradient-Direction-Based Label Inference Attack (LIA): The attacker analyzes the gradients returned by the active party during early training. By calculating the cosine similarity between the gradient of a single known target-label sample and all other samples, the attacker can accurately identify other members of the target class, even through deep networks with non-linear activations.
  2. Adversarial Embedding Optimization: Rather than using static triggers, HASSLE dynamically optimizes adversarial embeddings. It leverages the active party's gradients to iteratively steer the attacker's submitted features directly toward the target label's decision boundary.
  3. Self-Supervised Learning (SSL) Pre-training: To ensure the active party's model prioritizes the poisoned features, the attacker pre-trains their local model using SSL on unlabeled data. This "steals the spotlight" by providing high-quality representations from the first epoch, forcing the global model to assign higher weight to the attacker's input.
The three main components of the HASSLE attack: SSL pre-training, label inference, and adversarial embedding optimization.

Experimental Results

The authors evaluated HASSLE across diverse image (CIFAR-10, CIFAR-100, ImageNette) and tabular (NUS-WIDE, Income) datasets. Key findings include:

  • Near-Perfect Label Inference: The LIA module achieves over 90% precision (often 100%) across most datasets, significantly outperforming prior state-of-the-art attacks like VILLAIN and SDD.
  • Devastating Attack Success Rate (ASR): In two-party setups, HASSLE achieves over 99% ASR on most datasets and ~85% on the complex CIFAR-100.
  • High Stealth: The attack maintains high Main Task Accuracy (MTA), making it difficult to detect through standard performance monitoring.
  • Robustness to Defenses: While defenses like Differential Privacy (DPSGD) and VFLIP can reduce ASR, they often do so at the cost of significant degradation in normal model accuracy.

Conclusion and Future Work

HASSLE demonstrates that VFL is highly vulnerable to sophisticated hijacking attacks that combine label inference with adversarial poisoning. The success of SSL-enhanced attacks suggests that simply keeping data local is insufficient for privacy and integrity. Future research must focus on "defense-in-depth" strategies, combining training-time gradient obfuscation with inference-time adversarial purification to build truly resilient and trustworthy VFL systems.

Summary updated

BibTeX
@misc{he2025hassle,
  author = {Weiyang He and Chip-Hong Chang},
  title = {{HASSLE: A Self-Supervised Learning Enhanced Hijacking Attack on Vertical Federated Learning}},
  year = {2025},
  eprint = {2507.10162},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2507.10162},
}
Figure