Next Article in Journal
A Geometric Approach towards Inverse Kinematics of Soft Extensible Pneumatic Actuators Intended for Trajectory Tracking
Previous Article in Journal
Optimization of Signal Timing for Urban Expressway Exit Ramp Connecting Intersection
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Linguistic Explanations of Black Box Deep Learning Detectors on Simulated Aerial Drone Imagery

Department of Electrical Engineering and Computer Science, University of Missouri, Columbia, MO 65211, USA
*
Author to whom correspondence should be addressed.
Sensors 2023, 23(15), 6879; https://doi.org/10.3390/s23156879
Submission received: 15 June 2023 / Revised: 21 July 2023 / Accepted: 27 July 2023 / Published: 3 August 2023
(This article belongs to the Section Sensing and Imaging)

Abstract

:
Deep learning has become increasingly common in aerial imagery analysis. As its use continues to grow, it is crucial that we understand and can explain its behavior. One eXplainable AI (XAI) approach is to generate linguistic summarizations of data and/or models. However, the number of summaries can increase significantly with the number of data attributes, posing a challenge. Herein, we proposed a hierarchical approach for generating and evaluating linguistic statements of black box deep learning models. Our approach scores and ranks statements according to user-specified criteria. A systematic process was outlined for the evaluation of an object detector on a low altitude aerial drone. A deep learning model trained on real imagery was evaluated on a photorealistic simulated dataset with known ground truth across different contexts. The effectiveness and versatility of our approach was demonstrated by showing tailored linguistic summaries for different user types. Ultimately, this process is an efficient human-centric way of identifying successes, shortcomings, and biases in data and deep learning models.

1. Introduction

A trained object detection model may perform well under circumstances that are similar to its training and validation data. However, current generation artificial intelligence (AI) and machine learning (ML) do not yet behave well in new and novel scenarios that deviate from training. Identifying the limitations and capabilities of a black-box AI/ML model is an important, timely, relevant, and challenging task. Our aim was two-fold. First, we desired a human-centric process for extracting tailored linguistic statements for eXplainable AI (XAI) and domain knowledge discovery. Second, we desired a human-free solution that leverages recent advancements in text/natural language-based generative AI and procedural simulation. The objective was a closed loop process for automatic model search and refinement. Figure 1 presents an overview of these two complementary yet competing goals.
Recent developments in large language models (LLMs) have led to groundbreaking new tools. LLMs are AI models trained on vast amounts of text data which output human-like text responses. Many of the highest performing models use extensions of the Transformer neural network architecture [1]. Although language models have existed for quite some time, the relatively recent drastic increase in scale, along with techniques for zero-shot learning and reinforcement learning from human feedback have resulted in unprecedented breakthroughs [2,3,4]. Modern LLMs have been shown to preform exceedingly well in a number of tasks including translation, writing essays, creating poetry, code generation, and summarization [5,6,7,8,9]. While the output from an LLM is far from perfect, it is sometimes preferred over human generated responses [10]. In the current article, we demonstrate a hybrid approach which combines more traditional machine generated linguistic explanations of an object detector with an LLM to yield an improved user-friendly report. Although LLMs are being researched for understanding and explaining neural networks themselves [11], these methods are not yet mature enough to be trusted in many contexts. Often, LLMs can “hallucinate” poor responses [12] that are difficult to explain and result in reduced trust in a system. It is also not currently clear how exactly LLM provides explanations and, hence, whether they should be trusted. As a direct result, we opted for a more transparent and explainable approach that seeks to reduce the weaknesses associated with both approaches. Linguistic summarization is fully explainable but it results in a relatively complete set of explanations in a somewhat artificial language format. On the other hand, an LLM cannot yet compute all explanation tasks nor do we entirely trust the explanations it yields. Herein, linguistic summarization produces a set of user tailored explanations, and an LLM can reduce these explanations into a succinct natural language description.
LLMs can also be used in combination with other techniques to generate novel photorealistic imagery from relatively simple, natural language text prompts [13,14]. Language models can be integrated with sophisticated rendering systems, such as the Unreal Engine, to create diverse photorealistic imagery with a simple set of instructions [15,16]. In this paper, we demonstrated an XAI system for generating textual descriptions of an object detection model. A future goal is to directly use the output from our system when tuned to focus on failure modes to generate novel imagery for training. This forms a closed loop learning system, capable of identifying shortcomings and addressing them to the best of its ability.
Many datasets, e.g., for unmanned aerial vehicles (UAV)/drones, are becoming larger in size and more detailed in terms of attributes. By recording camera, environmental, and target parameters associated with each image, we can automatically conduct a more detailed analysis of model performance than we could with only images and object locations. As the number of data attributes increases, so too does the number of possible descriptions and ways of analyzing the data. Herein, we explored a new and novel process to automatically generate a summarized set of linguistic statements of a black box AI/ML model evaluated on data with many underlying data attributes. The objective was to produce a reduced and tailored set of target explanations surrounding successes, failures, and possible data and model biases. To demonstrate the proposed ideas, an AI/ML model that was trained on real-world data for person detection was evaluated on simulated photorealistic aerial data produced by the Unreal Engine. By using a virtual drone and the Movie Render Queue feature in Unreal Engine, we generated a simulated person dataset. An advantage of simulation is it has access to dense and accurate truth. Figure 2 shows an example scene with a person, a simulated drone, and an image that is captured from the low altitude aerial drone’s point of view.
Linguistic summaries are a family of approaches which automatically create human-interpretable descriptions of datasets. They have been used to detect falls, improve the treatment of elders, forecast time series data, and in many other applications [17,18,19,20,21,22,23,24].
One of the largest challenges in effectively analyzing AI/ML model behavior has been simply obtaining the data. It is very expensive and time consuming to collect and annotate dense and accurate real-world aerial imagery. In many applications, there is a training and/or evaluation bottleneck. Thankfully, due to tools like the Unreal Engine, Unity [25], Apple’s Hypersim [26], and NVIDIA’s Isaac Gym [27], we can now quickly produce large and diverse sets of photorealistic imagery with dense and accurate truth. While these tools are not a perfect simulation or a replacement for the real-world, their level of realism is high and multiple works are already showing how they can be used as is to train and evaluate AI/ML algorithms [28,29,30,31,32,33]. In [34], we showed how this imagery can be used to systematically evaluate model performance. Through simulation, we are able to output very detailed descriptions for each image in our data set. However, this is initially a double edged sword with respect to linguistic summaries. For each new data attribute (e.g., camera elevation angle, solar azimuth angle, altitude, etc.), the number of possible statements describing the data increases exponentially. It is important to note that, while simulation is a large focus of the proposed article, it is not a necessity. If the reader can collect truth in the real-world, that information can be used instead. We primarily focused on simulation because it is a controlled environment within which o study the proposed methods, and exploring its possible role in AI/ML is an open research question.
Let a linguistic statement, S, be a “Linguistic Protoform Summary” of the type “Q R Ys are P”, where Q is a quantifier, R is a qualifier, Ys are data samples and P is a summarizer. A quantifier designates the amount of samples supported by the qualifier and summarizer. One attribute is reserved as the qualifier. It can be a performance metric such as the intersection over union (IOU) or confidence, combined with a fuzzy predicate, F R , (e.g., low, medium, high). Summarizers are constructed from the power set of attributes and their fuzzy-predicates. Let Y = { y 1 , y 2 , , y N } be a dataset of N samples. Objects are represented as a set of attribute–value pairs. As mentioned above, one attribute is reserved as the qualifier while the other K attributes are used to construct the summarizer. An example attribute–value pair for an image would be [“altitude”, 10 m″]. Each attribute, k, has a list of F k fuzzy predicates associated with it. The value of the kth attribute for the nth data sample is denoted as A k ( y n ) . Each attribute and fuzzy-predicate pair has a fuzzy membership function associated with it, μ k , j . This function maps the value that corresponds to each attribute to a fuzzy membership value between 0 and 1. An example of such functions is shown in Figure 3. Use Table 1 as a reference for the notation used in this paper.
The number of possible statements as a factor of the number of quantifiers, J Q , and fuzzy-predicates is J Q J R k = 1 K ( J k + 1 ) . This means moving from three quantifiers and three fuzzy-predicates for the qualifier and three other attributes to four quantifiers with four fuzzy-predicates for the qualifier and five other attributes is an increase from 576 to 50,000 possible statements. Making sense of the huge number of possible descriptions for a system is a major topic of this paper. We factor in linguistic qualities such as truth, focus, complexity, and a user-specified filter we call operational relevancy.
Expressing the state and behavior of a system using natural human language is the goal of linguistic summaries. Yager first introduced an approach to generating linguistic summaries for relational databases using the theory of fuzzy subsets [35]. Statements were created of the form, “Q objects in Y are P”, where Q is known as a “Quantity in Agreement” such as “Few” or “Many”. Y is the dataset being summarized, and P is a description such as “Altitude” or “Camera Elevation Angle”. Fundamental to this approach is the use of fuzzy set theory. For each possible statement, Yager computed a “Truth” value, τ . This truth value is computed by first calculating the degree to which each sample satisfies each summarizer. That value is then passed through the fuzzy membership function for the quantity in agreement of the statement. The “Truth” value is just one of many criteria we can consider when trying to analyze linguistic summaries. Often, we may prefer a few short statements that can efficiently communicate important information, rather than many lengthy, highly specific statements. The complexity of a statement can be measured by either counting the number of linguistic components, or simply counting the number of words or characters in a complete statement to determine its length.
Kacprzyk [36] proposed using five “quality” measures for filtering linguistic summaries—truth, imprecision, covering, appropriateness, and length. Imprecision is a value computed based on how vague or precise each statement is. For example, “On some of the days its somewhat hot” is not as precise as “On every day it is cold”. Coverage is a measure of how much of a dataset is actually represented by a particular statement. A statement such as “High confidence detections at high altitudes” may happen to have a high truth measure but be poorly supported by few samples of data. If we use more than one criteria for filtering linguistic summaries, then we must also consider how to best aggregate them together. It is not a trivial task choosing which combination is best; there are many options [37]. One may use a pessimistic intersection like operator (t-norm) or an optimistic union like operator (t-conorm). An approach proposed by Popek and Katarzyniak is to use an interval-based aggregation [38]. Their method aims to build an internal representation of linguistic concepts to relate different statements. For this application, we chose to use a different approach, described in Section 2.3.
In summary, the current article was focused on generating tailored linguistic statements of black box AI/ML model performance. A simulation was used to build datasets with truth relative to object detection on a low altitude aerial drone. The following sections detail these steps. In Section 2, we outline the structure and process for extracting summaries. In Section 3, experiments and results are provided. Last, we summarize our findings and discuss future work.

