Source-linked AI summary
TrustFormer: Cross-Temporal and Cross- Dimensional Transformer for Task-Specific Multi-Dimensional Trust Evaluation
Botao Zhu, Xianbin Wang
TL;DR
Scalar trust representations inadequately capture task-relevant collaborator reliability, while heterogeneous asynchronous data and cross-dimensional dependencies complicate multi-dimensional evaluation. TrustFormer synchronizes historical records and applies cross-temporal and cross-dimensional attention to learn task-specific trust profiles. It reports a 40.8% reduction in strategic-collaborator MSE over LSTM and 91.3% overall collaborator selection accuracy.
Problem
Scalar aggregation obscures dimension-specific deficiencies, while asynchronous data and complex temporal and cross-dimensional patterns challenge multi-dimensional trust evaluation.
Method
TrustFormer uses task identifiers and device timestamps for synchronization, then applies cross-temporal and cross-dimensional attention to model task-specific multi-dimensional trust.
Results
40.8% lower MSE than LSTM was reported for strategic collaborators, and overall collaborator selection accuracy reached 91.3%.
Takeaways & Limitations
TrustFormer supports collaborator selection by producing multi-dimensional trust vectors that reflect temporal evolution, inter-dimensional correlations, and resource requirements.
Abstract
from arXiv · showhide
In dynamic collaborative systems, the selection of reliable collaborators is critical to ensuring effective task execution. Existing trust evaluation methods often rely on unidimensional or scalar representations, which fail to faithfully capture a collaborator's true trustworthiness, thereby motivating a shift toward multi-dimensional trust modeling. However, due to the asynchrony of collected trust-related data across different dimensions, as well as the complex intra- and inter-dimensional dependencies embedded within these data, multi-dimensional trust evaluation remains challenging. To address these challenges, we propose TrustFormer, a task-specific multi-dimensional trust evaluation framework. Specifically, TrustFormer leverages task identifiers and device-generated timestamps to synchronize heterogeneous trust-related data across historical collaborations. It further employs cross-temporal and cross-dimensional attention mechanisms to jointly model temporal dynamics and inter-dimensional correlations, thereby effectively learning the multi-dimensional trust evolution of potential collaborators from historical performance data. In addition, according to the multi-dimensional resource requirements of tasks, potential collaborators' multi-dimensional resource trust is evaluated. Finally, by synthesizing these multi-dimensional trust profiles, the framework enables the optimal collaborator selection. Experimental results demonstrate that TrustFormer outperforms existing methods by yielding a 40.8% improvement in trust evaluation accuracy and enabling more reliable collaborator selection.
I. INTRODUCTION
TrustFormer addresses the limits of scalar trust evaluation by modeling task-specific, multi-dimensional collaborator trust. It synchronizes heterogeneous historical data and uses cross-temporal and cross-dimensional attention to capture trust evolution and inter-dimensional dependencies.
- Scalar trust aggregation can obscure dimension-specific deficiencies and make unreliable collaborator aspects difficult to identify.
- Task requirements are inherently multi-dimensional, so collaborator trustworthiness must be evaluated independently across relevant dimensions.
- Asynchronous historical data from different participants must be synchronized despite device clock drift and network delays.
- Trust dynamics can evolve through gradual degradation, abrupt strategic shifts, or intermittent fluctuations under unstable resource conditions.
- TrustFormer combines lightweight synchronization with task-specific multi-dimensional trust evaluation in a Transformer-based framework.
- Cross-temporal and cross-dimensional attention models temporal evolution within dimensions and dependencies across dimensions.
II. SYSTEM MODEL AND PROBLEM FORMULATION
The system models collaboration among resource-constrained devices coordinated by a trusted server. Tasks specify multi-dimensional historical-trust and physical-resource requirements that guide collaborator evaluation and selection.
- II. SYSTEM MODEL AND PROBLEM FORMULATION: The collaborative computing system contains devices that can act as task owners or collaborators, with a trust server coordinating records and selection.
- A. Task Model with Multi-Dimensional Requirements: A task owner generates and offloads computational tasks for execution by other devices.
- A. Task Model with Multi-Dimensional Requirements: Historical trust requirements specify minimum acceptable values across dimensions in Dhis.
- A. Task Model with Multi-Dimensional Requirements: The historical dimensions include CPU stability, memory stability, task completion accuracy, and timeliness.
- A. Task Model with Multi-Dimensional Requirements: Resource requirements specify thresholds for physical dimensions in Dres.
- A. Task Model with Multi-Dimensional Requirements: The physical resource dimensions are available CPU, storage, and throughput.
- A. Task Model with Multi-Dimensional Requirements: Each resource threshold is expressed in its physical unit, such as GHz, GB, or Mbps.
- A. Task Model with Multi-Dimensional Requirements: The number of requirement dimensions can be extended as needed for different tasks.
B. Task-Specific Multi-Dimensional Trust Model
TrustFormer represents each candidate collaborator through task-specific historical and resource trust profiles. These profiles capture performance across multiple dimensions and whether physical resource requirements are satisfied.
- Conventional scalar trust is insufficient for multi-dimensional task requirements, so candidates are evaluated across multiple dimensions.
- A candidate’s historical trust profile is a vector evaluated from its historical performance records.
- Resource trust is represented across the physical resource dimensions required by the task.
- A resource-trust component equals 1 when the collaborator meets the corresponding task requirement and 0 otherwise.
- The trust server uses the evaluation results to select a suitable collaborator for task execution.
C. Problem Formulation
The paper formulates collaborator selection as task-specific optimization over historical and resource trust, while TrustFormer synchronizes and learns multi-dimensional trust from heterogeneous collaboration records. Data are linked by task identifiers and bounded using device-generated timestamps.
- C. Problem Formulation: The trust server seeks an optimal collaborator that maximizes aggregate trust while satisfying the task’s multi-dimensional requirements.
- C. Problem Formulation: Uniform weighting across trust dimensions is represented by an all-ones vector, while task-specific weights can replace it.
- III. TRUSTFORMER FOR MULTI-DIMENSIONAL TRUST EVALUATION: TrustFormer synchronizes historical performance data and jointly models temporal dynamics within dimensions and interdependencies across dimensions.
- A. Multi-Dimensional Historical Data Collection: Historical data come from task owners’ observed outcomes and collaborators’ reported runtime metrics.
- A. Multi-Dimensional Historical Data Collection: A collaboration task identifier binds subsequent data streams from the task owner and collaborator to that collaboration.
- A. Multi-Dimensional Historical Data Collection: Collaborators periodically report CPU and memory utilization with local timestamps during task execution.
- A. Multi-Dimensional Historical Data Collection: Task owners independently verify execution outcomes and report completion accuracy and timeliness with a local monotonic timestamp.
- A. Multi-Dimensional Historical Data Collection: Records arriving after the server-side task-completion boundary are discarded.
B. Multi-Dimensional Historical Data Synchronization
TrustFormer synchronizes heterogeneous historical performance data using local timestamps and collaboration-session grouping rather than requiring a unified global clock. It then derives CPU and memory stability metrics from chronologically ordered monitoring sequences.
- Synchronization: TrustFormer groups received records into collaboration sessions and preserves within-dimension chronological order without requiring strict global-clock synchronization.Local timestamps and task-related organization support localized temporal alignment despite network delays and unsynchronized device clocks.
- Synchronization: Records from the same physical device are sorted by embedded local timestamps to reconstruct the chronological sequence of each performance dimension.The method relies on the device's correct relative execution order.
- Stability metrics: CPU and memory utilization sequences are aggregated into scalar stability values using the root mean square of successive differences.This preserves temporal variation that simple summary statistics would discard.
- Stability metrics: The resulting historical performance vector contains task completion accuracy, timeliness, CPU stability, and memory stability.The vector is associated with the server-side chronological records for the collaborator's task.
C. Data Preprocessing when New Tasks Arrive
When a new task arrives, the trust server retrieves each collaborator's completed collaborations and constructs a chronologically ordered matrix with matching timestamps. Rows represent historical collaborations, while columns trace individual performance dimensions.
- Historical data assembly: For each potential collaborator, the server retrieves performance vectors from K previously completed collaborations after a new task request arrives.These vectors are stacked in strictly chronological order together with their associated timestamps.
- Historical data assembly: The temporal performance matrix Xao is formed by vertically concatenating historical performance vectors row by row.The matrix has shape R^K×|Dhis|.
- Temporal organization: Rows of Xao align temporally with tao, and each column traces one performance dimension's evolution.The semicolon denotes row-wise vertical concatenation.
D. Multi-Dimensional Trust Representation Learning via Cross-Temporal and Cross-Dimensional Attentions
TrustFormer uses embeddings and two attention stages to model both how each trust dimension changes over time and how dimensions correlate within each collaboration. Stacked attention blocks produce representations encoding both dependencies.
- Embedding: Each historical dimension value is projected through a dimension-specific linear layer, while continuous time intervals and positional embeddings provide temporal information.The resulting temporal embedding is shared across dimensions within the same historical record.
- Cross-temporal attention: Cross-temporal attention applies multi-head self-attention independently across historical collaborations for each performance dimension.It can identify gradual degradation and abrupt behavioral changes.
- Cross-dimensional attention: Cross-dimensional attention applies multi-head self-attention across performance dimensions within each collaboration.Its attention matrix captures pairwise dependencies among dimensions.
- Integrated representation: The combined attention stages form a time-dimension block, and stacking L blocks yields an output encoding temporal dynamics and inter-dimensional dependencies.The output has shape R^K×|Dhis|×dmodel.
E. Historical Trust Calculation
Historical trust is computed by temporally pooling each performance dimension and passing the fused representations through an MLP with sigmoid activation. This produces the collaborator's multi-dimensional historical trust evaluation.
- Historical trust computation: TrustFormer averages each dimension's representation along the temporal axis to obtain a temporally fused representation.The fused representation for each dimension is then passed through an MLP.
- Historical trust computation: A sigmoid activation is used in the MLP-based computation of the multi-dimensional historical trust evaluation.The evaluation is produced separately across the historical trust dimensions.
IV. RESOURCE EVALUATION AND COLLABORATOR SELECTION
TrustFormer evaluates each potential collaborator’s resource trust dimension by dimension against the task’s required capabilities, producing a multi-dimensional resource profile.
- Resource trust is set to 1 when a reported capability satisfies the corresponding task requirement and 0 otherwise.The server applies this evaluation separately for every required resource dimension.
V. RESULT ANALYSIS
The experiments model heterogeneous device behaviors and evaluate TrustFormer under temporal disorder and diverse collaborator dynamics. TrustFormer is especially effective for abrupt strategic shifts and gradual degradation, while synchronization materially affects accuracy.
- Experimental Setup: 20,000 collaboration records are split chronologically into 70% training, 10% validation, and 20% test sets.The simulation uses 200 virtual devices with behavior proportions of 60% reliable, 10% low-capability, 10% degradation, 10% intermittent anomaly, and 10% strategic cheating.
- Impact of Synchronization: 66.3% MSE and 31.4% MAE increases occur under 50% temporal disorder.Even 10% disorder increases MSE by 12.2%, supporting synchronization as a prerequisite for reliable evaluation.
- Behavior-Type Accuracy: 40.8% lower MSE than LSTM and 28.3% lower than standard Transformer are achieved for strategic collaborators.For degradation collaborators, TrustFormer reduces MSE by 37.5% and 22.1% against the two baselines, respectively.
- Behavior-Type Accuracy: Comparable accuracy is observed across methods for reliable collaborators, while TrustFormer’s advantage widens for complex behavioral dynamics.The comparison covers reliable, low-capability, degradation, intermittent anomaly, and strategic collaborator behaviors through the simulation setup.
C. Collaborator Selection Accuracy Comparison
TrustFormer is evaluated for collaborator selection across task requirement dimensions and overall simultaneous satisfaction. It consistently outperforms LSTM and Transformer, with the largest reported advantage in overall accuracy.
- Collaborator Selection Accuracy Comparison: 91.3% overall collaborator selection accuracy is achieved by TrustFormer, compared with 85.4% for Transformer and 80.7% for LSTM.Overall accuracy requires all dimensions to be satisfied simultaneously.
- Collaborator Selection Accuracy Comparison: TrustFormer consistently outperforms LSTM and Transformer across all evaluated dimensions.The experiment reports collaborator selection accuracy at both per-dimension and overall levels.
- Collaborator Selection Accuracy Comparison: More accurate multi-dimensional trust evaluation translates into more reliable collaborator selection.The conclusion links TrustFormer’s trust vectors and selection reliability, with notable advantages under strategic deception and gradual degradation.