0% found this document useful (0 votes)
3 views3 pages

SLMs and Edge AI

Class assignments

Uploaded by

swapnaclothings
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as ODT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
3 views3 pages

SLMs and Edge AI

Class assignments

Uploaded by

swapnaclothings
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as ODT, PDF, TXT or read online on Scribd

SMALL LANGUAGE MODELS (LLMs) AND EDGE AI

SMALL LANGUAGE MODELS (LLMs)

Small Language Models are a category of language models designed to be


lightweight and efficient, typically having a significantly smaller number of
parameters..

Are a lightweight version of AI designed to perform natural language tasks


with significantly fewer parameters than LLMs.

They are favored for their ability to run on edge devices (like smartphones or
laptops), providing lower latency, reduced costs, and enhanced privacy by
keeping data local.

Popular Small Language Models include Microsoft Phi Series: Known for high
performance in reasoning and code generation. Examples include phi-
3.5MIni(3.8B) and Google Gemma: Open-weight models like Gemma 9B
variants developed by Google.

Core Idea:
They are built for efficiency, aiming to deliver strong performance on specific
tasks without the massive computational footprint of Large Language Models
(LLMs) .
Comparison to LLMs:
If LLMs are like a versatile, fully-equipped workshop, SLMs are like
specialized power tools-designed to do specific jobs extremely well .Key
Advantages of SLMs over LLMs
•Low compute requirements- can run on consumer-grade hardware or locally
on mobile phones without cloud dependency.
•Cost-Effectiveness: SLMs are far cheaper to train and run.
•Speed and Latency: Due to their smaller size, they process information and
generate responses much faster. This is critical for real-time applications like
chatbots and translation .
•Privacy and Security: Their smaller size makes them deployable on-
device (e.g., laptops, smartphones), meaning sensitive data never has to leave
the user's device to be processed in the cloud.
•Resource Efficiency: They require less GPU memory, less energy, and can run
on consumer-grade or edge hardware.
•Customization and Control: SLMs are easier to fine-tune for specific domains
or tasks.
Below is link to youtube video tha explain key advantages of SLMs and
comparison to LLMs-
[Link]
EDGE AI
Youtube link -Edge AI explained with real world exampes
[Link]
Edge AI refers to the deployment of AI algorithms and AI models directly on
local edge devices such as sensors or Internet of Things (IoT) devices, which
enables real-time data processing and analysis without constant reliance on
cloud infrastructure.
In essence, it refers to the combination of edge computing and artificial
inteligence to perform ML tasks directly on interconnected edge devices.
Edge computing allows data to be stored close to the device location, and AI
algorithms enable processing right on the network edge, with or without an
internet connection.
This capability facilitates data processing within milliseconds, providing real-
time feedback.
Self-driving cars, security cameras and smart home appliances are among the
technologies that use edge AI.
Edge AI is becoming popular as industries find new ways to use its power to
optimize workflows, automate business processes and foster innovation.
At the same time, it helps address critical concerns like security and cost
reduction.
Instead of applications being developed and run entirely on the cloud, edge AI
systems process and analyze data closer to the point where it was created.

Key differences between edge AI and cloud AI


1. computing power
Cloud AI can provide greater computational capabilities and storage capacity
compared to edge AI, facilitating the training and deployment of more
intricate and advanced AI models. Edge AI's processing capacity is limited by
the device's size constraints.
2. Network bandwidth
Bandwidth refers to the public data transfer of inbound and outbound network
traffic around the globe. Edge AI calls for lower bandwidth due to local data
processing on the device, whereas cloud AI involves data transmission to
distant servers, demanding higher network bandwidth.
3. Security
Edge architecture offers enhanced privacy by processing sensitive
data directly on the device, whereas cloud AI entails transmitting data to
external servers, potentially exposing sensitive information to third-party
servers.
4. Latency
Latency directly affects productivity, collaboration, application performance
and user experience. The higher the latency (and the slower response times)
the more these areas suffer. Edge AI provides reduced latency by processing
data directly on the device, whereas cloud AI involves sending data to distant
servers, leading to increased latency.

Benefits of edge AI for end users

1. Diminished latency - Through complete on-device processing, users can


experience rapid response intervals without any delays caused by the need for
information to travel back from a distant server.

2. Real-time analytics

3. Reduced costs - Associated with cloud hosting,the use of CPU, GPU and
memory experiences a large reduction as their workloads are distributed
among edge devices, distinguishing edge AI as the more cost-effective option
between the two.

You might also like