XZXiaodong Zhang

Xiaodong Zhang

*This is an algorithmically generated author record based on publicly available information.

Current Organizations / Institutes

The organizations/institutes from the scholar's latest article

Previous Organizations / Institutes

The organizations / institutes from the scholar's other articles in the past ten years


Xiaodong Zhang has a total of 36 co-authors. Here are the top co-authors by number of shared publications:


Latest Publications

  • Open Access

    Exposure-Centric Robustness Analysis of Automated Driving Systems in Adversarial Multi-Agent Environments

    by Songyang Yan, Bin Qi, Xiaodong Zhang, Shan Zhu, Lei Wang, Lihui Tang, Jie Zhang, Qi Zhang, Kexin Wen, Ming Fan, et al.

    Assessing the security and safety robustness of Automated Driving Systems (ADS) requires more than simulation mileage: rare semantic combinations of surrounding-agent behaviors and environmental context create blind spots that expose brittle planning decisions. We propose SPEC , an exposure metric characterizing how extensively an ADS's planning response is exercised across vehicle state, environment, and interaction criticality. SPEC is computed over a unified per-scene abstraction, HSR (Holistic Scene Representation) , a digital fingerprint for forensic analysis of behaviors and failure patterns. Across over one million scenario runs, HSR yields more consistent behavioral partitions and SPEC correlates strongly with the discovery of distinct failure manifestations. To operationalize exposure discovery, we introduce COAX ( C ollective O rchestration of A gents for e X ploration), an automated adversarial orchestrator that adaptively coordinates surrounding agents to steer the ADS into interaction regimes whose HSR fingerprints are absent from the accumulated corpus, thereby broadening SPEC-measured exposure. Under the same simulation budget, COAX uncovers up to 556% more distinct failure manifestations than baselines across multiple ADS platforms; fine-tuning downstream agents on the corpora it generates reduces collision rates by up to 75–78%. Together, SPEC and COAX provide a scalable framework for robustness assessment and vulnerability-oriented exposure discovery in ADS planning under multi-agent interaction.

  • Open Access

    CapCo: Automating Carla-Apollo Co-Simulation and Scenario Fuzzing

    by Xiaodong Zhang, Songyang Yan, Ming Fan, Zijiang Yang

    Testing industrial-grade autonomous driving systems (ADSs) such as Baidu Apollo demands scalable, high-fidelity simulation across diverse and high-risk traffic scenarios. From a software engineering perspective, this motivates reproducible and automatable test infrastructures that support regression testing at scale. However, current simulation toolchains either rely on deprecated platforms (e.g., LGSVL) or require extensive manual setup, hindering repeatability and fuzzing-based evaluation. We present CapCo, an open-source framework that automates co-simulation between Apollo and the Carla simulator, enabling closed-loop, scenario-based testing at scale. CapCo automates the full workflow—from launching Apollo and configuring scenarios to executing and monitoring tests—without manual intervention, and integrates Apollo into the Carla Leaderboard to ensure synchronized communication and real-time feedback. CapCo supports multiple fuzzing strategies and includes a curated set of high-risk traffic scenarios, with a user-friendly interface for configuring experiments, tracking progress, and analyzing results. Video: https://youtu.be/CUPHQfnTVss. Code: https://github.com/TayYim/Capco.

  • Open Access

    ConFixer: Robustness Semantics Based Configuration Bug Fixing for Automated Driving Systems

    by Xiaodong Zhang, Songyang Yan, Zijiang Yang

    Automated Driving Systems (ADSs) coordinate multiple modules (e.g., perception, prediction, planning, and control) and expose a large configuration surface that engineers must tune for different platforms and operational conditions. In industrial practice, misconfigured parameters are a common source of unsafe or law-violating behaviors, yet fixing such configuration bugs remains largely overlooked. Debugging is difficult because parameter effects propagate through long, nonlinear pipelines (often involving learning-based components), and manual trial-and-error provides little guidance in high-dimensional spaces while risking regressions in previously passing scenarios. We propose ConFixer , an automated approach for repairing ADS configuration bugs against formal correctness specifications, including traffic laws encoded in signal temporal logic (STL). ConFixer uses robustness semantics to derive gradient-like signals that localize bug-relevant parameters and guide fine-tuning toward compliance. To support adoption in scenario-based validation workflows, ConFixer evaluates candidate fixes on large scenario suites and prioritizes regression-safe solutions. Our evaluation on Baidu Apollo with the LGSVL simulator shows that ConFixer fixes 173 configuration bugs without introducing regressions.

  • Open Access

    On-Demand Scenario Generation for Testing Automated Driving Systems

    by Songyang Yan, Xiaodong Zhang, Kunkun Hao, Haojie Xin, Yonggang Luo, Jucheng Yang, Ming Fan, Chao Yang, Jun Sun, Zijiang Yang

    The safety and reliability of Automated Driving Systems (ADS) are paramount, necessitating rigorous testing methodologies to uncover potential failures before deployment. Traditional testing approaches often prioritize either natural scenario sampling or safety-critical scenario generation, resulting in overly simplistic or unrealistic hazardous tests. In practice, the demand for natural scenarios (e.g., when evaluating the ADS's reliability in real-world conditions), critical scenarios (e.g., when evaluating safety in critical situations), or somewhere in between (e.g., when testing the ADS in regions with less civilized drivers) varies depending on the testing objectives. To address this issue, we propose the On-demand Scenario Generation (OSG) Framework, which generates diverse scenarios with varying risk levels. Achieving the goal of OSG is challenging due to the complexity of quantifying the criticalness and naturalness stemming from intricate vehicle-environment interactions, as well as the need to maintain scenario diversity across various risk levels. OSG learns from real-world traffic datasets and employs a Risk Intensity Regulator to quantitatively control the risk level. It also leverages an improved heuristic search method to ensure scenario diversity. We evaluate OSG on the Carla simulators using various ADSs. We verify OSG's ability to generate scenarios with different risk levels and demonstrate its necessity by comparing accident types across risk levels. With the help of OSG, we are now able to systematically and objectively compare the performance of different ADSs based on different risk levels.


  • Effectively Detecting Software Vulnerabilities via Leveraging Features on Program Slices

    by Xiaodong Zhang, Haoyu Guo, Zhiwei Zhang, Guiyuan Tang, Jun Sun, Yulong Shen, Jianfeng Ma

    Detecting software vulnerabilities has become increasingly challenging with the growing size and complexity of modern software. Traditional static and dynamic analysis methods often suffer from poor accuracy and reliance on expert knowledge. In recent years, deep learning has shown great promise in this domain due to its ability to automatically learn subtle features from software data. However, existing deep-learning-based methods face two main limitations: 1) difficulty in effectively processing long source code sequences, leading to suboptimal feature representation and 2) insufficient exploration and utilization of common vulnerability features, which hampers further performance improvements. To address these challenges, we propose DV-LVF, a novel deep-learning-based vulnerability detection method that combines program slicing with gated recurrent unit (GRU) embedding techniques to enhance feature representation. Additionally, we introduce a vulnerability dictionary (vulDict) that explicitly captures and leverages common vulnerability patterns to improve detection accuracy. Our evaluation demonstrates that DV-LVF outperforms state-of-the-art methods, achieving accuracies of 98.59% at the function level and 99.27% at the statement level. Notably, DV-LVF successfully identifies 11 previously unknown vulnerabilities across six open-source software projects, including GPAC, Vim, NanoMQ, PJSIP, Libmobi, and Radare2.


  • Open Access

    REDriver: Runtime Enforcement for Autonomous Vehicles

    by Yang Sun, Christopher M. Poskitt, Xiaodong Zhang, Jun Sun

    Autonomous driving systems (ADSs) integrate sensing, perception, drive control, and several other critical tasks in autonomous vehicles, motivating research into techniques for assessing their safety. While there are several approaches for testing and analysing them in high-fidelity simulators, ADSs may still encounter additional critical scenarios beyond those covered once they are deployed on real roads. An additional level of confidence can be established by monitoring and enforcing critical properties when the ADS is running. Existing work, however, is only able to monitor simple safety properties (e.g., avoidance of collisions) and is limited to blunt enforcement mechanisms such as hitting the emergency brakes. In this work, we propose REDriver, a general and modular approach to runtime enforcement, in which users can specify a broad range of properties (e.g., national traffic laws) in a specification language based on signal temporal logic (STL). REDriver monitors the planned trajectory of the ADS based on a quantitative semantics of STL, and uses a gradient-driven algorithm to repair the trajectory when a violation of the specification is likely. We implemented REDriver for two versions of Apollo (i.e., a popular ADS), and subjected it to a benchmark of violations of Chinese traffic laws. The results show that REDriver significantly improves Apollo's conformance to the specification with minimal overhead.


  • Tell You a Definite Answer: Whether Your Data is Tainted During Thread Scheduling

    by Xiaodong Zhang, Zijiang Yang, Qinghua Zheng, Yu Hao, Pei Liu, Ting Liu

    With the advent of multicore processors, there is a great need to write parallel programs to take advantage of parallel computing resources. However, due to the nondeterminism of parallel execution, the malware behaviors sensitive to thread scheduling are extremely difficult to detect. Dynamic taint analysis is widely used in security problems. By serializing a multithreaded execution and then propagating taint tags along the serialized schedule, existing dynamic taint analysis techniques lead to under-tainting with respect to other possible interleavings under the same input. In this paper, we propose an approach called DSTAM that integrates symbolic analysis and guided execution to systematically detect tainted instances on all possible executions under a given input. Symbolic analysis infers alternative interleavings of an executed trace that cover new tainted instances, and computes thread schedules that guide future executions. Guided execution explores new execution traces that drive future symbolic analysis. We have implemented a prototype as part of an educational tool that teaches secure C programming, where accuracy is more critical than efficiency. To the best of our knowledge, DSTAM is the first algorithm that addresses the challenge of taint analysis for multithreaded program under fixed inputs.


  • Open Access

    Debugging Multithreaded Programs as if They Were Sequential

    by Xiaodong Zhang, Zijiang Yang, Qinghua Zheng, Yu Hao, Pei Liu, Lechen Yu, Ting Liu

    Debugging multithread programs is extremely difficult because the basic assumption that underlies sequential program debugging, that is, the program behavior is deterministic under a fixed input, is no longer valid due to the nondeterminism attributed to thread scheduling. It is because the programs behavior is non-deterministic due to the nondeterminism of parallel execution, which makes debugging or testing multithreaded programs extremely difficult. In this study, we propose a proactive debugging method to restore this basic assumption so that programmers can debug multithreaded programs as if they were sequential. Our approach is based on the synergistic integration of symbolic analysis and dynamic analysis techniques. In particular, symbolic analysis investigates the program behavior under the same input to search whether there is a thread schedule would trigger a bug or a not-yet-explored path. Dynamic analysis is to execute these new paths with the guide of the generated thread schedules, thereby further guiding the symbolic analysis. The net effect of applying this feedback loop is a systematic and complete coverage of the program behavior under a fixed test input. We implement the proposed approach in a prototype tool called Proactive-Debugger. Our experiments show that Proactive-Debugger outperforms both ESBMC and Maple, which are two powerful and well-known testing tools for failure detection in multithreaded programs.


  • Low-power weighted random pattern testing

    by Xiaodong Zhang, Wenlei Shan, K. Roy

    Oftentimes, the power dissipation during the test mode far exceeds the power ratings of the normal operation mode. Hence, there is a need to reduce power during the test mode so that power ratings are not violated and chips do not get burnt during the application of test. Power consumption during built-in-self-test (BIST) operation can be minimized while achieving high fault coverage. Simple measures of observability and controllability of circuit nodes are proposed based on primary input signal probability (probability that a signal is logic ONE). Such measures help determine the testability of a circuit. We developed a tool, POWERTEST, which uses a genetic algorithm based search to determine optimal probability sets (signal probabilities or input signal distribution) at primary inputs to tradeoff test time versus power dissipation and fault coverage. The inputs conforming to the primary input probability-activity sets can be generated using cellular automata or linear feedback shift register (LFSR). We observed that a single input distribution (or weights) may not be sufficient for some random-pattern resistant circuits, while multiple distributions consume larger area. As a tradeoff, two distributions have been used in our analysis. Results on ISCAS benchmark circuits show that power reduction of up to 94.86% and energy reduction of up to 99.93% can be achieved (compared to equi-probable random-pattern testing) while achieving high fault coverage