The Golden Rule and the AI Utility Function – Part I - DataScienceCentral.com (2024)

The Golden Rule and the AI Utility Function – Part I - DataScienceCentral.com (1)

“Do unto others as you would have them do unto you.”

The Golden Rule. This may have been the first Sunday School lesson I learned (thanks, Mrs. Monroe).

The Golden Rule is a moral principle that states that you should treat others as you would like others to treat you. It is a foundational principle across many cultures and religions. As such, the Golden Rule should play an essential role in developing AI systems that deliver meaningful, relevant, responsible, and ethical outcomes.

Let’s use this blog to explore how we might integrate the Golden Rule into the AI Utility Function, the mathematical formula governing the AI model’s decision-making process.

Encoding the Golden Rule into the AI utility function would involve specifying a set of rules – and the variables and metrics against which would measure the effectiveness of those rules – that govern the behavior of the AI system. This would include rules such as:

  • The AI system should treat humans with respect and dignity.
  • The AI system should not harm or allow humans to come to harm.
  • The AI system should be transparent in its actions and explain its decisions when humans request it.
  • The AI system should treat humans fairly and impartially without discriminating based on race, gender, or other protected characteristics and traits.
  • The AI system should use data responsibly and respect the privacy and consent of data subjects.
  • The AI system should be inclusive and work equally well across all spectra of society, avoiding bias and discrimination.
  • The AI system should have a positive purpose and contribute to the well-being and flourishing of human beings and the environment.
  • The AI system should be explainable and provide understandable and meaningful reasons for its actions and decisions.
  • The AI system should be trustworthy and act reliably, consistently, and honestly.

This is a great start and starts to make actionable the aspirations of the White House Office of Science and TechnologyPolicy AI Bill of Rights (Figure 1).

The Golden Rule and the AI Utility Function – Part I - DataScienceCentral.com (2)

Figure 1: The AI Bill of Rights

These rules become a mandatory checklist for any organization that seeks to design, develop, deploy, and monitor AI models that deliver meaningful, relevant, responsible, and ethical outcomes. And to make these rules actionable, we must integrate these rules, and their associated measures, into the AI Utility Function.

The AI utility function is a mathematical function that defines the goal or goals that the AI system is programmed to optimize.

The AI Utility Function assigns values to certain actions that the AI system can take. It captures the AI system’s preferences over possible alternatives. The higher the value, the more desirable the action or outcome is for the AI system. The AI utility function guides the decision-making process of the AI system by helping it to choose the action that maximizes its expected utility.

The Golden Rule and the AI Utility Function – Part I - DataScienceCentral.com (3)

Figure 2: Defining the AI Utility Function

Integrating the rules associated Golden Rule into the AI utility function can guide the AI system to behave ethically. To integrate the Golden Rule into the AI utility function, one would want to assign higher utility values to actions or outcomes that are consistent with the Golden Rule and lower utility values to actions or outcomes that violate the Golden Rule. For example, if the AI system is faced with a choice between helping a human in need or ignoring them, it could assign a higher utility value to help them because that is what it would want others to do for it if it were in need.

We could use the following process to integrate the Golden Rule into the AI Utility Function:

  1. Define context. The Golden Rule can be interpreted in different ways depending on the context and scope of the AI system. For example, an AI system that interacts with customers in a retail store would have different rules than an AI system that monitors traffic flow in a city. Defining the context and scope helps narrow the relevant rules and metrics.
  2. Align rules. Identifying and aligning the rules that define the Golden Rules to the specific and relevant context and scope of the AI system is critical to the delivery of meaningful, relevant, responsible, and ethical outcomes. For example, in the case of a retail store AI system, rules could include treating customers with respect, providing accurate information, and protecting their privacy.
  3. Codify rules. Translating and codifying the rules into quantifiable measures is the heart of the process. Once the rules are aligned with the AI system context, the next step is to translate those rules into metrics that measure the effectiveness of those specific rules. For example, in the retail example, if the rule that we were seeking to integrate into the AI Utility Function was to “treat humans with respect and dignity,” then the metrics could include the number of customer complaints, the percentage of correct information provided, and the degree of transparency in data collection.
  4. Assign weights. Assigning weights to the metrics is necessary to determine the importance of each metric and the level of adherence required. This step requires the involvement and guidance of domain experts and stakeholders who are at the front lines of customer engagement and operational execution. In the retail example, our experts might decide that the weight assigned to customer privacy should be 50% higher than the weight assigned to the accuracy of product recommendations.
  5. Incorporate into the AI utility function. Once the metrics and their weights are defined, they can then be incorporated into the AI utility function. The AI utility function then maps the inputs to the desired outputs to facilitate the trade-off decisions necessary to deliver meaningful, relevant, responsible, and ethical outcomes.

By identifying and integrating the metrics associated with the Golden Rule into the AI Utility Function, the AI system can be designed, deployed, managed, and monitored to ensure that the behaviors exhibited by the AI system align with the principles of the Golden Rule (Figure 3).

The Golden Rule and the AI Utility Function – Part I - DataScienceCentral.com (4)

Figure 3: Integrating Golden Rule into AI Utility Function

In Part 1 of the 2-part series on integrating the Golden Rule into the AI Utility Function, we first reviewed the Golden Rule (hey, it’s been a few years since Bible School for some of us). We then decomposed the Golden Rule into a series of rules that could provide actionable and measurable teeth to the AI Bill of Rights.

