Page 81 of 456
1 79 80 81 82 83 456

How to Safeguard Your Models with DataRobot: A Comprehensive Guide

In today’s data-driven world, ensuring the security and privacy of machine learning models is a must-have, as neglecting these aspects can result in hefty fines, data breaches, ransoms to hacker groups and a significant loss of reputation among customers and partners.  DataRobot offers robust solutions to protect against the top 10 risks identified by The Open Worldwide Application Security Project (OWASP), including security and privacy vulnerabilities. Whether you’re working with custom models, using the DataRobot playground, or both, this 7-step safeguarding guide will walk you through how to set up an effective moderation system for your organization.

Step 1: Access the Moderation Library

Begin by opening DataRobot’s Guard Library, where you can select various guards to safeguard your models. These guards can help prevent several issues, such as:

  • Personal Identifiable Information (PII) leakage
  • Prompt injection
  • Harmful content
  • Hallucinations (using Rouge-1 and Faithfulness)
  • Discussion of competition
  • Unauthorized topics

Step 2: Utilize Custom and Advanced Guardrails

DataRobot not only comes equipped with built-in guards but also provides the flexibility to use any custom model as a guard, including large language models (LLM), binary, regression, and multi-class models. This allows you to tailor the moderation system to your specific needs. Additionally, you can employ state-of-the-art ‘NVIDIA NeMo’ input and output self-checking rails to ensure that models stay on topic, avoid blocked words, and handle conversations in a predefined manner. Whether you choose the robust built-in options or decide to integrate your own custom solutions, DataRobot supports your efforts to maintain high standards of security and efficiency.

Configure evaluation and moderation

Step 3: Configure Your Guards

Setting Up Evaluation Deployment Guard

  1. Choose the entity to apply it to (prompt or response).
  2. Deploy global models  from the DataRobot Registry or use your own.
  3. Set the moderation threshold to determine the strictness of the guard.
Example how to set threshold
Example how to set threshold

Example of response with PII moderation criteria > 0.8
Example of response with PII moderation criteria > 0.8

Example of response with PII moderation criteria > 0.5
Example of response with PII moderation criteria > 0.5

Configuring NeMo Guardrails

  1. Provide your OpenAI key.
  2. Use pre-uploaded files or customize them by adding blocked terms. Configure the system prompt to determine blocked or allowed topics, moderation criteria and more.
Configuring NeMo Guardrails

Step 4: Define Moderation Logic

Choose a moderation method:

  • Report: Track and notify admins if the moderation criteria are not met.
  • Block: Block the prompt or response if it fails to meet the criteria, displaying a custom message instead of the LLM response.
 Moderation Logic

By default, the moderation operates as follows:

  • First, prompts are evaluated using configured guards in parallel to reduce latency.
  • If a prompt fails the evaluation by any “blocking” guard, it is not sent to the LLM, reducing costs and enhancing security.
  • The prompts that passed the criteria are scored using LLM and then, responses are evaluated.
  • If the response fails, users see a predefined, customer-created message instead of the raw LLM response.
Evaluation and moderation lineage

Step 5: Test and Deploy

Before going live, thoroughly test the moderation logic. Once satisfied, register and deploy your model. You can then integrate it into various applications, such as a Q&A app, a custom app, or even a Slackbot, to see moderation in action.

Q&A app - DataRobot

Step 6: Monitor and Audit

Keep track of the moderation system’s performance with automatically generated custom metrics. These metrics provide insights into:

  • The number of prompts and responses blocked by each guard.
  • The latency of each moderation phase and guard.
  • The average scores for each guard and phase, such as faithfulness and toxicity.
LLM with Prompt Injection

Additionally, all moderated activities are logged, allowing you to audit app activity and the effectiveness of the moderation system.

Step 7: Implement a Human Feedback Loop

