AI training
Creative · AI training · LoRA
LoRA vs LoRa radio vs AI training
LoRA (capital A, low-rank adaptation) is a way to teach an existing AI model something new by training a small add-on file instead of the whole model. LoRa (lowercase a, long range) is a radio technology that sends tiny messages over kilometres on very little battery power. AI training is the whole process of teaching a model from data, and LoRA is one method inside it. LoRa radio is a separate field that happens to share the name.
Search for LoRA help and radio modules turn up next to training guides, because the two names differ by one lowercase letter. This page sorts the three terms apart, using my own SDXL training run as the AI example.
What is the difference between LoRA and LoRa?
LoRA and LoRa share four letters and nothing else. LoRA, with a capital A, is a machine learning method for fine-tuning AI models. LoRa, with a lowercase a, is a radio technology that sends small messages a long way on very little power. AI training is the broader process that LoRA belongs to.
| LoRA | LoRa radio | AI training | |
|---|---|---|---|
| Stands for | Low-rank adaptation | Long range | Not an acronym |
| Field | Machine learning | Wireless networking and IoT | Machine learning |
| What it is | A fine-tuning method: small trained weights added on top of a frozen model | A radio modulation for small, slow messages sent a long way | Teaching a model from data, from pretraining to fine-tuning |
| Where it came from | A 2021 paper by Edward Hu and colleagues at Microsoft | Cycleo in Grenoble, France, bought by Semtech in 2012 | An umbrella term, not one invention |
| Hardware | A GPU | A radio chip, an antenna and a battery | GPUs, from one desktop card to data centres |
| What you end up with | An adapter file, often .safetensors, loaded with a base model | A device that reports a few bytes from kilometres away | A trained model, or an adapter for one |
| Example | My 456 MB SDXL LoRA | A soil sensor, or a Meshtastic text messenger | Training that LoRA on 48 photos |
The spelling is the quickest tell. The machine learning method is written LoRA. The radio is LoRa, a trademark of Semtech. Plenty of people type both in lowercase, so the words around it matter too (more on that below).
What is LoRA in AI?
LoRA, short for low-rank adaptation, is a way to teach an existing AI model something new without retraining the whole model. The model’s weights stay frozen. For each layer it adapts, LoRA trains two small matrices whose product is the change to that layer, and saves those changes as a separate file.
The method comes from a 2021 paper by Edward Hu and colleagues at Microsoft, written for large language models. For GPT-3 175B, they reported that LoRA cut the number of trainable parameters by 10,000 times and the GPU memory needed by three times compared with full fine-tuning, while matching it on quality in their tests.
The same idea now trains image models. In Stable Diffusion, a LoRA usually teaches a face, a style, a character or an object, called up with a trigger word in the prompt. A language-model LoRA might teach a tone, an output format or a specialist vocabulary. Either way, the LoRA sits beside the base model instead of replacing it. My explainer on what LoRA training is covers how that works with SDXL.
What is LoRa radio?
LoRa, short for long range, is a low-power radio technology for the Internet of Things. It uses a form of chirp spread spectrum modulation: each signal sweeps across a range of frequencies, which lets a receiver pick it out even when it arrives weaker than the background noise.
It was developed by Cycleo, a company in Grenoble, France, which Semtech bought in 2012. LoRa runs in licence-free radio bands, such as 863 to 870 MHz in Europe and 902 to 928 MHz in North America. Range depends on antennas, terrain and what is in the way: Semtech quotes up to 3 miles in cities and 30 miles in open country, while the LoRa Alliance gives a more cautious 15 km in rural areas.
The price of that range is speed. LoRa sends between 0.3 and 27 kbps, depending on its settings. That is plenty for a temperature reading or a short text, and little enough that a sensor can run on batteries for years. LoRaWAN, the network protocol built on LoRa and maintained by the LoRa Alliance, connects those devices to the internet through gateways.
Common uses are farm and soil sensors, water meters, asset trackers and off-grid text messaging with Meshtastic, an open-source project that turns LoRa radios into a mesh network.
What is AI training, and where does LoRA fit?
AI training is the process of adjusting a model’s weights from example data until its outputs match what you want. LoRA is one way of doing it: a kind of fine-tuning that trains a small add-on instead of the whole model.
Training happens in layers:
- Pretraining builds a model from scratch on a very large dataset. This is how SDXL or a large language model is made, and it takes far more data and compute than one person has.
- Full fine-tuning keeps training an existing model on a smaller, focused dataset. Every weight can change, and the result is a full-size copy of the model.
- Parameter-efficient fine-tuning trains only a small number of new weights. LoRA is the best-known method. QLoRA, which trains a LoRA on top of a model compressed to 4 bits, is a popular variant for language models.
So LoRA is not an alternative to AI training. It is a cheaper way of doing it. My own run is an example: I trained a subject LoRA on Juggernaut XL v9, an SDXL model, from 48 self-portrait photos. The base model never changed. The LoRA loads beside it when I want the subject and stays out of the way when I don’t.
- 48source photos
- 32rank (alpha 16)
- ~6h 45mtraining time
- 456 MBfinished LoRA file
From my training run, documented in the study methodology and archived with the weights at DOI 10.5281/zenodo.21282393.
Is LoRA the same as fine-tuning?
LoRA is a kind of fine-tuning, but not the full kind. Full fine-tuning changes every weight and saves a new copy of the whole model. LoRA freezes the model, trains a small set of new weights and saves only those.
That makes LoRA files small enough to share and swap, and lets one base model use many LoRAs. A full fine-tune can take on bigger changes, if you have the data and the hardware for it.
Can LoRa radio be used for AI?
Not for training, and not for moving models around. LoRa is built for messages of a few dozen to a couple of hundred bytes. Sending my 456 MB LoRA file over LoRa would take about a day and a half of nonstop transmission at its fastest rate, and more than four months at its slowest.
Real networks are slower still: in Europe, many LoRa channels may only transmit 1% of the time.
The two do meet at the edges. A small model running on a sensor can decide what matters, such as spotting an animal in a camera frame, and send only the result over LoRa. Readings collected over a LoRa network can also become training data for a model trained somewhere else, on ordinary hardware.
How do you tell which LoRA someone means?
Check the spelling first, then the words around it. LoRA with a capital A is the AI method, and LoRa with a lowercase a is the radio, but many people ignore the case.
- AI words: rank, alpha, epochs, trigger word, checkpoint, SDXL, Stable Diffusion,
.safetensors, base model. - Radio words: MHz, antenna, gateway, spreading factor, LoRaWAN, Meshtastic, The Things Network, ESP32.
- When searching: add SDXL, Stable Diffusion or fine-tuning for the AI method, and LoRaWAN, module or Meshtastic for the radio.
Where can I read more?
- What is LoRA training? How it works with SDXLArynwood
- Cross-checkpoint portability of SDXL LoRA fine-tunesArynwood study
- LoRA: Low-Rank Adaptation of Large Language ModelsHu et al. · Microsoft · 2021
- QLoRA: Efficient Finetuning of Quantized LLMsDettmers et al. · 2023
- What is LoRa?Semtech
- What is LoRaWAN?LoRa Alliance
- Understanding the Limits of LoRaWANAdelantado et al. · IEEE · 2017
- Meshtastic: off-grid mesh messaging over LoRaProject site