The automatic defects detection for solar cell electroluminescence (EL) images is a challenging task, due to the similarity of defect features and complex background features. To address this problem, a novel Complementary Attention Network (CAN) is designed by connecting the novel channel-wise attention subnetwork with spatial attention subnetwork sequentially, which adaptively suppresses the background noise features and highlights the defect features simultaneously by employing the complementary advantage of the channel features and spatial position features. In CAN, the novel channel-wise attention subnetwork applies convolution operation to integrate the concatenated and discriminative output features extracted by Global Average Pooling (GAP) layer and Global Max Pooling (GMP) layer, which can make fully use of these informative features. Furthermore, a Region Proposal Attention Network (RPAN) is proposed by embedding CAN into Region Proposal Network (RPN) in Faster R-CNN to extract more refined defective region proposals, which is used to construct a novel end-to-end Faster RPAN-CNN framework for detecting defects in raw EL image. Finally, some experimental results on a large-scale EL dataset including 3629 images, 2129 of which are defective, show that the proposed method performs much better than other methods in terms of defects classification and detection results in raw solar cell EL images.
Highway ramp merging is a safety-critical interaction for automated-vehicle validation because gap acceptance, longitudinal control, and lane-changing responses are coupled within a short time horizon. This paper presents a rule-distillation framework in which a large language model (LLM) serves only as an offline calibrator of a compact, interpretable rule expert: the model receives scalar replay statistics and proposes bounded updates of three rule parameters, every candidate is verified by closed-loop simulation, and the accepted rule expert is re-executed under legal-action masking and safety filtering to produce feasible demonstrations for an adversarial ramp actor, which is then fine-tuned by multi-agent reinforcement learning on a fixed scenario-replay library. On the training-distribution library, the distilled adversary reaches the highest evaluation return and reward-collision rate of the three schemes. This advantage only partly carries over to 150 held-out scenarios, where its reward-collision rate becomes indistinguishable from that of training from scratch (42.7% against 40.7%, overlapping intervals) while its evaluation return and its rate of successfully induced evasive responses remain higher. Against random-search and Bayesian-optimization calibrators evaluated under the same parameter ranges, score and simulation budget, the LLM attains a comparable calibration score with roughly one third of the closed-loop simulations and with a smaller run-to-run spread, but it is not a better global optimizer at the full budget, so it is best characterized as a sample-efficient and low-variance calibrator. The results indicate that verified rule calibration provides effective initialization for adversarial reinforcement learning within the evaluated simulation setting.