In addition to automated monitoring and logging, establishing a human feedback loop is crucial for refining the effectiveness of your moderation system. This step involves regularly reviewing the outcomes of the moderation process and the decisions made by automated guards. By incorporating feedback from users and administrators, you can continuously improve model accuracy and responsiveness. This human-in-the-loop approach ensures that the moderation system adapts to new challenges and evolves in line with user expectations and changing standards, further enhancing the reliability and trustworthiness of your AI applications.

from datarobot.models.deployment import CustomMetric

custom_metric = CustomMetric.get(
    deployment_id="5c939e08962d741e34f609f0", custom_metric_id="65f17bdcd2d66683cdfc1113")

data = [{'value': 12, 'sample_size': 3, 'timestamp': '2024-03-15T18:00:00'},
        {'value': 11, 'sample_size': 5, 'timestamp': '2024-03-15T17:00:00'},
        {'value': 14, 'sample_size': 3, 'timestamp': '2024-03-15T16:00:00'}]

custom_metric.submit_values(data=data)

# data witch association IDs
data = [{'value': 15, 'sample_size': 2, 'timestamp': '2024-03-15T21:00:00', 'association_id': '65f44d04dbe192b552e752aa'},
        {'value': 13, 'sample_size': 6, 'timestamp': '2024-03-15T20:00:00', 'association_id': '65f44d04dbe192b552e753bb'},
        {'value': 17, 'sample_size': 2, 'timestamp': '2024-03-15T19:00:00', 'association_id': '65f44d04dbe192b552e754cc'}]

custom_metric.submit_values(data=data)

Final Takeaways

Safeguarding your models with DataRobot’s comprehensive moderation tools not only enhances security and privacy but also ensures your deployments operate smoothly and efficiently. By utilizing the advanced guards and customizability options offered, you can tailor your moderation system to meet specific needs and challenges. 

LLM with prompt injection and NeMo guardrails

Monitoring tools and detailed audits further empower you to maintain control over your application’s performance and user interactions. Ultimately, by integrating these robust moderation strategies, you’re not just protecting your models—you’re also upholding trust and integrity in your machine learning solutions, paving the way for safer, more reliable AI applications.

SPRING ‘24 LAUNCH EVENT
Confidently Deploy and Govern Generative AI Solutions
Watch on-demand

The post How to Safeguard Your Models with DataRobot: A Comprehensive Guide appeared first on DataRobot AI Platform.

Surveillance robot could improve rehabilitation for patients with lower limb weakness

A team of researchers from Huazhong University of Science and Technology has introduced an innovative human-following surveillance robot designed to assist individuals with lower limb muscle weakness, a condition prevalent among the elderly and those suffering from neurological and motor system diseases. This cutting-edge technology promises to enhance daily mobility and accelerate recovery, offering a significant boost to rehabilitation efforts.

Positioning system enhances versatility, accuracy of drone-viewpoint mixed reality applications

A research group at Osaka University has developed an innovative positioning system by correctly aligning the coordinates of the real and virtual worlds without the need to define routes in advance. This is achieved by integrating two vision-based self-location estimation methods: visual positioning systems (VPS) and natural feature-based tracking.

Why the Microsoft Copilot Launch Is Going Poorly

The launch of Microsoft Copilot is struggling. The people there who know what they are doing are being eclipsed by two things. Too often, they aren’t the ones making critical decisions, and second, someone in the decision tree is starving […]

The post Why the Microsoft Copilot Launch Is Going Poorly appeared first on TechSpective.

Bota Systems – The SensONE 6-axis force torque sensor for robots

Our Bota Systems force torque sensors, like the SensONE, are designed for collaborative and industrial robots. It enables human machine interaction, provides force, vision and inertia data and offers "plug and work" foll all platforms. The compact design is dustproof and water-resistant. The ISO 9409-1-50-4-M6 mounting flange makes integrating the SensONE sensor with robots extremely easy. No adapter is needed, only fasteners! The SensONE sensor is a one of its kind product and the best solution for force feedback applications and collaborative robots at its price. The SensONE is available in two communication options and includes software integration with TwinCAT, ROS, LabVIEW and MATLAB®.

