This article has been penned by Swapan Rajdev, Co-Founder & CTO of Haptik.
GPT-3 is taking the internet by storm as it rightly should. What makes it fascinating is that the same algorithm can perform a wide range of tasks. It can write an email or blog-post when given a topic, it can code for you, it can give you answers to factual questions, it can chit chat with you, and it can even play chess with you. It truly is the closest we have ever been to Artificial General Intelligence (AGI).
The way GPT-3 works is that, when given just a few sentences, it will identify the context and pattern, and generate relevant text for the application. While there are a lot of exciting things that can be done with GPT-3, its practical applications have been hotly debated. Using generative algorithms, such as GPT-3, in real life applications requires a mindset change – a necessary one for us to be able to leverage AI to its full potential.
We have to understand that these algorithms are not perfect and that one has to consider both the risks and the benefits of using such algorithms. Striking the right balance between the two is what will enable us to derive exponential gains from AI.
Apart from the algorithm being great, one big reason why I think it’s so progressive is that it is being offered as an API. Being able to run a neural network like this is no easy feat – it requires very expensive infrastructure to keep it running, and if you want to use it at scale it’s a different challenge altogether. These kinds of resources are not available to a lot of companies, and being able to use the algorithm as an API enables everyone to focus on building applications on top of it, without having to worry about other considerations.
In addition, the input and output pattern is abstracted out to ensure that it is not restrictive to any particular application. This enables people to be creative in their thought process and utilise it for multiple applications apart from the obvious ones.
Given the way GPT-3 has been introduced to the world, even a non-engineer can start playing around with it and start thinking of use cases to solve using GPT-3.
Reaping the Benefits and Mitigating the Risks
All this is great, but not all is perfect with the algorithm. It has its own set backs and flaws. The algorithm can go completely off-topic sometimes and it can get offensive too. These drawbacks may make people apprehensive to use this model in production, which leads to them ignoring the benefits that come with it.
As we discussed earlier, there is a need to balance the risks and benefits for using generative models. Keeping the flaws in mind we can mitigate the risks and reap the benefits of the algorithm in the following ways:
1. Use it for use cases where the risk doesn’t have major repercussions: Instead of using it for an end-user application, use it for internal use cases which can boost productivity. That way you control the risk but still reap the benefits. We at Haptik have already been using GPT-2 to augment training data which previously required someone to do it manually. It is now being generated for them and they just have to validate it – a much easier activity. We can’t begin to imagine how much better this will get with GPT-3!
2. Build components to control the content: There is a way to control the content by architecting different ML models on top of GPT-3, which will flag content that is not correct. This can help prevent incorrect or inappropriate content from going out when it’s not supposed to. These components on top can err on the side of caution and be more strict because their role is to prevent bad content going out even if it’s at the risk of restricting some good content. This might lead to more false positives but at least provides the reassurance that the content going out is safe. This allows the generative model to be creative while still having an architecture to prevent things from going off track.
3. Adapt it to domain specific data: openAI does provide access to training APIs (on request) which will allow you to adapt GPT3 to a particular task/domain and make it more relevant for the task at hand.
To sum up
Overall, openAI’s GPT-3 is a massive step forward for the AI space, specifically for natural language generation, and it is going to exponentially help multiple industries. Choosing the right application and combining it with other components can really help leverage this model to a great extent and I am super excited to see everything that people will build on top of this.
Interested in developing an Intelligent Virtual Assistant solution for your brand?