2. Theoretical Background

In this section, we formally define our linguistic summary process. Let Y={ y 1 , y 2 , ⋯, y N } be a dataset of N samples. Each sample in our dataset is an image that comes with associated metadata: a list of K + 1 key-value data attributes that describe the sample. (These attributes are either produced automatically as truth in simulation (dense and accurate) or they are approximated in the real-world (a gold standard).) Each of the different data attributes A k also has associated with it a list of J k number of fuzzy-predicates. For all experiments in this paper, we used the data attributes and fuzzy predicates in agreement shown in Table 2. We assumed that an object detector has been trained and evaluated on a set of test samples. For each of the data attributes, we have a set of fuzzy membership functions, μ k , j ( A k ( y n ) ) , which map the values associated with each of the K attributes to each of the fuzzy-predicates for each test sample.

2.1. Generating Statements

Our linguistic summaries are functionally equivalent to the form, “Q R Ys are P”, where Q is a quantifier, e.g., “Few”, “Some”, “Many”, Y is a data set, R is a qualifier, e.g., “Low confidence”, and P is a summarizer, e.g., “Low elevation angle, high altitude”. You may use Figure 4 to serve as an examples statement and its parts. To compute metrics on each summary, we first developed a scheme to enumerate and keep track of our linguistic statements. Let each statement, S, be represented by a fixed length sequence of integers, I ( S ) . Each value in the sequence corresponds to a data attribute. If the value is 0, then that data attribute is not present in the current statement. Otherwise, the integer corresponds to an index in the list of fuzzy-predicates for that data attribute. For example, using the data attributes in Table 2, the sequence, [2, 1, 0, 0, 3, 0] corresponds to the linguistic statement, “Medium confidence, Low Altitude, and High Solar Elevation Angle images”. With this structure, we are able to enumerate all of the possible statements in a compact list of integers. Importantly, we are able to represent complex (e.g., [3, 2, 1, 2, 3, 2] = “High confidence, Medium Altitude, Low Camera Elevation Angle, Left Camera Azimuth Angle, Medium Solar Elevation Angle, Left Solar Azimuth Angle images”), highly specific statements just as easily as compact, simpler statements (e.g., [1, 0, 0, 0, 0, 0]→“Low confidence images”). Likewise, we can keep track of the quantifier and qualifier fuzzy-predicate index by appending two more values to the array. Using this framework, all of the possible statements are encoded as a 2D array of integers. The combination of all possible index values and thus statements can be efficiently generated by computing the Cartesian product of the set of index values for each attribute.

2.2. Linguistic Qualities

For each possible linguistic statement used to describe the performance of our detector, there are many different measures of quality we can compute. Depending on the use case, we may care more about statements which are highly accurate but are also relatively simple, or we may want statements that cover most of our data but are not very specific. Tuning the different criteria can help filter and guide results to be more useful. In this paper, we only considered four measures of quality: truth, focus, complexity, and operational relevance.
Probably the most popular measure is the “Truth Value”. This value represents how accurate a statement is with respect to a given dataset. The truth value, τ ( S ) , for each statement is computed according to Equation (1). Statements, which are composed of data attributes and fuzzy-predicate pairs along with a quantifier, can be thought of as composing a fuzzy query on the dataset. Each sample, n, has an aggregate membership value for a given fuzzy query, which is the minimum across the fuzzy membership values to each of the data attributes and fuzzy-predicates defined by the statement, S. We use μ P ( y n ) to denote the membership of the nth sample, to the summarizer, P,
μ P ( y n ) = min k , j I ( s ) μ k , j ( A k ( y n ) ) ,
τ ( Q R Ys are P ) = μ Q n = 1 N μ R ( y n ) μ P ( y n ) n = 1 N μ P ( y n ) .
Another common measure is called “Focus”. The focus value, sometimes called “coverage”, measures how much of the dataset supports a given statement. This can be useful when considering statements which are represented by very few samples. For example, consider the statement, “Many high confidence detections at low elevation angles” and a dataset where only 1 of the 10,000 images has a high membership value to “Low Elevation Angle”. If the image which has a high membership value to “Low Elevation Angle” also has a high membership value to “High Confidence”, then that statement will achieve a high truth value. This creates a problem because the statement explicitly states “Many ⋯ detections ⋯” even though only one image was used to compute the high truth value. Instead, we can also consider the “Focus”, weighing the fact that, in this example, the statement was only supported by a single image out of ten thousand. The focus value, F ( S ) , for each statement is computed as,
F ( Q R Ys are P ) = 1 N i = 1 N μ Q ( μ P ( y i ) μ R ( y i ) ) .
As described above, the number of possible statements increases rapidly with the number of data attributes and quantities in agreement. In addition, the maximum length of a statement also increases, thought not as fast. Cognitive load refers to the amount of working memory required to perform a task [39]. Long statements composed of many attributes are likely to cause a higher cognitive load for a user to understand by requiring more working memory to process than shorter statements. Instead of reporting each and every place that the detector failed, we can summarize the performance in just one simple statement, “Many low confidence detections from the front”. As Kacprzyk stated, through linguistic summaries we hope to provide “intuitively appealing and comprehensible results to the human user” [40]. As such, one goal of linguistic summaries is to provide simple, accurate statements that demand a minimum cognitive load on the reader to understand. To measure the complexity of a summary, C ( S ) , we chose to count the number of components via
C ( Q R Ys are P ) = I ( S ) 0 K ,
where the numerator is the L0 norm, simply counting the number of attribute and fuzzy predicate pairs that are in a given statement. The denominator is the maximum number of attributes in a statement.
Finally, we considered a measure that functions mostly as a linguistic filter, which we call operational relevancy, O ( S ) . For all possible statements of the linguistic summaries, we can define a weight which represents how important that statement is to us. For example, if we are mostly concerned with the failure modes, then we may want to place a relatively high weight on “Many” and “Low Confidences” so that statements describing failures are valued higher. Likewise, we could tune our results to focus mostly on medium and high altitudes by placing weights of [0.2, 1.0, 0.8, 0.1] for altitudes of “Low”, “Medium”, “High”, and “Very High”, respectively. To compute the relevancy for a given summary,
w P = min k , j I ( s ) w k , j ,
O ( Q R Ys are P ) = w Q 1 N n = 1 N w R w P ,
where w k , j is the relevancy weight for the jth fuzzy-predicate for the kth attribute.

