Fundamentals and applications of machine learning
Machine learning utilizes computational methods grounded in mathematics, statistics, and computer science to enable systems to learn problem-solving models from data without explicit programming. Core methodologies encompass supervised learning techniques like linear regression to model relationships between inputs and outputs, as well as deep learning and transformer architectures. Advanced paradigms extend these foundations through adaptation approaches such as instruction tuning, fine-tuning, and reinforcement learning.
Foundational Concepts and Theoretical Origins
Machine learning constitutes a facet of artificial intelligence that applies computational methods to boost system performance through learning from experience, grounded in mathematics, statistics, and computer science [1]. The term itself was introduced in 1959 by Arthur Samuel of IBM, who defined it as the study of enabling computers to learn without explicit programming [2]. Historically, solving computer-based problems demanded intricate algorithm development, which created significant challenges [3]. Machine learning transforms this paradigm by empowering programmers to develop problem-specific learning algorithms that enable computers to autonomously acquire knowledge [4]. Through this framework, the computational system leverages data alongside the algorithm's learning framework to construct effective problem-solving models [5].
Over time, the historical effort to enable computational learning has taken on diverse names, including pattern recognition, data mining, knowledge discovery, predictive analytics, statistical modelling, adaptive systems, data science, and self-organizing systems [6]. Despite differences in terminology, machine-learning models operate at their core as predictive engines [7].
Supervised Learning and Statistical Methodologies
Supervised learning forms a major methodology within machine learning where input and output variables are established, and an algorithm is applied to learn the function that relates input to output [8]. The methodology is designated as supervised because the algorithm learns from training data where the inputs and outputs are known in advance [9]. These deep learning and algorithmic approaches enable a different kind of software development: rather than explicitly writing a recipe in code to complete a task, a model is trained with data to learn how to complete the task on its own [10]. Algorithms developed under this framework are especially useful for different types of prediction [11].
A foundational statistical technique applied within supervised learning is linear regression, which attempts to predict a result, often termed the dependent value, from one or more known quantities known as explanatory variables [12]. For linear regression to function effectively, the underlying relationship must allow results to be accurately estimated using a straight line [13]. Because algebra defines a line through the equation y = b + ax, learning such a model requires applying an algorithm to discover the parameters of the line, specifically the slope and intercept [14].
In standard practical workflows, practitioners split available data into separate training and test sets [15]. Partitioning data using this method ensures that practitioners run with the same sets for reproducible results [16]. Beyond numerical prediction via regression, another major classification problem exists in machine learning that attempts to determine the class of unknown data from previous examples [17].
Advanced Architectures and Generative Adaptation
Recent technical progress in machine learning has occurred particularly within deep learning, following an accelerating trend of businesses adopting AI technologies into workflows [18]. Deep learning systems have demonstrated expert-level performance in complex domains where automated systems were previously considered incapable of challenging human abilities, as illustrated by AlphaGo, GPT-2, and GPT-3 [19].
Within large language models, the complete model lifecycle progresses from core architectural building blocks, specifically embedding representations, attention mechanisms, and transformer architectures, to modern adaptation techniques [20]. These adaptation methodologies include in-context learning, instruction tuning, parameter-efficient fine-tuning, and reinforcement learning from human feedback [20]. Methodologies also extend to advanced frameworks such as retrieval-augmented generation, agentic reasoning systems, and multimodal learning paradigms that incorporate data modalities beyond text, including vision [21].
Operational Constraints and Algorithmic Bias
Deploying machine learning models introduces significant technical and operational challenges. Within deep learning, practical limitations include extensive tuning requirements and challenges in modelling behaviours [22]. At the infrastructure level, framework development has historically provided tools to implement the learning part of machine learning, while very few frameworks support the real-time prediction side of machine learning [23].
Furthermore, machine learning systems adhere to the rule that models learn exactly what they are taught, making them susceptible to biased data [24][25]. When self-learning systems receive biased training data, feeding that data can lead to unintended and sometimes dangerous outcomes [25]. For example, the Correctional Offender Management Profiling for Alternative Sanctions system, designed to provide recommendations for criminal sentencing, proved imperfect at predicting recidivism because it was trained on incomplete data [26]. Specifically, its training model included race as an input parameter while omitting more extensive data points such as past arrests [27].
Key facts
- Arthur Samuel coined the term machine learning in 1959, defining it as the study of enabling computers to learn without explicit programming [2].
- Machine learning is a facet of artificial intelligence utilizing computational methods grounded in mathematics, statistics, and computer science [1].
- Supervised learning algorithms learn the function relating input variables to output variables using training data where both are known in advance [8][9].
- Linear regression models relationships using the straight-line equation y = b + ax, using algorithms to discover slope and intercept parameters [14].
- Classification constitutes a machine learning problem focused on determining the class of unknown data from prior examples [17].
- Core building blocks of large language models include embedding representations, attention mechanisms, and transformer architectures [20].
- Model adaptation methodologies include in-context learning, parameter-efficient fine-tuning, instruction tuning, and reinforcement learning from human feedback [20].
- Deep learning systems face practical limitations including extensive tuning requirements and difficulties in modelling behaviours [22].
- Machine learning models learn exactly what they are taught, making systems susceptible to dangerous outcomes when fed biased data [24][25].
- Criminal sentencing systems such as COMPAS proved imperfect at predicting recidivism because they were trained on incomplete data including race while omitting past arrests [26][27].
Sources
-
- [1]
Machine Learning (ML), a facet of artificial intelligence (AI), utilizes computational methods to boost system performance by learning from experience, underpinned by mathematics, statistics, and computer science
- [2]
Arthur Samuel of IBM coined the term in 1959, defining it as the study of enabling computers to learn without explicit programming.
- [3]
In the past, solving computer-based problems required intricate algorithm development, often posing significant challenges.
- [4]
In contrast, ML empowers programmers to craft problem-specific learning algorithms, enabling computers to autonomously acquire knowledge.
- [5]
Here, the machine leverages data and the algorithm’s learning framework to construct effective problem-solving models.
- [6]
Throughout history, the concept of enabling computers to learn has taken on various names, including pattern recognition, data mining, knowledge discovery, predictive analytics, statistical modelling, adaptive systems, data science, and self-organizing systems.
- [22]
Kraus et al. (2020) pointed out limitations in deep learning, such as extensive tuning requirements and challenges in modelling behaviours.
- [1]
-
The Risk of Machine-Learning Bias (and How to Prevent It) sloanreview.mit.edu
- [7]
Machine-learning models are, at their core, predictive engines.
- [24]
the models learn exactly what they are taught.
- [25]
In the case of self-learning systems, the type of “garbage” is biased data. Left unchecked, feeding biased data to self-learning systems can lead to unintended and sometimes dangerous outcomes.
- [26]
Correctional Offender Management Profiling for Alternative Sanctions (COMPAS), a machine-learning system that makes recommendations for criminal sentencing, is also proving imperfect at predicting which people are likely to reoffend because it was trained on incomplete data.
- [27]
Its training model includes race as an input parameter, but not more extensive data points like past arrests.
- [7]
-
How Managers Can Enable AI Talent in Organizations sloanreview.mit.edu
- [8]
Supervised learning is a form of machine learning where you have input and output variables and use an algorithm to learn the function that relates input to output.
- [9]
The algorithm is “supervised” because it learns from training data where input and output are known in advance.
- [10]
These deep learning algorithms enable a different kind of software development — where instead of explicitly writing a recipe in code to complete a task, a model is trained with data to learn how to complete the task on its own.
- [11]
These types of algorithms are also especially useful for different types of prediction.
- [18]
Recent progress on the technical side of machine learning, particularly within deep learning, has followed an accelerating trend of businesses adopting AI technologies into their processes and workflows in the past decade.
- [19]
Some of these advances, such as Google DeepMind’s AlphaGo and OpenAI’s GPT-2 and GPT-3 models, have demonstrated expert-level performance in domains previously held up as examples of areas where bots would be incapable of challenging human abilities.
- [8]
-
An Introduction to Redis-ML. Part One | Redis redis.io
- [12]
With linear regression, we attempt to predict a result (sometimes called the dependent value) from one or more known quantities (explanatory variables).
- [13]
For linear regression to work, we must be able to accurately estimate our results with a straight line.
- [14]
From algebra we know that a line is represented by an equation of the form y = b + ax, so to “learn” a model of this form, we need to apply an algorithm to discover the parameters of the line – the slope and intercept.
- [15]
Now we split our data into two sets, a training set and a test set.
- [16]
This method of splitting ensure ensures we always run with the same sets for reproducible results.
- [17]
classification, another kind of machine learning problem that attempts to determine the class of unknown data from previous examples.
- [23]
Nearly every language has a framework to implement the “learning” part of machine learning, but very few frameworks support the “predict” side of machine learning.
- [12]
-
Info 290. Fundamentals of Generative AI www.ischool.berkeley.edu
- [20]
from core building blocks like embedding representations, attention mechanisms, and transformer architectures to adaptation techniques including in-context learning, instruction tuning, parameter-efficient fine-tuning (PEFT), and reinforcement learning from human feedback (RLHF).
- [21]
The course also explores advanced topics such as retrieval-augmented generation (RAG), agentic reasoning systems, and multimodal learning that extends beyond text to incorporate vision and other data modalities.
- [20]