Перейти к содержимому
Hub Nexus

Автора пока нетВзять себе

Версия 3Обновлено 4 мин чтения

Поддержка

Most students in sub-Saharan Africa have no household computer and most have no internet, yet the best-known AI assistants depend on a stable internet connection. A perspective paper argues that small language models (SLMs), AI models compact enough to run offline on a smartphone or laptop, could bring interactive physics and photonics teaching to those students. The paper is openly licensed (CC BY 4.0). Its authors are affiliated with 1LLM venture in Nuremberg, the Max Planck Institute for the Science of Light and Friedrich-Alexander-Universität Erlangen-Nürnberg.

An illustration of students learning science on site with a small language model, with no internet needed

Illustration by S. Cook-Ordonez, from the paper (CC BY 4.0).

The gap the paper starts from

The paper cites reports showing how unequal access to STEM education is, using Africa as its example:

  • Fewer than 5% of African students pursue tertiary education in STEM fields, and physics is among the least chosen subjects.
  • About 80% of secondary schools in Africa have no electricity and over 90% lack adequately equipped science laboratories; in Malawi and Tanzania fewer than 15% of schools have functioning labs.
  • In Kenya, Tanzania and Uganda, 75% of third-grade students cannot read an introductory sentence.
  • UNESCO figures cited put about 89% of students in sub-Saharan Africa without a household computer and over 80% without the internet.
  • In Pakistan, only 21% of university engineering students and 4.9% of the engineering workforce are women.

Large language models such as ChatGPT depend mainly on stable internet and cloud servers. The authors say this is why they are out of reach for many students.

Why big models do not fit

Training and running large models is costly. The paper reports that pretraining the 70-billion-parameter Llama 2 emitted 291 tons of CO2 equivalent, comparable to the annual emissions of 65 gasoline-powered cars. Running a model is limited by memory too: at 8-bit precision a model needs about one gigabyte per billion parameters, so a 70-billion-parameter model needs about 70 GB, while mainstream smartphones offer 2-6 GB and high-end ones rarely more than 10 GB. In practice, phones can run models of roughly 4 billion parameters or fewer, and above that few model and device combinations reach the 10 tokens per second the authors consider enough for interactive use.

What makes a model small

The authors define SLMs as models that run efficiently on portable devices such as smartphones, typically about 3 billion parameters and sometimes up to 7 billion. They list the techniques that let small models punch above their size.

TechniqueWhat it does
Careful training dataFiltering and domain selection cut the data needed while keeping generalization
Efficient attentionCompresses stored representations or shares information across attention heads, to cut memory
Instruction tuning and domain adaptationTurns a pretrained model into a responsive tutor and specializes it in science, medicine or law
Low-Rank Adaptation (LoRA)Trains small add-on matrices while the base model stays frozen, so one base model can take many task-specific modules
Test-time computeLets a model spend more effort on hard problems, like slow, deliberate thinking, and less on easy ones
Knowledge distillationA large teacher model trains a smaller student
QuantizationStores weights as 8, 4 or 2 bits instead of 32 or 16, shrinking a model about 4, 8 or 16 times

A pipeline from pretraining to deployment of language models

An overview of the training and deployment pipeline for language models, some steps optional (figure from the paper, CC BY 4.0).

The paper's examples: the math-tuned Qwen2.5-Math-7B beats the 405-billion-parameter LLaMA3.1-405B on two math benchmarks (GSM8K, 91.6 against 89.0, and MATH, 55.4 against 53.8), and the 1.5-billion-parameter version beats LLaMA3.1-70B on MATH (49.8 against 41.4). In another table, a distilled seven-billion-parameter DeepSeek-R1 model scores 55.5 on the AIME 2024 benchmark against 9.3 for GPT-4o. Cited studies go further, reporting that tuned 3-billion-parameter models can beat models 100 times larger on hard math reasoning.

Running on a phone

Phone chips combine CPUs, GPUs and neural processing units. Software such as llama.cpp, MLC-LLM and Alibaba's MNN adapts models to them, and apps such as Google's Gemini Nano on Pixel phones, Apple Intelligence, PocketPal AI and LM Studio already run models locally.

What it could mean for teaching

The authors see SLMs as offline virtual tutors that explain topics such as Maxwell's equations or optical coherence on demand, as tools that can be tuned to local languages, as aids for teachers drafting lesson plans and problem sets, and as support for collaborative learning on shared devices where labs are lacking. They name the limits: hallucination, which matters when accuracy is critical, and weaker performance in low-resource languages. They call for investment in affordable hardware and localized AI, and say keeping data on the device also helps privacy.

Sources

  • Bridging the Digital Divide: Small Language Models as a Pathway for Physics and Photonics Education in Underdeveloped Regions, arXiv, arxiv.org/abs/2506.12403, licensed CC BY 4.0. Changed here: condensed and rewritten in hubnx's own words; the paper's own illustration and pipeline figure are kept and its equations left out. Charts built from other sources' data are not reproduced.
  • Authors of the original: Asghar Ghorbani, Hanieh Fattahi.

Комментарии

Spinner Logo

Ещё на тему «Образование»

Автор: Hub Nexus editorsПросмотры: 282
A demo for the Hub Nexus content editor, showing what could be created, and at the same time teaching how to create them with each syntax. It follows general markdown syntax, gfm, and more advanced like various charts and graphs code syntax.
Автор: Hub Nexus Nomad
The Success Podcast Myth & The Illusion of Control
Автор: Abdul Ariwoola
Random article
CC BY-SA 4.0
Historical Geology, Subduction
CC BY 4.0
Speed and Velocity
CC0 1.0 (общественное достояние)
AA: This is Avi Arditti with Rosanne Skirble, and this week on Wordmaster -- the language of cliches. RS: These are phrases that lose meaning when we use them all the time. Take the expression: 24-7. That's another way of saying "24 hours a day, seven days a week." When I first heard it, it sounded