2.3. Aggregating Linguistic Qualities

To combine the different measures described above, there are many options. Ultimately, it is up to the user to define which characteristics are most important to them. We proposed one method of combining measures, with some flexibility to balance the measures as needed. For each summary, S, we have four measures: Truth = τ ( S ) , Focus = F ( S ) , Complexity = C ( S ) , and Operational Relevancy = O ( S ) . Before each of the measures we scale their values to be between 0 and 1 across all statements. We can then express relative simplicity as 1 C ( S ) . To combine the measures, we used
V ( S ) = O ( S ) τ ( S ) [ 1 + w F F ( S ) + w C ( 1 C ( S ) ) ] 1 + w F + w C ,
and chose w F and w C to weight statements by how well supported by data or how simple the statements are. These variables tend to be highly correlated in terms of their outcome on resulting summaries. The statements are then ranked according to their final value, V ( s ) , ordered greatest to least. A threshold could be applied to remove summaries which do not meet a minimum value. This aggregation strategy allows us to only present relevant, true statements while taking into account how supported by data and how simple each statement is.

3. Experiments and Results

3.1. Experimental Design, Model, and Dataset

In the preceding sections, a systematic process was outlined to generate linguistic summaries. Now, in this section, this method was applied to summarize the performance of an object detection model (In prior work [41], we showed how an earlier version of our approach can be applied to a publicly available object detection model). This model was trained using real data and is being used to evaluate simulated data with known truth. The training data for this model consisted of a relatively large number of labeled domain specific images captured by a drone at various low altitudes, depicting people at different stand-off distances and off-nadir slant angles. Overall, the resulting model is enigmatic, functioning as a black box. It takes a new image as input and produces predictions in the form of axis-aligned bounding boxes (AABBs), box centers, and associated confidences for the locations of people in the image.
While our primary emphasis lay in a person detector, we also ventured into exploring the training, testing, and evaluation of more unique and infrequent objects like explosive hazards (EH) [16,42,43,44] using both single and multiple modalities (RGB and infrared). It is essential to note that the specific object category, whether it is a person, EH, car, or other, is not the central focus of this article. Rather, our key objective was to showcase the process of gathering and evaluating an object-centric dataset acquired from a low altitude drone. To achieve this, we conducted simulations with different camera, platform, and environmental specifications. The drone equipped with a camera is maneuvered in a hemisphere pattern around the object, capturing data under diverse and varying conditions. This approach provides us with an ideal and controlled means to comprehensively study our AI/ML model. By manipulating and studying individual factors and their combinations, we can gain valuable insights into the model’s performance. Alternatively, if the reader can obtain accurate platform metadata and environment ground truth, real-world data can be used instead of simulated data.
To evaluate model performance, we created a simulated person dataset. We leveraged the Unreal Engine 5.1 and used content from the Epic Marketplace to construct a realistic scene depicting a person in a desert environment. Through the movie render queue, high-quality photorealistic images were obtained, covering a diverse range of conditions. Specifically, four distinct character models were used: light-skinned male, light-skinned female, dark-skinned male, and dark-skinned female. For each character, we generated imagery from eleven different camera azimuth angles, three camera elevation angles, six solar azimuth angles, three solar elevation angles, and ten standoff distances. This setup allows us to capture a wide array of scenarios for evaluation.
Figure 5 shows example imagery from our simulated person dataset. While we chose a relatively empty scene in an arid environment, primarily due to free high-quality photometrically scanned assets, we acknowledge the potential for a more diverse and robust dataset with varied scene conditions in the future. We selected this dataset to limit our analysis to a few variables and to minimize confounding factors. Our objective was a controlled and tractable experiment that can be used to study our linguistic summaries. The reader can clearly add additional objects, introduce occlusion, and other factors relative to their intended goal and application.
Figure 6 shows detector results, showcasing examples of the most confident hits, false alarms, and missed targets. For a more comprehensive understanding, Figure 7 shows the distribution of detection performance on our simulated dataset relative to our different data attributes. This plot serves the dual purpose of helping us validate the linguistic summaries and it acts as a summary in itself.
Figure 7 provides context for the following linguistic statements. The reader can see that the model has a peak average performance somewhere around a standoff distance of 53 m to the object (human). Performance decreases as distance increases, which could be expected as a function of the number of pixels on our target. However, performance drops off faster as the object is closer (thus larger and more pixels) to the camera/drone. This model behavior is more likely a function of the attributes of the labeled data versus a core deficiency in the object detection model. That is, there are little to no observations of this object at close distances to the drone. Therefore, we can derive that the model is sensitive to object scale. Next, Figure 7 indicates performance variation with respect to the relative camera azimuth angle, e.g., we see the human from their front, side, back, etc. Our training dataset had different human poses, but this variables distribution was not uniformly distributed. As such, performance variation could be an indicator of the data or difficulty in recognizing people from different poses. Further analysis would need to be sought to determine the culprit more deeply. Furthermore, solar elevation and azimuth angle create different performances, which changes the overall image intensity and shadows, but its effect looks negligible. Last, and perhaps most dramatically, camera elevation angle has a big impact, with the model performing better at lower angles and dropping off at/near Nadir (overhead). Again, these graphical summarizations of our model’s performance relative to our camera, platform, and environment attributes will help set the stage for understanding our linguistic statements.

3.2. Tailored Summaries

