Steering Clear of Overfitting

Eric Famanas

~4 min read

Steering Clear of Overfitting

Imagine this scenario: you decide to use new AI tooling at work, and given the current landscape, its probably an Agentic AI system designed to improve workflow, summarise internal documentation, or provide a customer-facing chatbot. You bring your shiny new AI to work to show your boss. She does not seem impressed, realising that any of these tools require weeks to months of onboarding and training before they become truly functional.

However, being the smart and proactive individual you are, you decide to train the AI yourself. While there is nothing wrong with this, there are certain dangers to be aware of.



Meet Alison, your new AI Agent.

Meet Alison, your new AI Agent.

In a previous blog post we talked about the importance of training and its role in developing an AI system founded on rich data. However, too much training can be a bad thing, resulting in overfitting. Overfitting occurs when the model produced by the training data sets is too similar to the real world data, making it difficult for the model to generalize well to new situations.

This phenomenon is widely considered to be a major limitation of machine learning algorithms, as it makes it difficult for computers to make accurate predictions without relying heavily on the training data sets. Overfitting is often caused by the use of too many features in the model, which leads to the model making similar predictions for new data sets even if they are different from the training data sets. This phenomenon occurs because the model begins to recognize patterns in the training data sets and uses them to make predictions about new data sets. As a result, the model becomes more and more similar to the training data sets, making it harder for the model to distinguish between new data sets. This results in overfitting, which is a common issue in machine learning.

But what does this actually look like in practice? If we look at some of more popular applications for AI is its use for customer service roles, the greatest area of focus is on training the LLM to produce more human-like responses by way of contextual and semantic analysis. However, the more you train an AI to become "more human", the more likely it will make poor assumptions and cannot adapt.



Yes Alison, be a cool human, don't laser eye people :)

Yes Alison, be a cool human, don't laser eye people :)

A more concrete example of overfitting that I have encountered is in the field of voice recognition technology from my days as a linguist in the US Navy. Voice recognition software uses artificial intelligence to recognize speech signals generated by humans, such as humans speaking into a microphone. The software then generates text based on the recognized speech signals. However, voice recognition technology is highly dependent on the quality of the human speaking, which is why human voices are often used as a reference point for training the algorithm.

In the case of voice recognition technology, overfitting occurs when the model produced by the training data sets is too similar to the real world data sets. When this happens, the algorithm becomes unable to distinguish between real speakers and synthesized voices, making it difficult for the algorithm to recognize the human voice accurately; this is because the model begins to recognize patterns in the training data sets and use them to make predictions about new data sets even if they are different from the training data sets. As a result, the model becomes more and more similar to the training data sets, making it harder for the algorithm to distinguish between real speakers and synthesized voices.



Yes, now you're acting like a real human!

Yes, now you're acting like a real human!

In summary, overfitting is a significant limitation of machine learning algorithms, particularly when it comes to voice recognition technology. By using too many features in the model, we risk creating an algorithm that is too similar to the data sets, making it difficult for the algorithm to distinguish between real speakers and synthesized voices. It is essential to maintain a balance between complexity and accuracy when using machine learning algorithms for tasks such as voice recognition. By doing so, we can create models that are both effective and reliable. There is a such thing as acting "too human" after all.



Systems Orchestrator

CTO · Technology leadership