<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Dr. Jayakumar Singaram &#8211; ASN Home</title>
	<atom:link href="https://www.advsolned.com/author/jayakumar-singaram/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.advsolned.com</link>
	<description>ASN home site</description>
	<lastBuildDate>Thu, 29 May 2025 09:38:49 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=7.0</generator>
	<item>
		<title>An AI/ML model is not an algorithm</title>
		<link>https://www.advsolned.com/an-ai-ml-model-is-not-an-algorithm/</link>
					<comments>https://www.advsolned.com/an-ai-ml-model-is-not-an-algorithm/#respond</comments>
		
		<dc:creator><![CDATA[Dr. Jayakumar Singaram]]></dc:creator>
		<pubDate>Fri, 25 Oct 2024 10:27:24 +0000</pubDate>
				<category><![CDATA[Algorithms]]></category>
		<category><![CDATA[AI]]></category>
		<category><![CDATA[algorithms]]></category>
		<category><![CDATA[DSP]]></category>
		<category><![CDATA[IoT]]></category>
		<guid isPermaLink="false">https://www.advsolned.com/?p=20795</guid>

					<description><![CDATA[<p>In modern computing, there are key concepts that define how machines process information and solve problems: Large Language Models (LLMs), algorithms, and computer programs. Each play a unique role in how tasks are performed and how intelligent systems operate. LLMs, such as Chat-GPT, are advanced artificial intelligence models trained on massive amounts of text data [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://www.advsolned.com/an-ai-ml-model-is-not-an-algorithm/">An AI/ML model is not an algorithm</a> appeared first on <a rel="nofollow" href="https://www.advsolned.com">ASN Home</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<p class="wp-block-paragraph">In modern computing, there are key concepts that define how machines process information and solve problems: <strong>Large Language Models (LLMs)</strong>, <strong>algorithms</strong>, and <strong>computer programs</strong>. Each play a unique role in how tasks are performed and how intelligent systems operate.</p>



<p class="wp-block-paragraph">LLMs, such as Chat-GPT, are advanced artificial intelligence models trained on massive amounts of text data to understand and generate human-like language responses. They excel at language-based tasks but rely on patterns from data rather having true intelligence based on human reasoning.</p>



<p class="wp-block-paragraph">Algorithms, on the other hand, are step-by-step instructions (typically following a mathematical recipe), designed to solve specific problems or perform defined tasks. The rules or mathematical recipes that the algorithm follows have been designed by humans using reasoning and strict logic. As such, the output of the algorithm is deterministic, and can be recreate and explained by anybody following the method’s mathematical recipe or set of rules using the same input data.</p>



<p class="wp-block-paragraph">Computer programs are the broader collection of code that encompasses both algorithms and models like LLMs, orchestrating various tasks by following sets of instructions. While algorithms are the building blocks for problem-solving, LLMs are specialized tools for tasks involving natural language, and programs bring these elements together to create functional software. </p>



<p class="wp-block-paragraph">Understanding the differences between these three components helps clarify the architecture of modern computational systems. In this article, we discuss the differences between these terms and technologies, and provide hints and tips and a few practical examples for developers working on AIoT applications.</p>



<h2 class="wp-block-heading">Programs and Algorithms: a Basic Example</h2>



<p class="wp-block-paragraph">A program consists of a set of instructions, often built upon one or more algorithms, to perform specific tasks based on a given input. An <strong>algorithm </strong>is a step-by-step procedure or formula for solving a problem, while a <strong>program </strong>is the implementation of that algorithm in a specific programming language.</p>



<p class="wp-block-paragraph">For instance, consider a simple sorting algorithm like <strong>Bubble Sort</strong>, which can be implemented in a program:</p>



<ul class="wp-block-list">
<li>The algorithm defines how to repeatedly compare and swap adjacent elements in a list until the list is sorted.</li>



<li>The program written in a language like Python or C++ implements this algorithm to sort any given list of numbers.</li>
</ul>



<p class="wp-block-paragraph">The key point is that a traditional program does not <strong>learn </strong>from the input or adapt its behaviour. It just follows the instructions of the algorithm every time based on the specific problem it is designed to solve.</p>



<h2 class="wp-block-heading">LLMs: A Learning-Based Approach</h2>



<p class="wp-block-paragraph">In contrast, a Large Language Model (LLM) does not rely on predefined algorithms for specific tasks. Instead, it is trained on vast amounts of data and uses this training to predict responses based on learned patterns. For example:</p>



<ul class="wp-block-list">
<li>If you ask an LLM to generate a recipe for pizza, it predicts the next word or sentence based on patterns it has seen in training data.</li>



<li>The LLM does not follow a fixed algorithm for generating recipes, but instead uses its learned understanding to <strong>predict </strong>the best response.</li>
</ul>



<p class="wp-block-paragraph">Unlike traditional programs, LLMs do not rely on strict rules or algorithms. They are probabilistic models that learn from a wide range of data, and their output is based on prediction rather than direct instruction.</p>



<h2 class="wp-block-heading">Key Differences Between Programs and LLMs</h2>



<ul class="wp-block-list">
<li><strong>Algorithm vs Learning</strong>: A traditional program follows strict instructions based on algorithms. LLMs, on the other hand, learn from data and use this learning to generate responses.</li>



<li><strong>Fixed Output vs Prediction</strong>: In a program, the output is fixed for a given input based on the algorithm. An LLM predicts responses based on patterns, so the output can vary even with similar inputs.</li>



<li><strong>No Adaptation vs Adaptation</strong>: Programs do not adapt or change their behavior unless reprogrammed. LLMs are capable of generating responses based on what they have learned, adapting to new inputs within the scope of their training.</li>
</ul>



<h2 class="wp-block-heading"><strong><span class="" style="display:block;clear:both;height: 0px;padding-top: 20px;border-top-width:0px;border-bottom-width:0px;"></span></strong>Misconceptions about Algorithms and DLN/ML Models</h2>



<p class="wp-block-paragraph">Many people frequently refer to an ML model as an algorithm. This is incorrect, although the two terms are very closely related. In this section we discriminate between the two, and provide some practical examples.</p>



<figure class="wp-block-pullquote"><blockquote><p>Is it correct to distinguish between an &#8216;algorithm&#8217; and a Deep Learning Network / ML model, as these terms are often used interchangeably but have distinct meanings?</p></blockquote></figure>



<p class="wp-block-paragraph">An algorithm is a step-by-step procedure or set of rules for solving a problem, while a machine learning (ML) model is the output generated after an algorithm is applied to data during the training process. Essentially, an ML model is the learned representation or a mathematical construct based on an algorithm that can make predictions or decisions on new data.</p>



<p class="wp-block-paragraph">For example, when training a neural network (which uses an algorithm like backpropagation), the result is an ML model that can classify images or recognize patterns. The algorithm guides the learning process, but the model is what performs the task after training.</p>



<h2 class="wp-block-heading">What is an Algorithm?</h2>



<p class="wp-block-paragraph">As mentioned earlier, an algorithm is a set of rules or a mathematical recipe used to perform a specific task or to solve a problem. In ML, an <strong>algorithm </strong>is the method used to train an ML model. Examples include linear regression, decision trees, k-nearest neighbors and gradient descent. </p>



<p class="wp-block-paragraph">Algorithms are very well established in the IoT sensor world for a variety of tasks, such as instrumentation and measurement, cleaning sensor data, AR (augmented reality), predictive maintenance with MEMS sensors and navigation (drones, cars and robotics). The latter makes heavy use of Kalman filtering and sensor fusion, which has been used with great success for decades.</p>



<p class="wp-block-paragraph">As a simple example of an algorithm, consider the task of calculating the mean or average of set of numbers in the following dataset, \(z=[3,2,1,4,6]\). The mean can be calculated using the following mathematical recipe,</p>



<p class="has-text-align-center wp-block-paragraph">\(\displaystyle\mu = \frac{1}{5}\sum_{n=0}^{4}z(n) = 3.2\)</p>



<p class="wp-block-paragraph">Note that this result is deterministic, in the sense that it can be recreated and more importantly explained by anybody following the function&#8217;s mathematical recipe using the same input data. This is very different to a ML model that would also reach the same result for the same input dataset, but as discussed in the next section, explaining how the model reached the result remains an enigma.</p>



<h2 class="wp-block-heading">What is a DLN/ML Model?</h2>



<p class="wp-block-paragraph">An ML model is the resulting output or predicted result after training an algorithm on a various datasets. It typically uses various feature extraction algorithms (e.g. mean, standard deviation and correlation) during the training period in order to extract features of interest for the ML model. The resulting model represents the learned patterns, parameters, or rules that can be used to make predictions on new data. </p>



<p class="wp-block-paragraph">A key point to realise here, is that unlike algorithms based on predefined rules and mathematical concepts, how the ML model reaches its result remains an enigma, and is the primary reason why they shouldn&#8217;t be allowed to operate without any scrutiny on critical processes. As such, AI systems are energy constrained Boltzmann machine models, as the model is trained on data.</p>



<p class="wp-block-paragraph">In many AIoT applications, Kalman based sensor fusion is typically used for feeding the ML model with high quality features of the underlying process, thus significantly improving the accuracy of the AI system.</p>



<h2 class="wp-block-heading">How Algorithms and DLN/ML Models Interact</h2>



<p class="wp-block-paragraph">A model provides the capability to make decisions based on input data. It can recognize patterns, make predictions, and adapt to new information. Essentially, a model simulates cognitive functions that are typically associated with human thinking, such as dealing with ambiguity and uncertainty, but as discussed in a <a style="color:#0000ff" href="https://www.advsolned.com/from-iot-to-aiot-is-it-true-that-ai-doesnt-have-any-common-sense/">previous article</a>, AI does not have any common sense, as it has no understanding of the underlying data or process that it is modelling.</p>



<p class="wp-block-paragraph">On the other hand, an algorithm is a set of defined instructions or a mathematical recipe. It is a rules based step-by-step procedure used for calculations, data processing, and automated reasoning tasks. Algorithms are the backbone of software and can solve a wide range of problems by following their defined logic.</p>



<p class="wp-block-paragraph">However, not all functions are computable. This means that there are certain problems for which no algorithm can be formulated to provide a solution. These are referred to as non-computable functions. In such cases, even the most advanced algorithms cannot determine an outcome, highlighting a fundamental limitation in computational theory.</p>



<h2 class="wp-block-heading">Human Intelligence and Digital Intelligence</h2>



<p class="wp-block-paragraph">In the field of computation, it is essential to differentiate between traditional algorithms and machine learning models. An algorithm is a direct output of human intelligence, crafted through logical reasoning and problem-solving techniques. It represents a set of predefined instructions designed to solve specific problems. The human mind formulates these steps to ensure a consistent and accurate outcome.</p>



<p class="wp-block-paragraph">In contrast, a trained machine learning (ML) model is the product of digital intelligence. While algorithms underpin the model&#8217;s structure, the true power of an ML model arises through its capacity to learn and adapt from new training data. This process involves iteratively adjusting parameters to optimize performance in tasks like prediction, classification, or decision-making. In this sense, the model evolves beyond its initial algorithmic foundation, generating insights and results that may not be directly encoded by human logic.</p>



<figure class="wp-block-pullquote"><blockquote><p>&#8220;An algorithm is a direct manifestation of human intelligence, designed through logic, reasoning, and problem-solving techniques. On the other hand, a trained machine learning model represents the outcome of digital intelligence, which evolves through the iterative processing of data.&#8221;</p></blockquote></figure>



<p class="wp-block-paragraph">The convergence of these two forms of intelligence—human and digital—marks a significant shift in computational systems. Algorithms, though foundational, are static and require manual updates. Machine learning models, by contrast, learn from experience, dynamically evolving with each new piece of training data. This shift positions ML models as more flexible and adaptive tools for solving complex problems where human-defined rules may fall short.</p>



<p class="wp-block-paragraph">The distinction between human-driven algorithms and data-driven machine learning models emphasizes the growing role of adaptive systems in areas such as autonomous driving, personalized medicine, and financial forecasting. As machine learning continues to evolve, the boundaries between explicit programming and emergent behavior will continue to blur, paving the way for systems capable of independent learning and decision-making.</p>



<h1 class="wp-block-heading">Low-Pass Filter and CNN for Classifying Periodic Signals</h1>



<p class="wp-block-paragraph">Both a Low-Pass Filter (LPF) and a Convolutional Neural Network (CNN) can be employed to handle periodic signals, but their approaches and purposes differ fundamentally.</p>



<h2 class="wp-block-heading">Low-Pass Filter (LPF)</h2>



<p class="wp-block-paragraph">A Low-Pass Filter is an algorithm designed to attenuate the high-frequency components of a signal while allowing the low-frequency components to pass. Its primary use is to <strong>filter </strong>or clean a signal rather than classify it. Applications of the LPF in AIoT, include removing glitches from sensor data or even cleaning up noise on a measured periodic signal prior to feature extraction and subsequent ML classification, leading to higher accuracy.</p>



<p class="wp-block-paragraph">A practical IIR (infinite impulse response) digital filter used in both AIoT and IoT may be defined in terms of a finite number of poles \(p\) and zeros \(q\), as defined by the linear constant coefficient difference equation,</p>



<p class="has-text-align-center wp-block-paragraph">\(\displaystyle y(n)=\sum_{k=0}^{q}b_k x(n-k)-\sum_{k=1}^{p}a_ky(n-k) \)</p>



<p class="wp-block-paragraph">where, \(a_k\) and \(b_k\) are the filter’s denominator and numerator polynomial coefficients, who’s roots are equal to the filter’s poles and zeros respectively. LPF filter can used for all types of signals, not just periodic signals. However, for this article we limit the discussion to periodic signals.</p>



<h3 class="wp-block-heading"><strong>Limitations for Classification</strong></h3>



<p class="wp-block-paragraph">While an LPF can enhance a periodic signal by reducing high-frequency noise, it <strong>does not classify </strong>the signal. It merely transforms the input based on fixed mathematical operations, with no ability to <strong>learn</strong> from data or adapt its behaviour.</p>



<h2 class="wp-block-heading">Convolutional Neural Network (CNN)</h2>



<p class="wp-block-paragraph">A <strong>Convolutional Neural Network (CNN)</strong> is a machine learning model designed to recognize patterns in data by learning from training examples. It can be trained to classify periodic signals by learning distinctive features in the signal&#8217;s structure.</p>



<h3 class="wp-block-heading"><strong>Operation</strong></h3>



<p class="wp-block-paragraph">The CNN applies a series of convolution operations:</p>



<p class="has-text-align-center wp-block-paragraph">\(\displaystyle S(i,j) = (I * K)(i,j) = \sum_m \sum_n I(m,n) K(i-m, j-n) \)</p>



<p class="wp-block-paragraph">where \(I\) is the input signal, \(K\)is the kernel, and \(S(i,j)\) is the resulting feature map.</p>



<h3 class="wp-block-heading"><strong>Classification</strong></h3>



<p class="wp-block-paragraph">Unlike the LPF, the CNN is capable of learning to classify different periodic signals through training. The learned filters allow the network to distinguish between signals based on the periodic features it identifies.</p>



<h2 class="wp-block-heading">Extraction vs Learned feature</h2>



<ul class="wp-block-list">
<li><strong>Low-Pass Filter</strong>: Performs a deterministic operation that modifies the signal but cannot classify it.</li>



<li><strong>CNN</strong>: Learns from data and can classify periodic signals by recognizing their features.</li>
</ul>


<div class="wp-block-image">
<figure class="aligncenter size-full"><img fetchpriority="high" decoding="async" width="725" height="258" src="https://www.advsolned.com/wp-content/uploads/2024/10/LPF_vs_CNN.png" alt="" class="wp-image-20797" srcset="https://www.advsolned.com/wp-content/uploads/2024/10/LPF_vs_CNN.png 725w, https://www.advsolned.com/wp-content/uploads/2024/10/LPF_vs_CNN-300x107.png 300w, https://www.advsolned.com/wp-content/uploads/2024/10/LPF_vs_CNN-705x251.png 705w, https://www.advsolned.com/wp-content/uploads/2024/10/LPF_vs_CNN-450x160.png 450w" sizes="(max-width: 725px) 100vw, 725px" /></figure>
</div>


<p class="wp-block-paragraph">In conclusion, while a Low-Pass Filter may assist in signal preprocessing, a CNN is required for the task of classifying signals.</p>



<h2 class="wp-block-heading">Adaptive Low-Pass Filters</h2>



<p class="wp-block-paragraph">An adaptive low-pass filter (LPF), such as those based on the Least Mean Squares (LMS) algorithm, introduces several key features and benefits compared to a traditional, static LPF:</p>



<ul class="wp-block-list">
<li><strong>Dynamic Adaptabilit</strong>y: Adaptive LPFs adjust their characteristics in response to variations in the input signal, allowing for real-time filtering of noise or unwanted frequencies, especially in non-stationary signals.</li>



<li><strong>Error Minimization</strong>: These filters utilize a feedback mechanism to minimize the difference (error) between the desired output and the actual output. The filter coefficients are continuously updated based on this error, enhancing the filter&#8217;s adaptability to changing signal conditions.</li>



<li><strong>Improved Performance in Noisy Environments</strong>: Adaptive LPFs effectively reduce noise by optimizing signal quality, which is particularly valuable in applications like audio processing, telecommunications, and biomedical signal processing where signal characteristics can fluctuate.</li>



<li><strong>Applications in Real-Time Systems</strong>: The adaptability of these filters makes them suitable for real-time systems, such as echo cancellation in telecommunication, where the noise characteristics may vary dynamically, ensuring consistent performance over time.</li>



<li><strong>Computational Complexity</strong>: While adaptive filters provide significant advantages, they also come with increased computational complexity due to the need for constant updates to the filter coefficients, which can be a concern in systems with limited processing capabilities.</li>
</ul>



<p class="wp-block-paragraph">In summary, using an adaptive LPF enhances the filter&#8217;s ability to handle varying signal conditions effectively, making it particularly valuable in applications requiring real-time signal processing, thus improving overall performance and robustness against noise and interference.</p>



<p class="wp-block-paragraph">Adaptive low-pass filter (LPF) differs significantly from a traditional LPF in terms of feature extraction and learning capabilities.</p>



<h3 class="wp-block-heading"><strong>Feature Extraction vs. Feature Learning</strong></h3>



<ul class="wp-block-list">
<li><strong>Traditional LPF</strong>: This filter focuses on extracting specific frequency components from a signal by applying fixed coefficients determined by the filter design, which remain constant during operation. As a result, it extracts features based on pre-defined criteria.</li>



<li><strong>Adaptive LPF</strong>: Utilizes algorithms like the Least Mean Squares (LMS) to adjust its filter coefficients in real-time based on the input signal characteristics. This enables the adaptive LPF to extract features that dynamically correspond to changing signal conditions, but it does not learn features in the same manner as a neural network.</li>
</ul>



<h2 class="wp-block-heading">Comparison with CNNs</h2>



<ul class="wp-block-list">
<li><strong>Convolutional Neural Networks (CNNs</strong>): CNNs are designed to learn features from data through multiple layers, allowing them to automatically extract high-level features from raw inputs. Unlike traditional LPFs, CNNs perform feature learning, adapting to the input data through training on labeled datasets.</li>



<li>While adaptive LPFs adjust their response based on signal changes, they do not perform feature learning like CNNs. They can optimize their filter characteristics based on feedback but lack the hierarchical feature learning approach present in CNNs.</li>
</ul>



<p class="wp-block-paragraph">Adaptive LPFs can extract features based on the immediate conditions of the signal; however, they do not &#8216;learn&#8217; features in the same way that CNNs do. Instead, adaptive LPFs optimize the extraction process in real-time, making them effective in environments where signal characteristics vary.</p>



<h2 class="wp-block-heading">Comparison of Adaptive Low-Pass Filters and Convolutional Neural Networks</h2>



<p class="wp-block-paragraph">Adaptive low-pass filters (LPFs), such as those using the Least Mean Squares (LMS) algorithm, exhibit several similarities with convolutional neural networks (CNNs) regarding their operational principles and learning mechanisms.</p>



<ol class="wp-block-list">
<li><strong>Adaptive Coefficients</strong>: Adaptive LPFs modify their coefficients based on the input signal, similar to how CNNs adjust their weights during training to minimize loss on a dataset.</li>



<li><strong>Supervised Learning</strong>: Both systems can be trained using labeled data to optimize performance. Adaptive filters adjust based on real-time feedback while CNNs learn complex patterns through multiple iterations.</li>



<li><strong>Feature Extraction</strong>: Adaptive LPFs extract relevant features dynamically, while CNNs automatically learn to identify hierarchical features through their architecture.</li>



<li><strong>Learning Methodology</strong>: Adaptive LPFs adjust their parameters based on incoming data but do not learn complex representations as CNNs do. CNNs can learn multiple levels of abstraction through backpropagation.</li>



<li><strong>Structure and Complexity</strong>: CNNs consist of multiple layers, allowing them to learn intricate patterns, whereas adaptive LPFs typically operate with a single, simpler structure focused on modifying coefficients.</li>
</ol>



<p class="wp-block-paragraph">Items 1,2 and 3 are similar, but item 4 and 5 are different.</p>



<p class="wp-block-paragraph">While adaptive LPFs and CNNs share similarities in their adaptive behaviors and feature extraction capabilities, they fundamentally differ in methodologies and complexities. Adaptive LPFs do not fully replicate the intricate learning capabilities of CNNs, though both aim to improve task performance through adaptation.</p>



<h3 class="wp-block-heading"><strong>Comparison of Adaptive LPFs and CNNs</strong></h3>



<ul class="wp-block-list">
<li><strong>Order of the Filter</strong>: The order of an adaptive low-pass filter (LPF) determines its ability to capture and process complex signal characteristics. A higher-order filter can approximate a more complex frequency response, allowing it to better handle diverse signal patterns, similar to how a deeper convolutional neural network (CNN) can learn more complex representations.</li>



<li><strong>Learning Capabilities</strong>: While both CNNs and adaptive LPFs adjust their parameters based on input, CNNs inherently possess a more advanced learning capability through multiple layers, each designed to extract different levels of abstraction from the data. This allows CNNs to learn hierarchical feature representations effectively. In contrast, increasing the order of an adaptive LPF can enhance its feature extraction capabilities, but it still lacks the sophisticated learning mechanisms that CNNs implement, such as backpropagation and convolutional operations.</li>



<li><strong>Complex Features</strong>: CNNs excel in extracting spatial hierarchies in data (e.g., images) by applying filters across multiple layers, progressively identifying edges, shapes, and more abstract features. Adaptive LPFs, when designed with a higher order, can capture complex signal behaviours, but their ability to generalize or learn from large datasets is limited compared to CNNs.</li>
</ul>



<p class="wp-block-paragraph">While increasing the order of an adaptive LPF can enhance its performance in signal processing, it does not equate to the deep learning capabilities of CNNs. CNNs utilize their layered architecture to learn complex features in a more robust and generalized manner, making them more suitable for tasks like image recognition and classification.</p>



<h1 class="wp-block-heading">Parameter Estimation</h1>



<p class="wp-block-paragraph">Parameter estimation plays a crucial role in both traditional algorithmic processes and machine learning. It involves determining the best parameters for a given model based on observed data.</p>



<h2 class="wp-block-heading">Algorithmic Parameter Estimation</h2>



<p class="wp-block-paragraph">In traditional algorithmic contexts, parameter estimation involves using specific algorithms to find optimal parameters for mathematical models. Key methods include:</p>



<h3 class="wp-block-heading"><strong>Least Squares Estimation (LSE)</strong></h3>



<p class="wp-block-paragraph">This method minimizes the sum of the squared differences between observed and predicted values. The parameter estimation is given by:</p>



<p class="has-text-align-center wp-block-paragraph">\(\displaystyle\hat{\theta} = \arg \min_{\theta} \sum_{i=1}^n (y_i &#8211; f(x_i; \theta))^2 \)</p>



<p class="wp-block-paragraph">where \(\hat{\theta}\) denotes the estimated parameters. this concept is is central to Kalman filtering, whereby a state-space model of the process to be modelled uses the state estimates (i.e. the parameters of interest) to perform the prediction. The Kalman update equations attempt to minimise the error between the model output and the observed data in a least squares sense on a sample-by-sample basis.</p>



<h3 class="wp-block-heading"><strong>Maximum Likelihood Estimation (MLE)</strong></h3>



<p class="wp-block-paragraph">MLE estimates parameters by maximizing the likelihood function, which reflects the probability of the observed data under the model parameters:</p>



<p class="has-text-align-center wp-block-paragraph">\(\displaystyle\hat{\theta} = \arg \max_{\theta} L(\theta; \text{data}) \)</p>



<p class="wp-block-paragraph">where \(L(\theta; \text{data})\) represents the likelihood function.</p>



<h2 class="wp-block-heading">Parameter Estimation in Machine Learning</h2>



<p class="wp-block-paragraph">In machine learning, parameter estimation is integral to model training and involves iterative optimization techniques. Examples include:</p>



<h4 class="wp-block-heading">Training Neural Networks</h4>



<p class="wp-block-paragraph">Parameters such as weights and biases are estimated using gradient-based optimization methods, typically through:</p>



<p class="has-text-align-center wp-block-paragraph">\(\displaystyle\theta_{n+1} = \theta_n &#8211; \alpha \nabla_{\theta} L(\theta_n)\)</p>



<p class="wp-block-paragraph">where \(\theta_n\) represents the parameters at iteration \(n\), \(\alpha\) is the learning rate, and \(L(\theta)\) is the loss function.</p>



<h4 class="wp-block-heading">Bayesian Parameter Estimation</h4>



<p class="wp-block-paragraph">In Bayesian methods, parameters are estimated based on posterior distributions that combine prior beliefs with observed data:</p>



<p class="has-text-align-center wp-block-paragraph">\(\displaystyle p(\theta | \text{data}) \propto p(\text{data} | \theta) \cdot p(\theta)\)</p>



<p class="wp-block-paragraph">where \(p(\theta | \text{data})\) is the posterior distribution.</p>



<p class="wp-block-paragraph">In both traditional algorithms and machine learning contexts, the aim is to find the optimal parameters that best fit the model to the observed data.</p>



<h2 class="wp-block-heading">Key Takeaways</h2>



<p class="wp-block-paragraph">Many people frequently refer to an ML model as an algorithm. This is incorrect, although the two terms are very closely related. An algorithm is a direct output of human intelligence, crafted through logical reasoning and problem-solving techniques. It represents a set of predefined instructions or a mathematical recipe designed to solve specific problems. The human mind formulates these steps to ensure a consistent and accurate outcome. In contrast, a trained machine learning (ML) model is the product of digital intelligence that uses algorithms and datasets to construct an ML model.</p>



<p class="wp-block-paragraph">A key takeaway is that algorithms are based on predefined rules and mathematical concepts, whereas AI systems are energy constrained Boltzmann machine models, as the model is trained on data. As such, how an ML model reaches its result remains an enigma, and is the primary reason why they shouldn’t be allowed to operate without any scrutiny on critical processes.<strong><span class="" style="display:block;clear:both;height: 0px;padding-top: 25px;border-top-width:0px;border-bottom-width:0px;"></span></strong></p>



                
                    <!--begin code -->

                    
                    <div class="pp-multiple-authors-boxes-wrapper pp-multiple-authors-wrapper pp-multiple-authors-layout-boxed multiple-authors-target-shortcode box-post-id-19551 box-instance-id-1 ppma_boxes_19551"
                    data-post_id="19551"
                    data-instance_id="1"
                    data-additional_class="pp-multiple-authors-layout-boxed.multiple-authors-target-shortcode"
                    data-original_class="pp-multiple-authors-boxes-wrapper pp-multiple-authors-wrapper box-post-id-19551 box-instance-id-1">
                                                                                    <h2 class="widget-title box-header-title">Authors</h2>
                                                                            <span class="ppma-layout-prefix"></span>
                        <div class="ppma-author-category-wrap">
                                                                                                                                    <span class="ppma-category-group ppma-category-group-1 category-index-0">
                                                                                                                        <ul class="pp-multiple-authors-boxes-ul author-ul-0">
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    
                                                                                                                    <li class="pp-multiple-authors-boxes-li author_index_0 author_jayakumar-singaram has-avatar">
                                                                                                                                                                                    <div class="pp-author-boxes-avatar">
                                                                    <div class="avatar-image">
                                                                                                                                                                                                                <img alt='' src='https://www.advsolned.com/wp-content/uploads/2024/06/Jayakumar_singaram-e1719323031790.jpeg' srcset='https://www.advsolned.com/wp-content/uploads/2024/06/Jayakumar_singaram-e1719323031790.jpeg' class='multiple_authors_guest_author_avatar avatar' height='80' width='80'/>                                                                                                                                                                                                            </div>
                                                                                                                                    </div>
                                                            
                                                            <div class="pp-author-boxes-avatar-details">
                                                                <div class="pp-author-boxes-name multiple-authors-name"><a href="https://www.advsolned.com/author/jayakumar-singaram/" rel="author" title="Dr. Jayakumar Singaram" class="author url fn">Dr. Jayakumar Singaram</a></div>                                                                                                                                                                                                    
                                                                                                                                            <div class="pp-author-boxes-description multiple-authors-description author-description-0">
                                                                                                                                                    <p>Jayakumar is an Arm ambassador and seasoned expert in semiconductor technology and AIoT. He advices companies such as Mistral Solutions, SunPlus Software, and Apollo Tyres at the strategic level on their AIoT solutions. He successfully founded Epigon Media Technologies, which focuses on Research and Development for the global market, and is also the co-author of the book "Deep Learning Networks: Design, Development, and Deployment."</p>
                                                                                                                                                </div>
                                                                                                                                                                                                    
                                                                                                                                    <span class="pp-author-boxes-meta multiple-authors-links">
                                                                        <a href="https://www.advsolned.com/author/jayakumar-singaram/" title="View all posts">
                                                                            <span>View all posts</span>
                                                                        </a>
                                                                    </span>
                                                                                                                                <a class="ppma-author-user_email-profile-data ppma-author-field-meta ppma-author-field-type-email" aria-label="Email" href="mailto:jk@jkuse.com"  target="_self"><span class="dashicons dashicons-email-alt"></span> </a>
                                                                                                                            </div>
                                                                                                                                                                                                                        </li>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        
                                                                                                                    <li class="pp-multiple-authors-boxes-li author_index_1 author_ssarpal has-avatar">
                                                                                                                                                                                    <div class="pp-author-boxes-avatar">
                                                                    <div class="avatar-image">
                                                                                                                                                                                                                <img alt='' src='https://www.advsolned.com/wp-content/uploads/2023/05/sanjeevsarpal.jpeg' srcset='https://www.advsolned.com/wp-content/uploads/2023/05/sanjeevsarpal.jpeg' class='multiple_authors_guest_author_avatar avatar' height='80' width='80'/>                                                                                                                                                                                                            </div>
                                                                                                                                    </div>
                                                            
                                                            <div class="pp-author-boxes-avatar-details">
                                                                <div class="pp-author-boxes-name multiple-authors-name"><a href="https://www.advsolned.com/author/ssarpal/" rel="author" title="Dr. Sanjeev Sarpal" class="author url fn">Dr. Sanjeev Sarpal</a></div>                                                                                                                                                                                                    
                                                                                                                                            <div class="pp-author-boxes-description multiple-authors-description author-description-1">
                                                                                                                                                    <p>Sanjeev is a RTEI (Real-Time Edge Intelligence) visionary and expert in signals and systems with a track record of successfully developing over 26 commercial products. He is a Distinguished Arm Ambassador and advises top international blue chip companies on their AIoT/RTEI solutions and strategies for I5.0, telemedicine, smart healthcare, smart grids and smart buildings.</p>
                                                                                                                                                </div>
                                                                                                                                                                                                    
                                                                                                                                    <span class="pp-author-boxes-meta multiple-authors-links">
                                                                        <a href="https://www.advsolned.com/author/ssarpal/" title="View all posts">
                                                                            <span>View all posts</span>
                                                                        </a>
                                                                    </span>
                                                                                                                                <a class="ppma-author-user_email-profile-data ppma-author-field-meta ppma-author-field-type-email" aria-label="Email" href="mailto:sanjeev.sarpal@advsolned.com"  target="_self"><span class="dashicons dashicons-email-alt"></span> </a>
                                                                                                                            </div>
                                                                                                                                                                                                                        </li>
                                                                                                                                                                                                                                                                                        </ul>
                                                                            </span>
                                                                                                                        </div>
                        <span class="ppma-layout-suffix"></span>
                                            </div>
                    <!--end code -->
                    
                
                            
        
		<div class="wpulike wpulike-default " ><div class="wp_ulike_general_class wp_ulike_is_restricted"><button type="button"
					aria-label="Like Button"
					data-ulike-id="20795"
					data-ulike-nonce="4495b0d070"
					data-ulike-type="post"
					data-ulike-template="wpulike-default"
					data-ulike-display-likers=""
					data-ulike-likers-style="popover"
					class="wp_ulike_btn wp_ulike_put_image wp_post_btn_20795"></button><span class="count-box wp_ulike_counter_up" data-ulike-counter-value="+2"></span>			</div></div>
	<p>The post <a rel="nofollow" href="https://www.advsolned.com/an-ai-ml-model-is-not-an-algorithm/">An AI/ML model is not an algorithm</a> appeared first on <a rel="nofollow" href="https://www.advsolned.com">ASN Home</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.advsolned.com/an-ai-ml-model-is-not-an-algorithm/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>From IoT to AIoT: is it true that AI doesn’t have any common sense?</title>
		<link>https://www.advsolned.com/from-iot-to-aiot-is-it-true-that-ai-doesnt-have-any-common-sense/</link>
					<comments>https://www.advsolned.com/from-iot-to-aiot-is-it-true-that-ai-doesnt-have-any-common-sense/#respond</comments>
		
		<dc:creator><![CDATA[Dr. Sanjeev Sarpal]]></dc:creator>
		<pubDate>Tue, 17 Sep 2024 13:54:06 +0000</pubDate>
				<category><![CDATA[Algorithms]]></category>
		<category><![CDATA[AI]]></category>
		<category><![CDATA[aiot]]></category>
		<category><![CDATA[algorithms]]></category>
		<category><![CDATA[DSP]]></category>
		<category><![CDATA[IoT]]></category>
		<guid isPermaLink="false">https://www.advsolned.com/?p=20740</guid>

					<description><![CDATA[<p>Over the last few years, there has been tremendous interest in the possibility of replacing humans at the workplace with AI. One obvious advantage is AI&#8217;s ability to process massive amounts of data and perform tasks such as repetitive tasks (such as data entry) much more efficiently than humans, leading to higher productivity and reduced [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://www.advsolned.com/from-iot-to-aiot-is-it-true-that-ai-doesnt-have-any-common-sense/">From IoT to AIoT: is it true that AI doesn’t have any common sense?</a> appeared first on <a rel="nofollow" href="https://www.advsolned.com">ASN Home</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<p class="wp-block-paragraph">Over the last few years, there has been tremendous interest in the possibility of replacing humans at the workplace with AI. One obvious advantage is AI&#8217;s ability to process massive amounts of data and perform tasks such as repetitive tasks (such as data entry) much more efficiently than humans, leading to higher productivity and reduced operational costs. AI can also work continuously without fatigue, ensuring 24/7 customer service. However, can AI truly think and rationalise like a human?</p>



<h2 class="wp-block-heading">Challenges in understanding of the real-world</h2>



<p class="wp-block-paragraph">Our experience with AI systems suggests categorically that AI&#8217;s current limitation is that<strong> it does not have any common sense</strong>, as there is no reasoning component in the current generation AI model-based inference. As such, current AI does not truly understand the world the way humans do. AI models are trained on large datasets, which are essentially collections of text, images, sensor data etc, and generates responses based on statistical correlations in data. While they can learn patterns and extract important features from this data, they don’t inherently understand the meaning of this data. <strong>Understanding is a fundamental component of human intelligence and commonsense</strong>, allowing us to take actions and draw conclusions that may seem logical to some, but irrational to people with other experiences in life. In short, we can conclude that commonsense is built up from real-world experiences, social interactions, emotions and context, which is something that AI currently lacks.</p>



<p class="wp-block-paragraph">The aforementioned acknowledges that current AI models lack commonsense due to the absence of reasoning components. Also, there is the potential for AI models to converge on solutions that may not adhere to Bayesian learning principles, which is an important consideration. We&#8217;ll now look at this aspect in depth with a few examples, but we&#8217;ll start off with examples of where having no common sense can be turned to an advantage.</p>



<h2 class="wp-block-heading">Transparency and fake news</h2>



<p class="wp-block-paragraph">Having no common sense and no real understanding of the data can also be turned into an advantage. Consider the example of an AI sorting through CVs (resumes) of suitable candidates for a job. The model can be limited to just focus on the work experience and education, and ignore the name, gender and nationality, making the process much more transparent. Humans will generally try and form a picture in their heads about the candidate and may then appraise the CV with prejudice rather than merit.</p>



<p class="wp-block-paragraph">Perhaps one of the best examples of AI has been in the media. Whereby a model can be fed with a certain narrative (e.g. anti-abortion or pro-war) and then instructed to produce a new article, filling in the details with arbitrary photos and facts taken from other media sources, and older publications. Many of the articles are not verified by an editorial team before publication, resulting in unconfirmed stories making it to the news websites. This is not just limited to news, reviewers of several scientific publications have also reported fake articles sent for review – some of which have been published, which is an area of concern for the scientific community.</p>



<h2 class="wp-block-heading">Is it a Dog or a Cat?</h2>



<p class="wp-block-paragraph">Consider an AI model trained to classify images of animals. The model can accurately classify images of cats and dogs when presented with typical images of these animals. However, when presented with an unusual image, the model might fail to classify it correctly due to the lack of reasoning and common sense.</p>



<p class="wp-block-paragraph">For instance, if the AI model is given an image of a cat wearing a dog costume, it might classify the image as a dog because it lacks the reasoning component to understand that the core features of a cat are still present despite the costume. A human, using common sense, would easily identify the animal as a cat in a dog&#8217;s costume.</p>



<p class="wp-block-paragraph">In this example, the AI model converges on a solution that classifies the image as a dog, which may disobey Bayesian learning principles that consider the prior probability of encountering a cat versus a dog in such a context.</p>



<p class="wp-block-paragraph">This limitation highlights the importance of integrating reasoning components into AI models to enhance their common sense and improve their ability to handle unusual or unexpected situations effectively.</p>



<p class="wp-block-paragraph">Bayesian learning enhances deep learning networks by providing uncertainty quantification, preventing overfitting, facilitating model comparison, enabling data-efficient learning, and improving interpretability. This makes Bayesian approaches highly valuable in critical applications where reliability, robustness, and transparency are paramount. More information can be found in the following <a style="color:#0000ff" href="https://www.youtube.com/live/JFpMbLmaGYs?si=iLo9kmWj73KvhlEf">video</a>.</p>



<h2 class="wp-block-heading">Data vs Science for IoT T&amp;M applications</h2>



<p class="wp-block-paragraph">Many IoT test and measurement (T&amp;M) and calibration methods use sinewaves to check compliance of the DUT (device under test) by measuring the sinewave&#8217;s amplitude, some examples include:</p>



<ul class="wp-block-list">
<li>Measuring material fatigue/strain with a loadcell – in vehicle and bridge/building applications measuring material fatigue and strain is essential for safety. An AC sinusoidal excitation overcomes the difficulty of dealing with instrumentation electronics DC offsets.</li>



<li>Calibrating CT (current transformers) sensors channels – a sinusoid of known amplitude is applied to channel input and the output amplitude is measured.</li>



<li>Measuring gas concentration in infra-red gas sensors – the resulting sinusoid’s amplitude is used to provide an estimate of gas concentration.</li>



<li>Measuring harmonic amplitudes in power quality smart grids applications – in 50/60Hz power systems, certain harmonic amplitudes are of interest.</li>



<li>ECG biomedical compliance testing (IEC60601-2-47) – channel compliance with IEC regulations needed for FDA testing typically uses a set of sinewaves at known amplitudes, to ensure that the channel&#8217;s signal chain amplitude error is within specification.</li>
</ul>



<p class="wp-block-paragraph">The latter example is particularly interesting, as the basic idea is to measure the amplitude differences in the DUT’s signal chain for a set of sinewaves at 0.67, 1, 2, 10, 20 and 40Hz with respect to a 5Hz reference sinewave. Where, it is assumed the amplitude of all input sinewaves remains constant, and that the relative amplitude error must be within ±3dB for the signal chain to be classed as IEC compliant.</p>



<p class="wp-block-paragraph">There are a number of signal processing methods that can be employed to perform the estimation, such as the FFT, AM modulation, Hilbert transform and full-wave rectification. All of these methods require extra filtering operations and the FFT for examples, requires low frequency trend removal (usually a DC offset), and windowing so there a number of factors to take into consideration, which complicates the challenge. The FFT is perhaps one of the most widely used methods but is limited by its frequency resolution, which leads to a bias on the amplitude estimate if it’s not centred at a multiple of the ideal frequency bin resolution (\(F_s/N\)).</p>



<p class="wp-block-paragraph">As most IoT devices use a low-cost oscillator, the sampling rate error can be as high as ±3%, leading to a significant bias in the amplitude estimation using the FFT method. Therefore, an important first step for establishing an estimate of the sinewave’s amplitude is to estimate the exact sampling frequency of the DUT.</p>



<p class="wp-block-paragraph">Another simpler method that we&#8217;ve seen on some IoT devices, is to use high time-resolution timestamps from a higher accuracy crystal oscillator, but for lower-cost IoT devices this may not be available, so it&#8217;s better to have a strategy that extracts the exact sampling rate from the dataset.</p>



<h2 class="wp-block-heading"><strong>Sampling rate estimation using AI</strong></h2>



<p class="wp-block-paragraph">Sampling rate estimation can be achieved using AI, whereby datasets of the known input test sinewaves are collected for subsets of the ideal sampling rate. For many IoT ECG devices, 200Hz is typically used. Therefore, assuming an ideal sampling rate of 200Hz, we can generate test sinewave data sampled at 199.5Hz, 199.6Hz…..200.4Hz, 200.5Hz etc. This collection of sinewave data can then be fed into an ML classifier for estimation of the true sampling rate. Assuming that the training dataset is large enough to cover all required scenarios, this method will work. </p>



<p class="wp-block-paragraph">However, it should be noted that this approach doesn’t have any commonsense, since it’s purely based on data and has no understanding of the physical process that it’s modelling. This becomes apparent if the sampling error is, say 199.54Hz. As the model doesn’t have any data for this scenario and doesn’t have any commonsense and as such can’t improvise, it must choose between 199.5Hz and 199.6Hz which will lead to a bias in the true sampling rate estimate. Another problem appears if another sampling rate or other test frequencies are used, as these were not taken into account during the training process.</p>



<h2 class="wp-block-heading"><strong>Sampling rate estimation using a UKF</strong></h2>



<p class="wp-block-paragraph">An alternative approach is to model the physical process using an Unscented Kalman Filter (UKF). The UKF’s flexibility allows for a more detailed mathematical model of the process to be implemented, leading to the possibility of estimating the sinewave’s amplitude, phase, DC offset as well as the true sampling rate.</p>



<p class="wp-block-paragraph">Assuming stationarity, a mathematical model of the process can be described as,</p>



<p class="has-text-align-center wp-block-paragraph">\(\displaystyle y(n) = B+ A \sin(2\pi f\frac{n}{F_s} + \theta) + v(n)\)</p>



<p class="wp-block-paragraph">Where, \(\theta\) is initial phase offset, \(v(n)\) is the measurement noise and \(A\) (sinewave’s amplitude), \(B\) (signal’s DC offset) and \(F_s\) (sampling rate) are the parameters that we want to estimate.</p>



<p class="wp-block-paragraph">This model can be broken down and the entities of interest (\(A, B\) and \(F_s\)) implemented as state variables in the Kalman update equations. Notice that although the phase of sinewave is linear, the output of the \(\sin()\) function is non-linear, which means that the relationship between the observed signal to the entity of interest (\(F_s\) in our case) is non-linear. This is the main reason for choosing the UKF, as it is well suited to handling non-linear relationships. A description of the UKF equations is beyond the scope of this article, but the reader is referred to some of the excellent textbooks on the UKF for a complete description of the algorithm.</p>



<p class="wp-block-paragraph">Assuming that the test sinewave is high accuracy &#8211; a realistic assumption since a modern calibrated signal generator has frequency error in the \(\mu\)Hz region, we can use the Kalman filtering equations to estimate the true sampling rate over time. An <strong>important to point to realise</strong> is that like the AI method described above, the UKF also doesn’t have any commonsense, but has the virtue of ‘understanding’ the process that it’s modelling by virtue of the mathematical model implemented in its update equations. This means that a sinewave of any frequency and sampling rate can be applied to the UKF, and assuming that the exact sinewave frequency is also entered into the state equations, the UKF method will always work. </p>



<p class="wp-block-paragraph">However, one potential weakness of the method for this application is that the Kalman filter is a statistical state estimation method, meaning that its state estimation will be optimal in a statistical sense, but not necessarily in a deterministic sense. This means that there is no guarantee that the state estimates will be correct in a deterministic (absolute) sense.</p>



<p class="wp-block-paragraph">An animation of the UKF estimation for a 32.3Hz sinewave, sampled at 100Hz with a 0.1% sampling rate error (100.1Hz) is shown below, as seen the UKF correctly estimates the state-estimates of the test sinewave within 1 second.</p>



<figure class="wp-block-video aligncenter"><video height="800" style="aspect-ratio: 800 / 800;" width="800" controls src="https://www.advsolned.com/wp-content/uploads/2024/09/Kalman_sinetracker.mp4"></video></figure>



<h2 class="wp-block-heading"><strong><span class="" style="display:block;clear:both;height: 0px;padding-top: 20px;border-top-width:0px;border-bottom-width:0px;"></span></strong>AI in weapons technology</h2>



<p class="wp-block-paragraph">Recently, much emphasis has been placed on developing smart weapons using AI technology. Major weapons manufacturers from all over the world are currently experimenting with AI-based drone technology that can be used to attack enemy combatants in swarms as well deploying GPS-guided smart munitions and developing new EW (electronic warfare) jamming technology.</p>



<p class="wp-block-paragraph">Many Western nations allocate substantial resources to defence spending, with significant portions of their budgets dedicated to military operations and technological advancements. However, modern conflict zones highlight the evolving challenges that defence systems face, particularly in terms of operational complexity and sustainability in international theatres of operation.</p>



<p class="wp-block-paragraph">Looking further to the East, nations such as Russia and China allocate a much smaller budget to their military-industrial complex. Their approach focuses instead on utilizing AI in a more targeted manner, emphasizing established scientific and mathematical principles, such as control theory, with AI applied for classification purposes. Over recent years, as repeatly demostrated in various international conflict zones, this strategy has proven to be very effective. Technologies like hypersonic missiles and electronic warfare systems developed by Russia have managed to evade many Western air defense systems, altering the balance of power in several theatres of operation. This impressive performance challenges the notion that simply investing large sums of money into AI weapons technology guarantees superior results.</p>



<p class="wp-block-paragraph">Returning to the subject at hand, all of these AI smart weapons still lack any common sense as the AI cannot reason like a human. As such, it is dangerous to allow these systems to operate autonomously and to have high expectations of their performance in a combat situation. That being said, researchers working at Russia&#8217;s AIRI research institute contend to have taken significant steps forward in developing the world’s first self-learning AI system (<a style="color:#0000ff" href="https://www.bignewsnetwork.com/news/274471398/russian-scientists-create-self-adapting-ai">Headless-AD</a>) that can adapt to new situations/tasks without any human intervention by autoregressively predicting actions using the AI’s existing learning history model as context. If successful, Headless-AD would be a great leap forward in developing sentient AI technology for all walks of life.</p>



<h2 class="wp-block-heading">Human Intelligence and Digital Intelligence</h2>



<p class="wp-block-paragraph">In the field of computation, it is essential to differentiate between traditional algorithms and machine learning models. An algorithm is a direct output of human intelligence, crafted through logical reasoning and problem-solving techniques. It represents a set of predefined instructions designed to solve specific problems. The human mind formulates these steps to ensure a consistent and accurate outcome.</p>



<p class="wp-block-paragraph">In contrast, a trained machine learning (ML) model is the product of digital intelligence. While algorithms underpin the model&#8217;s structure, the true power of an ML model arises through its capacity to learn from large scale data. This process involves adjusting parameters during the training period (not during the inference time/runtime) to optimize performance in tasks like prediction, classification, or decision-making. In this sense, the model evolves beyond its initial algorithmic foundation, generating insights and results that may not be directly encoded by human logic.</p>



<blockquote class="wp-block-quote is-layout-flow wp-block-quote-is-layout-flow">
<p class="wp-block-paragraph">An algorithm is a direct manifestation of human intelligence, designed through logic, reasoning, and problem-solving techniques. On the other hand, a trained machine learning model represents the outcome of digital intelligence, which evolves through the iterative processing of data.</p>
</blockquote>



<p class="wp-block-paragraph">The convergence of these two forms of intelligence—human and digital—marks a significant shift in computational systems. Algorithms, though foundational, are static and require manual updates. Machine learning models, by contrast, can be improved by providing them with more training data when available. This shift positions ML models as more flexible and adaptive tools for solving complex problems where human-defined rules may fall short.</p>



<p class="wp-block-paragraph">The distinction between human-driven algorithms and data-driven machine learning models emphasizes the growing role of adaptive systems in areas such as autonomous driving, personalized medicine, and financial forecasting. As machine learning continues to evolve, the boundaries between explicit programming and emergent behavior will continue to blur, paving the way for systems capable of independent learning and decision-making.</p>



<h2 class="wp-block-heading">Key takeaways</h2>



<p class="wp-block-paragraph">There has been considerable interest in the potential of replacing human roles in the workplace with AI. However, as discussed herein, AI fundamentally lacks an understanding of the meaning behind the data it processes for classification tasks. This &#8216;lack of understanding&#8217; is a core component of human intelligence and common sense, which enables individuals to make decisions and draw conclusions that may appear logical to some but irrational to others based on varying life experiences. In essence, common sense is derived from real-world experiences, social interactions, emotions, and context—attributes that AI currently lacks and is unlikely to acquire in the foreseeable future.</p>



<p class="wp-block-paragraph">Nevertheless, the absence of common sense and a deep understanding of data can also be leveraged to create a more transparent process for job applicants and application reviews. Conversely, AI can be utilized to generate misleading information shaped by influential entities to support specific narratives and sway public opinion.<strong><span class="" style="display:block;clear:both;height: 0px;padding-top: 25px;border-top-width:0px;border-bottom-width:0px;"></span></strong></p>



                
                    <!--begin code -->

                    
                    <div class="pp-multiple-authors-boxes-wrapper pp-multiple-authors-wrapper pp-multiple-authors-layout-boxed multiple-authors-target-shortcode box-post-id-19551 box-instance-id-1 ppma_boxes_19551"
                    data-post_id="19551"
                    data-instance_id="1"
                    data-additional_class="pp-multiple-authors-layout-boxed.multiple-authors-target-shortcode"
                    data-original_class="pp-multiple-authors-boxes-wrapper pp-multiple-authors-wrapper box-post-id-19551 box-instance-id-1">
                                                                                    <h2 class="widget-title box-header-title">Authors</h2>
                                                                            <span class="ppma-layout-prefix"></span>
                        <div class="ppma-author-category-wrap">
                                                                                                                                    <span class="ppma-category-group ppma-category-group-1 category-index-0">
                                                                                                                        <ul class="pp-multiple-authors-boxes-ul author-ul-0">
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    
                                                                                                                    <li class="pp-multiple-authors-boxes-li author_index_0 author_ssarpal has-avatar">
                                                                                                                                                                                    <div class="pp-author-boxes-avatar">
                                                                    <div class="avatar-image">
                                                                                                                                                                                                                <img alt='' src='https://www.advsolned.com/wp-content/uploads/2023/05/sanjeevsarpal.jpeg' srcset='https://www.advsolned.com/wp-content/uploads/2023/05/sanjeevsarpal.jpeg' class='multiple_authors_guest_author_avatar avatar' height='80' width='80'/>                                                                                                                                                                                                            </div>
                                                                                                                                    </div>
                                                            
                                                            <div class="pp-author-boxes-avatar-details">
                                                                <div class="pp-author-boxes-name multiple-authors-name"><a href="https://www.advsolned.com/author/ssarpal/" rel="author" title="Dr. Sanjeev Sarpal" class="author url fn">Dr. Sanjeev Sarpal</a></div>                                                                                                                                                                                                    
                                                                                                                                            <div class="pp-author-boxes-description multiple-authors-description author-description-0">
                                                                                                                                                    <p>Sanjeev is a RTEI (Real-Time Edge Intelligence) visionary and expert in signals and systems with a track record of successfully developing over 26 commercial products. He is a Distinguished Arm Ambassador and advises top international blue chip companies on their AIoT/RTEI solutions and strategies for I5.0, telemedicine, smart healthcare, smart grids and smart buildings.</p>
                                                                                                                                                </div>
                                                                                                                                                                                                    
                                                                                                                                    <span class="pp-author-boxes-meta multiple-authors-links">
                                                                        <a href="https://www.advsolned.com/author/ssarpal/" title="View all posts">
                                                                            <span>View all posts</span>
                                                                        </a>
                                                                    </span>
                                                                                                                                <a class="ppma-author-user_email-profile-data ppma-author-field-meta ppma-author-field-type-email" aria-label="Email" href="mailto:sanjeev.sarpal@advsolned.com"  target="_self"><span class="dashicons dashicons-email-alt"></span> </a>
                                                                                                                            </div>
                                                                                                                                                                                                                        </li>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        
                                                                                                                    <li class="pp-multiple-authors-boxes-li author_index_1 author_jayakumar-singaram has-avatar">
                                                                                                                                                                                    <div class="pp-author-boxes-avatar">
                                                                    <div class="avatar-image">
                                                                                                                                                                                                                <img alt='' src='https://www.advsolned.com/wp-content/uploads/2024/06/Jayakumar_singaram-e1719323031790.jpeg' srcset='https://www.advsolned.com/wp-content/uploads/2024/06/Jayakumar_singaram-e1719323031790.jpeg' class='multiple_authors_guest_author_avatar avatar' height='80' width='80'/>                                                                                                                                                                                                            </div>
                                                                                                                                    </div>
                                                            
                                                            <div class="pp-author-boxes-avatar-details">
                                                                <div class="pp-author-boxes-name multiple-authors-name"><a href="https://www.advsolned.com/author/jayakumar-singaram/" rel="author" title="Dr. Jayakumar Singaram" class="author url fn">Dr. Jayakumar Singaram</a></div>                                                                                                                                                                                                    
                                                                                                                                            <div class="pp-author-boxes-description multiple-authors-description author-description-1">
                                                                                                                                                    <p>Jayakumar is an Arm ambassador and seasoned expert in semiconductor technology and AIoT. He advices companies such as Mistral Solutions, SunPlus Software, and Apollo Tyres at the strategic level on their AIoT solutions. He successfully founded Epigon Media Technologies, which focuses on Research and Development for the global market, and is also the co-author of the book "Deep Learning Networks: Design, Development, and Deployment."</p>
                                                                                                                                                </div>
                                                                                                                                                                                                    
                                                                                                                                    <span class="pp-author-boxes-meta multiple-authors-links">
                                                                        <a href="https://www.advsolned.com/author/jayakumar-singaram/" title="View all posts">
                                                                            <span>View all posts</span>
                                                                        </a>
                                                                    </span>
                                                                                                                                <a class="ppma-author-user_email-profile-data ppma-author-field-meta ppma-author-field-type-email" aria-label="Email" href="mailto:jk@jkuse.com"  target="_self"><span class="dashicons dashicons-email-alt"></span> </a>
                                                                                                                            </div>
                                                                                                                                                                                                                        </li>
                                                                                                                                                                                                                                                                                        </ul>
                                                                            </span>
                                                                                                                        </div>
                        <span class="ppma-layout-suffix"></span>
                                            </div>
                    <!--end code -->
                    
                
                            
        



<blockquote class="wp-block-quote is-layout-flow wp-block-quote-is-layout-flow">
<p class="wp-block-paragraph"></p>
</blockquote>



<blockquote class="wp-block-quote is-layout-flow wp-block-quote-is-layout-flow">
<blockquote class="wp-block-quote is-layout-flow wp-block-quote-is-layout-flow">
<blockquote class="wp-block-quote is-layout-flow wp-block-quote-is-layout-flow">
<p class="wp-block-paragraph"></p>
</blockquote>
</blockquote>
</blockquote>
		<div class="wpulike wpulike-default " ><div class="wp_ulike_general_class wp_ulike_is_restricted"><button type="button"
					aria-label="Like Button"
					data-ulike-id="20740"
					data-ulike-nonce="4f02988746"
					data-ulike-type="post"
					data-ulike-template="wpulike-default"
					data-ulike-display-likers=""
					data-ulike-likers-style="popover"
					class="wp_ulike_btn wp_ulike_put_image wp_post_btn_20740"></button><span class="count-box wp_ulike_counter_up" data-ulike-counter-value="+3"></span>			</div></div>
	<p>The post <a rel="nofollow" href="https://www.advsolned.com/from-iot-to-aiot-is-it-true-that-ai-doesnt-have-any-common-sense/">From IoT to AIoT: is it true that AI doesn’t have any common sense?</a> appeared first on <a rel="nofollow" href="https://www.advsolned.com">ASN Home</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.advsolned.com/from-iot-to-aiot-is-it-true-that-ai-doesnt-have-any-common-sense/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		<enclosure url="https://www.advsolned.com/wp-content/uploads/2024/09/Kalman_sinetracker.mp4" length="8110890" type="video/mp4" />

			</item>
		<item>
		<title>AI, ML and AIoT: a unified view of concepts, toolchains and Arm processor technology for IoT developers</title>
		<link>https://www.advsolned.com/ai-ml-and-aiot-a-unified-view-of-concepts-toolchains-and-arm-processor-technology-for-iot-developers/</link>
		
		<dc:creator><![CDATA[Dr. Jayakumar Singaram]]></dc:creator>
		<pubDate>Tue, 25 Jun 2024 13:47:53 +0000</pubDate>
				<category><![CDATA[Algorithms]]></category>
		<category><![CDATA[#AIOT]]></category>
		<category><![CDATA[AI]]></category>
		<category><![CDATA[algorithms]]></category>
		<category><![CDATA[DSP]]></category>
		<category><![CDATA[IoT]]></category>
		<category><![CDATA[ML]]></category>
		<guid isPermaLink="false">https://www.advsolned.com/?p=20603</guid>

					<description><![CDATA[<p>AI (Artificial Intelligence) has its roots with the famous mathematician Alan Turing, who was the first known person to conduct substantial research into the field that he referred to as machine intelligence. Turing’s work was published as Artificial Intelligence and was formally categorised as an academic discipline in 1956. In the years following, work undertaken [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://www.advsolned.com/ai-ml-and-aiot-a-unified-view-of-concepts-toolchains-and-arm-processor-technology-for-iot-developers/">AI, ML and AIoT: a unified view of concepts, toolchains and Arm processor technology for IoT developers</a> appeared first on <a rel="nofollow" href="https://www.advsolned.com">ASN Home</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1030" height="548" src="https://www.advsolned.com/wp-content/uploads/2024/06/aiot_human-1030x548.jpg" alt="" class="wp-image-20608" srcset="https://www.advsolned.com/wp-content/uploads/2024/06/aiot_human-1030x548.jpg 1030w, https://www.advsolned.com/wp-content/uploads/2024/06/aiot_human-300x160.jpg 300w, https://www.advsolned.com/wp-content/uploads/2024/06/aiot_human-768x409.jpg 768w, https://www.advsolned.com/wp-content/uploads/2024/06/aiot_human-1536x817.jpg 1536w, https://www.advsolned.com/wp-content/uploads/2024/06/aiot_human-2048x1090.jpg 2048w, https://www.advsolned.com/wp-content/uploads/2024/06/aiot_human-1500x798.jpg 1500w, https://www.advsolned.com/wp-content/uploads/2024/06/aiot_human-705x375.jpg 705w, https://www.advsolned.com/wp-content/uploads/2024/06/aiot_human-450x239.jpg 450w" sizes="auto, (max-width: 1030px) 100vw, 1030px" /></figure>



<p class="wp-block-paragraph"><strong><span class="" style="display:block;clear:both;height: 0px;padding-top: 15px;border-top-width:0px;border-bottom-width:0px;"></span></strong>AI (Artificial Intelligence) has its roots with the famous mathematician Alan Turing, who was the first known person to conduct substantial research into the field that he referred to as <strong>machine intelligence</strong>. Turing’s work was published as <strong>Artificial Intelligence</strong> and was formally categorised as an academic discipline in 1956. In the years following, work undertaken at IBM by Arthur Samuel led to the term <strong>Machine Learning</strong>, and the field was born.</p>



<p class="wp-block-paragraph">In terms of definitions: AI is an umbrella term, whereas ML (Machine Learning) is a more specific subset of AI focused on producing inference using trained networks. During training, the dataset plays a key role in ML quality during inference. AI provides scope for ML and Deep Learning. In fact, Deep Learning Networks use amazing Transformer models for the current generation AI world.</p>



<ul class="wp-block-list">
<li><strong>AI </strong>is the overarching field focused on creating intelligent systems, whereas <strong>ML </strong>is a subset of AI that involves creating models to learn from data and make decisions.</li>



<li><strong>ML is crucial for IoT </strong>because it enables efficient data analysis, predictive maintenance, smart automation, anomaly detection, and personalized user experiences, all of which are essential for maximizing the value and effectiveness of IoT deployments.<strong><span class="" style="display:block;clear:both;height: 0px;padding-top: 20px;border-top-width:0px;border-bottom-width:0px;"></span></strong></li>
</ul>



<h2 class="wp-block-heading"><strong>The difference between AI and ML in a nutshell</strong></h2>



<ul class="wp-block-list">
<li><strong>Artificial Intelligence (AI)</strong>:
<ul class="wp-block-list">
<li><strong>Definition</strong>: AI is a broad field of computer science focused on creating systems capable of performing tasks that normally require human intelligence. These tasks include reasoning, learning, problem-solving, perception, and language understanding.</li>



<li><strong>Scope</strong>: Encompasses a wide range of technologies and methodologies, including machine learning, robotics, natural language processing, and more.   </li>



<li><strong>Example Applications</strong>: Voice assistants (e.g., Siri, Alexa), autonomous vehicles, game-playing agents (e.g., AlphaGo), and expert systems.<strong><span class="" style="display:block;clear:both;height: 0px;padding-top: 20px;border-top-width:0px;border-bottom-width:0px;"></span></strong></li>
</ul>
</li>



<li><strong>Machine Learning (ML)</strong>:<ul><li><strong>Definition</strong>: ML is a subset of AI that involves the development of algorithms and statistical models that enable computers to learn from and make predictions or decisions based on data.</li></ul>
<ul class="wp-block-list">
<li><strong>Scope</strong>: Focused specifically on creating models that can identify patterns in data and improve their performance over time without being explicitly programmed for specific tasks.</li>



<li><strong>Example Applications</strong>: Spam detection, image recognition, recommendation systems (e.g., Netflix, Amazon), predictive maintenance of critical machinery and identifying medical conditions, such as heart arrhythmias and tracking vital life signs &#8211; the so called IoMT (Internet of Medical Things).<strong><span class="" style="display:block;clear:both;height: 0px;padding-top: 20px;border-top-width:0px;border-bottom-width:0px;"></span></strong></li>
</ul>
</li>
</ul>



<div style="height:25px" aria-hidden="true" class="wp-block-spacer"></div>



<h2 class="wp-block-heading"><strong>Why We Need ML for IoT</strong></h2>



<ul class="wp-block-list">
<li><strong>Data Analysis</strong>:<ul><li><strong>Massive Data</strong>: IoT devices generate a vast amount of data. ML is essential for analyzing this data to extract meaningful insights, detect patterns, and make informed decisions.<strong><span class="" style="display:block;clear:both;height: 0px;padding-top: 6px;border-top-width:0px;border-bottom-width:0px;"></span></strong></li> <li><strong>Real-Time Processing</strong>: ML models can process and analyze data in real-time, enabling immediate responses to changes in the environment, which is crucial for applications like autonomous vehicles and smart grids. They are also an invaluable tool for monitoring human well-being, such as tracking vital life signs, and checking motion sensor data for falls and epileptic fits in elderly and vulnerable persons.</li></ul><strong><span class="" style="display:block;clear:both;height: 0px;padding-top: 20px;border-top-width:0px;border-bottom-width:0px;"></span></strong></li>



<li><strong>Automation</strong>:<ul><li><strong>Smart Automation</strong>: ML enables IoT devices to automate complex tasks that require decision-making capabilities, such as adjusting climate control systems in smart buildings based on occupancy patterns.</li></ul>
<ul class="wp-block-list">
<li><strong>Adaptability</strong>: ML models can adapt to changing conditions and improve their performance over time, leading to more efficient and effective automation.</li>
</ul>
</li>



<li><strong>Personalization</strong>:<ul><li><strong>User Experience</strong>: ML can analyze user preferences and behaviors to personalize experiences, such as recommending products, adjusting device settings, or providing personalized health insights from wearable devices.</li></ul>
<ul class="wp-block-list">
<li><strong>Enhanced Interaction</strong>: Improves the interaction between users and IoT devices by making them more intuitive and responsive to individual needs.</li>
</ul>
</li>
</ul>



<h2 class="wp-block-heading"><strong>What is AIoT exactly?</strong></h2>



<p class="wp-block-paragraph">IoT nodes or edge devices use convolutional neural networks (CNN) or neural networks (NN) to perform inference on data collected locally. These devices can include cameras, microphones, or UAV-based sensors. By having the ability to perform inference locally on IoT devices, it enables intelligent communication or interaction with these devices. Other devices involved in the interaction can also be IoT devices, human users, or AIoT devices. This creates opportunities for <strong>AIoT (Artificial Intelligence of Things) </strong>rather than just IoT, as it facilitates more advanced and intelligent interactions between devices and humans.</p>



<ol class="wp-block-list">
<li><strong>AIoT is interaction with another AIoT. </strong>In this case, there is a need for artificial intelligence on both sides to have a meaningful interaction.</li>



<li><strong>AIoT is interaction with IoT. </strong>In this case, there is a need for artificial intelligence on one side, and no AI on the other side. Thus, it is not a good and safe configuration for deployment.</li>



<li><strong>AIoT is interaction with a human. </strong>In this case, there is a need for artificial intelligence on one side and a human on the other side. This is a good configuration because the volume of data from the device to the human will be less.</li>
</ol>



<h2 class="wp-block-heading"><strong><span class="" style="display:block;clear:both;height: 0px;padding-top: 20px;border-top-width:0px;border-bottom-width:0px;"></span>Human Also in the Loop is a Thing of the Past</strong></h2>



<p class="wp-block-paragraph">Historically, humans have used sensor devices, now referred to as IoT edges or nodes, to perform measurements before making decisions based on a particular set of data. In this process, both humans and IoT edge devices participate. Interaction between one IoT edge and another is common, but typically within restricted applications or well-defined subsystems. With the rise of AI technologies, such as ChatGPT and Watsonx, AI-enabled IoT devices are increasingly interacting with other IoT devices that also incorporate AI. This interaction is prevalent in advanced driver-assistance systems (ADAS) with Level 5 autonomy in vehicles. In earlier terms, this concept was known as Self-Organizing Networks or Cognitive Systems.</p>



<p class="wp-block-paragraph">The interaction between two AIoT systems introduces new challenges in sensor fusion. For instance, the classic Byzantine Generals Problem has evolved into the Brooks-Iyengar Algorithms, which use interval measurements instead of point measurements to address Byzantine issues. This sensor fusion problem is closely related to the collaborative filtering problem. In this context, sensors must reach a consensus on given data from a group of sensors rather than relying on a single sensor. Traditionally, <em>M </em>measurements with <em>N </em>samples per measurement produce one outcome by averaging data over intervals and across sensor measurements.</p>


<div class="wp-block-image">
<figure class="aligncenter size-full is-resized"><img loading="lazy" decoding="async" width="724" height="382" src="https://www.advsolned.com/wp-content/uploads/2024/06/AIoT_withothersystems.png" alt="" class="wp-image-20604" style="width:646px;height:auto" srcset="https://www.advsolned.com/wp-content/uploads/2024/06/AIoT_withothersystems.png 724w, https://www.advsolned.com/wp-content/uploads/2024/06/AIoT_withothersystems-300x158.png 300w, https://www.advsolned.com/wp-content/uploads/2024/06/AIoT_withothersystems-710x375.png 710w, https://www.advsolned.com/wp-content/uploads/2024/06/AIoT_withothersystems-705x372.png 705w, https://www.advsolned.com/wp-content/uploads/2024/06/AIoT_withothersystems-450x237.png 450w" sizes="auto, (max-width: 724px) 100vw, 724px" /></figure>
</div>


<p class="wp-block-paragraph">Sensor fusion involves integrating data from multiple sensors to obtain more accurate and reliable information than what is possible with individual sensors. By rethinking this problem through the lens of collaborative filtering—an approach widely used in recommendation systems—we can uncover innovative solutions. In this analogy, sensors are akin to users, measurements are comparable to ratings, and the environmental parameters being measured are analogous to items. The goal is to achieve a consensus measurement, similar to how collaborative filtering aims to predict user preferences by aggregating various inputs. Applying collaborative filtering techniques to sensor fusion offers several advantages. Matrix factorization can reveal underlying patterns in the sensor data, handling noise and missing data effectively. Neighborhood-based methods leverage the similarity between sensors to weigh their contributions, enhancing measurement accuracy.</p>



<p class="wp-block-paragraph">Probabilistic models, such as Bayesian approaches, provide a robust framework for managing uncertainty. By adopting these methods, we can improve the robustness, scalability, and flexibility of sensor fusion, paving the way for more precise and dependable applications in autonomous vehicles, smart cities, and environmental monitoring.</p>



<p class="wp-block-paragraph"><strong>Kalman filtering</strong> and <strong>collaborative filtering</strong> represent two distinct approaches to processing sensor data, each with unique strengths and applications.</p>



<p class="wp-block-paragraph">Kalman filtering is a recursive algorithm used for estimating the state of a dynamic system from noisy observed measurement data. It excels in real-time applications, offering a mathematically rigorous method of statistically estimating and predicting a model’s state estimates (i.e. a model’s parameters) using a known model of the system’s dynamics and statistical noise characteristics. However, it is important to note that although the ‘Kalman solution’ is optimum in a statistical sense, it may yield incorrect state estimates in a absolute deterministic sense.</p>



<p class="wp-block-paragraph">In contrast, collaborative filtering, typically used in recommendation systems, aggregates data from multiple sensors (or users) to identify patterns and similarities. This approach doesn’t rely on a predefined model of system dynamics but instead leverages historical data to improve accuracy. Collaborative filtering is particularly effective when dealing with large datasets from multiple sensors, making it suitable for applications where the relationships between sensors can be learned and exploited.</p>



<p class="wp-block-paragraph">Both methods can enhance sensor data reliability, but their effectiveness depends on the context: Kalman filtering for dynamic, real-time systems with welldefined models, and collaborative filtering for complex, multi-sensor environments where data-driven insights are crucial.</p>



<p class="wp-block-paragraph">In our AIoT work, we implement Collaborative Filtering across multiple <em>M </em>sensors or AIoT edges to achieve consensus on a measured value over a specified interval. Then use a Restricted Boltzmann Machine (RBM) model for collaborative filtering. Additionally, we deploy and run these types of models within a network of IoT edge devices. This approach leverages the distributed computing capabilities of IoT edges to enhance the performance and scalability of our collaborative filtering solution.</p>



<p class="wp-block-paragraph">The integration of Collaborative Filtering algorithms with CMSIS (Cortex Microcontroller Software Interface Standard) on Arm devices presents a significant advancement in leveraging edge computing for intelligent decision-making. Collaborative Filtering, commonly used in recommendation systems, can be enhanced on Arm Cortex-M processors by utilizing the CMSIS-DSP library. This combination allows for efficient signal processing and data analysis directly on microcontroller-based systems, enabling real-time and power-efficient computations. This approach can be particularly powerful in IoT applications, where Arm devices often operate. By implementing Restricted Boltzmann Machines (RBM) using CMSIS, devices can process and analyze sensor data locally, reducing latency and bandwidth usage. This local computation capability can lead to more responsive and intelligent IoT systems, paving the way for advanced applications in smart environments, healthcare, and personalized user experiences. <strong><span class="" style="display:block;clear:both;height: 0px;padding-top: 20px;border-top-width:0px;border-bottom-width:0px;"></span></strong></p>



<h2 class="wp-block-heading"><strong>Signal Processing on the IoT edge</strong></h2>



<p class="wp-block-paragraph">The objective is to measure the signal \(x_n\)<em><sub> </sub></em>for a duration of \(T\) seconds with a sampling rate \(F_s\). The samples collected during that duration \(T\) are \(r_n=1,2,\ldots N\) samples. These measurements are performed  \(M\) times repeatedly. Since there are \(M\) sets of \(x_n\)<em><sub> </sub></em>samples of the signal, the revised objective is to find a representative of these \(M\) sets of samples. Let \(\tilde{x}_n \) be the above-mentioned representative.</p>



<p class="wp-block-paragraph">Let \(y_m(n) = x(n) + v_m(n) \), where \( v_m(n)\) is the measurement noise during the \(m\)-th measurement.</p>



<p class="wp-block-paragraph">By performing \(M\) measurements, is it possible to</p>



<ul class="wp-block-list">
<li>Improve the Signal to Noise Ratio (SNR)?</li>



<li>Estimate \(x_n\) using Maximum Likelihood and achieve better performance as per the Cramer-Rao bound?</li>



<li>Use a priori information about the source that created \(x_n\)<sub> </sub>and estimate \(x_n\)<em><sub> </sub></em>using a Bayesian network?</li>
</ul>



<p class="wp-block-paragraph">To reduce noise and obtain a more accurate representation of the output signal, multiple measurements of \(y(n)\) are taken over time: \(y_1(n), y_2(n), \ldots, y_M(n) \).</p>



<p class="has-text-align-left wp-block-paragraph">The averaged output signal \(\overline{y(n)} \) is calculated as the mean of these measurements:</p>



<p class="has-text-align-center wp-block-paragraph"><br> \(\displaystyle\overline{y(n)} = \frac{1}{M} \sum_{i=0}^{M-1} y_i(n)\)</p>



<p class="wp-block-paragraph">Consider a smart thermostat system in a home (part of an AIoT system). The thermostat measures the room temperature \(y(n)\) and adjusts the heating or cooling based on the desired setpoint \(u(n)\).</p>


<div class="wp-block-image">
<figure class="aligncenter size-full is-resized"><img loading="lazy" decoding="async" width="827" height="320" src="https://www.advsolned.com/wp-content/uploads/2024/06/AIoT_thermostat_example.png" alt="" class="wp-image-20605" style="width:687px;height:auto" srcset="https://www.advsolned.com/wp-content/uploads/2024/06/AIoT_thermostat_example.png 827w, https://www.advsolned.com/wp-content/uploads/2024/06/AIoT_thermostat_example-300x116.png 300w, https://www.advsolned.com/wp-content/uploads/2024/06/AIoT_thermostat_example-768x297.png 768w, https://www.advsolned.com/wp-content/uploads/2024/06/AIoT_thermostat_example-705x273.png 705w, https://www.advsolned.com/wp-content/uploads/2024/06/AIoT_thermostat_example-450x174.png 450w" sizes="auto, (max-width: 827px) 100vw, 827px" /></figure>
</div>


<p class="wp-block-paragraph">The following averaging measurement might not yield results that overcome the bounds defined by the Cramer-Rao bound:</p>



<p class="has-text-align-center wp-block-paragraph">\(y_m(n) = x(n) + v_m(n)\)</p>



<p class="wp-block-paragraph">where \(v_m(n)\) is the measurement noise during the  \(m\)-th measurement.</p>



<p class="wp-block-paragraph">In this context, \(y_m(n) \) represents the noisy measurements of the signal \(x(n)\). Averaging these measurements can reduce the noise variance, but it does not necessarily surpass the theoretical lower bounds on the variance of unbiased estimators, as defined by the Cramer-Rao bound. The Cramer-Rao bound provides a fundamental limit on the precision with which a parameter can be estimated from noisy observations.</p>



<ul class="wp-block-list">
<li><strong>System Description</strong>: The thermostat system is represented by \(H(z)\), which controls the heating/cooling based on the input \(u(n)\). The output signal \(y(n)\) represents the measured room temperature.</li>



<li><strong>Multiple Time Measurements</strong>: The thermostat takes temperature measurements every minute, producing a set of outputs \(y_1(n), y_2(n), \ldots, y_M(n)\).</li>



<li><strong>Averaging</strong>: To get a more accurate representation of the room temperature and to filter out noise (e.g., transient changes due to opening a door), the thermostat averages these measurements: \(\overline{y(n)} = \frac{1}{M} \sum_{i=0}^{M-1} y_i(n)\). By averaging the noisy output values \(y_i(n)\), the thermostat system can make more stable and accurate adjustments, leading to a more comfortable and energy-efficient environment.</li>



<li><strong>Latency</strong>: One annoying situation that occurs by the averaging operation, is that it increases the system’s latency, i.e. the smoothed output temperature value lags the observed noisy temperature value taken at time <em>n</em>. This delay is referred to as <strong>latency </strong>or <strong>Group delay </strong>in digital filters, and must also be taken into account when designing a closed loop control system. The subject of minimising latency in digital filters can fill a whole book in itself, but suffice to say, IIR digital filters generally have lower latency than FIR filters counterparts. The Moving average filter described herein can be considered as a special case of the FIR filter, as all filter coefficients are equal to one.<br>   In order to improve matters, <strong>Minimum phase filters</strong> (also referred to as zero-latency filters) may be used to overcome the inherent \(N/2\) latency (group delay) in a linear phase FIR filter, by moving any zeros outside of the unit circle to their conjugate reciprocal locations inside the unit circle. The result of this ‘zero flipping operation’ is that the magnitude spectrum will be identical to the original filter, and the phase will be nonlinear, but most importantly the latency will be reduced from \(N/2\) to something much smaller (although non-constant), making it suitable for real-time control applications where IIR filters are typically employed.<strong><span class="" style="display:block;clear:both;height: 0px;padding-top: 20px;border-top-width:0px;border-bottom-width:0px;"></span></strong></li>
</ul>



<h2 class="wp-block-heading"><strong>AI Model in Signal Processing</strong></h2>



<p class="wp-block-paragraph">In signal processing, where signals are sensed by sensors, statistical parameterized models, Bayesian networks, and energy models play crucial roles. Statistical parameterized models help in estimating signal parameters efficiently, providing a structured approach to model signal behavior. Bayesian networks offer a probabilistic framework to infer and predict signal characteristics, accommodating uncertainties inherent in sensor data. Energy models, such as those utilizing MCMC with Contrastive Divergence, optimize the representation of signal data by minimizing energy functions, leading to improved signal reconstruction. Similarly, energy models via Restricted Boltzmann Machines and Backpropagation facilitate learning complex signal patterns, enhancing the accuracy of signal interpretation and noise reduction. Together, these models enable robust analysis and processing of signals, crucial for applications like noise reduction, signal enhancement, and feature extraction.</p>



<p class="wp-block-paragraph">The Cramer-Rao bound (CRB) provides a lower bound on the variance of unbiased estimators, indicating the best possible accuracy one can achieve when estimating parameters from noisy data. This bound applies to traditional estimation methods under certain assumptions, such as unbiasedness and a specific noise model.</p>



<p class="wp-block-paragraph">MCMC does not directly &#8216;overcome&#8217; the Cramer-Rao bound, it provides a framework for obtaining parameter estimates that can be more accurate and robust in practice, especially in complex and high-dimensional settings. This improved performance arises from the ability to use prior information, handle complex models, and perform Bayesian inference. Markov Chain Monte Carlo (MCMC) methods, however, are used primarily for sampling from complex probability distributions and performing Bayesian inference. While MCMC methods themselves do not directly &#8216;overcome&#8217; the CramerRao bound in a traditional sense, they offer advantages in estimation that may be interpreted as achieving better practical performance under certain conditions:</p>


<div class="wp-block-image">
<figure class="aligncenter size-full is-resized"><img loading="lazy" decoding="async" width="868" height="573" src="https://www.advsolned.com/wp-content/uploads/2024/06/AI_insignalprocessing.png" alt="" class="wp-image-20606" style="width:660px;height:auto" srcset="https://www.advsolned.com/wp-content/uploads/2024/06/AI_insignalprocessing.png 868w, https://www.advsolned.com/wp-content/uploads/2024/06/AI_insignalprocessing-300x198.png 300w, https://www.advsolned.com/wp-content/uploads/2024/06/AI_insignalprocessing-768x507.png 768w, https://www.advsolned.com/wp-content/uploads/2024/06/AI_insignalprocessing-705x465.png 705w, https://www.advsolned.com/wp-content/uploads/2024/06/AI_insignalprocessing-450x297.png 450w" sizes="auto, (max-width: 868px) 100vw, 868px" /></figure>
</div>


<h3 class="wp-block-heading"><strong>Individual Models</strong></h3>



<p class="wp-block-paragraph">Each model will have ts own bias and variance characteristics. High-capacity models may fit the training data well (low bias) but may perform poorly on new data (high variance). Low-capacity models may underfit the training data (high bias) but have more stable predictions (low variance).</p>



<h3 class="wp-block-heading"><strong>Averaging Models (Ensembles)</strong></h3>



<p class="wp-block-paragraph">By combining the outputs of multiple models, ensemble methods aim to reduce the overall variance. This results in more robust predictions compared to individual models, particularly when the individual models have high variance.</p>



<p class="wp-block-paragraph">Combining many models seems promising for some applications. When the model capacity is low, it’s difficult to capture the regularities in the data. Conversely, if the model capacity is too large, it may overfit the training data. By using multiple models, such as in AIoT where models can be sensor-centric or device-centric, better results can be achieved compared to using a single huge model.</p>



<ul class="wp-block-list">
<li>High-capacity models tend to have low bias but high variance.</li>



<li>Averaging models reduces variance, leading to more stable predictions.</li>



<li>Bias remains unchanged by averaging, so it’s essential to use models with appropriately low bias.</li>



<li>The ensemble approach can outperform individual models by leveraging the strengths of multiple models, especially in scenarios like AIoT, where combining sensor-centric or device-centric models can lead to improved results.</li>
</ul>



<p class="wp-block-paragraph">In some cases, an individual predictor may perform better compared to a combined predictor. However, if individual predictors disagree significantly, then the combined predictor can perform well.</p>



<h2 class="wp-block-heading"><strong>AIoT system building blocks</strong></h2>



<p class="wp-block-paragraph">An essential pre-building block in any AIoT system is the feature extraction algorithm. The challenge for any feature extraction algorithm is to extract and enhance any relevant sensor data features in noisy or undesirable circumstances and then pass them onto the ML model in order to provide an accurate classification. The concept is illustrated below:</p>


<div class="wp-block-image">
<figure class="aligncenter size-large is-resized"><img loading="lazy" decoding="async" width="1030" height="364" src="https://www.advsolned.com/wp-content/uploads/2023/07/aiot_concept-1030x364.png" alt="" class="wp-image-20128" style="width:762px;height:auto" srcset="https://www.advsolned.com/wp-content/uploads/2023/07/aiot_concept-1030x364.png 1030w, https://www.advsolned.com/wp-content/uploads/2023/07/aiot_concept-300x106.png 300w, https://www.advsolned.com/wp-content/uploads/2023/07/aiot_concept-768x272.png 768w, https://www.advsolned.com/wp-content/uploads/2023/07/aiot_concept-705x249.png 705w, https://www.advsolned.com/wp-content/uploads/2023/07/aiot_concept-450x159.png 450w, https://www.advsolned.com/wp-content/uploads/2023/07/aiot_concept.png 1216w" sizes="auto, (max-width: 1030px) 100vw, 1030px" /></figure>
</div>


<p class="wp-block-paragraph">As seen above, an AIoT system may actually contain multiple feature blocks per sensor and in some cases fuse the features locally before sending them onto the ML model for classification such that the system may then draw a conclusion. The challenge is therefore how to capture sensor data for training and design suitable algorithms to extract features of interest?</p>



<p class="wp-block-paragraph">The challenge is actually two fold: namely how to capture the datasets for analysis and then which algorithms to use for Feature engineering.</p>



<p class="wp-block-paragraph">Although a few commercial solutions are available (e.g. Node-RED, Labview, Mathworks Instrumentation toolbox), the latter two are expensive for most developers who just require simple data capture/logging via the UART. One possible solution is <a style="color:#0000ff" href="https://www.advsolned.com/design-of-aiot-algorithms-with-theasn-filter-designer-and-the-arm-sds-framework/">Arm’s SDS Framework</a> that provides developers with a set of tools for capturing and playback real-world data using Arm Virtual Hardware. Where, the captured SDS data files can be subsequently converted into a single CSV file for use in 3rd party applications for algorithm development. Unfortunately, the SDS framework is primarily aimed at Arm SoC developers and not particularly suitable for developers working with EVMs/kits.<br>   Therefore, most developers use web tools based on AutoML (eg. Qeexo) that will assist with the data capture from hardware (eg. from an ST Nucleo board) and then try an automate the ML modelling process by choosing a set of limited feature extraction algorithms (such as mean, median, standard deviation, kurtosis etc) and then try and produce a suitable classification model. In theory, this sounds great, but there are a number of problems with this approach, as performance is dependent on the quality and relevance of datasets. Our experience has shown that the best performance can be obtained from knowledge of the physical process, and by designing Feature extraction algorithms using scientific principles tailored to the process that you are trying to model.</p>



<h3 class="wp-block-heading"><strong>Example: Feature Engineering for human fall detection</strong></h3>



<p class="wp-block-paragraph">A common requirement of most IoMT biomedical wearable products is detecting Human fall detection with a smartwatch, just using accelerometer data. Traditional fall detection algorithms using MEMS sensors are based on the ‘Falling’ concept, whereby all three axes fall close to zero for a second or so. Although this works well for falling objects, such as a cup or box falling from a table, it is not suitable for humans. The challenge is illustrated below:</p>


<div class="wp-block-image">
<figure class="aligncenter size-full is-resized"><img loading="lazy" decoding="async" width="595" height="219" src="https://www.advsolned.com/wp-content/uploads/2024/06/phasesoffalling.png" alt="" class="wp-image-20607" style="width:625px;height:auto" srcset="https://www.advsolned.com/wp-content/uploads/2024/06/phasesoffalling.png 595w, https://www.advsolned.com/wp-content/uploads/2024/06/phasesoffalling-300x110.png 300w, https://www.advsolned.com/wp-content/uploads/2024/06/phasesoffalling-450x166.png 450w" sizes="auto, (max-width: 595px) 100vw, 595px" /></figure>
</div>


<p class="wp-block-paragraph">As seen, a human’s fall is very different to a box or other object falling.</p>



<p class="wp-block-paragraph">The challenge is discriminating between normal everyday activities and falls. By analysing datasets of net acceleration data of typical everyday activities, such as someone walking, using their smartphone, brushing their teeth or doing some morning exercises, and fall data it is not always easy to discriminate between the two using ’standard’ statistical features.</p>



<p class="wp-block-paragraph">Therefore, we need to apply some physics to the process that we’re trying to model in order to derive specific features from the sensor data, so that we can make a classification – i.e. <strong>is it a fall, or not</strong>.</p>



<p class="wp-block-paragraph">Analysing the diagram we see that there are actually 4 phases from where the person is standing through to the point of the person lying on the ground. So the big question is how do we go about modelling these phases just using accelerometer data? This is best analysed by breaking the fall up into phases:</p>



<ul class="wp-block-list">
<li><strong>Happy</strong>: where the subject is upright and going about their daily business.</li>



<li><strong>Falling</strong>: Depending on the subject, this period can be very short (around 100ms) and manifests itself very differently to an object falling directly down (i.e. freefall). The net acceleration will usually manifest itself as a negative gradient starting from about <em>1g </em>tending towards zero, as the body’s centre of gravity changes. This usually lasts for about 60-100ms.</li>



<li><strong>Impact</strong>: this is the primary event to detect, as any impact from a standing posture with a hard surface will produce a large shock pulse that is several orders of magnitude <em>&gt;1g </em>over a short period.</li>



<li><strong>Inactivity</strong>: this usually follows impact with the ground, whereby the subject is lying flat and is motionless for several seconds. In the case of a collision with an object (e.g. a piece of furniture or a door) or as a result of a severe medical condition, such as a stroke or heart attack, the subject may become unconscious. In this case, the system should be able to discriminate between inactivity from normal movements, such as hand or slight limb movement and light movement (caused by breathing) and decide whether to alert medical services. In the case that no movement is detected, i.e. the subject may have died as a result of the fall, there is no need to provide swift medical assistance.</li>
</ul>



<p class="wp-block-paragraph">Armed with this knowledge we can now use <strong>Feature engineering to design our features</strong>. This forms the essence of building features based on understanding of the physical process.</p>



<h2 class="wp-block-heading"><strong>What tools and processor technology are available?</strong></h2>



<p class="wp-block-paragraph">Although a few processor technologies exist for microcontrollers (e.g. RISC-V, Xtensa, MIPS), over 90% of the microcontrollers used in the smart product market are powered by so-called <strong>Arm Cortex-M processors</strong>. These are split up into various market segments, depending on energy requirements and algorithmic performance.</p>



<div class="wp-block-columns is-layout-flex wp-container-core-columns-is-layout-8f761849 wp-block-columns-is-layout-flex">
<div class="wp-block-column is-vertically-aligned-center is-layout-flow wp-block-column-is-layout-flow" style="flex-basis:66.66%">
<p class="wp-block-paragraph">The low-end cores, such as the M0, M0+ and M3 are good for simpler algorithms, such as sensor cleaning filters, simple analytics as they have limited memory and no hardware FP support. To give you an idea of performance, for those of you who own a Fitbit, this is based on the M3 processor.</p>
</div>



<div class="wp-block-column is-layout-flow wp-block-column-is-layout-flow"></div>



<div class="wp-block-column is-layout-flow wp-block-column-is-layout-flow" style="flex-basis:50%"><div class="wp-block-image">
<figure class="aligncenter size-full is-resized"><img loading="lazy" decoding="async" width="835" height="520" src="https://www.advsolned.com/wp-content/uploads/2023/04/armcores_widebackground_aiot.png" alt="" class="wp-image-19491" style="object-fit:cover;width:590px;height:300px" srcset="https://www.advsolned.com/wp-content/uploads/2023/04/armcores_widebackground_aiot.png 835w, https://www.advsolned.com/wp-content/uploads/2023/04/armcores_widebackground_aiot-300x187.png 300w, https://www.advsolned.com/wp-content/uploads/2023/04/armcores_widebackground_aiot-768x478.png 768w, https://www.advsolned.com/wp-content/uploads/2023/04/armcores_widebackground_aiot-705x439.png 705w, https://www.advsolned.com/wp-content/uploads/2023/04/armcores_widebackground_aiot-450x280.png 450w" sizes="auto, (max-width: 835px) 100vw, 835px" /></figure>
</div></div>
</div>



<p class="wp-block-paragraph">However, the biggest plus (especially for the M0 family), is that they can have very low power footprint making them an ideal choice for coin cell battery powered wearable applications, as devices can be made to run for months and even in some cases up to a year.</p>



<p class="wp-block-paragraph">For developers looking for decent computational performance, the M4F is an excellent choice as it has hardware FP support, which is ideal for rapid application development of algorithms. In fact, the Arm Cortex-M4 is a very popular choice with several silicon vendors (including ST, TI, NXP, ADI, Nordic, Microchip, Renesas), as it offers DSP (digital signal processing) functionality traditionally found in more expensive devices and is low-power.</p>



<p class="wp-block-paragraph">If you need more your application needs more computational performance, then the M7 is an excellent choice, where some devices even offer H/W double precision floating point support, which is ideal for audio enhancement and biomedical algorithms.</p>



<p class="wp-block-paragraph">For those of you looking for hardware security, then the M33 is a good choice, as it implements Arm TrustZone security architecture, as well as having the computational performance of the M4.</p>



<h3 class="wp-block-heading"><strong>State-of-the art AIoT microcontrollers</strong></h3>



<p class="wp-block-paragraph">Released in 2020, the Arm Cortex-M55 processor and its bigger brother the Cortex-M85 are targeted for AIoT applications on microcontrollers. These processors use Arm’s powerful Armv8.1-M architecture that implement their M-Profile Vector Extension (MVE) technology (nicknamed <strong>Helium</strong>) allowing for 128bit vector mathematical operations (such as dot product operations) needed for ML and some DSP algorithms.</p>



<p class="wp-block-paragraph">In November 2023, Arm announced the release of the Cortex-M52 processor for AIoT applications. This processor looks to replace the older M33 processor, as it combines Helium technology with Arm TrustZone technology. However, as only a few IC vendors (Alif, Ambiq, Samsung, Renesas, HiMax, Bestechnic, Qualcomm) have currently released or are planning to release any devices, Helium processors remain a gem for the future.</p>



<h3 class="wp-block-heading"><strong>Toolchains</strong></h3>



<p class="wp-block-paragraph">Arm provides developers with extensive easy-to-use tooling and tried and tested software libraries. The Arm’s <a style="color:#0000ff" href="https://github.com/ARM-software/CMSIS-DSP">CMSIS-DSP</a> and CMSIS-NN frameworks for algorithm development and machine learning (ML) are two very popular examples that are open source and are used internationally by tens of thousands of developers.</p>



<p class="wp-block-paragraph">The Arm-CMSIS framework solutions are further strengthened by Arm partners ASN and Qeexo who provide developers with easy-to-use real-time filtering, feature extraction (<a style="color:#0000ff" href="https://www.advsolned.com/asn_filter_designer_digital_filter_software/">ASN Filter Designer</a>) and ML tooling (<a style="color:#0000ff" href="https://qeexo.tdk.com/">Qeexo AutoML</a>) and reference designs, expediting the development of IoT applications, including industrial, audio and biomedical. These solutions have been optimised for Arm processors with the help of Arm’s architecture experts and insider knowledge of compiler workings.</p>



<h3 class="wp-block-heading"><strong>Deployment of Deep Learning Networks to the IoT Edge</strong></h3>



<p class="wp-block-paragraph">Deploying a trained model onto an Edge device requires meticulous attention and effort. Fortunately, there are many tools available to help developers achieve this, such as <a style="color:#0000ff" href="https://qeexo.tdk.com/">Qeexo AutoML</a> and the DLtrain toolset. The latter offers robust support for developers working with Arm processor-based boards with Android platforms. DLtrain utilizes the Android NDK (native development kit) to deploy neural networks (NN) or convolutional neural networks (CNN) in the Linux kernel of the Android platform. The deployed components include JNI options to support applications developed in Java, bridging the gap between low-level implementation and high-level application development. Find out more <a style="color:#0000ff" href="https://www.jkuse.com/dltrain/deploy-dl-networks/edge-native-service/j7-app">here.</a></p>



<p class="wp-block-paragraph">Deploying deep learning (DL) networks on Arm cores of Android platforms involves integrating these networks into the Linux kernel via the Android NDK. While application development is primarily done in Java, DL networks receive input from the Android layer (SDK) and efficiently perform inference. The results are then passed back to the Java side via the Java Native Interface (JNI). The following list describes the layers involved in performing inference on an Android device:</p>



<ol class="wp-block-list">
<li><strong>Top Layer</strong>: User Interface</li>



<li><strong>Second Layer</strong>: Java</li>



<li><strong>Third Layer</strong>: Android SDK</li>



<li><strong>Fourth Layer</strong>: Arm</li>



<li><strong>Bottom Layer</strong>: GPU</li>
</ol>



<p class="wp-block-paragraph">This hierarchical structure ensures that the user interface seamlessly interacts with underlying DL networks, optimizing performance and maintaining an efficient workflow from input to inference to output.</p>



<h2 class="wp-block-heading"><strong>Key takeways</strong></h2>



<p class="wp-block-paragraph">AI is an umbrella term focused on creating intelligent systems, whereas ML<strong> </strong>is a subset of AI that involves creating models to learn from data and make decisions. ML is crucial for IoT because it enables efficient data analysis, predictive maintenance, smart automation, anomaly detection, and personalized user experiences, all of which are essential for maximizing the value and effectiveness of IoT deployments.</p>



<p class="wp-block-paragraph">Arm and its rich ecosystem of partners provide IoT developers with extensive easy-to-use tooling and tried and tested software libraries for designing an implementing IoT algorithms for their smart products. Arm Cortex-MxF processors expedite RAD by virtue of their ease of use and hardware floating-point support, and modern semiconductor technology ensures low-power profiles making the technology an excellent fit for IoT/AIoT mobile/wearables applications. <strong><span class="" style="display:block;clear:both;height: 0px;padding-top: 25px;border-top-width:0px;border-bottom-width:0px;"></span></strong></p>



                
                    <!--begin code -->

                    
                    <div class="pp-multiple-authors-boxes-wrapper pp-multiple-authors-wrapper pp-multiple-authors-layout-boxed multiple-authors-target-shortcode box-post-id-19551 box-instance-id-1 ppma_boxes_19551"
                    data-post_id="19551"
                    data-instance_id="1"
                    data-additional_class="pp-multiple-authors-layout-boxed.multiple-authors-target-shortcode"
                    data-original_class="pp-multiple-authors-boxes-wrapper pp-multiple-authors-wrapper box-post-id-19551 box-instance-id-1">
                                                                                    <h2 class="widget-title box-header-title">Authors</h2>
                                                                            <span class="ppma-layout-prefix"></span>
                        <div class="ppma-author-category-wrap">
                                                                                                                                    <span class="ppma-category-group ppma-category-group-1 category-index-0">
                                                                                                                        <ul class="pp-multiple-authors-boxes-ul author-ul-0">
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    
                                                                                                                    <li class="pp-multiple-authors-boxes-li author_index_0 author_jayakumar-singaram has-avatar">
                                                                                                                                                                                    <div class="pp-author-boxes-avatar">
                                                                    <div class="avatar-image">
                                                                                                                                                                                                                <img alt='' src='https://www.advsolned.com/wp-content/uploads/2024/06/Jayakumar_singaram-e1719323031790.jpeg' srcset='https://www.advsolned.com/wp-content/uploads/2024/06/Jayakumar_singaram-e1719323031790.jpeg' class='multiple_authors_guest_author_avatar avatar' height='80' width='80'/>                                                                                                                                                                                                            </div>
                                                                                                                                    </div>
                                                            
                                                            <div class="pp-author-boxes-avatar-details">
                                                                <div class="pp-author-boxes-name multiple-authors-name"><a href="https://www.advsolned.com/author/jayakumar-singaram/" rel="author" title="Dr. Jayakumar Singaram" class="author url fn">Dr. Jayakumar Singaram</a></div>                                                                                                                                                                                                    
                                                                                                                                            <div class="pp-author-boxes-description multiple-authors-description author-description-0">
                                                                                                                                                    <p>Jayakumar is an Arm ambassador and seasoned expert in semiconductor technology and AIoT. He advices companies such as Mistral Solutions, SunPlus Software, and Apollo Tyres at the strategic level on their AIoT solutions. He successfully founded Epigon Media Technologies, which focuses on Research and Development for the global market, and is also the co-author of the book "Deep Learning Networks: Design, Development, and Deployment."</p>
                                                                                                                                                </div>
                                                                                                                                                                                                    
                                                                                                                                    <span class="pp-author-boxes-meta multiple-authors-links">
                                                                        <a href="https://www.advsolned.com/author/jayakumar-singaram/" title="View all posts">
                                                                            <span>View all posts</span>
                                                                        </a>
                                                                    </span>
                                                                                                                                <a class="ppma-author-user_email-profile-data ppma-author-field-meta ppma-author-field-type-email" aria-label="Email" href="mailto:jk@jkuse.com"  target="_self"><span class="dashicons dashicons-email-alt"></span> </a>
                                                                                                                            </div>
                                                                                                                                                                                                                        </li>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        
                                                                                                                    <li class="pp-multiple-authors-boxes-li author_index_1 author_ssarpal has-avatar">
                                                                                                                                                                                    <div class="pp-author-boxes-avatar">
                                                                    <div class="avatar-image">
                                                                                                                                                                                                                <img alt='' src='https://www.advsolned.com/wp-content/uploads/2023/05/sanjeevsarpal.jpeg' srcset='https://www.advsolned.com/wp-content/uploads/2023/05/sanjeevsarpal.jpeg' class='multiple_authors_guest_author_avatar avatar' height='80' width='80'/>                                                                                                                                                                                                            </div>
                                                                                                                                    </div>
                                                            
                                                            <div class="pp-author-boxes-avatar-details">
                                                                <div class="pp-author-boxes-name multiple-authors-name"><a href="https://www.advsolned.com/author/ssarpal/" rel="author" title="Dr. Sanjeev Sarpal" class="author url fn">Dr. Sanjeev Sarpal</a></div>                                                                                                                                                                                                    
                                                                                                                                            <div class="pp-author-boxes-description multiple-authors-description author-description-1">
                                                                                                                                                    <p>Sanjeev is a RTEI (Real-Time Edge Intelligence) visionary and expert in signals and systems with a track record of successfully developing over 26 commercial products. He is a Distinguished Arm Ambassador and advises top international blue chip companies on their AIoT/RTEI solutions and strategies for I5.0, telemedicine, smart healthcare, smart grids and smart buildings.</p>
                                                                                                                                                </div>
                                                                                                                                                                                                    
                                                                                                                                    <span class="pp-author-boxes-meta multiple-authors-links">
                                                                        <a href="https://www.advsolned.com/author/ssarpal/" title="View all posts">
                                                                            <span>View all posts</span>
                                                                        </a>
                                                                    </span>
                                                                                                                                <a class="ppma-author-user_email-profile-data ppma-author-field-meta ppma-author-field-type-email" aria-label="Email" href="mailto:sanjeev.sarpal@advsolned.com"  target="_self"><span class="dashicons dashicons-email-alt"></span> </a>
                                                                                                                            </div>
                                                                                                                                                                                                                        </li>
                                                                                                                                                                                                                                                                                        </ul>
                                                                            </span>
                                                                                                                        </div>
                        <span class="ppma-layout-suffix"></span>
                                            </div>
                    <!--end code -->
                    
                
                            
        
		<div class="wpulike wpulike-default " ><div class="wp_ulike_general_class wp_ulike_is_restricted"><button type="button"
					aria-label="Like Button"
					data-ulike-id="20603"
					data-ulike-nonce="6a6181d1ba"
					data-ulike-type="post"
					data-ulike-template="wpulike-default"
					data-ulike-display-likers=""
					data-ulike-likers-style="popover"
					class="wp_ulike_btn wp_ulike_put_image wp_post_btn_20603"></button><span class="count-box wp_ulike_counter_up" data-ulike-counter-value="+4"></span>			</div></div>
	<p>The post <a rel="nofollow" href="https://www.advsolned.com/ai-ml-and-aiot-a-unified-view-of-concepts-toolchains-and-arm-processor-technology-for-iot-developers/">AI, ML and AIoT: a unified view of concepts, toolchains and Arm processor technology for IoT developers</a> appeared first on <a rel="nofollow" href="https://www.advsolned.com">ASN Home</a>.</p>
]]></content:encoded>
					
		
		
			</item>
	</channel>
</rss>