To showcase the flexibility and adaptability of our approach in accommodating individual user preferences, we produced distinct sets of results tailored for two specific users. This demonstration exemplifies how summaries can be customized to meet the unique needs and criteria of different users. By presenting diverse summaries for each user, we underscored the versatility of our method in delivering relevant and personalized information to various stakeholders.
“User A” embodies the role of a research scientist, assigned with the crucial task of comprehending the existing model’s limitations and devising strategies for enhancement. For this user, the primary emphasis lies in scrutinizing the failure cases characterized by numerous low confidence statements. They are entirely at ease with receiving lengthy, detailed statements ( w C = 0 ), provided they are precise and accurate. To optimize each improvement iteration, User A prefers to concentrate solely on the most valid statements, showing little concern for focus and complexity ( w F = 0 as well). Their objective is to extract the most relevant and truthful information from the summaries, enabling them to efficiently prioritize and address the model’s weaknesses in subsequent iterations.
“User B” serves as a non-technical marketing designer, responsible for presenting the most favorable aspects of the current model to stakeholders. Their key focus lies in success cases distinguished by numerous high confidence statements. As a marketing professional, User B prefers simple and easily understandable statements (high w C ), prioritizing clarity and accessibility in the summaries. In this context, User B is willing to accept a trade-off where some true and operationally relevant statements may not make up a substantial portion of the dataset (low w F ). Their objective is to showcase the model’s strengths in the most user-friendly manner, highlighting the positive outcomes and confidently conveying the model’s capabilities to stakeholders.

3.3. Results

To offer in-depth insights into the evaluations tailored for each user, we present the results of running the linguistic summary separately for User A and User B in Table 3 and Table 4, respectively. These tables provide a comprehensive breakdown of the linguistic summaries specifically generated for each user, precisely catering to their individual preferences and objectives. By presenting user-specific outcomes side by side, we demonstrate the customized nature of our approach, showcasing how linguistic summaries can be fine-tuned to suit the unique needs of different stakeholders.
The summary for User A was tuned to focus on “Many low confidence ⋯” statements. This user wanted statements that are accurate and relevant to them, even if they were very detailed and specific. As a result, the summary produces statements that on average have a simplicity value of only 0.1 , but a very high minimum truth value of a perfect 1.0 . By analyzing the top ranked statement, “Many low confidence close standoff distances front right object azimuth angle high sun elevation angle front right sun azimuth angle detections” against the violin plots and the membership functions in Figure 3, one can confirm that this is an accurate statement, given the information our summarizer had.
The summary for User B was tuned to focus on “Many high confidence ⋯” statements. This user was interested in an accurate and relevant statements as well. However, this user very much preferred compact summaries supported by a relatively large proportion of the data. This resulted in an average simplicity score of 0.64 . However, the minimum truth value was now 0.514 for the lowest ranked statement. The top ranked statement, “Many high confidence far standoff distances low camera elevation angle detections” is accurate. If we look back at the plots, we see that, at far standoff distances, the detector preforms relatively poorly at far standoff distances and there is a large amount of low confidence low camera elevation angle detections as well. Both summaries are valid but differ in important ways based on the user inputted criteria.
An intriguing perspective on the structure of the statements generated by our method is to envision the summary hierarchically. Beginning with the simplest statements and progressively building up to more complex ones, a directed graph can be constructed to represent this hierarchy. It is important to recall that each summarizer is composed of attribute and fuzzy predicate pairs. In our constructed graph, edges connect nodes containing the current node’s string as a sub-string, with only one additional attribute. For example, “Many high confidence detections” would be connected to “Many high confidence detections at medium standoff distances”. This connection scheme ensures that the graph captures the relationships between statements as they become increasingly elaborate. Visualizing this topology in two dimensions is challenging due to the richness and intricacy of the linguistic summaries. As we delve deeper into the hierarchical tree, creating more complex statements, we discover new connections between branches that were not previously evident. This exploration encompasses all possible statements and connections based on their complexity, resulting in a complex and multi-dimensional structure. To help navigate and comprehend this linguistic summary graph, we utilized the Gephi tool, which offers valuable visualization capabilities [45]. See Figure 8 for a visualization of the linguistic summaries for User A. Nevertheless, we are actively exploring alternative methods to construct and visualize the graph in a manner that maximizes its utility and facilitates a better understanding of the summarization process.

3.4. LLM Summaries of Lingustic Protoform Summaries

In recent times, large language models (LLMs) like ChatGPT [46] have gained unparalleled popularity due to their versatility in various applications, including summarization. However, the linguistic summaries produced by our method might still contain redundant phrases. Combining several statements into a simpler yet equally accurate summary could be beneficial. An existing challenge with LLMs is their sensitivity to the exact “prompt” or input text, as evident in studies such as [47,48]. As a quick demonstration of leveraging an LLM to enhance summaries, we fed our statements into ChatGPT using GPT-4 as the base model. Below are the results obtained via the prompt: “The following statements were produced by a linguistic summarizer of an aerial object detection model. Can you please analyze them and reduce any redundancy to produce a more succinct report? Can you summarize it in one sentence while maintaining as much of the content as you can?”
User A: The aerial object detection model identified numerous low confidence detections at close standoff distances, with varied camera elevations, object azimuths, and sun angles, primarily focusing on medium camera elevation and right object azimuth scenarios.
User B: The aerial object detection model demonstrates high confidence in detecting objects at far standoff distances with low and medium camera elevation angles, as well as various object azimuth angles, including front left, back, and left.
This simple experiment merely scratches the surface of the vast possibilities that arise from harnessing LLMs for model summarization. The summaries produced by ChatGPT are remarkably accurate and impressive, especially considering the relatively unstructured input data of natural language followed by machine-produced results. Imagine the potential if we were to run an LLM like ChatGPT offline, enabling us to automate the generation process using highly tailored prompts that incorporate a broader range of input data beyond the ten statements provided here. This approach presents an appealing prospect as it combines the strengths of principled approaches, yielding true and relevant statements, with the added benefit of simple, well-articulated, and user-friendly results, making it a compelling choice for effective summarization.

4. Conclusions and Future Work

In conclusion, this article presented a novel Explainable AI (XAI) approach designed to generate linguistic summarizations of black box models, offering tailored explanations to suit diverse user needs. We applied this approach in the context of explaining an object detector model, e.g., automatic target recognition (ATR), utilized in a low-altitude aerial drone setting. Two very different types of users were demonstrated and example summaries were provided. Moreover, we delved into the potential of large language models (LLM) to further refine and simplify our summaries for human consumption. To demonstrate the efficacy, capabilities, and flexibility of our approach, we conducted an experiment using simulation with known ground truth. Through this experiment, we successfully showcased how our methodology empowers users to gain insights into the inner workings of an AI/ML model and its decision-making process. By producing comprehensive and accountable user-specific linguistic summaries, we have taken a step towards bridging the gap between complex black box models and human interpretable explanations.
With respect to future work, we are keen on further investigating the impact of the underlying evaluation dataset’s distribution on our generated linguistic summaries. It is crucial to approach the dataset selection meticulously, ensuring that the attributes are uniformly distributed throughout the dataset to prevent any artificial biases in the summaries. To address this challenge, we propose two potential solutions. Firstly, one can thoughtfully curate the evaluation dataset, as we have done in our study, ensuring that it encompasses a well-balanced representation of attributes to foster unbiased summaries. Alternatively, we can adapt our technique to handle knowledge gaps or biases that may exist in the distribution of the evaluation dataset. This adaptation would enable us to produce reliable and accurate summaries even under varying dataset conditions.
Moreover, we are interested in exploring alternative aggregation operators and linguistic qualities in pursuit of user multi criteria decision making. By expanding our range of options, we can exercise greater control over the characteristics of the resulting summaries, tailoring them to specific user requirements more effectively.
The graph-based hierarchical structure and the corresponding visualizations have proven invaluable in understanding the data in ways that text summaries alone cannot achieve. These visualizations offer a more intuitive and comprehensive grasp of the summarization process, providing valuable insights into the complex relationships between statements, which may otherwise remain obscured in textual form. Future work looking into interactive processes or combined graphical and text explanations is important.
A highly promising use case that our method opens up for exploration is its integration into a closed-loop machine learning and data generation system. By feeding our linguistic summaries into procedural generation tools, we can generate photorealistic imagery, particularly in scenarios where our model’s performance is subpar. This approach allows us to delve into the inherent difficulty of certain scenarios and gain a deeper understanding of their impact on object detection. For instance, scenarios with less contrast between the target and the background are expected to pose increased challenges in detection, irrespective of the training data. By exploring such scenarios, we can shed light on the underlying factors affecting our model’s performance and develop strategies to overcome these challenges. Our ultimate goal is to develop an automated system capable of achieving exceptional object detection proficiency across diverse scenarios. This system would be self-improving, continuously learning and adapting to changing operating conditions. By combining our linguistic summarization approach with procedural data generation and machine learning, we aim to create an intelligent and agile system that can dynamically enhance its capabilities, staying at the forefront of object detection performance.
Last, we employed simulation to acquire imagery and precise metadata. While our process and results hold valid within this context, we recognize the significance of investigating the impact of metadata errors on the summary generation process. Ensuring robustness in the presence of potential inaccuracies in metadata is an important avenue for further exploration. While our use of fuzzy set theory naturally absorbs some level of error, a precise study and possible extensions might be warranted. Additionally, to maintain accuracy and minimize confounding factors, we deliberately restricted the complexity of our environment. This approach allowed us to focus on producing accurate summaries without overwhelming complexities. However, for future work, it will be essential to broaden our scope and include a more diverse set of variables. By introducing more complex scenes, we can gain a deeper understanding of how our method performs under varied and challenging conditions. This expansion will enable us to assess the generalizability and adaptability of our approach across a wider range of scenarios and applications.

