Skip to main content
. 2026 Jan 8;26(2):408. doi: 10.3390/s26020408
Algorithm 1: Adaptive Bridge Controller (ABC)
[1] Input: Self-denoised tensors (Fm),
Mid-level semantic tensors (Sm)
m  {L, C }
[2] Output: Semantic guidance for CMD //Flow from clean sensor to noisier sensor
1: begin ABC module
2: for each input do
3: Common latent space
4: Hm=W[FmSm] m  L, C 
5: Bidirectional Cross-attention //Parallel operation
6: ALC=Softmax(HLWQ)(HCWK)TdkHCWV
7: ACL=Softmax(HCWQ)(HLWK)TdkHLWV
8: Calculate reliability scores for both modalities
9:        RL= cos(HL, ACL) //Reliability for LiDAR
10:        RC=cos(HC, ALC) //Reliability for Camera
11:        ΔR=|RLRC| //Reliability difference
12:        g=σ(M(ΔR)) //gating function
13:       if g > τ then //LiDAR is more reliable
14:       guidance mode ← “LiDAR to Camera” //LiDAR guides Camera
15:       semantic tensor ← SL //LiDAR semantic tensor as cleane
16:       noisy tensor ← FC //Camera as noisy modality
17:    else
18:           guidance mode ← “Camera_to_LiDAR” //If Camera is more reliable
19:       semantic tensor ← SC //Use Camera semantic tensor
20:             noisy tensor ← FL //LiDAR is noisy
21:    end if
22:       The guidance (semantic flow decision)
23:       Guide=LC,g>τCL,gτ
24:       return guidance
25: end for
26: End