Enhancing nanofibrous acoustic energy harvesters with artificial intelligence

Scientists have employed artificial intelligence techniques to improve the design and production of nanofibers used in wearable nanofiber acoustic energy harvesters (NAEH). These acoustic devices capture sound energy from the environment and convert it into electrical energy, which can then be applied in useful devices, such as hearing aids.

Researchers develop technology that may allow stroke patients to undergo rehab at home

For survivors of strokes, regaining fine motor skills is critical for recovering independence and quality of life. But getting intensive, frequent rehabilitation therapy can be challenging and expensive. Now, researchers are developing a new technology that could allow stroke patients to undergo rehabilitation exercises at home by tracking their wrist movements through a simple setup: a smartphone strapped to the forearm and a low-cost gaming controller called the Novint Falcon.

New technique combines data from different sources for more effective multipurpose robots

Let's say you want to train a robot so it understands how to use tools and can then quickly learn to make repairs around your house with a hammer, wrench, and screwdriver. To do that, you would need an enormous amount of data demonstrating tool use.

Apple Goes All In on ChatGPT

It’s official: One of the world’s richest and mightiest tech companies has turned to ChatGPT to bring AI to its smartphone.

A major coup for ChatGPT’s maker OpenAI, the deal will bring ChatGPT to millions of iPhone users who are running — or will be running — iOS 18 software on their devices.

The Times of India also reports that Apple may feature ChatGPT competitors on its iPhone as well — such as Google Gemini.

But so far, no such deals have been inked.

In other news and analysis on AI writing:

*In-Depth Guide: Brainy Bot Smackdown: ChatGPT-4o Versus Google Gemini 1.5 Pro: Writer Lisa Lacy has put together a helpful rundown pitting the new ChatGPT-4o against one of its closest competitors, the new Google Gemini 1.5 Pro.

The verdict: It’s a lot like choosing between Coke and Pepsi: They’re very similar, but you’ll probably have a preference after you consider the differences.

Observes Lacy: “GPT-4o and Gemini 1.5 Pro are both advanced language models (AI engines), designed according to their makers’ specifications to understand the text prompts you give them and to generate text responses that seem like they were written by a human.

“But ChatGPT’s responses won’t be exactly like Gemini’s.”

*Hold My Algorithm: ChatGPT Snags 100K New Subscriptions in an Eye-Blink: Not Bad for a Day’s Work: From the Department of We-Can-Do-No-Wrong: ChatGPT just sold 100,000 new subscriptions in a single day.

Writer Ingrid Lunden reports PwC — a management consulting juggernaut — purchased the subscriptions for its worldwide workforce.

Plus, PwC also becomes a reseller of ChatGPT to other businesses with the deal.

*AI Muse on Tap: At World’s Biggest Agency, Creativity Served-Up with a Side of Bytes: WPP has decided to embrace a ChatGPT competitor — ‘Claude’ — as its preferred AI chatbot.

With the deal, about 114,000 WPP employees worldwide get access to Claude and will be using the tool for analysis, content creation and similar marketing tasks.

Observes writer Peter Adams: “The deal underscores the growing embrace of generative AI among agencies that see the technology as an enabler of productivity and crucial to gaining a competitive edge.”

*AI News Snackables: Newspaper Publisher’s Solution for the Summary Obsessed: Gannett — publisher of USA Today and hundreds of other newspapers worldwide — is experimenting with a new format that features AI news summaries atop the articles it publishes.

Observes writer Mia Sato: “Journalists participating in the pilot program will use AI to produce bulleted ‘key points’ of their story.

“The summaries appear to already be live on some USA Today stories online.”

*Pink Slip Heaven: Scores of Jobs Go Bye-Bye as Marketing Department Embraces AI: Remember that cheerful AI assistant and ‘collaborator’ that was going to free-up your days so you could indulge in much more meaningful work?

