Photo by Startup Stock Photos on Pexels

AI/ML

Some articles on AI/ML

Explore a featured selection of my writing work below.

LLM Hallucination—Types, Causes, and Solution

The development of large language models (LLMs) and generative AI solutions, notably demonstrated by ChatGPT’s impressive abilities, is changing how we use AI systems. IBM research found that nearly 50% of CEOs report adopting Generative AI in their companies.

However, this progress is delayed because of a phenomenon known as LLM hallucination. The term describes when LLMs produce text that is incorrect, makes no sense, or is unrelated to reality. A Telus survey highlighted this concern, reveal

Data Drift in LLMs—Causes, Challenges, and Strategies

Data drift, also known as concept drift or data shift, refers to the phenomenon where the distribution of input data used to train a machine learning model changes over time, leading to degradation in the model’s performance on new data. While this has been an issue plaguing machine learning models for decades, the explosion of popularity of LLMs means that the adverse effects of data drift have a far more significant impact on software end users. It is more important than ever to understand wha

What is Generative AI? - Generative Artificial Intelligence Explained - AWS

Traditional machine learning models were discriminative or focused on classifying data points. They attempted to determine the relationship between known and unknown factors. For example, they look at images—known data like pixel arrangement, line, color, and shape—and map them to words—the unknown factor. Mathematically, the models worked by identifying equations that could numerically map unknown and known factors as x and y variables.

Generative models take this one step further. Instead of

What is RLHF? - Reinforcement Learning from Human Feedback Explained - AWS

The applications of artificial intelligence (AI) are broad-ranging, from self-driving cars to natural language processing (NLP), stock market predictors, and retail personalization services. No matter the given application, the goal of AI is ultimately to mimic human responses, behaviors, and decision-making. The ML model must encode human input as training data so that the AI mimics humans more closely when completing complex tasks.

RLHF is a specific technique that is used in training AI syst

What are Transformers? - Transformers in Artificial Intelligence Explained - AWS

What are transformers in artificial intelligence? Transformers are a type of neural network architecture that transforms or changes an input sequence into an output sequence. They do this by learning context and tracking relationships between sequence components. For example, consider this input sequence: "What is the color of the sky?" The transformer model uses an internal mathematical representation that identifies the relevancy and relationship between the words color, sky, and blue. It uses

Machine translation vs. CAT Tools—Collaboration or Competition?

As technology rapidly evolves, professionals across all fields are prompted to modernize their tools and learn new skills to boost productivity. The translation industry is no exception. Gone are the days when translators relied solely on dictionaries and typewriters; today’s experts use CAT tools and MT to streamline tasks. Both computer-assisted translation (CAT) and Machine Translation (MT) are revolutionary software technologies that enhance a translator’s efficiency.

However, the Machine T

What is Conversational AI? - Conversational AI Chatbots Explained - AWS

Conversational AI technology brings several benefits to an organization's customer service teams.

Conversational AI chatbots can provide 24/7 support and immediate customer response—a service modern customers prefer and expect from all online systems. Instant response increases both customer satisfaction and the frequency of engagement with the brand.

Additionally, you can integrate past customer interaction data with conversational AI to create a personalized experience for your customers. Fo

What is Artificial Intelligence? - Artificial Intelligence (AI) Explained - AWS

In Alan Turing’s seminal paper from 1950, "Computing Machinery and Intelligence," he considered whether machines could think. In this paper, Turing first coined the term artificial intelligence and presented it as a theoretical and philosophical concept. Between 1957 and 1974, developments in computing allowed computers to store more data and process faster. During this period, scientists further developed machine learning (ML) algorithms. The progress in the field led agencies like the Defense

What is Boosting? - Boosting in Machine Learning Explained - AWS

The following are the three main types of boosting:

Adaptive Boosting (AdaBoost) was one of the earliest boosting models developed. It adapts and tries to self-correct in every iteration of the boosting process.

AdaBoost initially gives the same weight to each dataset. Then, it automatically adjusts the weights of the data points after every decision tree. It gives more weight to incorrectly classified items to correct them for the next round. It repeats the process until the residual error, o

Affinda | Invoice Information Extraction Using OCR and Deep Learning

Modern organizations are turning to AI to improve efficiency in all operational aspects. Digitization and cloud migration has helped everyone from HR to marketing to automate their processes. However, accounts teams are still struggling with manual, paper-based workloads. If invoice processing is slowing down your operations, it's time to make a change. This article explores invoice information extraction using OCR and deep learning technologies. Are these methods really as secure, efficient, an

Machine Translation Post Edition: Strategy and Best Practices

Machine translation technology can translate millions of words in a single day. While translation is accurate and efficient, for some documents , it cannot fully replace a human translator. The machine may miss finer nuances like humor, emotion, or sarcasm. In addition, it may sometimes translate difficult words out of context or mistranslate a proper noun. For example, consider the sentence, “My dog, King, went to the market.” King is the dog’s name, and the French translation should be “Mon ch

Neural networks in Machine Translation – Beginner’s Guide

If you are a social media user, you may have seen the translate option on Social Media. The Translate now link shows up if anyone writes in a language that is different from your usual settings. When you click on it, the foreign language comment, tweet or post is automatically translated into English.

This translation has been done by software. But how can a computer program understand and translate languages as a human does? The technology behind automatic translation services is called machin