<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Inside the Network]]></title><description><![CDATA[Inside the Network]]></description><link>https://insidethenetwork.hashnode.dev</link><generator>RSS for Node</generator><lastBuildDate>Sat, 24 Oct 2026 23:25:22 GMT</lastBuildDate><atom:link href="https://insidethenetwork.hashnode.dev/rss.xml" rel="self" type="application/rss+xml"/><language><![CDATA[en]]></language><ttl>60</ttl><item><title><![CDATA[When Devices Learn to Think: How TinyML Is Changing the Way We Use Networks]]></title><description><![CDATA[How Tiny Machine Learning is transforming IoT, reducing network traffic, and bringing intelligence closer to devices.]]></description><link>https://insidethenetwork.hashnode.dev/tinyml-changing-computer-networks</link><guid isPermaLink="true">https://insidethenetwork.hashnode.dev/tinyml-changing-computer-networks</guid><category><![CDATA[#TINYML]]></category><category><![CDATA[MachineLearning]]></category><category><![CDATA[ComputerNetworking]]></category><dc:creator><![CDATA[Dhiraj Pawar]]></dc:creator><pubDate>Wed, 21 Oct 2026 13:55:41 GMT</pubDate><enclosure url="https://cdn.hashnode.com/uploads/covers/6ad8b6f45997bf83f071022c/6dbae9d0-d18a-4a55-a2d1-5db82485c354.png" length="0" type="image/jpeg"/><content:encoded><![CDATA[<p>How on-device machine learning can reduce network traffic, improve responsiveness, and reshape the Internet of Things.</p>
<p>Have you ever wondered if a smartwatch could detect a possible fall without depending on the internet? Or if a security camera could identify a person standing at your gate without sending the entire video to a cloud server?</p>
<p>It might sound like something from the future, but this is already possible with a technology called TinyML.</p>
<p>Usually, when we talk about Artificial Intelligence, we imagine powerful computers, cloud servers, and large amounts of data. We collect information from devices, send it over the internet, and let a server process it to give us a result.</p>
<p>But what if a device could do some of this work on its own?</p>
<p>That is the idea behind TinyML. Instead of sending every piece of data somewhere else for analysis, we can run small machine learning models directly on devices with limited computing power.</p>
<p>While exploring this concept, I found its connection with computer networking particularly interesting. It is not just about making devices smarter. It can also change how much data our networks need to carry. From Cloud Computing to Intelligence on Devices Let's take a simple example of a smart security camera.</p>
<p>In a traditional cloud-based system, the camera captures video and sends it over the internet. A cloud server processes the footage, identifies whether a person is present, and sends an alert if required.</p>
<p>The process looks like this: Camera → Internet → Cloud Server → AI Model → Alert</p>
<p>This approach works well, but it also has some limitations.</p>
<ul>
<li><p>Bandwidth: Sending continuous video or sensor data can consume a lot of network capacity.</p>
</li>
<li><p>Latency: The device may have to wait for the data to reach the server and for the result to come back.</p>
</li>
<li><p>Internet dependency: If the connection fails, some cloud-dependent features might stop working.</p>
</li>
<li><p>Privacy: Sensitive information may need to leave the device for processing. Now imagine thousands of cameras, wearables, and other IoT devices working simultaneously. The amount of data being transmitted can become a serious challenge.</p>
</li>
</ul>
<p>This made me think about a simple question: Do devices really need to send everything to the cloud just to make a basic decision?</p>
<p>In many cases, the answer is no. What Exactly Is TinyML? TinyML stands for Tiny Machine Learning. It involves running machine learning models on small, resource-constrained devices, especially microcontrollers.</p>
<p>These devices are very different from our laptops or smartphones. They may have only a few kilobytes of RAM, limited storage, low processing power, and strict power requirements.</p>
<p>Despite these limitations, they can perform useful tasks such as:</p>
<ul>
<li><p>Recognizing specific sounds.</p>
</li>
<li><p>Detecting unusual movements.</p>
</li>
<li><p>Identifying patterns in sensor readings.</p>
</li>
<li><p>Detecting abnormal machine vibrations.</p>
</li>
<li><p>Classifying simple events without an internet connection. The basic architecture becomes: Sensor → TinyML Model → Local Decision → Relevant Data Sent Over the Network</p>
</li>
</ul>
<p>The device processes the information locally and communicates when necessary.</p>
<p>For example, a sensor may continuously monitor temperature but send an alert only when it detects an unusual increase.</p>
<p>The important point is that the device does not need to upload every reading before it can make a decision. A Security Camera That Knows When Something Matters Consider a security camera installed outside a house.</p>
<p>Throughout the day, it might capture hundreds of hours of footage showing an empty road, parked vehicles, or trees moving in the wind.</p>
<p>If the system depends on cloud processing, it may need to transmit a considerable amount of data for analysis.</p>
<p>Now imagine that the camera has a small machine learning model running directly on its hardware.</p>
<p>The model checks the incoming images and identifies whether a person is present. If nothing relevant happens, the camera can continue processing locally. When someone approaches the gate, it can send an alert to the owner's phone.</p>
<p>For example:</p>
<p>Security alert (example)</p>
<ul>
<li><p>Device: Front Gate Camera</p>
</li>
<li><p>Event: Person Detected</p>
</li>
<li><p>Time: 8:45 PM</p>
</li>
<li><p>Action: Notification Sent Instead of continuously uploading all the footage, the system could send a notification or a short video clip when needed.</p>
</li>
</ul>
<p>This can reduce unnecessary data transmission, improve response time, and help keep private footage on the device.</p>
<p>One thing to remember is that not every smart camera uses TinyML. Some cameras rely on more powerful edge processors. TinyML specifically focuses on running machine learning on highly resource-constrained hardware. Where Else Can TinyML Be Useful? Security cameras are only one example. The technology can also be useful in situations where internet connectivity, battery life, or response time is important. Wildlife Monitoring: Listening to the Forest Imagine installing small audio sensors in a forest to monitor wildlife and detect unusual activities.</p>
<p>Instead of continuously transmitting every sound, a sensor could run a lightweight model that recognizes specific audio patterns, such as a chainsaw or the call of a particular animal.</p>
<p>When it detects something relevant, it sends an alert to the monitoring team.</p>
<p>This could be useful in remote areas where network connectivity is limited and replacing batteries frequently is difficult. Smart Factories: Detecting Problems Before Machines Fail Machines often produce vibrations and sounds that change when something starts going wrong.</p>
<p>A sensor attached to an industrial motor could use a TinyML model to identify unusual vibration patterns that may indicate a developing fault.</p>
<p>Rather than transmitting every vibration reading, the device could send an alert when it detects an abnormal pattern.</p>
<p>Maintenance teams could then investigate the issue before it leads to a major breakdown.</p>
<p>The model would not necessarily identify the exact fault every time, but it could help detect problems earlier. Smart Helmets: Making Safety Systems Smarter Construction workers often operate in environments where accidents can have serious consequences.</p>
<p>A smart helmet equipped with an accelerometer and a microcontroller could use a machine learning model to recognize movement patterns associated with a possible fall or impact.</p>
<p>If a suspicious event is detected, the helmet could trigger a local alarm and attempt to send an emergency notification.</p>
<p>Even if the internet connection is temporarily unavailable, the local detection system could continue working.</p>
<p>However, sending a remote alert still requires a working communication channel, and the system would need to be tested carefully to avoid false alarms. Baby Monitors: Processing Sounds Locally A baby monitor could use a small audio classification model to recognize crying.</p>
<p>Instead of continuously streaming audio to a cloud server, the device could analyze sounds locally and notify the parents when it detects crying.</p>
<p>This reduces unnecessary transmission and can help keep sensitive audio inside the home.</p>
<p>These examples show that TinyML is not limited to one industry. Its usefulness depends on whether a task can be handled by a small, efficient model. The Computer Networking Connection This is where TinyML becomes especially interesting from a computer networking perspective.</p>
<p>We often discuss networks in terms of bandwidth, latency, congestion, and data transmission. But what happens when the devices connected to a network start processing more information themselves?</p>
<p>Let's consider a hypothetical smart city with 10,000 environmental sensors.</p>
<p>Suppose each sensor sends a 1 KB reading every second.</p>
<p>The total data generated per second would be:</p>
<p>10,000 × 1 KB = 10,000 KB</p>
<p>That is approximately 10 MB per second, assuming decimal units.</p>
<p>Over 24 hours:</p>
<p>10 MB × 86,400 seconds = 864,000 MB</p>
<p>That is approximately 864 GB of raw sensor data per day.</p>
<p>This calculation excludes additional network overhead, protocol headers, retransmissions, and other communication costs.</p>
<p>Now imagine that the sensors process their readings locally and transmit only meaningful events, together with occasional status updates.</p>
<p>The amount of data travelling through the network could be significantly reduced. The actual reduction would depend on how frequently events occur and how often the system needs to report its readings.</p>
<p>This has several possible advantages.</p>
<ul>
<li><p>Reduced bandwidth usage: Fewer unnecessary readings are transmitted, leaving more network capacity available for other applications.</p>
</li>
<li><p>Lower latency: A device can make local decisions without waiting for a cloud server to respond.</p>
</li>
<li><p>Less network congestion: Reducing traffic from large numbers of connected devices can help ease pressure on shared network links.</p>
</li>
<li><p>Better battery life: Wireless communication consumes energy, so reducing transmissions may help battery-powered devices last longer. However, local machine learning also uses power, so the overall benefit depends on the hardware and workload.</p>
</li>
<li><p>Improved reliability: A device can continue performing supported local tasks even when the internet connection is unavailable. TinyML does not eliminate the need for computer networks. Instead, it changes the type and amount of information that needs to be transmitted.</p>
</li>
</ul>
<p>Rather than sending every observation, devices can send the information that actually matters. How Can Machine Learning Run on Such Small Devices? Running a machine learning model on a device with very little memory and processing power is not straightforward.</p>
<p>Large AI models are generally unsuitable for small microcontrollers because they require more memory and computing resources than these devices can provide.</p>
<p>To overcome this problem, TinyML uses compact models and different optimization techniques. Model Quantization Quantization reduces the numerical precision used to represent model weights and computations.</p>
<p>For example, a model may use 8-bit integers instead of 32-bit floating-point numbers. Depending on the model and hardware, this can reduce memory requirements and improve inference efficiency. Model Pruning Pruning removes less important weights or structures from a trained model.</p>
<p>The aim is to reduce the model's size and computational requirements while retaining useful accuracy. Knowledge Distillation In this technique, a smaller model, called the student, learns from a larger model, called the teacher.</p>
<p>The goal is to create a compact model that can perform a task reasonably well without requiring the same resources as the larger model. Tools Used in TinyML Some useful tools and technologies include:</p>
<ul>
<li><p>LiteRT for Microcontrollers: Google's lightweight runtime for deploying machine learning models on microcontrollers.</p>
</li>
<li><p>Edge Impulse: A platform that helps developers build, train, and deploy machine learning models for embedded devices.</p>
</li>
<li><p>CMSIS-NN: Optimized neural network kernels designed for Arm Cortex-M processors. These technologies can help developers deploy machine learning applications on supported hardware, including suitable Arduino boards, ESP32-based devices, and other microcontroller platforms. TinyML vs Cloud AI Both approaches have their own strengths, and choosing between them depends on the application.</p>
</li>
</ul>
<p>| Feature | Cloud AI | TinyML |</p>
<p>|---|---|---|</p>
<p>| Processing | Remote servers | Local microcontroller |</p>
<p>| Model size | Can support very large models | Usually compact, optimized models |</p>
<p>| Internet | Often needed for remote inference | Not needed for local inference |</p>
<p>| Computing power | High | Limited |</p>
<p>| Privacy | Data may leave the device | Raw data can remain local |</p>
<p>| Response time | Includes network delays | Avoids the cloud round trip |</p>
<p>| Best suited for | Complex analysis and large-scale computing | Lightweight, local predictions |</p>
<p>TinyML is not meant to replace cloud AI completely.</p>
<p>Cloud servers are useful for training sophisticated models, combining data from multiple sources, and performing complex analysis. Small devices can then run compact models to make quick decisions locally.</p>
<p>In many applications, the best solution may involve both. What Are the Challenges? Although TinyML has several advantages, implementing it successfully is not always easy.</p>
<ul>
<li><p>Limited memory: Even a relatively small model may exceed the available RAM or flash storage.</p>
</li>
<li><p>Accuracy: Compressing a model can sometimes reduce its predictive performance.</p>
</li>
<li><p>Processing limitations: Tasks such as complex image recognition may require hardware that is more powerful than a typical microcontroller.</p>
</li>
<li><p>Model updates: Updating and maintaining models across thousands of deployed devices can be difficult.</p>
</li>
<li><p>Security: Firmware, machine learning models, and transmitted alerts need protection against unauthorized access and tampering.</p>
</li>
<li><p>Power consumption: Local processing consumes energy, so developers must balance computation against the energy saved through reduced communication. There is no single model that works perfectly for every device. Developers need to consider accuracy, memory, speed, power consumption, and reliability before deploying a solution. What Could This Mean for the Future of IoT? The Internet of Things has already connected devices ranging from home appliances to industrial sensors.</p>
</li>
</ul>
<p>TinyML adds another possibility: these devices can do more than simply collect and forward information.</p>
<p>A sensor can identify an unusual reading. A wearable can recognize a movement pattern. A factory machine can detect signs of a potential fault. A wildlife monitoring system can recognize a particular sound.</p>
<p>As machine learning models become more efficient and embedded hardware improves, local intelligence could become increasingly useful across IoT applications.</p>
<p>It could also influence how future networks are designed, with cloud computing, edge computing, and TinyML handling different parts of the same workload.</p>
<p>The cloud can manage complex processing, edge servers can handle more demanding local workloads, and microcontrollers can perform simple predictions close to the source of the data.</p>
<p>Each has a different role. Final Thoughts When I think about TinyML, the most interesting part is not just that AI can run on small devices. It is the possibility that connected devices may no longer need to transmit every piece of information to make a useful decision.</p>
<p>The traditional approach was often: Collect data → Transmit it → Process it → Return the result</p>
<p>With TinyML, the process can become: Collect data → Process it locally → Transmit what matters</p>
<p>That change could make a difference in applications where bandwidth, battery life, privacy, and response time are important.</p>
<p>TinyML is still subject to hardware limitations, accuracy trade-offs, and practical deployment challenges. But it offers an interesting direction for the future of AI, embedded systems, IoT, and computer networking.</p>
<p>Maybe the next step in connected technology will not only be about making networks faster. It will also be about making devices smart enough to know when they do not need to use the network.</p>
<p>What do you think? Will cloud AI continue to dominate, or will local intelligence become an equally important part of our connected world?</p>
<p>Authored by Team Deadliners(Third-year students of Vidyalankar Institute of technology(VIT)) :Sainath Nanaware, Dhiraj Pawar, Kalpesh Sawkare And Preet Panaviya</p>
<p>Under the Guidance of Dr. Amit K. Nerurkar(Associate Professor, Vidyalankar Institute of Technology)</p>
]]></content:encoded></item></channel></rss>