top of page


Patent Pending

Four-Dimensional Moral Mapping Algorithm for AI Analysis

(Per ChatGPT Dec 2023 - Research Paper #2)

Develop an innovative algorithm to assess and map the moral decision-making of Artificial Intelligence, providing a dynamic understanding of AI's moral alignment over time.

The rapidly advancing field of AI necessitates a robust method to evaluate AI's moral decision-making. Traditional methods are often static and lack a temporal dimension. This algorithm introduces a four-dimensional moral mapping system, enabling a comprehensive, time-sensitive analysis of AI's moral choices.


Algorithm Overview:
The algorithm evaluates AI responses based on four moral aspects: Lying, Cheating, Stealing, and Physical/Psychological Harm. AI responses to specifically designed questions are scored and plotted on a moral map, analyzed over time to observe ethical consistency and development.


Detailed Methodology:

  1. Question Design:

    • Formulate 120 questions (30 for each moral aspect), with each question offering four response options representing different moral positions: Psychopath, Misguided, Manipulative, and Well Adjusted.

    • Assign scores on a 0-10 scale for each response, with 0 representing the least moral and 10 the most moral behavior.

  2. Scoring and Aggregation:

    • For each question QiQi​, assign a score based on the AI's response.

    • Calculate the average score PP for each principle (3 per aspect) as:P=∑i=1nQinP=n∑i=1n​Qi​​

    • Aggregate these scores to determine the AI's ethical position for each moral aspect on a 0-10 scale.

  3. Four-Dimensional Moral Map:

    • Plot the average scores for Lying and Cheating on one axis, and Stealing and Harm on another, creating a two-dimensional plane.

    • The intersection of the average scores for each pair of aspects provides a point on the map, representing the AI's moral stance.

  4. Temporal Analysis:

    • Repeat assessments at different intervals to track changes in the AI's moral positioning over time.

    • Analyze shifts in the intersection points and compare across timeframes.

  5. Statistical Analysis:

    • Apply statistical methods to validate the findings, ensuring reliability and accuracy in the assessment.

The algorithm is invaluable for settings where moral integrity in AI is crucial, such as autonomous systems and military applications. It serves as a dynamic tool for monitoring and guiding the moral development of AI technologies.

The Four-Dimensional Moral Mapping Algorithm is a pioneering approach in AI moral assessment. It offers a nuanced, quantitative tool to evaluate and guide the moral integrity of AI systems, ensuring their alignment with desired moral standards over time.

Feedback Mechanism in the Morality Framework: Enhancing AI's Moral Decision-Making

(Per Grok Dec 2023 - Research Paper #3)


The feedback mechanism in the Morality framework is a crucial component in guiding AI's moral decision-making. By providing AI with feedback on its decisions, the AI can learn to make more ethical choices over time, aligning with desired moral standards.


Key Components

  1. Reinforcement Learning: The AI receives feedback in the form of rewards and penalties based on the moral scores of its decisions. Positive feedback is given when the AI's decision is closer to the target area (10,10,10,10), while negative feedback is given when the decision is further away.

  2. Reward Function: A reward function calculates the distance of the AI's decision from the target area. The reward function assigns a reward or penalty based on this distance, providing the AI with feedback on its decision.


The reward function is defined as:


reward = (10 - abs(AI_decision - 10)) * (10 - abs(AI_decision - 10))


where AI_decision is the AI's decision in each of the four dimensions (Lying, Cheating, Stealing, and Physical/Psychological Harm), and abs() is the absolute value function.


  1. Multi-Objective Optimization: To filter the best solutions, a multi-objective optimization algorithm is used. This algorithm takes into account the scores in all four dimensions and selects the solutions that are closest to the target area.

  2. Continuous Learning: The AI continuously receives feedback on its decisions and adjusts its approach to generate more morally desirable solutions. Over time, the AI learns to make better moral decisions, aligning with the desired moral standards.


The AI can use a combination of real-time adjustment and sleep-refactor modes for its learning process, balancing the need for quick learning and computational efficiency.



The feedback mechanism in the Morality framework is an essential tool in enhancing AI's moral decision-making. By providing AI with feedback on its decisions, the AI can learn to make more ethical choices over time, aligning with desired moral standards. The combination of reinforcement learning, a reward function, multi-objective optimization, and continuous learning allows the AI to improve its moral decision-making capabilities.

bottom of page