back

small models

most of my interest in artificial intelligence comes from trying to understand what we can achieve with limited computational resources. doing independent research in Brazil makes this a particularly relevant problem for me since most of the experiments i would like to conduct require hardware i simply do not have access to.

i started wondering how much of the intelligence we observe in large language models actually requires their current size and how much could be reproduced through better engineering, better training methods and a more careful use of computational resources. i still do not have a satisfactory answer to this question but i think it deserves considerably more attention.

scale works

i have no intention of denying the importance of scale in the development of artificial intelligence. increasing model capacity and providing enough training data has consistently produced more capable systems and there are good empirical reasons why the largest research labs continue investing in computational infrastructure.

what interests me is whether our current approach represents the best possible use of those resources. in 2022 the Chinchilla paper demonstrated that a model with 70 billion parameters could outperform a considerably larger model under the same training compute budget by allocating more of that budget to training data. the implications of this research go beyond the particular models involved since it demonstrated how much performance could be gained by reconsidering the distribution of resources we already had.

i think there is an important distinction between intelligence and computational efficiency that often gets lost in these discussions. a smaller model capable of solving the same problem as a larger one has demonstrated greater efficiency under those particular conditions, but that does not necessarily mean it possesses the same general capabilities.

what are we actually measuring?

parameters are numerical values adjusted during training that collectively determine how a model processes information. increasing their number generally gives the model more representational capacity but it tells us relatively little about what the model has actually learned or how useful that knowledge will be in practice.

a model can possess an enormous amount of knowledge and still struggle to solve unfamiliar problems. another model might have very limited knowledge of the world but demonstrate considerable competence within a particular domain. evaluating both exclusively through parameter count would reveal almost nothing about their respective usefulness.

this is something i have spent quite a bit of time thinking about through our work with decision models at Aspas Labs. when the problem involves selecting an appropriate tool or determining the next action within a system, the model does not necessarily need extensive linguistic capabilities or knowledge of unrelated subjects. we can formulate the problem differently and allocate considerably fewer resources to solving it.

there are obviously limitations to this approach and i do not think success within a restricted domain establishes general intelligence. what it does establish is that we should probably spend more time understanding the actual problem before deciding how much model capacity we need to solve it.

the training problem

one of the more interesting directions in language model research is dataset design. the composition of a dataset influences what a model learns and the computational resources required to acquire those capabilities, which makes the selection and organization of training data an engineering problem in its own right.

Microsoft explored this direction with Phi-3 by training a 3.8 billion parameter model on carefully selected real and synthetic data. another particularly interesting example is DataComp-LM, where researchers demonstrated that better filtering and dataset construction could produce substantial improvements without increasing the computational budget.

architecture is another part of this problem that interests me considerably. the way information moves through a model and the way computation is distributed across its components can have significant implications for both learning and inference. DeepSeek-V3 is a good example of this with its 671 billion total parameters and approximately 37 billion active parameters per token, although the complete model still requires substantial memory to operate.

there is also considerable room for research into how models acquire new capabilities after their initial training. distillation, fine-tuning and reinforcement learning allow us to modify model behavior without repeating the entire pretraining process, but transferring new knowledge without degrading existing capabilities remains a difficult problem that i would like to understand better.

i was particularly interested in the release of MobileLLM-R1 and its exploration of reasoning capabilities in models with fewer than one billion parameters. projects like this are especially valuable to independent researchers because they make the training methodology available for examination instead of releasing a model without enough information to understand how its capabilities were acquired.

inference is part of the problem

i think inference deserves as much attention as model development because the usefulness of a model ultimately depends on our ability to execute it under real computational constraints.

a quantized 7 billion parameter model might require approximately 3.5 GB just to store its weights at four bits per parameter, but that number alone tells us very little about the actual memory requirements during inference. context length, memory bandwidth, the KV cache and runtime implementation all influence the experience of using that model on a personal computer.

this is why i have become increasingly interested in hardware and inference engines. research such as PagedAttention demonstrates how improving memory management can increase the serving capacity of language models without modifying their weights or training them again.

there is an enormous amount of engineering between having a capable model and making that model economically useful, particularly when the intended hardware is a personal computer rather than a cluster of datacenter GPUs.

owning intelligence

one of the things i find uncomfortable about the current development of artificial intelligence is how dependent we are becoming on infrastructure controlled by a relatively small number of companies.

i can purchase a computer and develop software on it without maintaining an active commercial relationship with the company responsible for manufacturing its processor. i would like to have that same degree of autonomy when working with artificial intelligence.

the idea of having a reasonably capable language model running entirely on my own hardware is particularly interesting to me because it changes the nature of my relationship with the technology. i can inspect its behavior, experiment with it, integrate it into other systems and continue using it regardless of whether its original developer remains in business, provided i have the necessary weights, software and permissions.

privacy is another important part of this discussion since there are many situations where personal or confidential information does not need to leave a device in order to be processed. local execution does not automatically guarantee privacy or security but it gives the individual considerably more control over both.

i have no problem paying for access to a model that possesses capabilities beyond what my hardware can provide. what concerns me is the possibility of that becoming the only practical way of accessing useful artificial intelligence.

the economics of accessibility

according to the 2025 Stanford AI Index, the price of inference at a performance level comparable to GPT-3.5 on MMLU fell from $20 per million tokens in November 2022 to approximately $0.07 in October 2024. this does not establish equivalent capabilities across every possible task but it gives us some indication of how quickly the economics of a given level of model performance can change.

i find this particularly interesting when looking at the history of computing. computers became considerably more important to society when individuals gained the ability to purchase and operate their own machines, allowing people outside large institutions to develop software and experiment with technology independently.

i wonder how much research and innovation could emerge from people who currently cannot afford to participate in the development of artificial intelligence. someone with an ordinary computer in Brazil should eventually be able to conduct meaningful experiments with capable language models without spending a substantial portion of their income on computational infrastructure.

of course making inference cheaper does not necessarily mean we will consume less compute overall. cheaper models might encourage the development of applications that were previously economically impractical and create even more demand for computational resources.

the limits of specialization

i do not believe small language models will make frontier models obsolete and our research at Aspas Labs is not based on that assumption. we still have ambitions to develop considerably larger models and i recognize the importance of scale when pursuing capabilities that smaller architectures cannot adequately reproduce.

there are genuine limitations to how much knowledge and generalization we can obtain from a model with a restricted number of parameters. specialization can help considerably within a particular domain but it cannot simply eliminate those limitations.

what i would like to see is more research into identifying which capabilities actually require frontier-scale models and which can be reproduced with substantially fewer resources. i suspect we are still overestimating the computational requirements of many economically useful tasks, although establishing that requires considerably more experimentation than speculation.

what i want to see

i want to see frontier models continue getting more capable while researchers work on making those capabilities available under increasingly restrictive computational budgets. i think both directions are necessary and there is no contradiction in pursuing them simultaneously.

my interest in small language models comes partly from the circumstances in which i conduct research but also from a conviction that ordinary people should be able to participate in the development of artificial intelligence without depending entirely on the goodwill or commercial interests of large corporations.

i would like to see a future where owning a computer is enough to participate meaningfully in AI research and where useful intelligence is something people can study, modify and execute on hardware they actually own.

we still have a considerable amount of research and engineering ahead of us before that becomes a reality, and it is a problem i would like to spend the next few years working on.