Wednesday, January 24, 2024

More AI Thoughts and Learning

AI encompasses many aspects. Generative artificial intelligence (AI) and extensive language models (ELMs) like ChatGPT represent just one facet of AI, but they are the well-known segment of artificial intelligence. In numerous ways, ChatGPT brought AI to the forefront, generating widespread awareness of artificial intelligence as a whole and accelerating its adoption.

You're probably aware that ChatGPT wasn't constructed overnight. It's the result of a decade of effort in deep learning AI. That ten-year period has provided us with novel ways to utilize AI, ranging from applications that predict your typing to self-driving cars and algorithms for groundbreaking scientific discoveries.
AI’s extensive applicability and the popularity of ELMs like ChatGPT have information technology (IT) leaders inquiring: Which AI innovations can provide business value to our organization without depleting my entire technology budget? Here is some guidance.

AI Options
From a high-level perspective, here are the AI alternatives: 1. Generative AI: The cutting-edge

Prominent generative AI leaders, such as OpenAI ChatGPT, Meta Llama2, and Adobe Firefly, employ ELMs to generate immediate value for knowledge workers, creatives, and business operations. Model sizes: Ranging from approximately 5 billion to over 1 trillion parameters. Ideal for: Transforming prompts into fresh content. Drawbacks: Can sometimes produce hallucinations, fabrications, and unpredictable outcomes.

2. Deep learning AI: An emerging workhorse

Deep learning AI employs the same neural network structure as generative AI but lacks the ability to comprehend context, compose poems, or create illustrations. It offers intelligent applications for translation, speech-to-text conversion, cybersecurity monitoring, and automation. Model sizes: Varying from millions to billions of parameters. Ideal for: Extracting meaning from unstructured data like network traffic, video, and spoken language. Drawbacks: Not generative; model behavior can be opaque; results can be challenging to elucidate.

3. Classical machine learning: Patterns, forecasts, and decisions

Classical machine learning serves as the proven foundation for pattern recognition, business intelligence, and rule-based decision-making, yielding explicable outcomes. Model sizes: Utilizes algorithmic and statistical approaches instead of neural network models. Ideal for: Classification, pattern identification, and forecasting results from smaller datasets. Drawbacks: Lower accuracy; the source of basic chatbots; unsuitable for unstructured data.

5 Strategies to Harness ELMs and Deep Learning AI

While extensive language models (ELMs) are making headlines, every type of AI—generative AI, traditional deep learning, and classical machine learning—holds value. How you leverage AI will fluctuate based on the nature of your business, your production, and the value you can generate with AI technologies.

Here are five strategies to employ AI, ranked from the simplest to the most challenging.

1. Utilize the AI integrated into your existing applications.
Business and enterprise software providers like Adobe, Salesforce, Microsoft, Autodesk, and SAP are embedding multiple AI types into their applications. The cost-effectiveness and performance of utilizing AI within your existing tools are challenging to surpass. Example: Imagine you run an e-commerce website that wants to offer chatbot-based customer support. Instead of building a chatbot from scratch, you can use an AI-as-a-service platform like Dialogflow by Google. Dialogflow provides a natural language understanding system that allows your chatbot to understand and respond to customer queries. You simply integrate Dialogflow's API into your website, and you have a functional chatbot without the need to develop complex AI algorithms in-house. This approach saves development time and resources while still providing a valuable AI-driven customer support solution.

2. Embrace AI as a service.
Embracing AI as a service refers to leveraging external AI platforms and solutions that are accessible through APIs or cloud-based services. These services provide pre-built AI capabilities that can be easily integrated into your applications or workflows. Example: Consider a marketing analytics company that needs to analyze customer sentiment from social media data. Instead of building a sentiment analysis model from scratch, they subscribe to an AI-as-a-service platform that offers sentiment analysis APIs. They integrate this service into their analytics platform, allowing them to quickly and accurately gauge customer sentiment without investing in extensive development.

