PsiOptions

Options & Configuration · AiDotNet.Models.Options

Configuration options for Private Set Intersection (PSI) protocols.

For Beginners

PSI lets two or more parties find which IDs they have in common without revealing IDs that aren’t shared. This is the first step in vertical federated learning: before parties can jointly train a model, they need to know which entities (patients, customers, etc.) they both have data for.

How It Works

Example: Two hospitals want to jointly train a model on shared patients:

Constructors

Constructor Summary
PsiOptions()

Properties

Property Summary
FuzzyMatchOptions FuzzyMatch { get; set; } Gets or sets options for fuzzy (approximate) entity matching.
PsiProtocol Protocol { get; set; } Gets or sets the PSI protocol to use for computing the set intersection.
bool CardinalityOnly { get; set; } Gets or sets whether to only compute the intersection cardinality (count) without revealing the actual intersecting elements.
double BloomFilterFalsePositiveRate { get; set; } Gets or sets the false-positive rate for Bloom filter based PSI.
int BloomFilterHashCount { get; set; } Gets or sets the number of hash functions used in Bloom filter PSI.
int MaxSetSize { get; set; } Gets or sets the maximum expected set size for memory pre-allocation.
int NumberOfParties { get; set; } Gets or sets the number of parties participating in the PSI protocol.
int SecurityParameter { get; set; } Gets or sets the cryptographic security parameter in bits.
int? RandomSeed { get; set; } Gets or sets the random seed for reproducible protocol execution.
string HashFunction { get; set; } Gets or sets the hash function used for element hashing within the protocol.