Author Contributions

Conceptualization, All authors; methodology, B.A., D.A. and J.K.; software, B.A.; validation, B.A. and D.A.; writing—original draft preparation, B.A.; writing—review and editing, All authors; visualization, B.A. All authors have read and agreed to the published version of the manuscript.

Funding

This research received no external funding.

Institutional Review Board Statement

Not applicable.

Informed Consent Statement

Not applicable.

Data Availability Statement

Data sharing not applicable.

Conflicts of Interest

The funders had no role in the design of the study; in the collection, analyses, or interpretation of data; in the writing of the manuscript; or in the decision to publish the results.

References

  1. Vaswani, A.; Shazeer, N.; Parmar, N.; Uszkoreit, J.; Jones, L.; Gomez, A.N.; Kaiser, L.U.; Polosukhin, I. Attention is All you Need. In Advances in Neural Information Processing Systems; Guyon, I., Luxburg, U.V., Bengio, S., Wallach, H., Fergus, R., Vishwanathan, S., Garnett, R., Eds.; Curran Associates, Inc.: Granada, Spain, 2017; Volume 30. [Google Scholar]
  2. Kaplan, J.; McCandlish, S.; Henighan, T.; Brown, T.B.; Chess, B.; Child, R.; Gray, S.; Radford, A.; Wu, J.; Amodei, D. Scaling Laws for Neural Language Models. arXiv 2020, arXiv:2001.08361. [Google Scholar]
  3. Larochelle, H.; Erhan, D.; Bengio, Y. Zero-Data Learning of New Tasks. In Proceedings of the 23rd National Conference on Artificial Intelligence, Chicago, IL, USA, 13–17 July 2008; Volume 2, pp. 646–651. [Google Scholar]
  4. Ouyang, L.; Wu, J.; Jiang, X.; Almeida, D.; Wainwright, C.L.; Mishkin, P.; Zhang, C.; Agarwal, S.; Slama, K.; Ray, A.; et al. Training language models to follow instructions with human feedback. arXiv 2022, arXiv:2203.02155. [Google Scholar]
  5. Zhu, W.; Liu, H.; Dong, Q.; Xu, J.; Huang, S.; Kong, L.; Chen, J.; Li, L. Multilingual Machine Translation with Large Language Models: Empirical Results and Analysis. arXiv 2023, arXiv:2304.04675. [Google Scholar]
  6. Franceschelli, G.; Musolesi, M. On the Creativity of Large Language Models. arXiv 2023, arXiv:2304.00008. [Google Scholar]
  7. Li, R.; Allal, L.B.; Zi, Y.; Muennighoff, N.; Kocetkov, D.; Mou, C.; Marone, M.; Akiki, C.; Li, J.; Chim, J.; et al. StarCoder: May the source be with you! arXiv 2023, arXiv:2305.06161. [Google Scholar]
  8. Zhang, T.; Ladhak, F.; Durmus, E.; Liang, P.; McKeown, K.; Hashimoto, T.B. Benchmarking Large Language Models for News Summarization. arXiv 2023, arXiv:2301.13848. [Google Scholar]
  9. Chang, Y.; Wang, X.; Wang, J.; Wu, Y.; Zhu, K.; Chen, H.; Yang, L.; Yi, X.; Wang, C.; Wang, Y.; et al. A Survey on Evaluation of Large Language Models. arXiv 2023, arXiv:2307.03109. [Google Scholar]
  10. Liu, Y.; Fabbri, A.R.; Liu, P.; Radev, D.; Cohan, A. On Learning to Summarize with Large Language Models as References. arXiv 2023, arXiv:2305.14239. [Google Scholar]
  11. Bills, S.; Cammarata, N.; Mossing, D.; Tillman, H.; Gao, L.; Goh, G.; Sutskever, I.; Leike, J.; Wu, J.; Saunders, W. Language Models Can Explain Neurons in Language Models. 2023. Available online: https://openaipublic.blob.core.windows.net/neuron-explainer/paper/index.html (accessed on 3 May 2023).
  12. Mündler, N.; He, J.; Jenko, S.; Vechev, M. Self-contradictory Hallucinations of Large Language Models: Evaluation, Detection and Mitigation. arXiv 2023, arXiv:2305.15852. [Google Scholar]
  13. Ramesh, A.; Pavlov, M.; Goh, G.; Gray, S.; Voss, C.; Radford, A.; Chen, M.; Sutskever, I. Zero-Shot Text-to-Image Generation. In Proceedings of the 38th International Conference on Machine Learning, Virtual Event, 18–24 July 2021; Meila, M., Zhang, T., Eds.; PMLR: Cambridge, MA, USA, 2021; Volume 139, pp. 8821–8831. [Google Scholar]
  14. Rombach, R.; Blattmann, A.; Lorenz, D.; Esser, P.; Ommer, B. High-Resolution Image Synthesis with Latent Diffusion Models. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition (CVPR), New Orleans, LA, USA, 19–20 June 2022. [Google Scholar]
  15. Epic Games. Unreal Engine; Epic Games: Cary, NC, USA, 25 April 2019; Available online: https://www.unrealengine.com (accessed on 14 June 2023).
  16. Kerley, J.; Fuller, A.; Kovaleski, M.; Popescu, P.; Alvey, B.; Anderson, D.T.; Buck, A.; Keller, J.M.; Scott, G.; Yang, C.; et al. Procedurally generated simulated datasets for aerial explosive hazard detection. In Chemical, Biological, Radiological, Nuclear, and Explosives (CBRNE) Sensing XXIII; Guicheteau, J.A., Howle, C.R., Eds.; International Society for Optics and Photonics, SPIE: San Diego, CA, USA, 2022; Volume 12116, p. 1211611. [Google Scholar] [CrossRef]
  17. Wilbik, A.; Keller, J.M.; Alexander, G.L. Linguistic summarization of sensor data for eldercare. In Proceedings of the 2011 IEEE International Conference on Systems, Man, and Cybernetics, Anchorage, AK, USA, 9–12 October 2011; pp. 2595–2599. [Google Scholar] [CrossRef]
  18. Anderson, D.T.; Luke, R.H.; Keller, J.M.; Skubic, M.; Rantz, M.J.; Aud, M. Linguistic summarization of video for fall detection using voxel person and fuzzy logic. Comput. Vis. Image Underst. 2009, 113, 80–89. [Google Scholar]
  19. Kaczmarek-Majer, K.; Hryniewicz, O. Application of linguistic summarization methods in time series forecasting. Inf. Sci. 2019, 478, 580–594. [Google Scholar] [CrossRef]
  20. Jain, A.; Popescu, M.; Keller, J.; Rantz, M.; Markway, B. Linguistic summarization of in-home sensor data. J. Biomed. Inform. 2019, 96, 103240. [Google Scholar] [CrossRef] [PubMed]
  21. Jain, A.; Jiang, T.; Keller, J.M. Impact of the Shape of Membership Functions on the Truth Values of Linguistic Protoform Summaries. In Information Processing and Management of Uncertainty in Knowledge-Based Systems; Carvalho, J.P., Lesot, M.J., Kaymak, U., Vieira, S., Bouchon-Meunier, B., Yager, R.R., Eds.; Springer: Cham, Switzerland, 2016; pp. 204–213. [Google Scholar]
  22. Jain, A.; Keller, J.M. On the computation of semantically ordered truth values of linguistic protoform summaries. In Proceedings of the 2015 IEEE International Conference on Fuzzy Systems (FUZZ-IEEE), Istanbul, Turkey, 2–5 August 2015; pp. 1–8. [Google Scholar] [CrossRef]
  23. Jain, A.; Keller, J.M. Textual summarization of events leading to health alerts. Annu. Int. Conf. IEEE Eng. Med. Biol. Soc. 2015, 2015, 7634–7637. [Google Scholar] [CrossRef] [PubMed]
  24. Jain, A.; Keller, J.M.; Bezdek, J.C. Quantitative and qualitative comparison of periodic sensor data. In Proceedings of the 2016 IEEE-EMBS International Conference on Biomedical and Health Informatics (BHI), Las Vegas, NV, USA, 24–27 February 2016; pp. 37–40. [Google Scholar] [CrossRef]
  25. Juliani, A.; Berges, V.P.; Vckay, E.; Gao, Y.; Henry, H.; Mattar, M.; Lange, D. Unity: A General Platform for Intelligent Agents. arXiv 2018, arXiv:1809.02627. [Google Scholar]
  26. Roberts, M.; Ramapuram, J.; Ranjan, A.; Kumar, A.; Bautista, M.A.; Paczan, N.; Webb, R.; Susskind, J.M. Hypersim: A Photorealistic Synthetic Dataset for Holistic Indoor Scene Understanding; ICCV: Vienna, Austria, 2021. [Google Scholar]
  27. Liang, J.; Makoviychuk, V.; Handa, A.; Chentanez, N.; Macklin, M.; Fox, D. GPU-Accelerated Robotic Simulation for Distributed Reinforcement Learning; PMLR: Cambridge, MA, USA, 2018. [Google Scholar]
  28. Truong, J.; Rudolph, M.; Yokoyama, N.H.; Chernova, S.; Batra, D.; Rai, A. Rethinking Sim2Real: Lower Fidelity Simulation Leads to Higher Sim2Real Transfer in Navigation. In Proceedings of the 6th Annual Conference on Robot Learning, Auckland, New Zealand, 14–18 December 2022. [Google Scholar]
  29. Chebotar, Y.; Handa, A.; Makoviychuk, V.; Macklin, M.; Issac, J.; Ratliff, N.; Fox, D. Closing the Sim-to-Real Loop: Adapting Simulation Randomization with Real World Experience. In Proceedings of the 2019 International Conference on Robotics and Automation (ICRA), Montreal, QC, Canada, 20–24 May 2019; pp. 8973–8979. [Google Scholar] [CrossRef] [Green Version]
  30. Chen, X.; Hu, J.; Jin, C.; Li, L.; Wang, L. Understanding Domain Randomization for Sim-to-real Transfer. arXiv 2022, arXiv:2110.03239. [Google Scholar]
  31. Shrivastava, A.; Pfister, T.; Tuzel, O.; Susskind, J.; Wang, W.; Webb, R. Learning from Simulated and Unsupervised Images through Adversarial Training. In Proceedings of the 2017 IEEE Conference on Computer Vision and Pattern Recognition (CVPR), Honolulu, HI, USA, 21–26 July 2017; pp. 2242–2251. [Google Scholar] [CrossRef] [Green Version]
  32. Akers, J.; Buck, A.; Camaioni, R.; Anderson, D.; Luke, R.; Keller, J.; Deardorff, M.; Alvey, B. Simulated Gold Standard for Quantitative Evaluation of Monocular Vision Algorithms; SPIE: San Diego, CA, USA, 2023. [Google Scholar]
  33. Georgakis, G.; Mousavian, A.; Berg, A.C.; Kosecka, J. Synthesizing Training Data for Object Detection in Indoor Scenes. arXiv 2017, arXiv:1702.07836. [Google Scholar]
  34. Alvey, B.J.; Anderson, D.T.; Yang, C.; Buck, A.; Keller, J.M.; Yasuda, K.E.; Ryan, H.A. Characterization of Deep Learning-Based Aerial Explosive Hazard Detection using Simulated Data. In Proceedings of the 2021 IEEE Symposium Series on Computational Intelligence (SSCI), Orlando, FL, USA, 5–7 December 2021; pp. 1–8. [Google Scholar] [CrossRef]
  35. Yager, R.R.; Ford, K.M.; Cañas, A.J. An approach to the linguistic summarization of data. In Uncertainty in Knowledge Bases; Bouchon-Meunier, B., Yager, R.R., Zadeh, L.A., Eds.; Springer: Berlin/Heidelberg, Germany, 1991; pp. 456–468. [Google Scholar]
  36. Kacprzyk, J.; Zadrożny, S. Linguistic database summaries and their protoforms: Towards natural language based knowledge discovery tools. Inf. Sci. 2005, 173, 281–304. [Google Scholar] [CrossRef]
  37. Xu, Z. Linguistic Aggregation Operators: An Overview; Springer: Berlin/Heidelberg, Germany, 2007. [Google Scholar] [CrossRef]
  38. Popek, G.; Katarzyniak, R.P. Interval-based aggregation of fuzzy-linguistic statements. In Proceedings of the 2013 10th International Conference on Fuzzy Systems and Knowledge Discovery (FSKD), Shenyang, China, 23–25 July 2013; pp. 510–514. [Google Scholar] [CrossRef]
  39. de Jong, T. Cognitive load theory, educational research, and instructional design: Some food for thought. Instr. Sci. 2010, 38, 105–134. [Google Scholar] [CrossRef] [Green Version]
  40. Kacprzyk, J.; Zadrożny, S. Linguistic Data Summarization: A High Scalability through the Use of Natural Language? In Scalable Fuzzy Algorithms for Data Management and Analysis: Methods and Design; IGI Global: Hershey, PA, USA, 2009; pp. 214–237. [Google Scholar] [CrossRef] [Green Version]
  41. Alvey, B.; Anderson, D.; Keller, J. Explainable AI via Linguistic Summarization of Black Box Computer Vision Models. In Proceedings of the IEEE Conference on Artifical Intelligence (CAI), Santa Clara, CA, USA, 5–6 June 2023. [Google Scholar]
  42. Smith, R.E.; Anderson, D.T.; Ball, J.E.; Zare, A.; Alvey, B. Aggregation of Choquet integrals in GPR and EMI for handheld platform-based explosive hazard detection. In Detection and Sensing of Mines, Explosive Objects, and Obscured Targets XXII; Bishop, S.S., Isaacs, J.C., Eds.; International Society for Optics and Photonics, SPIE: San Diego, CA, USA, 2017; Volume 10182, p. 1018217. [Google Scholar] [CrossRef]
  43. Alvey, B.; Ho, D.K.C.; Zare, A. Fourier features for explosive hazard detection using a wideband electromagnetic induction sensor. In Detection and Sensing of Mines, Explosive Objects, and Obscured Targets XXII; Bishop, S.S., Isaacs, J.C., Eds.; International Society for Optics and Photonics, SPIE: San Diego, CA, USA, 2017; Volume 10182, p. 101820E. [Google Scholar] [CrossRef]
  44. Veal, C.; Dowdy, J.; Brockner, B.; Anderson, D.T.; Ball, J.E.; Scott, G. Generative adversarial networks for ground penetrating radar in hand held explosive hazard detection. In Detection and Sensing of Mines, Explosive Objects, and Obscured Targets XXIII; Bishop, S.S., Isaacs, J.C., Eds.; International Society for Optics and Photonics, SPIE: San Diego, CA, USA, 2018; Volume 10628, p. 106280T. [Google Scholar] [CrossRef]
  45. Bastian, M.; Heymann, S.; Jacomy, M. Gephi: An Open Source Software for Exploring and Manipulating Networks. In Proceedings of the International AAAI Conference on Weblogs and Social Media, San Jose, CA, USA, 17–20 May 2009. [Google Scholar]
  46. Shahriar, S.; Hayawi, K. Let’s have a chat! A Conversation with ChatGPT: Technology, Applications, and Limitations. arXiv 2023, arXiv:2302.13817. [Google Scholar] [CrossRef]
  47. Lu, Y.; Bartolo, M.; Moore, A.; Riedel, S.; Stenetorp, P. Fantastically Ordered Prompts and Where to Find Them: Overcoming Few-Shot Prompt Order Sensitivity. arXiv 2022, arXiv:2104.08786. [Google Scholar]
  48. White, J.; Fu, Q.; Hays, S.; Sandborn, M.; Olea, C.; Gilbert, H.; Elnashar, A.; Spencer-Smith, J.; Schmidt, D.C. A Prompt Pattern Catalog to Enhance Prompt Engineering with ChatGPT. arXiv 2023, arXiv:2302.11382. [Google Scholar]
