arXiv:2609.08729cs.AISep 2026

Manuscript Offprint

arXiv:2609.08729

Application of curiosity driven exploration methods for hardware interference identification

Ludovic Matar, Clement Moulin-Frier, Pierre-Yves Oudeyer

Abstract

The transition from single-core to multi-core architectures in safety-critical embedded systems introduces significant challenges due to inter-core interference caused by contention for shared hardware resources. Such interference affects execution times and complicates the verification of strict temporal requirements, particularly in domains such as avionics where standards require comprehensive identification of interference sources. Existing interference analysis approaches, whether manual or model-based, struggle to capture the full range of behaviors arising from the complex interactions among micro-architectural components. In this paper, we frame multi-core interference analysis as the exploration of a complex system behavior space. We propose the use of curiosity-driven exploration algorithms from artificial intelligence to systematically and efficiently cover the space of possible interference behaviors. Using a simulator-based environment, we show that the proposed approach achieves broader and more uniform behavioral coverage within a limited experimental budget compared to traditional pseudo-random program generation methods.

Keywords: Machine learning, Real-time application, Interference Analysis, Curiosity-Driven Learning

1 Introduction

The shift from single-core to multi-core architectures is essential in safety-critical embedded systems in multiple domains, such as aerospace and automotive, driven by both the need to enhance processor performance for increasingly demanding applications and adaptation to recent technology. However, this transition introduces new complexities due to tasks running in parallel competing for shared resources; particularly, hardware contention issues known as inter-core interference. As the occurrence of interference has a consequence on the execution time, the use of multi-core processors in critical real-time systems represents a challenge. Indeed, temporal requirements with high levels of confidence have to be met. In the avionics domain, the AMC 20-193 standard requires identifying all sources of interference that can occur when executing tasks in parallel and addressing them.

Figure

Figure 1: Common computer memory hierarchy [18]

Systems on chips face a general trade-off between the necessary time to access information stored in a memory resource and their storage capacity. As an element is closer to the CPU, its access time and storage capacity are smaller. This principle is illustrated in Figure 1. Because they are directly on the CPU, registers typically serve information almost instantly. Their storage capacity is very small, and only essential information is stored. When a core treats a memory instruction, it requests the main memory by default. However, the main memory often operates orders of magnitude slower than the CPU. Thus the cache, namely random static memory locates between the registers and the main memory. It has larger latencies than the registers, but remains considerably faster than main memory. Moreover, it has a higher storage capacity than the registers but smaller than the main memory. It stores areas of the main memory that are the most likely to be referenced. The main memory consists of DRAM cells that offer a great storage capacity. Therefore, there may be a noticeable slowdown each time the CPU needs to access the main memory. As a consequence of this organization, competition for accessing stored data and instructions within shared caches and shared memory between CPU cores increases the execution time, and thus creates potential interference channels.

Definition 1 Interference is a phenomenon such that, for identical initial conditions, the execution time of an application S1S_1 running in isolation (S1,−S_1, -) on a platform differs from the execution time of S1S_1 running with an application S2S_2 on the platform (S1,S2S_1, S_2).

Interference arises from contention on shared resources, e.g., when multiple cores compete to allocate information in cache or memory. Another case is the competition for accessing a shared bus, resulting in bandwidth limitations and delays in data transfer. To summarize, we can distinguish distinct categories of interference occurring because of contention on shared resources [20]:

  • Cache contention: When multiple cores compete for space in shared caches, evicting each other's data and causing cache misses.

  • Memory contention: When multiple cores access a shared memory simultaneously (such as the main memory), leading to a bottleneck due to limited memory bandwidth.

  • Bus contention: When cores compete for access to a shared bus, resulting in bandwidth limitations and delays in data transfer.

  • I/O Contention: When multiple processes try to perform I/O operations at the same time, leading to delays and reduced I/O performance.

As there are multiple types of interference, there exist various types of interference sources to discover. In the following, we will briefly present existing methods that tackle real-time system challenges.

Various methods have been proposed to identify mechanisms that are sources of interference [14, 6, 8]. Classic interference analysis methods are either manual and empirical approaches or model-based approaches. The first ones involve manually analyzing the hardware documentation or further characterizing the hardware through experiments and measurements [3, 13, 22, 8, 16]. The others involve identifying interference from a model of the system through two principles: (1) capturing the hardware-level knowledge about the system to produce a model, and (2) using an analyzer tool which identifies the interference channels from the model [6, 2, 5]. Classical approaches to interference identification rely heavily on analyzing hardware datasheets, which are often large [17], complex, incomplete, or inconsistent. This makes the process difficult and error-prone, leading to uncertain results and possibly missed interference channels. This can lead, for example, to creating oversimplified models or test cases, resulting in missed interference scenarios or channels [7].

While existing approaches have enabled better anticipation of potential sources of interference, they remain limited in their ability to cover the entire space of possible behaviors of multi-core processor systems. Interference patterns arise from the complex non-linear interactions between a large number of micro-architectural components. In consequence, they are extremely sensitive to small variations in the concurrent programs that are being executed, which strongly limits the ability to predict the behavior of the systems analytically. Moreover, programs that are generated with pseudo-random procedures are unlikely to cover the entire space of possible behaviors.

In this sense, multi-core architectures can be considered complex systems.

A complex system is a system consisting of multiple entities interacting non-linearly with each other, giving rise to emergent phenomena that are difficult to predict [19]. Examples of complex systems in Nature are water molecules crystallizing into snowflakes, collective animal behavior forming complex patterns (e.g., bird flocks), or chains of amino acids forming complex 3D protein structures. To study such systems, scientists often need to build a model mapping their input parameters (e.g., a sequence of amino acids) to their corresponding observed behavior (e.g., the resulting 3D shape of a protein). Complex systems often suffer from so-called butterfly effects, where two slightly different initial conditions do not necessarily induce similar outcomes. Such systems also usually exhibit attractor effects, that is, a tendency of the system to evolve towards a particular set of states. Understanding and predicting the behavior of complex systems often requires uncovering the diversity of behaviors they can produce. This is usually a challenging problem, in particular when the parameter space is high-dimensional and when the mapping from the parameter space to the behavior space is highly non-linear. In particular, random exploration of the parameter space is usually inefficient for uncovering the diversity of potential behaviors in most complex systems.

Recently, contributions in AI have proposed algorithms able to efficiently cover the space of behaviors of any complex system [9], namely, curiosity-driven exploration algorithms, which belong to the family of automated discovery algorithms. These algorithms have proven to be very efficient at uncovering a wide diversity of behaviors in many complex systems from different scientific domains, including computer science [10], physics [12], chemistry [15] and biology [11]. In this paper, we propose, for the first time to our knowledge, to apply these algorithms to the problem of discovering interference patterns in multi-core processor systems. For this aim, we use a multi-core processor simulator, enabling us to prototype our methods without having to deal with the complexity of a real hardware architecture.

We show that our proposed method enables better discovery of the space of possible behaviors of the system with a limited experimental budget, compared to more standard methods based on the pseudo-random generation of programs.

  • In section 1, we recall general principles regarding interference.

  • Then in section 2, we highlight previous related AI works on real-time systems.

  • In section 4, we unfold our exploration strategy step by step.

  • In section 5, we present a summary of our findings, with results of diversity measures.

References (22)