Then after a quick review of the AI Utility Function, we reviewed a simple process that any Citizen of Data Science could leverage to ensure that AI models are integrating the concepts of the Golden Rule to design, define, develop, and manage AI models in the delivery of meaningful, relevant, responsible, and ethical outcomes.

In part 2, we’ll dive into the specific variables and metrics one could use to integrate the Golden Rule into the AI Utility Function, but not before another (hehehe) lesson in economics.

The Golden Rule and the AI Utility Function – Part I - DataScienceCentral.com (2024)

FAQs

What is the golden rule of AI? ›

Understanding the AI Model Golden Rule Ramifications

The AI system should treat humans with respect and dignity. The AI system should not harm or allow humans to come to harm.

What is a utility function in AI? ›

A utility function in artificial intelligence is a mathematical representation which evaluates the desired outcome of various events or states. The utility function is represented by U. Depending on the particular problem, utility functions in AI can be represented in various ways.

What is the utility theory of artificial intelligence? ›

Utility theory in artificial intelligence is a mathematical framework used to model decision-making under uncertainty. It allows one to assign subjective values or preferences to different outcomes and helps make optimal choices based on these values.

What is the utility system in AI? ›

In video game AI, a utility system, or utility AI, is a simple but effective way to model behaviors for non-player characters. Using numbers, formulas, and scores to rate the relative benefit of possible actions, one can assign utilities to each action.

What are the 3 AI rules? ›

A robot may not injure a human being or, through inaction, allow a human being to come to harm. A robot must obey orders given it by human beings except where such orders would conflict with the First Law. A robot must protect its own existence as long as such protection does not conflict with the First or Second Law.

What are the 4 utility functions? ›

Utility functions are a special type of functions that connect or map the amount of utility gained from preferences or bundles of goods. There are four common types of utility functions: linear, perfect substitutes, perfect complements, and Cobb-Douglas.

How are utilities using AI? ›

Utility companies are using AI to forecast energy demand more accurately based on historical data, weather patterns, and other factors. With better demand forecasting, energy companies can improve resource planning and grid reliability.

What is the difference between utility and function? ›

Utility describes the benefits gained or satisfaction experienced with the consumption of goods or services. Utility function measures the preferences consumers apply to their consumption of goods and services.

What is the utility problem in AI? ›

The utility problem in learning systems occurs when knowledge learned in an attempt to improve a system's performance degrades it instead. The problem appears in many AI systems, but it is most familiar in speedup learning.

What is the maximum expected utility in AI? ›

The principle of maximum expected utility (MEU) says that a rational agent should choose an action that maximizes EU(A | E). Orderability (A ≻ B) ∨ (B ≻ A) ∨ (A ∼ B) An agent should know what it wants: it must either prefer one of the 2 lotteries or be indifferent to both.

What is the utility of intelligence? ›

Intelligence enables humans to remember descriptions of things and use those descriptions in future behaviors. It gives humans the cognitive abilities to learn, form concepts, understand, and reason, including the capacities to recognize patterns, innovate, plan, solve problems, and employ language to communicate.

How do you calculate utility in artificial intelligence? ›

The most common technique is to multiply the utility score by the probability of each possible outcome and sum up these weighted scores. This will give you the expected utility of the action.

What is the difference between utility function and utility theory in AI? ›

Those agents operate under certain degree of uncertainly and need to rely on probabilities to quantify the outcome of possible states. That probabilistic function is what we call Utility Functions. Utility Theory is the discipline that lays out the foundation to create and evaluate Utility Functions.

Which subset of AI would be used if a utility? ›

AI can mimic human intelligence, with machine learning (ML) being a subset that utilizes algorithms to analyze extensive datasets, identify patterns, and make informed decisions or forecasts. These attributes make AI and ML indispensable components in utility bill management software.

What is the golden rule of intelligence? ›

Nothing makes you look worse than guessing, or assuming something when the information is available. This is the golden rule of Intelligence – and it applies at every stage of the intelligence cycle, and throughout any intelligence professional's career.

What is the rule of AI? ›

Rule-based AI operates on a simple yet powerful premise: it uses a set of predefined "if-then" conditions to process data and make decisions. This form of AI mimics human decision-making by following explicitly programmed instructions, making it a reliable and predictable system for various applications.

What is the main principle of AI? ›

It is based on algorithms trained for decisions making that automatically learn and recognize patterns from data.

What is the first law of AI? ›

First Law: A robot may not injure a human being, or, through inaction, allow a human being to come to harm.

Top Articles
Latest Posts
Article information

Author: Saturnina Altenwerth DVM

Last Updated:

Views: 6659

Rating: 4.3 / 5 (64 voted)

Reviews: 87% of readers found this page helpful

Author information

Name: Saturnina Altenwerth DVM

Birthday: 1992-08-21

Address: Apt. 237 662 Haag Mills, East Verenaport, MO 57071-5493

Phone: +331850833384

Job: District Real-Estate Architect

Hobby: Skateboarding, Taxidermy, Air sports, Painting, Knife making, Letterboxing, Inline skating

Introduction: My name is Saturnina Altenwerth DVM, I am a witty, perfect, combative, beautiful, determined, fancy, determined person who loves writing and wants to share my knowledge and understanding with you.