3. Develop a customized workflow with an API.
With an application programming interface (API), applications and workflows can tap into top-tier generative AI. APIs simplify the extension of AI services internally or to your customers through your products and services. Example: A content creation company wants to automate the generation of product descriptions. They use a language generation API to create a custom content generation workflow. This API enables their writers to provide a brief description, and the AI generates detailed product descriptions, saving time and enhancing content quality.

4. Retrain and fine-tune an existing model.
Retraining proprietary or open-source models on specific datasets generates more concise, refined models that can produce precise results using cost-effective cloud instances or local hardware. Example: A retail company wants to improve its demand forecasting. Instead of building a new model, they take a pre-trained demand forecasting model and fine-tune it using their historical sales data. This approach allows them to tailor the model to their specific business needs, resulting in more accurate forecasts.

5. Train a model from scratch.
Training a model from scratch involves developing a custom machine learning or deep learning model tailored to your specific needs. While this can be resource-intensive, it offers complete control over the model's behavior and can lead to highly specialized solutions. Example: In the healthcare industry, a research organization needs an AI model to diagnose rare genetic disorders from genomic data. Since existing models lack the necessary specificity, they embark on training a custom deep learning model using their extensive dataset. This customized model becomes highly proficient in identifying rare genetic mutations, aiding in early diagnosis and treatment.

Choosing the Optimal Infrastructure for AI
The appropriate infrastructure for AI hinges on numerous factors, including the type of AI, the application, and its consumption. Aligning AI workloads with hardware and employing purpose-specific models enhances efficiency, boosts cost-effectiveness, and diminishes computing requirements.

From a processor performance perspective, the goal is to deliver seamless user experiences. This entails producing tokens within 100 milliseconds or less, equivalent to around 450 words per minute. If results take longer than 100 milliseconds to materialize, users detect delays. By using this metric as a standard, many almost real-time scenarios may not necessitate specialized hardware. For example, a prominent cybersecurity provider developed a deep learning model to identify computer viruses. Financially, deploying the model on GPU-based cloud infrastructure proved impractical. After engineers optimized the model for the built-in AI accelerators on Intel® Xeon® processors, they managed to scale the service to secure every firewall using more affordable cloud instances.

Recommendations for Implementing AI

Generative AI represents a once-in-a-generation upheaval akin to the advent of the internet, the telephone, and electricity, although it is advancing at a considerably faster pace. Organizations of all sizes must harness AI as efficiently and effectively as possible, but this doesn't always necessitate significant capital investments in AI supercomputing hardware.
1. Select the appropriate AI for your requirements. Avoid using generative AI to address a problem that classical machine learning has already solved. Example: A logistics company needs to optimize its delivery routes. While generative AI can generate creative solutions, this problem can be efficiently solved using classical machine learning algorithms designed for route optimization. It's essential to choose the right tool for the specific task at hand.

2. Match models with specific applications. Retraining, enhancing, and optimizing models improve efficiency, enabling cost-effective operation on less expensive hardware. Example: A manufacturing company wants to predict equipment failures to prevent downtime. They start with a pre-trained predictive maintenance model and fine-tune it with their equipment data. This tailored model not only improves accuracy but also runs efficiently on their existing server infrastructure.

3. Utilize computational resources prudently. Whether operating in the public cloud or on-premises, prioritize efficiency. Example: A financial institution uses AI for fraud detection. By optimizing their AI algorithms and deploying them on cloud instances with the right amount of computing power, they reduce operational costs while maintaining high accuracy in detecting fraudulent transactions.

4. Commence with small-scale efforts and secure early victories. This approach allows you to acquire proficiency in using AI, initiate a cultural shift, and generate momentum. Example: A small e-commerce startup begins by implementing a basic recommendation system powered by machine learning. As they gather data and refine their AI algorithms, they gradually expand their AI initiatives, achieving incremental successes that build confidence within the organization.

These examples illustrate how organizations can apply AI strategies to address specific challenges, leveraging a range of AI approaches, from pre-built solutions to custom model development, while optimizing costs and maximizing efficiency.

No comments:

Post a Comment

Note: Only a member of this blog may post a comment.