DeFiRank: Federated Pairwise Ranking for Governance in Decentralized Financial Networks
Summary
本文提出 DeFiRank,一个基于联邦学习的成对排序框架,使多家金融机构在不共享私有交易数据的情况下协作训练治理排序模型,在真实区块链数据上接近集中式基线的排序性能,同时保障数据隐私。
View Cached Full Text
Cached at: 10/12/26, 06:34 AM
# DeFiRank: Federated Pairwise Ranking for Governance in Decentralized Financial Networks
Source: [https://arxiv.org/html/2610.12916](https://arxiv.org/html/2610.12916)
Zahra Batool13, Michael Duchesne2, Kaiwen Zhang1, Ulrich Aivodji13 Email: \{zahra\.batool, kaiwen\.zhang, Ulrich\.aivodji\}@etsmtl\.ca, michael\.duchesne@t\-rize\.ioAffiliation:1École de technologie supérieure, Montréal, CanadaAffiliation:2T\-RIZE GROUP, Montréal, CanadaAffiliation:3Mila \- Quebec AI Institute, Montréal, Canada
###### Abstract
Existing governance approaches in decentralized financial networks rely on manual review processes conducted by human committees, which introduces subjective bias, creates a scalability bottleneck under high network volume, and fails to capture complex behavioural patterns and evolving network dynamics\. To address these limitations, we propose DeFiRank, a federated learning\-based pairwise ranking framework in which multiple institutions collaboratively train a ranking model without sharing their private transaction data\. This collaborative learning enables the model to capture network\-wide behavioural patterns that signify strong network participation and directly contribute to the network effect, including diversity of counterparties, usage of multiple applications, and frequency of transactions\. The proposed system ranks providers based on the authenticity of their actions, promoting genuine contributors and demoting those exhibiting suspicious behaviour\. We evaluate DeFiRank on a real\-world blockchain transaction dataset\. Results demonstrate that the federated approach achieves ranking performance modestly below the centralized baseline \(NDCG@15:≈\\approx0\.87 vs\.≈\\approx0\.92\) while preserving data privacy and matching its ranking stability \(Kendallτ\\tau:≈\\approx0\.70 for both regimes\), producing reliable governance decisions, including provider promotion and demotion \(648 and 39 unique providers, respectively\), without requiring centralized access to sensitive transaction data\.
###### Index Terms:
Pair\-wise\-ranking, Federated Learning, Financial network
## IIntroduction
Corporate governance in decentralized financial networks refers to the set of rules and mechanisms through which entities are regulated and overseen by financial institutions and intermediaries to maintain transparency, stability, and accountability\[[1](https://arxiv.org/html/2610.12916#bib.bib1)\]\. Traditionally, corporate governance has relied heavily on manual processes and human judgment, making it slow, inconsistent, and difficult to scale across large decentralized networks\[[2](https://arxiv.org/html/2610.12916#bib.bib2)\]\. Machine learning \(ML\) has since transformed governance, enabling automated, data\-driven decisions at scale\[[3](https://arxiv.org/html/2610.12916#bib.bib3)\]\.
Traditionally, training an ML model requires data to be collected at a central server\[[4](https://arxiv.org/html/2610.12916#bib.bib4)\]\. Data privacy regulations such as GDPR restrict how sensitive financial data may be gathered and shared, creating tension with centralized training: dispersed financial institutions must relinquish ownership of proprietary transaction records to a single server, raising data sovereignty and institutional trust concerns\.
The underlying problem is fundamentally one of reputation and Sybil\-resistance: determining whether a given provider is a genuine, authentic contributor to the network, as opposed to a manipulative or low\-value actor\. Approaches to this problem in the literature include automated scoring mechanisms analogous to Elo or Glicko rating systems\[[5](https://arxiv.org/html/2610.12916#bib.bib5),[6](https://arxiv.org/html/2610.12916#bib.bib6)\], as well as Sybil\-tolerant reputation systems designed specifically for decentralized governance and tokenomics\[[7](https://arxiv.org/html/2610.12916#bib.bib7)\]\. In practice, however, current decentralized financial networks address this problem through manual governance: human committees periodically evaluate providers, promoting authentic contributors to featured status and demoting others\[[8](https://arxiv.org/html/2610.12916#bib.bib8)\]\. This provides stable rankings but depends on a human\-crafted, single\-party scoring function with predetermined weights, introducing systemic bias and struggling to adapt as network behaviour and applications evolve, creating a lag between network dynamics and governance decisions\.
Crucially, most provider\-to\-provider interactions in a decentralized financial network are private and never observed by any single centralized entity\. As a result, the network\-wide patterns indicative of authentic behaviour, such as the global distribution of application usage or typical counterparty diversity, cannot be learned from a central vantage point\. Federated Learning \(FL\) is therefore a natural fit for this setting: it allows a global ranking model to learn from patterns emerging across private, localized transactions held by multiple hosts, without ever requiring those hosts to expose their raw data\[[9](https://arxiv.org/html/2610.12916#bib.bib9),[10](https://arxiv.org/html/2610.12916#bib.bib10)\]\. This preserves institutional privacy while enabling the capture of network\-wide behavioural trends that are invisible to any single actor\.
In this context, authenticity of actions refers to how genuine and legitimate a provider’s behaviour is within the network\. The objective is to rank providers such that those engaging in diverse, normal financial activity score higher, while providers exhibiting suspicious or highly constrained behaviour score lower\.
Learning\-to\-rank is a well\-established paradigm in information retrieval, with pairwise methods receiving particular attention for their ability to directly optimise relative ordering between entities\[[11](https://arxiv.org/html/2610.12916#bib.bib11),[12](https://arxiv.org/html/2610.12916#bib.bib12)\]\. Pairwise ranking trains a model to minimise ranking inversions, that is, to reduce mistakes in the relative preference ordering between pairs\[[12](https://arxiv.org/html/2610.12916#bib.bib12)\]\. In corporate governance, this translates naturally to comparative decisions: given two providers, which demonstrates higher authenticity? This formulation allows the model to identify which features, such as counterparty diversity, transaction volume, or application engagement, are most indicative of genuine network contribution\.
To overcome the limitations of existing manual scoring approaches, we proposeDeFiRank, a federated pairwiseranking framework for governance indecentralizedfinancial networks\. DeFiRank replaces the manual epoch scoring function with a machine\-learned ranker that captures the features signifying strong network participation, including diversity of counterparties, usage of multiple applications, and frequency of transactions, while preserving the privacy of each provider’s transaction data\. The main contributions of this work are:
1. 1\.We propose a privacy\-preserving federated pairwise ranking framework that enables decentralized financial networks to collaboratively learn provider rankings without sharing private transaction data \(Section[III](https://arxiv.org/html/2610.12916#S3)\)\.
2. 2\.We design a dynamic governance decision pipeline with adaptive promotion and demotion thresholds that respond continuously to network health \(quality trends\) and network size \(growth and contraction\) \(Section[III\-C](https://arxiv.org/html/2610.12916#S3.SS3)\)\.
3. 3\.We demonstrate through experiments that the federated approach closely matches centralized ranking stability \(Kendallτ\\tau:≈\\approx0\.70 for both regimes\) while trailing modestly in top\-rank precision \(NDCG@15:≈\\approx0\.87 vs\.≈\\approx0\.92 centralized\), and producing trustworthy governance decisions comprising 648 promotion and 39 demotion candidates, with 100% promotion consistency and 72% demotion consistency over 2\+ consecutive days \(Section[IV\-F](https://arxiv.org/html/2610.12916#S4.SS6)\)\.
The remainder of this paper is organised as follows\. Section[II](https://arxiv.org/html/2610.12916#S2)reviews related work\. Section[III](https://arxiv.org/html/2610.12916#S3)describes the proposed DeFiRank architecture\. Section[IV](https://arxiv.org/html/2610.12916#S4)presents experimental results and comparisons with baseline approaches\. Finally, Section[V](https://arxiv.org/html/2610.12916#S5)concludes the paper and discusses directions for future work\.
## IILiterature Review
This section reviews previous related work on pairwise ranking in federated learning and AI\-driven corporate governance\.
### II\-APairwise Ranking in Federated Learning
Federated learning\-to\-rank remains underexplored, particularly in financial and governance contexts\.\[[13](https://arxiv.org/html/2610.12916#bib.bib13)\]introduces the Federated Pairwise Differentiable Gradient Descent \(FPDGD\) protocol for online learning\-to\-rank\.\[[14](https://arxiv.org/html/2610.12916#bib.bib14)\]applies federated pairwise ranking to recommendation systems, proposing a protocol based on matrix factorization and Bayesian personalized ranking\.\[[15](https://arxiv.org/html/2610.12916#bib.bib15)\]implements point\-wise federated ranking to optimize Firefox address\-bar URL suggestions, keeping browsing history and input on\-device throughout training\.\[[16](https://arxiv.org/html/2610.12916#bib.bib16)\]addresses compositional pairwise risk optimization in federated learning through gradient decoupling\. These methods target query\-document retrieval or recommendation, where labels derive from clicks or ratings\.
### II\-BAI\-Driven Corporate Governance
AI\-driven governance has gained traction for reducing human bias and improving decision\-making consistency\.\[[17](https://arxiv.org/html/2610.12916#bib.bib17)\]shows AI\-based frameworks improve real\-time decisions across complex business ecosystems, reflecting a broader shift from rule\-based to learning\-based governance\[[1](https://arxiv.org/html/2610.12916#bib.bib1)\]\. However, existing work predominantly assumes centralized data access, limiting applicability to decentralized settings\. DeFiRank addresses this gap by combining learned governance scoring with the privacy guarantees of federated learning\.
The aforementioned studies provide the algorithmic machinery for privacy\-preserving ranking but have not been applied to governance settings where heterogeneity is structural and outputs drive real promotion and demotion decisions, while the AI\-governance literature addresses governance objectives but assumes centralized data access\. DeFiRank is positioned at the intersection of these two gaps: a federated pairwise ranking framework purpose\-built for decentralized financial governance\.
## IIIProposed Method
DeFiRank involves three entities:
1. 1\.Host:a data\-holding institution, used interchangeably with federated client\.
2. 2\.Provider:the governed unit ranked and promoted/demoted, whose daily features are computed at a single host and never combined across hosts\.
3. 3\.Party:end user, whose activity aggregates into provider features\.
DeFiRank operates only on provider\-day aggregated features \(Section[IV\-A4](https://arxiv.org/html/2610.12916#S4.SS1.SSS4)\) and never observes party\-level data or data from another host\. It consists of three phases: \(1\)federated temporal pairwise ranking, partitioning the provider dataset across non\-IID clients with structurally distinct governance perspectives; \(2\)local training, where each client trains a temporal ranking model and the server aggregates updates via FedAvg \(Section[III\-B](https://arxiv.org/html/2610.12916#S3.SS2)\); and \(3\)governance decision making, where the trained model’s scores drive data\-driven promotion and demotion decisions \(Section[III\-C](https://arxiv.org/html/2610.12916#S3.SS3)\)\. Fig\.[1](https://arxiv.org/html/2610.12916#S3.F1)provides an overview of the full pipeline\.
Client 1ReciprocityClient 2EngagementClient 3ChurnClient 4VolumeClient 5InterconnectivityLocalTemporalRankNetLocalTemporalRankNetLocalTemporalRankNetLocalTemporalRankNetLocalTemporalRankNetServer: FedAvg Aggregation→\\rightarrowGlobal ModelDaily governancescoresAdaptiveτt\\tau\_\{t\},KtK\_\{t\}\(Algorithm 1\)Promotion list𝒫\\mathcal\{P\}Demotion list𝒟\\mathcal\{D\}broadcast weights
Fig\. 1:Overview of DeFiRank### III\-AFederated Temporal Pairwise Ranking
To evaluate DeFiRank under realistic multi\-institution conditions, we simulate a federated deployment by partitioning the provider dataset, comprising 965,894 provider\-day records spanning 102,520 unique providers over 184 days, across 5 non\-IID clients\. We emphasize that this partitioning is a methodological step for experimentation only: in a real deployment, no such partitioning would be required, as each client would natively hold its own private transaction data and never observe the data held by other clients\. Here, the non\-IID structure is constructed to reflect realistic behavioral heterogeneity across institutions; each client is assigned a different validator weight vector that prioritizes a specific governance dimension: reciprocity\-heavy, engagement\-heavy, churn\-heavy, volume\-heavy, and interconnectivity\-heavy \(formalized in Eq\.[6](https://arxiv.org/html/2610.12916#S4.E6)\)\. This means the same provider pair can receive opposite labels across clients, since each evaluates provider quality from a different structural perspective, approximating realistic conditions where institutions prioritize different behaviour patterns based on their own vantage point\.
### III\-BLocal Training
Local training is performed for pairwise ranking using TemporalRankNet\. For each provider,build\_sequences\(\)constructs a sliding 7\-day rolling window of 13 governance features \(10 base \+ 3 trend\), yielding input sequences of shape\(N,7,13\)\(N,7,13\)\. Early days with insufficient history are zero\-padded to maintain consistent sequence length\. Pairwise training labels are generated by comparing governance scores of provider pairs within the same day using each client’s structural weight vector, yielding a total of 9,657,042 training pairs across all clients\.
Every client maintains a local TemporalRankNet model combining LSTM temporal encoding with RankNet pairwise ranking\. A two\-layer LSTM processes each provider’s 7\-day sequence day by day, and the final hidden stateh7h\_\{7\}yields a 64\-dimensional embedding of the provider’s governance behavior over the window\. RankNet takes two same\-day providersAAandBB, encodes each independently via the shared LSTM, and optimizes pairwise binary cross\-entropy loss:
ℒ=BCE\(sA−sB,yAB\)\\mathcal\{L\}=\\text\{BCE\}\\\!\\left\(s\_\{A\}\-s\_\{B\},\\ y\_\{AB\}\\right\)\(1\)
whereyAB=1y\_\{AB\}=1if providerAAhas higher governance quality thanBB, and 0 otherwise\.
Each communication round proceeds as follows: \(1\) the server broadcasts the current global model weights to all 5 clients, \(2\) each client trains locally on its partitioned data for one local epoch using the BCE pairwise loss with the Adam optimizer \(η=0\.001\\eta=0\.001, batch size 2048\), \(3\) clients transmit updated weights back to the server, no raw data, labels, or gradients are shared, preserving data privacy, \(4\) the server aggregates all client weights via FedAvg, computing a weighted average proportional to each client’s dataset size\. After aggregation, server\-side evaluation computes NDCG@5/10/15 and Kendallτ\\tauusing a neutral validator scoring function with a fixed seed, deliberately independent of any individual client’s local weight distribution\. Training runs for 100 communication rounds, with the global model converging within the first 10 rounds\.
### III\-CGovernance Decision Making
After training, the model assigns a predicted governance score to each provider daily\. Algorithm[1](https://arxiv.org/html/2610.12916#alg1)summarizes the four\-stage pipeline used to convert these scores into promotion and demotion decisions over aB=30B=30\-day baseline period\.
Baseline anchors\.The demotion anchorKbaseK\_\{\\text\{base\}\}is set at the largest score gap among sorted baseline featured apps \(line[10](https://arxiv.org/html/2610.12916#alg1.l10)\)\. The promotion anchorτpromo\\tau\_\{\\text\{promo\}\}escalates from the 25th to 50th percentile of baseline active\-featured scores, then to a ratio\-based estimate, if pinned at the 0\.10 floor\. The minimum ratio anchorρmin\\rho\_\{\\text\{min\}\}is the median promotion ratio among baseline qualifiers abovemax\(τpromo,0\.30\)\\max\(\\tau\_\{\\text\{promo\}\},0\.30\), raised further ifτpromo\\tau\_\{\\text\{promo\}\}saturates at its 0\.60 ceiling; this yieldsρmin=0\.6231\\rho\_\{\\text\{min\}\}=0\.6231in our dataset\.
Daily scaling\.Both anchors are scaled daily by the network health and size ratios \(Algorithm[1](https://arxiv.org/html/2610.12916#alg1), lines[17](https://arxiv.org/html/2610.12916#alg1.l17),[18](https://arxiv.org/html/2610.12916#alg1.l18)\): the promotion thresholdτt\\tau\_\{t\}rises when the network is thriving and falls when it is struggling, while the demotion cutoff is scaled by network size and bounded by the current featured\-set size\.
Promotion and demotion\.Featured apps with near\-zero activity are excluded before computing promotion ratios, preventing inactive competitors from inflating non\-featured apps’ apparent quality\. A non\-featured app is a raw promotion candidate if its ratio meetsτt\\tau\_\{t\}; candidates are confirmed only if they qualify on 2\+ consecutive calendar days with mean ratio at or aboveρmin\\rho\_\{\\text\{min\}\}\(line[28](https://arxiv.org/html/2610.12916#alg1.l28)\), filtering transient signals from sustained ones\. Featured apps ranked below the effective cutoff are flagged for demotion\.
Algorithm 1Dynamic Governance Decision Pipeline0:Daily provider scores, featured\-status flags, activity; baseline period
B=30B=30days
0:Promotion list
𝒫\\mathcal\{P\}, demotion list
𝒟\\mathcal\{D\}
1:Step 1: Baseline anchors \(firstBBdays\)
2:
τpromo←\\tau\_\{\\text\{promo\}\}\\leftarrow25th percentile of active featured scores
3:ifstuck at floor \(0\.10\)then
4:retry at 50th percentile
5:endif
6:ifstill stuckthen
7:fall back to 75th percentile of outrank ratios
8:endif
9:Clip
τpromo\\tau\_\{\\text\{promo\}\}to
\[0\.10,0\.60\]\[0\.10,0\.60\]
10:
Kbase←K\_\{\\text\{base\}\}\\leftarrowrank with the largest score gap between featured providers
11:
ρmin←\\rho\_\{\\text\{min\}\}\\leftarrowmedian outrank ratio of providers clearing
τpromo\\tau\_\{\\text\{promo\}\}, clipped to
\[0\.25,0\.70\]\[0\.25,0\.70\]
12:if
τpromo\\tau\_\{\\text\{promo\}\}stuck at ceiling \(0\.60\)then
13:raise
ρmin\\rho\_\{\\text\{min\}\}to
≥0\.685\\geq 0\.685
14:endif
15:Step 2: For each day
16:foreach daydo
17:Scale
τpromo\\tau\_\{\\text\{promo\}\}by today’s health ratio
→\\totoday’s threshold, clipped to
\[0\.10,0\.60\]\[0\.10,0\.60\]
18:Scale
KbaseK\_\{\\text\{base\}\}by today’s size ratio
→\\totoday’s cutoff, clipped to
\[3,150\]\[3,150\], capped by featured count
19:Drop near\-inactive featured providers; skip day if fewer than 3 remain
20:Flag featured providers below the cutoff for
𝒟\\mathcal\{D\}
21:foreach non\-featured providerdo
22:Flag as candidate if its outrank fraction meets today’s threshold
23:endfor
24:endfor
25:Step 3: Reliability check
26:foreach candidatedo
27:Group qualifying days into runs of consecutive dates
28:ifa run has
≥2\\geq 2days and average ratio
≥ρmin\\geq\\rho\_\{\\text\{min\}\}then
29:Confirm provider for
𝒫\\mathcal\{P\}
30:endif
31:endfor
32:return
𝒫,𝒟\\mathcal\{P\},\\mathcal\{D\}
Parquet filesCombined CSVCleaning andencodingTrend features\(7\-day\)FeaturenormalizationValidatorweightsGovernancescore7\-day sequencewindowsPairwise datasetModel training \(Centralized/Federated\)
Fig\. 2:End\-to\-end governance pipeline\.
## IVEvaluation
### IV\-ADataset
We collected data from a blockchain platform, specifically the Canton Network, over 184 days \(2025\-08\-24 to 2026\-02\-23\), during which users interact through multiple financial applications\. The data is publicly available and was collected from the Super Validator Set of the global synchronizer\. The dataset contains transaction logs maintained by host nodes in a decentralized financial structure, where each host stores the activity of the parties it manages\. Rather than raw transaction data, the dataset contains aggregated behavioural features derived from financial transaction histories, obtained by processing the raw on\-chain records into provider\-day aggregates\. The data was stored in Parquet file format, where each file contains one day of network activity\. All files were merged and exported to CSV format for analysis\. The dataset contains 28 features and 965,894 samples, where each row represents a provider on a specific date\. Each feature captures a different aspect of provider behaviour, including transaction activity, engagement levels, churn, and network connectivity\. Two governance\-related binary flags,is\_featuredandis\_validator, indicate the provider’s current role in the network\.
#### IV\-A1Data Preprocessing
Time\-related columns are converted to standard datetime format\. Rows with missingproviderorrecord\_dateidentifiers are discarded, as these fields are required to construct per\-provider temporal sequences\. Duplicate records sharing the sameproviderandrecord\_date, arising from overlapping daily snapshots, are removed, retaining only the entry with the most recentrecord\_time\. Missing values in the remaining numeric fields are imputed with zero\. Numeric columns are cast to the correct data types\. Boolean governance flags such asis\_featuredandis\_validatorare encoded as 0 and 1\.
#### IV\-A2Feature Selection
We selected 13 features that best represent provider stability and governance quality, rather than using all 28\. The selected features are:total\_cc\_volume,global\_engagement\_rate,interconnectivity,reciprocity\_rate, andtotal\_churn\_rateto capture core transaction and network behaviour;new\_transfer\_users,transfer\_user\_base\_increase,unique\_directional\_transfers,average\_n\_transfers\_per\_user, andnew\_beneficiariesto record user growth dynamics and engagement depth\.
Since static features such astotal\_cc\_volume,global\_engagement\_rate, andtransfer\_userscapture only a snapshot in time and do not reflect whether a provider is growing or declining, we additionally define three trend features, computed on the preprocessed data described above, as:
trend=xt−xt−7\|xt−7\|\+10−6\\text\{trend\}=\\frac\{x\_\{t\}\-x\_\{t\-7\}\}\{\|x\_\{t\-7\}\|\+10^\{\-6\}\}\(2\)wherextx\_\{t\}is the feature value today andxt−7x\_\{t\-7\}is the value seven days prior\. This yieldsvolume\_trend,engagement\_trend, anduser\_growth\_trend\. A positive value indicates growth, a negative value indicates decline, and zero indicates no change\. For example, if transactions rise from 2,000 to 5,000, the trend is\+1\.5\+1\.5\(150% growth\); if they fall from 9,000 to 5,000, the trend is−0\.44\-0\.44\(44% decline\)\. All trend values are clipped to\[−5,\+5\]\[\-5,\+5\]to prevent extreme outliers\. If a provider has fewer than seven days of history, the trend is set to zero\. This makes governance evaluation dynamic by giving higher weight to growing providers relative to declining ones\.
#### IV\-A3Feature Normalization
The features are normalized using z\-score normalization:
x′=x−μσx^\{\\prime\}=\\frac\{x\-\\mu\}\{\\sigma\}\(3\)whereμ\\muandσ\\sigmaare the mean and standard deviation computed on the data, normalization statistics are saved tofeature\_mu\.csvandfeature\_sigma\.csvto ensure consistent scaling is applied across all settings\.
#### IV\-A4Governance Score Computation
Since the dataset does not contain a ranking column, a governance score is computed as a weighted linear combination of the normalized features and used to generate labels during pairwise dataset construction:
gov\_score=∑i=1nwifi\\text\{gov\\\_score\}=\\sum\_\{i=1\}^\{n\}w\_\{i\}f\_\{i\}\(4\)wherefif\_\{i\}are the normalized features andwiw\_\{i\}are feature weights representing governance importance\. Rather than using a single fixed weight vector, weights are generated dynamically to simulate different validator preferences\. Starting from a fixed base weight vector, wherereciprocity\_ratereceives the highest base weight of 0\.18, reflecting its central importance as a governance signal, small Gaussian noise is added to each weight:
wi=max\(w¯i\+ϵi,10−3\)∑j=1nmax\(w¯j\+ϵj,10−3\),ϵi∼𝒩\(0,0\.032\)w\_\{i\}=\\frac\{\\max\(\\bar\{w\}\_\{i\}\+\\epsilon\_\{i\},\\ 10^\{\-3\}\)\}\{\\sum\_\{j=1\}^\{n\}\\max\(\\bar\{w\}\_\{j\}\+\\epsilon\_\{j\},\\ 10^\{\-3\}\)\},\\hskip 7\.3612pt\\epsilon\_\{i\}\\sim\\mathcal\{N\}\(0,\\ 0\.03^\{2\}\)\(5\)wherew¯i\\bar\{w\}\_\{i\}is the base weight for featureiiandϵi\\epsilon\_\{i\}is added noise\. The noisy weights are clipped to a minimum of10−310^\{\-3\}to ensure all features retain a non\-negative contribution, then renormalized to sum to 1\. This simulates the real\-world scenario where different validators assign slightly different importance to governance features, where one validator may prioritize transaction volume while another prioritizes reciprocity\. For the federated setting, each client further relabels its local partition of the pairwise pool using a client\-specific weight vector, generated by the same noisy\-renormalization mechanism but starting from one of five fixed structural base profiles, each emphasizing a single governance dimension, reciprocity, engagement, churn, volume, or interconnectivity:
wi\(c\)=max\(pi\(c\)\+ϵi\(c\),10−3\)∑j=1nmax\(pj\(c\)\+ϵj\(c\),10−3\),ϵi\(c\)∼𝒩\(0,0\.022\)w\_\{i\}^\{\(c\)\}=\\frac\{\\max\(p\_\{i\}^\{\(c\)\}\+\\epsilon\_\{i\}^\{\(c\)\},\\ 10^\{\-3\}\)\}\{\\sum\_\{j=1\}^\{n\}\\max\(p\_\{j\}^\{\(c\)\}\+\\epsilon\_\{j\}^\{\(c\)\},\\ 10^\{\-3\}\)\},\\hskip 7\.3612pt\\epsilon\_\{i\}^\{\(c\)\}\\sim\\mathcal\{N\}\(0,\\ 0\.02^\{2\}\)\(6\)wherep\(c\)p^\{\(c\)\}is the fixed base profile for clientcc, with the corresponding governance dimension assigned a base weight of 0\.35\-0\.40 and the remaining features assigned small residual weights\. This is the mechanism referenced in Section[III](https://arxiv.org/html/2610.12916#S3): since each client starts from a differentp\(c\)p^\{\(c\)\}, the same provider pair can be assigned opposite labels by different clients\.
The governance score is used only to generate labels during pairwise dataset construction and is never used as a direct model input\.
#### IV\-A5Pairwise Dataset Construction
Generating all possible provider pairs is computationally infeasible given 965,894 samples\. We therefore adopt a sampling\-based pairwise approach\. For eachrecord\_date\(governance round\), providers active on that day are sampled in pairs without restriction on featured status, allowing non\-featured\-versus\-featured, featured\-versus\-featured, and non\-featured\-versus\-non\-featured comparisons to all occur\. The number of sampled pairs per day is capped atmin\(5Nt,5000\)\\min\(5N\_\{t\},\\ 5000\), whereNtN\_\{t\}is the number of providers active on daytt, to bound memory usage while scaling pair count with daily provider activity\.
For each sampled pair\(i,j\)\(i,j\), governance scores are compared, and the pair is discarded if\|gov\_scorei−gov\_scorej\|<10−6\|\\text\{gov\\\_score\}\_\{i\}\-\\text\{gov\\\_score\}\_\{j\}\|<10^\{\-6\}to avoid near\-tied comparisons that provide no meaningful ranking signal\. Otherwise, a single row is written with label11ifgov\_scorei\>gov\_scorej\\text\{gov\\\_score\}\_\{i\}\>\\text\{gov\\\_score\}\_\{j\}, and label00otherwise, with providerii’s features placed in columns suffixed\_1and providerjj’s in columns suffixed\_2\.
Each side of a pair stores the full 7\-day rolling sequence described in Section[III\-B](https://arxiv.org/html/2610.12916#S3.SS2)rather than a single\-day snapshot, yielding13×7=9113\\times 7=91feature columns per side \(182182feature columns total\) plus the label column\. This sampling procedure, applied across all governance rounds in the dataset, produces a final pairwise dataset of 9,657,042 record pairs\.
### IV\-BExperimental Setup
All experiments ran on a Compute CanadaNibinode111[https://docs\.alliancecan\.ca/wiki/Nibi](https://docs.alliancecan.ca/wiki/Nibi)\(NVIDIA H100 80GB\) using the Flower framework\[[18](https://arxiv.org/html/2610.12916#bib.bib18)\]\. The pairwise dataset is split 80:20 for training/test, with a separate date\-level 80:20 holdout for ranking evaluation to prevent temporal leakage\. Training uses batch size 2048, Adam \(η=0\.001\\eta=0\.001\), andBCEWithLogitsLoss\. Each provider’s input is a 7\-day rolling window of 13 governance features, shape\(N,7,13\)\(N,7,13\), used for both training and evaluation; NDCG@5/10/15 and Kendallτ\\tauare computed each epoch against the governance score ground truth\. Centralized training runs 100 epochs; federated training simulates 5 clients over 100 rounds, with non\-IID heterogeneity introduced via a Dirichlet distribution \(α=0\.5\\alpha=0\.5\) and each client relabeling its partition with a client\-specific structural weight profile\.
### IV\-CModel Architecture
Both architectures follow the same pairwise formulation\[[11](https://arxiv.org/html/2610.12916#bib.bib11)\]: each provider’s 7\-day, 13\-feature sequence is encoded into a single embedding, mapped to a scalar score, and compared between two same\-day providers\.TemporalRankNet\.A two\-layer LSTM \(hidden dim 64\) processes the sequence day by day; the final hidden stateh7h\_\{7\}is mapped to a score via Linear\(64→3264\{\\to\}32\), ReLU, Dropout\(0\.10\.1\), Linear\(32→132\{\\to\}1\) \(Fig\.[3](https://arxiv.org/html/2610.12916#S4.F3)\)\.AttentionRankNet\.A 4\-head self\-attention encoder with sinusoidal positional encoding processes the 7\-day window; the mean\-pooled output is mapped to a score via a 3\-layer MLP head\. Both models optimize Eq\.[1](https://arxiv.org/html/2610.12916#S3.E1)over 9,657,042 training pairs, whereyAB=1y\_\{AB\}=1if providerAAhas higher governance quality thanBB, and 0 otherwise\.
Fig\. 3:TemporalRankNet architecture: shared LSTM encoder and scorer map each provider’s 7\-day feature window to a score, trained via pairwise BCE loss\.
### IV\-DPerformance Metrics
We evaluate ranking quality using Normalized Discounted Cumulative Gain \(NDCG\) and the Kendall rank correlation coefficientτ\\tau\. The model is optimized using the pairwise ranking loss defined in Eq\.[1](https://arxiv.org/html/2610.12916#S3.E1), followed by evaluation using the two ranking metrics below\.
#### IV\-D1Normalized Discounted Cumulative Gain
NDCG evaluates both the relevance and position of items in the ranked list\[[19](https://arxiv.org/html/2610.12916#bib.bib19)\], penalizing ranking errors at the top of the list more heavily, well\-suited to governance decisions where top\-ranked providers receive featured status and greater network visibility\. NDCG values range from 0 to 1, with higher values indicating better ranking quality\. We report NDCG@5, NDCG@10, and NDCG@15\.
#### IV\-D2Kendallτ\\tau
Kendallτ\\tau\[[20](https://arxiv.org/html/2610.12916#bib.bib20)\]measures the rank correlation between predicted and ground\-truth orderings across all provider pairs:
τ=C−D\(n2\)\\tau=\\frac\{C\-D\}\{\\binom\{n\}\{2\}\}\(7\)whereCCandDDare the numbers of concordant and discordant pairs among all\(n2\)\\binom\{n\}\{2\}provider pairs, andτ∈\[−1,1\]\\tau\\in\[\-1,1\]\. While NDCG@K emphasizes top\-ranking precision, Kendallτ\\taucaptures overall pairwise ranking consistency across the full provider list, offering a complementary view of global ranking quality\.
### IV\-EBaselines
We compare two training regimes for both architectures \(Section[IV\-C](https://arxiv.org/html/2610.12916#S4.SS3)\)\.Centralized: trained on the full dataset at a single server, with direct access to all provider data\.Federated: each client trains locally and shares only model updates without exposing raw transaction data\. Crossing both regimes with both architectures yields four settings: Centralized LSTM\-RankNet \(C\-L\), Federated LSTM\-RankNet \(F\-L\), Centralized Attention\-RankNet \(C\-A\), and Federated Attention\-RankNet \(F\-A\)\.
\(a\)
\(b\)
\(c\)
\(d\)
Fig\. 4:LSTM\-RankNet\(a\)
\(b\)
\(c\)
\(d\)
Fig\. 5:Attention\-RankNet
### IV\-FResults
Fig\.[4](https://arxiv.org/html/2610.12916#S4.F4)\(a\),\(b\) report centralized LSTM\-RankNet performance\. NDCG increases in a steady high range for the duration of training to 0\.82\-0\.88 in a single epoch after getting nearly random initial values\. The final values for NDCG@k are \(0\.87, 0\.91, 0\.92\) with loss converging to \(0\.006\-0\.007\) by epoch 100 and no train/test gap\. Kendallτ\\tauconverges within 5\-6 epochs at 0\.70, since NDCG@k is sensitive to reordering near the cutoff whileτ\\tauaggregates over all pairs, smoothing local noise\.
Fig\.[4](https://arxiv.org/html/2610.12916#S4.F4)\(c\),\(d\) report federated performance\. Round 1 shows a temporary drop before recovering \(NDCG@5: 0\.43→\\to0\.37,τ\\tau: 0\.39→\\to0\.55\): each client weights the 13 governance features differently \(Section[III](https://arxiv.org/html/2610.12916#S3)\), so the same provider pair can receive opposite labels across clients, and the first aggregation must reconcile these conflicting local models before a stable global ranking emerges\. NDCG@k converges by round 6 to \(0\.86,0\.87, 0\.88\)\.τ\\tauconverges by round 6 at 0\.70, comparable to the centralized\.
Fig\.[5](https://arxiv.org/html/2610.12916#S4.F5)\(a\),\(b\) report centralized Attention\-RankNet performance\. NDCG rises to 0\.63\-0\.72 within two epochs but continuously fluctuating and less stable than LSTM\-RankNet\. NDCG plateaus lower and wider than LSTM\-RankNet with final values \(0\.75, 0\.82, 0\.84\) below LSTM\-RankNet’s peak \(≈\\approx0\.92 NDCG@15\)\. However,τ\\tauis unaffected and converging to 0\.706, similar to LSTM\-RankNet\.
Fig\.[5](https://arxiv.org/html/2610.12916#S4.F5)\(c\),\(d\) report federated Attention\-RankNet performance\. NDCG@5 starts near\-random and shows continuous fluctuations\.τ\\tauconverges similar to LSTM\-RankNet\. NDCG@k continues oscillating without a clear trend ending at round 100 with \(0\.72, 0\.74, 0\.77\) andτ\\tau=0\.70, both below LSTM\-RankNet’s federated plateau\.
Federated training differs from centralized in one key way: each client scores providers using its own feature weights, while centralized uses one shared weight vector \(Section[III](https://arxiv.org/html/2610.12916#S3)\)\. This applies equally to both architectures, so it cannot explain why Attention\-RankNet converges roughly five times slower than LSTM\-RankNet under federation\. The likely reason is architectural: LSTM naturally emphasizes recent days, which suits the 7\-day trend features, while Attention averages all days equally, diluting that signal, especially when clients disagree on which features matter\. Attention also has more parameters than a 7\-day sequence really needs, which likely explains its training instability under centralized learning too\. These results motivate using LSTM\-RankNet for the governance decision pipeline \(Section[III\-C](https://arxiv.org/html/2610.12916#S3.SS3)\)\.
Table[I](https://arxiv.org/html/2610.12916#S4.T1)summarizes the baseline anchors and final candidate counts for centralized and federated LSTM\-RankNet\. Both compute their anchors from their own baseline period \(Section[III\-C](https://arxiv.org/html/2610.12916#S3.SS3)\), so the two settings use independently data\-driven thresholds rather than a shared cutoff\. Centralized has lower promotion and minimum ratio anchors, which reflect scores spanning the full corpus and settling into a narrower baseline distribution, whereas federated has stricter anchors, including the promotion anchor saturating at its upper clip bound, which reflect clients’ conflicting weight vectors \(Section[III](https://arxiv.org/html/2610.12916#S3)\) producing a baseline score distribution that is higher and tighter, which the reliability filter \(Algorithm[1](https://arxiv.org/html/2610.12916#alg1), line[28](https://arxiv.org/html/2610.12916#alg1.l28)\) turns into a stricter bar\.
In the centralized setting \(Table[I](https://arxiv.org/html/2610.12916#S4.T1)\), all qualifying promotion candidates showed fully consistent signals over 2\+ days, suggesting the model reliably learns well\-governed non\-featured applications under the looser anchor\. Demotion candidates split roughly two\-thirds consistently poor \(low transaction quality, high churn, low reciprocity\) to one\-third borderline, appearing only once\.
In the federated setting \(Table[I](https://arxiv.org/html/2610.12916#S4.T1)\), far fewer providers qualify for promotion than centralized, but at a higher average ratio, consistent with the stricter federated anchor: fewer providers clear the bar, but those that do outscore a larger share of active featured competitors\. The demotion anchor and top\-KKbounds \(Algorithm[1](https://arxiv.org/html/2610.12916#alg1), lines[10](https://arxiv.org/html/2610.12916#alg1.l10)and[18](https://arxiv.org/html/2610.12916#alg1.l18)\) are identical across both regimes, since they depend only on the elbow position in the sorted featured\-app scores and the network\-size ratio, not the validator weighting scheme, reflected in both settings flagging the same number of demotion rows\. Despite the shared anchor, federated demotion shows marginally higher consistency than centralized, suggesting federated aggregation produces slightly more temporally stable demotion signals, consistent with the tighter Kendallτ\\tauband observed for federated training\.
TABLE I:Baseline anchors, final candidate counts, Promotion and demotion candidate statistics for Centralized LSTM\-RankNet and Federated LSTM\-RankNet\.Fig\.[6\(a\)](https://arxiv.org/html/2610.12916#S4.F6.sf1)shows the promotion ratio distribution for centralized LSTM\-RankNet\. The dashed red line marksτt=0\.10\\tau\_\{t\}=0\.10, the lower bound of the promotion threshold’s clipped range \(Algorithm[1](https://arxiv.org/html/2610.12916#alg1), line[17](https://arxiv.org/html/2610.12916#alg1.l17)\); the actual daily threshold varies within this range depending on network health, so this line is the most permissive valueτt\\tau\_\{t\}can take, not a fixed cutoff\. The distribution concentrates between 0\.3 and 1\.0, peaking near 0\.65\-0\.7, with the dashed orange line marking the mean \(Table[I](https://arxiv.org/html/2610.12916#S4.T1)\): a promoted provider outscores active featured apps well above both this floor and the minimum ratio anchor \(Table[I](https://arxiv.org/html/2610.12916#S4.T1)\) on average\. Few providers fall in 0\.3\-0\.4, indicating the reliability filter successfully separates sustained quality differentials from transient threshold crossings\.
Fig\.[6\(b\)](https://arxiv.org/html/2610.12916#S4.F6.sf2)shows the federated distribution, right\-shifted and narrower, peaking near 0\.75\-0\.80, with far fewer total candidates than centralized \(Table[I](https://arxiv.org/html/2610.12916#S4.T1)\)\. Both differences trace to federated’s stricter minimum ratio anchor, itself a consequence of clients’ conflicting structural weight vectors \(Section[III](https://arxiv.org/html/2610.12916#S3)\) producing a baseline score distribution concentrated higher and tighter than the centralized full\-corpus baseline\. Since the reliability filter rejects any candidate below this anchor, a stricter anchor mechanically raises the surviving population’s mean ratio while shrinking its size, exactly the pattern observed\. Neither distribution shows providers clustering near the 0\.10 floor, confirming the filter is effective regardless of the anchor value a baseline period yields\.
\(a\)Centralized
\(b\)Decentralized
Fig\. 6:LSTM\-RankNet promotion ratio distribution comparison\(a\)Centralized
\(b\)Decentralized
Fig\. 7:LSTM\-RankNet Centralized and Decentralized thresholds comparisonFig\.[7](https://arxiv.org/html/2610.12916#S4.F7)\(a\) and \(b\) show the daily promotion threshold \(τt\\tau\_\{t\}\) and demotion cutoff \(KtK\_\{t\}\) for the centralized and federated models\. Both use the same health and size ratios fromgov\_score; only the anchor values differ because they are computed from each model’s predictions\.
The demotion curves are identical because both models reach the maximumKbase=150K\_\{\\text\{base\}\}=150, soKt=150×λtsizeK\_\{t\}=150\\times\\lambda\_\{t\}^\{\\text\{size\}\}\. The promotion thresholds differ because the federated anchor is at the maximum value, while the centralized anchor is lower\.
After day 40, both thresholds stay at the minimum \(τt=0\.10\\tau\_\{t\}=0\.10\) as network health declines and network size grows rapidly\. Small peaks around days 87 and 131 appear in both models due to improved health values, but the federated model reaches slightly higher peaks because its larger anchor makes it more sensitive near the minimum threshold\.
## VConclusion
We presented DeFiRank, a privacy\-preserving federated pairwise ranking framework that replaces static, manually\-crafted epoch scoring functions in decentralized financial networks\. By training TemporalRankNet, combining LSTM temporal encoding with RankNet pairwise ranking across 13 governance features, over 9\.6 million pairwise comparisons distributed across five non\-IID clients, DeFiRank learns network\-wide behavioural patterns without exposing private transaction data\. We additionally evaluated an attention\-based architecture, AttentionRankNet, which achieved comparable Kendallτ\\taubut consistently lower and less stable NDCG, motivating LSTM\-RankNet as the architecture used for governance decisions\. A dynamic governance pipeline adaptively adjusts promotion and demotion thresholds in response to network health and size, yielding 648 unique promotion candidates and 39 unique demotion candidates under federation, with 100% promotion consistency and 72% demotion consistency over 2\+ consecutive days\. Experimental results on a real\-world blockchain dataset show that DeFiRank achieves ranking performance modestly below the centralized baseline \(NDCG@15:≈\\approx0\.87 vs\.≈\\approx0\.92\) while reaching comparable ranking stability \(Kendallτ\\tau:≈\\approx0\.70 for both regimes\), demonstrating that federated learning preserves institutional privacy without sacrificing the consistency of governance signals\. Future work will explore integrating tokenomic incentive mechanisms to couple governance decisions with on\-chain rewards, adopting personalised federation strategies to better accommodate non\-IID client heterogeneity, and incorporating formal differential privacy guarantees for deployment in regulated financial environments\.
## Acknowledgment
This research is supported by T\-RIZE GROUP, Montréal, Canada, and Mitacs Grant IT44869\.
## References
- \[1\]G\. Munir, M\. A\. Ali, S\. Mahmood, and G\. Mahmood, “Ai\-driven corporate governance: A structured literature review of ai applications in financial and non\-financial sectors,”*Qualitative Research Journal for Social Studies*, vol\. 2, no\. 1, pp\. 79–96, 2025\.
- \[2\]R\. V\. Aguilera and M\. Ruiz Castillo, “Toward an updated corporate governance framework: Fundamentals, disruptions, and future research,”*BRQ Business Research Quarterly*, vol\. 28, no\. 2, pp\. 336–348, 2025\.
- \[3\]X\. Ma, Z\. Wen, T\. Hu, and X\. Zheng, “Algorithmic governance: Machine learning–driven insights into corporate decision\-making and risk control,” in*Proceedings of the 4th International Conference on Artificial Intelligence and Intelligent Information Processing*, 2025, pp\. 907–911\.
- \[4\]Z\. Batool, B\. Buyukates, R\. Nourmohammadi, and K\. Zhang, “Privacy\-enhancing technologies for federated learning,” in*Federated Learning Systems: Towards Privacy\-Preserving Distributed AI*\. Springer, 2025, pp\. 129–146\.
- \[5\]M\. E\. Glickman, “The glicko system,”*Boston University*, vol\. 16, no\. 8, p\. 9, 1995\.
- \[6\]A\. Berg, “Statistical analysis of the elo rating system in chess,”*Chance*, vol\. 33, no\. 3, pp\. 31–38, 2020\.
- \[7\]B\. Nasrulin, G\. Ishmaev, and J\. Pouwelse, “Meritrank: Sybil tolerant reputation for merit\-based tokenomics,” in*2022 4th Conference on Blockchain Research & Applications for Innovative Networks and Services \(BRAINS\)*\. IEEE, 2022, pp\. 95–102\.
- \[8\]A\. T\. Polcumpally, K\. K\. Pandey, A\. Kumar, and A\. Samadhiya, “Blockchain governance and trust: A multi\-sector thematic systematic review and exploration of future research directions,”*Heliyon*, vol\. 10, no\. 12, 2024\.
- \[9\]B\. McMahan, E\. Moore, D\. Ramage, S\. Hampson, and B\. A\. y Arcas, “Communication\-efficient learning of deep networks from decentralized data,” in*Artificial intelligence and statistics*\. PMLR, 2017, pp\. 1273–1282\.
- \[10\]M\. Aledhari, R\. Razzak, R\. M\. Parizi, and F\. Saeed, “Federated learning: A survey on enabling technologies, protocols, and applications,”*IEEE access*, vol\. 8, pp\. 140 699–140 725, 2020\.
- \[11\]C\. Burges, T\. Shaked, E\. Renshaw, A\. Lazier, M\. Deeds, N\. Hamilton, and G\. Hullender, “Learning to rank using gradient descent,” in*Proceedings of the 22nd international conference on Machine learning*, 2005, pp\. 89–96\.
- \[12\]T\.\-Y\. Liu, “Learning to rank for information retrieval,”*Foundations and Trends® in Information Retrieval*, vol\. 3, no\. 3, pp\. 225–331, 2009\.
- \[13\]S\. Wang, B\. Liu, S\. Zhuang, and G\. Zuccon, “Effective and privacy\-preserving federated online learning to rank,” in*Proceedings of the 2021 ACM SIGIR international conference on theory of information retrieval*, 2021, pp\. 3–12\.
- \[14\]V\. W\. Anelli, Y\. Deldjoo, T\. Di Noia, A\. Ferrara, and F\. Narducci, “Federated recommender systems with learning to rank\.” in*SEBD*, 2021, pp\. 71–82\.
- \[15\]F\. Hartmann, S\. Suh, A\. Komarzewski, T\. D\. Smith, and I\. Segall, “Federated learning for ranking browser history suggestions,”*arXiv preprint arXiv:1911\.11807*, 2019\.
- \[16\]Z\. Guo, R\. Jin, J\. Luo, and T\. Yang, “Fedxl: Provable federated learning for deep x\-risk optimization,” in*International Conference on Machine Learning*\. PMLR, 2023, pp\. 11 934–11 966\.
- \[17\]S\. Mahajan, I\. R\. Nagesh, B\. B\. Mishra, S\. Sarkar, S\. P\. Gangadharan, V\. Agarwal*et al\.*, “Artificial intelligence and strategic governance: Enabling real\-time decisions in complex business ecosystems,”*Management:\(Montevideo\)*, vol\. 3, p\. 14, 2025\.
- \[18\]D\. J\. Beutel, T\. Topal, A\. Mathur, X\. Qiu, T\. Parcollet, and N\. D\. Lane, “Flower: a friendly federated learning research framework \(2020\),”*arXiv preprint arXiv:2007\.14390*, 2007\.
- \[19\]K\. Järvelin and J\. Kekäläinen, “Cumulated gain\-based evaluation of ir techniques,”*ACM Transactions on Information Systems \(TOIS\)*, vol\. 20, no\. 4, pp\. 422–446, 2002\.
- \[20\]M\. G\. Kendall, “A new measure of rank correlation,”*Biometrika*, vol\. 30, no\. 1\-2, pp\. 81–93, 1938\.Similar Articles
Fed-Equilibrium Framework for Topological Pareto Control in Robust and Fair Clinical Federated Learning
This paper proposes Fed-Equilibrium, a federated learning framework that balances robustness and fairness in clinical networks using topological Pareto control to ensure minority nodes achieve convergence comparable to dominant hubs.
Breaking the Structural Identity: Personalized Federated LoRA Fine-tuning under Rank Heterogeneity
FedRoRA is a novel framework for personalized federated LoRA fine-tuning that addresses rank heterogeneity and data heterogeneity in federated learning by decoupling adaptation into shared global directions and personalized magnitudes.
Field-Aware RankMixer with Dual-Stream Bilinear Fusion for the Tencent UNI-REC Challenge
This paper presents FA-RankMixer, a model that combines field-aware semantic tokenization, target-aware multi-domain DIN, RankMixer blocks, and group-wise bilinear fusion for unified pCVR prediction in the Tencent UNI-REC Challenge. The solution ranked 9th on the official leaderboard.
Edge-AI-Driven Learning-to-Rank for Decentralized Task Allocation in Circular Smart Manufacturing
This paper proposes an Edge-AI-driven decentralized task allocation framework for circular smart manufacturing that uses learning-to-rank to align with the ordering-based nature of winner selection. Simulation results show improved delay, deadline adherence, and energy efficiency under high-load and tight-deadline scenarios.
BackDFL: A Unified Benchmark For Backdoor Attacks and Defenses In Decentralized Federated Learning
This paper introduces BackDFL, a unified benchmark for systematically evaluating backdoor attacks and defenses in decentralized federated learning, revealing critical failure modes in current robustness methods.