Skip to main content
Have a personal or library account? Click to login
Trust-Aware Federated Learning for Robust and Secure Social Media Analysis Cover

Trust-Aware Federated Learning for Robust and Secure Social Media Analysis

Open Access
|Aug 2026

Figures & Tables

Figure 1.

Blockchain-Enabled Federated Deep Learning (BFDL) Framework for Privacy-Preserving Social Media Content Moderation.

Figure 2.

Bi-LSTM with attention mechanism.

Figure 3.

Functional Role of the Blockchain Layer in Federated Deep Learning.

Table 1.

List of simulation parameters.

ParameterSymbol / ValueDescription
Number of Clients(N-20)Number of simulated edge participants involved in federated learning. Each client locally trains the model using its own data without directly sharing raw social media data.
Communication Rounds(T=50)Maximum number of global federated communication rounds. In each round, selected clients train locally and transmit model updates to the central aggregation process.
Local Training EpochsMaximum = 50Maximum number of local training epochs permitted for each client. The actual number of epochs is determined adaptively using early stopping.
Early Stopping MetricValidation LossValidation loss is monitored during local training to determine whether further training improves model generalization.
Early Stopping Patience10 epochsTraining is stopped when validation loss does not improve for 10 consecutive epochs.
Learning Rate(η =0.001)Fixed learning rate used for local gradient-based optimization. It provides a stable and reproducible optimization setting across participating clients.
Batch Size64Number of training samples processed in one local optimization iteration.
LSTM Hidden Units128Number of hidden neurons used in each Bi-LSTM representation layer for learning temporal dependencies in social media data.
LSTM ArchitectureBi-LSTMBidirectional LSTM is used to capture contextual dependencies from both forward and backward directions in sequential social media representations.
Attention Dimension64Dimension of the attention context representation used to assign greater importance to informative features or sequence elements.
OptimizerAdamAdaptive Moment Estimation optimizer used for efficient local model parameter optimization.
Encryption / HashingSHA-256SHA-256 cryptographic hashing is used to provide integrity verification and secure identification of transmitted model-update information.
Trust Threshold(τ =0.6)Minimum trust score required for a client to be considered reliable for participation in model aggregation.
Malicious Client IdentificationTrust Score (<0.6)Clients whose trust score falls below the predefined threshold are treated as potentially unreliable or malicious participants.
Random Seed42Fixed seed used for reproducibility of stochastic operations such as model initialization, data shuffling, and experimental execution.
Number of Experimental Runs10Independent repetitions recommended for statistical reliability and repeatability analysis.
Statistical MeasuresMean ± SDMean and standard deviation are reported across repeated runs to quantify average performance and variability.
Confidence Level95% CIA 95% confidence interval can be reported to quantify uncertainty around the mean performance.
Maximum Global Rounds50Upper bound on global aggregation iterations; the model performance is evaluated across the federated communication process.
Figure 4.

Loss vs. Epochs.

Figure 5.

Confusion matrix.

Figure 6.

Performance metric.

Table 2.

Statistical and Repeatability Analysis of the Proposed Trust-Aware Federated Learning Model Across Multiple Experimental Runs.

PhaseMetricRun 1Run 2Run 3Run 4Run 5Run 6Run 7Run 8Run 9Run 10Mean ± SD95% CI
TrainingAccuracy (%)97.0697.1896.9497.1197.0297.1596.8997.0997.1396.9897.06 ± 0.0997.00-97.12
TrainingPrecision (%)96.7996.9196.6896.8496.7596.8896.6396.8296.8796.7396.79 ± 0.0996.73-96.85
TrainingRecall (%)97.1697.2597.0897.2197.1197.1997.0397.1497.2397.0697.15 ± 0.0797.10-97.20
TrainingF1-score (%)96.9897.0896.8897.0296.9397.0496.8296.9997.0596.8996.97 ± 0.0896.91-97.03
ValidationAccuracy (%)95.7595.8895.6195.8295.6995.7995.5595.7395.8495.6595.73 ± 0.1095.66-95.80
ValidationPrecision (%)95.3895.5195.2495.4595.3295.4295.1895.3695.4795.2895.36 ± 0.1095.29-95.43
ValidationRecall (%)95.8896.0195.7495.9595.8295.9295.6895.8695.9795.7895.86 ± 0.1095.79-95.93
ValidationF1-score (%)95.6395.7695.4995.7095.5795.6795.4395.6195.7295.5395.61 ± 0.1095.54-95.68
Figure 7.

Trust Score vs. Clients.

Figure 8.

Accuracy vs. number of malicious clients.

Figure 9.

ROC curve.

Figure 10.

Blockchain dynamics result.

Table 3.

Performance Evaluation of Blockchain Infrastructure in BFDL.

# ClientsLatency (ms)Throughput (tx/s)Ledger Growth (MB)
103358517
254558034
506807562
10081070118
Table 4.

Comparison with state of the arts methods.

ModelAccuracy (%)Precision (%)Recall (%)F1-Score (%)
Centralized Bi-LSTM91.290.490.990.6
FedAvg (Bi-LSTM) [28]93.593.092.892.9
FedProx (Bi-LSTM) [29]94.293.894.193.9
Proposed BFDL97.196.897.297.0
DOI: https://doi.org/10.2478/ias-2026-0020 | Journal eISSN: 1554-1029 | Journal ISSN: 1554-1010
Language: English
Page range: 394 - 414
Published on: Aug 20, 2026
Published by: Cerebration Science Publishing Co., Limited
In partnership with: Paradigm Publishing Services
Publication frequency: Volume open

© 2026 Shalini Singh, Mridula Singh, Manash Sarkar, published by Cerebration Science Publishing Co., Limited
This work is licensed under the Creative Commons Attribution-NonCommercial-ShareAlike 4.0 License.