Manuscript Offprint

arXiv:2608.25232

Long-Term Behavioral Evaluation for Trusted Collaborator Selection via Bidirectional Mamba

Botao Zhu, Xianbin Wang

Botao Zhu and Xianbin Wang

Dept. of Electrical and Computer Engineering, Western University, London, Ontario N6A 3K7 CANADA

Abstract—Effective selection of trustworthy collaborators is crucial to ensuring the successful completion of collaborative tasks, which requires accurate assessments of both long-term device behavior and short-term collaborative dynamics. Consistent device behavior patterns, which are learned from historical collaborations, can be used to predict their reliability in future collaborations. However, accurately assessing device behavior based on historical collaborations remains challenging. First, behavior assessment from limited historical collaborations captures only instantaneous past behavior, failing to represent the devices' true behavior. Second, due to the temporal dependencies of device behavior, a unidirectional evaluation that relies only on earlier collaborations loses the opportunity to learn from subsequent collaborations. Addressing these challenges requires evaluating device behavior based on long-term collaborations while considering both forward and backward temporal dependencies. To this end, this work proposes a bidirectional Mamba-enabled model (BM) for long-term behavioral evaluation. For each short time slot, a graph is constructed among devices based on historical collaborations, and device behavioral features within the slot are then aggregated accordingly. Subsequently, a bidirectional Mamba model integrates these short-term representations across all time intervals, producing a stable and reliable long-term behavior evaluation for each device. Experimental results demonstrate that BM achieves higher evaluation accuracy than baseline methods, thereby enabling the selection of collaborators that maximize the value of task completion.

Index Terms—Long-term, Mamba, short-term, trust evaluation

I. INTRODUCTION

With the increasing complexity of modern applications and interconnected systems, individual devices often face challenges in handling computation-intensive tasks due to limited processing power and energy constraints. To overcome this limitation, distributed resource scheduling has emerged as an effective approach, allowing tasks to be offloaded to networked devices with greater computational capabilities [1]. For example, in vehicular networks, autonomous vehicles can delegate computation-intensive tasks to nearby roadside units to reduce the burden on on-board processors [2]. Similarly, in industrial IoT scenarios, sensor nodes frequently offload data processing tasks to edge gateways [3]. These examples underscore the critical importance of selecting reliable collaborators to ensure successful task execution.

Trust has become a critical measure for evaluating the reliability of devices in collaborative systems, reflecting a task owner's confidence in a collaborator's ability to successfully accomplish a task [4]. Accurate evaluation of device trust requires assessing both long-term device behavior and short-term collaborative dynamics. Historical collaborations contain implicit behavioral patterns of devices, reflecting whether their performance tends to be reliable or unreliable. Such patterns enable us to predict their reliability in future collaborative tasks. Various methods have been proposed recently to evaluate the historical behavior of collaborators. For instance, in [5], trust was assessed for sensor nodes based on their performance in data collection and communication activities. In [6], the authors evaluated the trustworthiness of devices in heterogeneous wireless networks by collecting multidimensional interaction information, such as packet forwarding success rate and session interruption rate. In [7], the authors employed a time-window-triggered mechanism to periodically update node trust, focusing on capturing recent changes in node behavior. However, these approaches either rely on static assessments of device behavior or emphasize only short-term conditions, which makes it difficult to accurately reflect their actual reliability.

A device’s behavioral patterns are formed through its performance across multiple short-duration collaborations. Therefore, it is necessary to continuously observe and evaluate its long-term behavior to more accurately reflect its reliability. Conducting such long-term evaluation, however, introduces several challenges that must be addressed. First, due to the complexity of collaborations among devices, an effective mechanism is required to infer each device’s behavior within a time slot based on inter-device collaborations. Second, the behavior features of a device across time slots are correlated and display both forward and backward temporal dependencies, requiring a fusion mechanism to capture these dependencies for accurate long-term behavioral assessment. Some works used Long Short-Term Memory (LSTM)-based models to aggregate features across time [8]. While LSTM is effective in capturing short-term temporal dependencies, its sequential computation prevents parallel processing. Consequently, as the sequence length grows, its efficiency degrades and its ability to model long-range dependencies becomes limited. Other studies adopted attention-based architectures, such as Transformer, to enhance long-term sequence modeling [9]. However, their quadratic computational complexity with respect to sequence length results in substantial resource demands and latency, making them impractical for long-term behavioral evaluation.

Mamba, introduced in 2023 [10], is a neural network frame-work designed to efficiently handle long sequential data. Leveraging the selective state space mechanism (SSM), it adaptively identifies and preserves critical state information, allowing the model to effectively capture both short-term and long-term dependencies in a bidirectional manner. Its linear computational complexity enables the processing of extended sequences with high efficiency, making Mamba a suitable solution for long-term behavioral evaluation in this work.

Based on the aforementioned challenges and the advantages of Mamba, this work proposes a bidirectional Mamba-enabled (BM) long-term behavioral evaluation model. The long time period is first divided into multiple short time slots, and a collaboration graph among devices is constructed for each slot based on historical collaboration records. Within each graph, devices' historical reliability is aggregated according to their collaboration relationships, capturing short-term behavioral characteristics. Furthermore, the bidirectional Mamba performs forward and backward scans over the historical reliability across all time slots to produce accurate long-term assessments. The main contributions of this paper are summarized as follows.

• We develop a long-term behavioral evaluation framework that fully leverages devices’ historical behavior to yield accurate assessments for collaborator selection.

• We design an effective mechanism to integrate devices’ historical reliability based on their collaboration relationships within each short time slot, thereby accurately obtaining short-term behavior assessments.

• We design a bidirectional Mamba-based cross-time-slot fusion model that efficiently captures the temporal dependencies in device behavior over long periods, overcoming the low-efficiency issues of conventional sequential models when handling long sequences.

References (17)

  • Hypergraph-aided task-resource matching for maximizing value of task completion in collaborative IoT systems
  • Perception task offloading with collaborative computation for autonomous driving
  • Adaptive capacity task offloading in multi-hop D2D-based social industrial IoT
  • Chain-of-trust: A progressive trust evaluation framework enabled by Generative AI
  • MTES: An intelligent trust evaluation scheme in sensor-cloud-enabled industrial Internet of Things
  • Secure and reliable routing protocols for heterogeneous multihop wireless networks
  • Malicious node detection in wireless weak-link sensor networks using dynamic trust management
  • A trust management model for IoT devices and services based on the multi-criteria decision-making approach and deep long short-term memory technique
  • TrustGuard: GNN-based robust and explainable trust evaluation with dynamicity support
  • Mamba: Linear-Time Sequence Modeling with Selective State Spaces
  • Transceiver energy consumption models for the design of low power wireless sensor networks
  • Networked physical computing: A new paradigm for effective task completion via hypergraph aided trusted task-resource matching (opens the publisher in a new tab)
  • Energy-optimal mobile application execution: Taming resource-poor mobile devices with cloud clones
  • DyGMamba: Efficiently modeling long-term temporal dependency on continuous-time dynamic graphs with state space models
  • DyG-Mamba: Continuous state space modeling on dynamic graphs
  • Medley: Predicting social trust in time-varying online social networks
  • QS-Trust: An IoT ecosystem security model incorporating quality of service and social factors for trust assessment