It just took your job.

Writer Megan Graham reports that $10 million worth of marketing work that would have gone to content creators for a Swedish financial company is now handled by AI.

Observes Graham: “Using generative AI tools such as Midjourney and DALL-E saved the company $1.5 million on image production costs in the first quarter — while slashing its image development timeline to seven days from six weeks.

“Klarna also said it had decreased by 25% its spending on external marketing suppliers (code-phrase for editors, writers and graphic artists) for tasks such as social media, translation and production.”

*ChatGPT to Stock Market Analysts: Leave the Cherry Picking to Me: People who pick stocks and bonds for a living are the latest professional demographic squirming over the AI automation of their services.

Observes writer Kevin Okemwa: “A new research study shows OpenAI’s GPT-4 model is better at predicting future earning trends than professional financial analysts or state-of-the-art AI models trained to handle such tasks.

“The study attributes GPT-4’s performance to its economic reasoning capabilities and an in-depth analysis of economic trends and ratios.”

*Oops, I Did It Again: Another Google AI Foray Runs Amok: Google can’t get a break.

After winding up with egg-on-its-face after early versions of its AI image generator falsely portrayed a Nazi soldier as an Asian woman, Google is having trouble with its new search product.

Dubbed ‘AI Overviews,’ the new component to Google search is supposed to provide AI summaries atop the search results it brings back for users.

The only problem: AI Overviews got off to a bumpy start by cheerfully recommending glue as a key ingredient of pizza-making — and following up with an advisory that you eat rocks for good health.

Adds writer Nico Grant: “People also shared examples of Google’s telling users in bold font to clean their washing machines using ‘chlorine bleach and white vinegar,’ a mixture that when combined can create harmful chlorine gas.”

*Coming Soon to Smartphones: New AI Superpowers: A number of popular smartphone makers are jostling to put AI hardware in the palm of your hand.

Observes writer Michael Grothaus: “By the latter half of this year, it’s likely that we’ll begin to encounter phones being marketed as GenAI smartphones or simply GenAI phones.”

The only catch: While phones integrated with AI hardware will allow you to perform AI functions in your hand — bypassing the need to go to the cloud for that kind of magic — the AI you’ll be using will most likely be not as good.

The reason: AI in the cloud is processed by the power of a supercomputer, which — so far — cannot be shrunk down to a palm-sized device.

*AI Big Picture: No Joke: Your Next CEO Really Could Be An AI Overlord: Looks like the same people who are replacing thousands of workers with AI may be the next to find their heads on the chopping block.

Writer David Streitfeld reports that CEOs could be on their way to becoming an endangered species, given that AI is so good at a CEO’s core purpose — making difficult decisions.

Observes Streitfeld: “The chief executive is increasingly imperiled by AI, just like the writer of news releases and the customer service representative.

“This is not just a prediction. A few successful companies have begun to publicly experiment with the notion of an AI leader — even if at the moment it might largely be a branding exercise.”

Share a Link:  Please consider sharing a link to https://RobotWritersAI.com from your blog, social media post, publication or emails. More links leading to RobotWritersAI.com helps everyone interested in AI-generated writing.

Joe Dysart is editor of RobotWritersAI.com and a tech journalist with 20+ years experience. His work has appeared in 150+ publications, including The New York Times and the Financial Times of London.

The post Apple Goes All In on ChatGPT appeared first on Robot Writers AI.

Enhancing interaction recognition: The power of merge-and-split graph convolutional networks

In an advancement for robotics and artificial intelligence, researchers at Chongqing University of Technology, along with their international collaborators, have developed a cutting-edge method for enhancing interaction recognition. The study, published in Cyborg and Bionic Systems, introduces the Merge-and-Split Graph Convolutional Network (MS-GCN), a novel approach specifically designed to address the complexities of skeleton-based interaction recognition.
Page 81 of 456
1 79 80 81 82 83 456