Figure 1. Overview of the process for generating and using linguistic summaries. First a detector is trained, then evaluated. The red box indicates an object declaration from a trained detector. A network of possible statements describing the model is generated and filtered based on user specific criteria. Linguistic qualities are computed and either a final report is given to the user or these statements are used to generate new data and train a new improved model.
Figure 1. Overview of the process for generating and using linguistic summaries. First a detector is trained, then evaluated. The red box indicates an object declaration from a trained detector. A network of possible statements describing the model is generated and filtered based on user specific criteria. Linguistic qualities are computed and either a final report is given to the user or these statements are used to generate new data and train a new improved model.
Sensors 23 06879 g001
Figure 2. Example generated in Unreal Engine 5 of a virtual drone collecting imagery for a target object (person). This image illustrates one instance of collecting data in a hemisphere pattern at different relative poses, standoff distances, and environmental conditions (time of day, fog, etc.). The result is a virtual dataset (complete with ground truth) that is passed to a black-box deep learning object detector trained using real-world data. Finally, the detectors output is passed to our process for generating linguistic summaries of performance.
Figure 2. Example generated in Unreal Engine 5 of a virtual drone collecting imagery for a target object (person). This image illustrates one instance of collecting data in a hemisphere pattern at different relative poses, standoff distances, and environmental conditions (time of day, fog, etc.). The result is a virtual dataset (complete with ground truth) that is passed to a black-box deep learning object detector trained using real-world data. Finally, the detectors output is passed to our process for generating linguistic summaries of performance.
Sensors 23 06879 g002
Figure 3. Plot of the membership functions used to calculate the quality measures and final ranking for each linguistic statement. Each attribute has a number of predicates. For each attribute + predicate pair, there is a membership function that can be tailored to match heuristic knowledge. Triangular functions were used to create a more decisive model. While we chose these functions for this paper, a user can choose whichever functions they desire.
Figure 3. Plot of the membership functions used to calculate the quality measures and final ranking for each linguistic statement. Each attribute has a number of predicates. For each attribute + predicate pair, there is a membership function that can be tailored to match heuristic knowledge. Triangular functions were used to create a more decisive model. While we chose these functions for this paper, a user can choose whichever functions they desire.
Sensors 23 06879 g003
Figure 4. The parts breakdown of a linguistic summary of the form “Q R Ys are P”. Q represents a quantifier. R represents a qualifier. Ys are the data samples in the data set. P is a summarizer. Summarizers and qualifiers are made up of attribute + fuzzy predicate pairs.
Figure 4. The parts breakdown of a linguistic summary of the form “Q R Ys are P”. Q represents a quantifier. R represents a qualifier. Ys are the data samples in the data set. P is a summarizer. Summarizers and qualifiers are made up of attribute + fuzzy predicate pairs.
Sensors 23 06879 g004
Figure 5. Example renders for each of the different character models used in our simulated person dataset. Each model was placed in the same location in an arid landscape environment. Images were captured using the Movie Render Queue in Unreal Engine under a variety of different conditions. Each data attribute that we vary such as standoff distance, camera angle, and solar angle, are recorded for each sample. They are directly used to produce the linguistic summaries.
Figure 5. Example renders for each of the different character models used in our simulated person dataset. Each model was placed in the same location in an arid landscape environment. Images were captured using the Movie Render Queue in Unreal Engine under a variety of different conditions. Each data attribute that we vary such as standoff distance, camera angle, and solar angle, are recorded for each sample. They are directly used to produce the linguistic summaries.
Sensors 23 06879 g005
Figure 6. Plots visualizing the detection results of the object detector on the light-skinned male subset of our simulated person dataset. The confidence is given for the “Hits” and “False Alarms”, and the bounding box size (width × height) is given for each declaration shown. (Top): Highest confidence true positive detections. (Middle): Highest confidence false alarms. Declarations over a target that are too large were scored as incorrect, as well as declarations that did not meet a minimum IOU (intersection over union) threshold. (Bottom): Examples of missed targets, randomly shuffled.
Figure 6. Plots visualizing the detection results of the object detector on the light-skinned male subset of our simulated person dataset. The confidence is given for the “Hits” and “False Alarms”, and the bounding box size (width × height) is given for each declaration shown. (Top): Highest confidence true positive detections. (Middle): Highest confidence false alarms. Declarations over a target that are too large were scored as incorrect, as well as declarations that did not meet a minimum IOU (intersection over union) threshold. (Bottom): Examples of missed targets, randomly shuffled.
Sensors 23 06879 g006
Figure 7. Plots visualizing the performance of the object detector as a factor of the different attributes. The width of each of the “violins” is determined by the number of occurrences of a particular attribute (x-axis) at a particular confidence. The thick black line in the middle of each unique data attribute value represents the interquartile range. The small red dot in the center of each thick black line represents the median. Although it is labeled only as “Confidence” for simplicity, the y-axis is actually IOU * confidence. These visualizations of performance are dictated by scored results, not just raw detector confidence. (Top Left): Standoff distance. (Top Right): Camera azimuth angle. (Bottom Left): Solar elevation angle. (Bottom Middle): Solar azimuth angle (Bottom Right): Camera elevation angle.
Figure 7. Plots visualizing the performance of the object detector as a factor of the different attributes. The width of each of the “violins” is determined by the number of occurrences of a particular attribute (x-axis) at a particular confidence. The thick black line in the middle of each unique data attribute value represents the interquartile range. The small red dot in the center of each thick black line represents the median. Although it is labeled only as “Confidence” for simplicity, the y-axis is actually IOU * confidence. These visualizations of performance are dictated by scored results, not just raw detector confidence. (Top Left): Standoff distance. (Top Right): Camera azimuth angle. (Bottom Left): Solar elevation angle. (Bottom Middle): Solar azimuth angle (Bottom Right): Camera elevation angle.
Sensors 23 06879 g007
Figure 8. Graphic visualization of linguistic summaries for User A. Each node is a statement, sized by the final value assigned to that statement. Each edge is a directed connection from a simple statement to a more complex statement. The color of each node and edge is determined by the complexity of the statement. Each unique complexity value gets a random, unique color. (Left): Overview of all of the possible statements. Most of the statements have a zero value (no operational relevancy for User A, so they are set to the minimum node size. The “Many low confidence ⋯” branch is the only one with non zero values. (Top Right): Zoomed in view of a few nodes and their edges for the relevant branch of this summary. The green node is selected so only its immediately connected nodes are highlighted. (Bottom Right): Zoomed in view of a single node, its connections, and its corresponding statement.
Figure 8. Graphic visualization of linguistic summaries for User A. Each node is a statement, sized by the final value assigned to that statement. Each edge is a directed connection from a simple statement to a more complex statement. The color of each node and edge is determined by the complexity of the statement. Each unique complexity value gets a random, unique color. (Left): Overview of all of the possible statements. Most of the statements have a zero value (no operational relevancy for User A, so they are set to the minimum node size. The “Many low confidence ⋯” branch is the only one with non zero values. (Top Right): Zoomed in view of a few nodes and their edges for the relevant branch of this summary. The green node is selected so only its immediately connected nodes are highlighted. (Bottom Right): Zoomed in view of a single node, its connections, and its corresponding statement.
Sensors 23 06879 g008
Table 1. List of notation used in this paper.
Table 1. List of notation used in this paper.
NotationDescription
QQuantifier (e.g., few, some, many)
RQualifier (fuzzy predicate + attribute)
y n nth data sample
PSummarizer
A k kth data attribute (e.g., altitude)
F k , j jth fuzzy predicate for the kth data attribute
μ fuzzy membership function
Sstatement (Q R Ys are P)
Table 2. Data attribute and predicate pairs considered in this paper.
Table 2. Data attribute and predicate pairs considered in this paper.
Data Attribute ( A k ) J k Fuzzy Predicates ( F k , j )
Altitude4Low, Medium, High, Very High
Camera Elevation Angle3Low, Medium, High
Camera Azimuth Angle5Back, Left, Front Left, Front, Right, Front Right
Solar Elevation Angle3Low, Medium, High
Solar Azimuth Angle5Back, Left, Front Left, Front, Right, Front Right
Confidence3Low, Medium, High
Table 3. Linguistic summary for User A. This user is focused primarily on where the model fails (many low confidence). This user is mostly concerned with statements that are true and relevant, with w c = 0 and w F = 0 . They are comfortable with long, detailed statements. This summary contains the 10 statements with the highest aggregate score.
Table 3. Linguistic summary for User A. This user is focused primarily on where the model fails (many low confidence). This user is mostly concerned with statements that are true and relevant, with w c = 0 and w F = 0 . They are comfortable with long, detailed statements. This summary contains the 10 statements with the highest aggregate score.
RankV(S)O(S)T(S)F(S)1 − C(S)
11.01.01.00.0020.2
Many low confidence close standoff distances front right object azimuth angle high sun elevation angle front right sun azimuth angle detections.
21.01.01.00.0020.0
Many low confidence close standoff distances medium camera elevation angle right object azimuth angle low sun elevation angle right sun azimuth angle detections.
31.01.01.00.0020.0
Many low confidence close standoff distances medium camera elevation angle right object azimuth angle low sun elevation angle front right sun azimuth angle detections.
41.01.01.00.0140.2
Many low confidence close standoff distances medium camera elevation angle right object azimuth angle medium sun elevation angle detections.
51.01.01.00.0040.0
Many low confidence close standoff distances medium camera elevation angle right object azimuth angle medium sun elevation angle front left sun azimuth angle detections.
61.01.01.00.0050.0
Many low confidence close standoff distances medium camera elevation angle right object azimuth angle medium sun elevation angle left sun azimuth angle detections.
71.01.01.00.0050.0
Many low confidence close standoff distances medium camera elevation angle right object azimuth angle medium sun elevation angle back sun azimuth angle detections.
81.01.01.00.0050.0
Many low confidence close standoff distances medium camera elevation angle right object azimuth angle medium sun elevation angle right sun azimuth angle detections.
91.01.01.00.0040.0
Many low confidence close standoff distances medium camera elevation angle right object azimuth angle medium sun elevation angle front right sun azimuth angle detections.
101.01.01.00.0020.0
Many low confidence close standoff distances medium camera elevation angle right object azimuth angle low sun elevation angle back sun azimuth angle detections.
Table 4. Linguistic summary for User B. This user is focused primarily on where the model succeeds (many high confidence). This user is mostly concerned with simple statements that are true, relevant, and make up a significant portion of the data with w c = 1 and w F = 1 . This summary contains the 10 statements with the highest aggregate score.
Table 4. Linguistic summary for User B. This user is focused primarily on where the model succeeds (many high confidence). This user is mostly concerned with simple statements that are true, relevant, and make up a significant portion of the data with w c = 1 and w F = 1 . This summary contains the 10 statements with the highest aggregate score.
RankV(S)O(S)T(S)F(S)1 − C(S)
10.341.00.7820.080.6
Many high confidence far standoff distances low camera elevation angle detections.
20.3341.00.7320.1310.6
Many high confidence far standoff distances medium camera elevation angle detections.
30.3121.00.7560.0290.6
Many high confidence low camera elevation angle front left object azimuth angle detections.
40.3111.00.5760.1280.8
Many high confidence low camera elevation angle detections.
50.3071.00.9520.0180.4
Many high confidence far standoff distances low camera elevation angle front left object azimuth angle detections.
60.2991.00.5220.2030.8
Many high confidence medium camera elevation angle detections.
70.2941.00.7010.0470.6
Many high confidence medium camera elevation angle front left object azimuth angle detections.
80.2921.00.6740.0780.6
Many high confidence medium camera elevation angle back object azimuth angle detections.
90.2911.00.670.0790.6
Many high confidence medium camera elevation angle left object azimuth angle detections.
100.2891.00.5140.1780.8
Many high confidence far standoff distances detections.
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Share and Cite

MDPI and ACS Style

Alvey, B.; Anderson, D.; Keller, J.; Buck, A. Linguistic Explanations of Black Box Deep Learning Detectors on Simulated Aerial Drone Imagery. Sensors 2023, 23, 6879. https://doi.org/10.3390/s23156879

AMA Style

Alvey B, Anderson D, Keller J, Buck A. Linguistic Explanations of Black Box Deep Learning Detectors on Simulated Aerial Drone Imagery. Sensors. 2023; 23(15):6879. https://doi.org/10.3390/s23156879

Chicago/Turabian Style

Alvey, Brendan, Derek Anderson, James Keller, and Andrew Buck. 2023. "Linguistic Explanations of Black Box Deep Learning Detectors on Simulated Aerial Drone Imagery" Sensors 23, no. 15: 6879. https://doi.org/10.3390/s23156879

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop