arXiv:2608.25238eess.SYAug 2026

Manuscript Offprint

arXiv:2608.25238

TrustFormer: Cross-Temporal and Cross- Dimensional Transformer for Task-Specific Multi-Dimensional Trust Evaluation

Botao Zhu, Xianbin Wang

Botao Zhu and Xianbin Wang

Department of Electrical and Computer Engineering, Western University, London, Ontario, Canada

Abstract—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' multidimensional 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.

Index Terms—Cross-temporal attention, cross-dimensional attention, multi-dimensional trust, Transformer

I. INTRODUCTION

By integrating the Internet of Things (IoT), edge computing, and artificial intelligence, distributed intelligent systems are expected to support a wide range of applications, such as autonomous driving and robotic collaboration. Due to their inherent resource constraints, individual devices are unable to execute increasingly complex tasks independently, necessitating collaboration with other devices for task execution. Under this paradigm, the effective selection of reliable collaborators is of paramount importance for successful task completion and overall system effectiveness [1]. Trust has been widely recognized as a holistic mechanism for evaluating whether a collaborator possesses the required capabilities and resources to undertake specific tasks. Existing trust evaluation methods typically collect collaborators' historical performance data—such as task success rates and packet loss ratios—and aggregate these multi-dimensional metrics into a single scalar trust score using predefined weighting schemes [2]. However, scalar aggregation obscures dimension-specific deficiencies, making it difficult to identify which aspect of a collaborator is unreliable.

As future collaborative systems support increasingly diverse tasks, the requirements imposed on collaborators exhibit inherently multi-dimensional characteristics. For instance, safety-critical tasks require strictly high task completion accuracy and stable computational behaviors, whereas data-intensive tasks heavily prioritize storage capabilities and bandwidth performance [1]. Therefore, it is imperative for trust evaluation to transition from a traditional scalar paradigm to a multi-dimensional paradigm. The evaluation mechanism must independently quantify a collaborator's trustworthiness across each required dimension, producing a trust vector that directly corresponds to the task's multi-dimensional requirements. This approach not only yields a comprehensive and fine-grained profiling of the collaborator's trustworthiness but also guarantees that the selected collaborator satisfies the task requirements across all dimensions. However, realizing multi-dimensional trust evaluation in collaborative systems poses several challenges.

How to effectively synchronize heterogeneous data for multidimensional trust evaluation? In distributed collaborative systems, historical trust-related data collected from past collaborations is inevitably dispersed across different participants. To achieve accurate trust evaluation, the records of task outcomes from task owners and the corresponding states and resource conditions of participating collaborators have to be gathered for aggregated analysis. Due to clock drift across devices and varying delays introduced by network transmission, distributed data received by the trust evaluation server is often desynchronized and out of chronological order. Without effective synchronization, data from different collaborations may be mistakenly mixed together, and the data order within the same collaboration may be misaligned, ultimately leading to unreliable trust evaluation. While commonly used clock synchronization protocols (such as Network Time Protocol or Precision Time Protocol) can achieve time alignment across devices, they could incur substantial network communication overhead for distributed systems [3]. In fact, synchronizing all devices to a global absolute time coordinate system is unnecessary in trust evaluation. This is because the essence of trust evaluation is to discover the evolutionary patterns of collaborators' historical behaviors from the data collected during past collaborations. Therefore, we could consider some lightweight strategies, such as the monotonicity of local clocks within each data source and task identifiers, to align multidimensional data across collaborations.

How to jointly capture the intra-dimensional temporal trust evolution and the cross-dimensional dependencies? A collaborator's trustworthiness is inherently time-varying, and each trust dimension may exhibit complex evolution patterns. For instance, a collaborator's task completion accuracy may gradually degrade due to device aging, abruptly deteriorate after a period of high trust because of strategic misbehavior, or intermittently fluctuate under unstable resource conditions [4]. Traditional trust estimation methods, such as weighted moving averages, primarily reflect recent statistical trends and lack the ability to actively identify such complex temporal patterns, particularly abrupt changes [5]. Furthermore, multiple trust dimensions are inherently interdependent and exhibit dynamic correlations. For example, anomalies in CPU stability often coincide with declines in task completion accuracy, while resource contention may simultaneously degrade timeliness and disrupt memory behavior. Existing trust evaluation approaches typically employ sequence models, e.g., standard Transformer-based architectures, to capture the evolution of trust. However, these models are primarily designed to model temporal dependencies. In multi-dimensional trust, an effective trust model must possess dual modeling capabilities: it should learn the temporal evolution of each dimension along the time axis while simultaneously capturing the dynamic coupling across dimensions, enabling more accurate and comprehensive trust assessment.

To address the aforementioned challenges, we propose TrustFormer, a Transformer-based multi-dimensional trust evaluation framework. TrustFormer integrates lightweight data synchronization with cross-temporal and cross-dimensional trust modeling to align heterogeneous trust-related data and evaluate collaborator trustworthiness according to task-specific multi-dimensional requirements. The contributions of this paper are summarized as follows.

• We propose a task-specific multi-dimensional trust evaluation paradigm that provides a more comprehensive and realistic assessment of collaborator trustworthiness with respect to task requirements.

• We propose a lightweight data synchronization mechanism for multi-dimensional trust-related data by leveraging task identifiers and the monotonicity of local device clocks.

• We design cross-temporal and cross-dimensional attention mechanisms that capture both the temporal evolution within each trust dimension and the interdependencies across different dimensions, enabling more effective modeling of multi-dimensional trust.