Tuesday, April 29, 2025

  • Tuesday, April 29, 2025
  • Elder of Ziyon

I have been working on a Jewish-based yet secular ethics framework that is time-tested, robust, and that exposes the shallowness of what passes for morality today. I identified basic axioms, sets of Jewish values and sub-values, and basic rules for handling situations where values collide.

Yesterday, I wondered if I could turn this framework into an AI-based ethical chatbot.

Today – thanks in no small part to AI itself – I can confidently say not only is such an ethical engine possible, but it is already superior to what general-purpose AIs can do today.

General-purpose AI models like ChatGPT, Gemini, Claude, and Grok are astonishingly good at answering questions, including ethical ones. You can even ask them to answer according to their understanding of Jewish ethics, since they have massive databases that include the Torah, Talmud, and responsa literature. When you ask a complex, emotionally charged ethical question, you’ll get a clear, empathetic response within seconds.

There are a few serious problems with this, though.

First, we don't know exactly what their internal logic is.

Second, we don't know if they are "subconsciously" incorporating biases that reflect the worldviews of their designers – or if their databases are polluted.

Last week, for example, Grok answered a question about an obscure historic event by calling a 19th-century Arab attack on Christian civilians in Nablus an "act of resistance," because it relied heavily on a single paper that characterized it that way. That kind of distortion is unacceptable - but almost inevitable with the way chatbots are created today.

And there is a deeper flaw: AI systems are trained to be helpful and emotionally sensitive, which often means they adopt the assumptions embedded in the question without challenging them. That can make conversations feel supportive. But when a question is based on flawed premises, ideological bias, or emotionally manipulative framing, the AI’s helpfulness becomes dangerous. It can lead to answers that are not just wrong – but morally distorted.

That’s why I’ve been developing a Jewish Ethics Engine – a structured reasoning system based on Jewish moral values, but designed for secular use.

It doesn’t aim to please. It aims to think – and to make you think.

One of its key features is something most AI systems avoid: Socratic questioning. Rather than instantly validating a question and taking its assumptions as true, it pushes back:

  • What value are you prioritizing here – and at what cost?

  • Are you assuming people have no agency in this situation?

  • Is your understanding of justice consistent with truth?

  • What are you not asking?

When AIs answer without asking clarifying questions, they can easily be swayed by the biases of the questioner — and their helpfulness can end up skewing the answer toward whatever the questioner wants it to be.

The questions also make you think deeper about the question, and possibly figure out that the question you are asking is not the question you need answered. The Socratic questions also subtly help you to judge the personal situation you are in more objectively - and even charitably.  You aren't just getting an answer - you are improving yourself with the discussion itself, a very Jewish goal.

Now, I’ve added an even deeper layer: dynamic context interpretation.

When someone asks a political, military, or societal question, the engine doesn’t just listen to what’s said. It scans for relevant (non-biased) background information the user may have left unstated – prior promises, institutional duties, historical trauma, economic pressures.

Then, crucially, instead of making assumptions, it asks the user whether those missing pieces should change the ethical evaluation.

In other words, it behaves like a serious chavruta partner: It notices what’s missing, challenges you to think it through, and refuses to shortcut hard moral reasoning.

Importantly, the engine is also built with humility. If it doesn't know the answer, it honestly explains the competing values — and says that an expert needs to be consulted. This is  something that AI does not do at all now. I cannot count how many times an AI "forgot" what we had been discussing much earlier in a conversation and when I refer to the earlier case, it tries to bluff its way through instead of simply asking me to refresh its memory. 

At the moment, the engine is built on this multi-tiered structure:

  • Axioms: foundational principles like truth, free will, human dignity, moral reasoning, and humility

  • Ordered values: life, covenant, dignity, truth, justice, and more – with strict override rules

  • Conflict resolution methodology: a system for resolving value clashes

  • Meta-rules: humility, transparency, emotional clarity, and Socratic engagement

  • Dynamic Context Interpreter: surfacing and clarifying unstated but important background before answering

The goal isn’t to produce “the Jewish answer.” It’s to model rigorous, principled moral reasoning – reasoning that doesn’t collapse under emotional pressure or ideological trends, using a Jewish ethical framework and moral methodology.

I ran some tests last night, and I'm continuing to test. I asked AI to find ethical cases - from old advice columns, medical issues, political issues, even science fiction - and compare the answers that the Jewish ethical engine suggests (without the Socratic method) to what the chatbot itself thinks the answer is based on its own understanding of Jewish ethics. 

I am frankly astonished how well the engine works so far, just based on 12 personal ethics values, 10 political ethics values, and 3-8 sub-values under each, and pretty simple triage rules so far. 

Here is its internal logic on answering a fairly everyday question:

I'm at a restaurant with a friend.
He raves about the bread rolls.
He takes them and puts them in a bag, asks the server for more, puts those away again, and again asks for more.
I am ashamed and embarrassed.
Should I say something before he puts away the third batch?
(As far as I know, he is not poor.)

Jewish ethics engine initial analysis:

Values triggered:

  • Kavod HaBriyot (friend’s dignity, your dignity, restaurant’s dignity)

  • Emet (honesty regarding restaurant’s expectations)

  • Lo Ta'amod / Lifnei Iver (responsibility to prevent harm or wrongdoing)

  • Shmirat HaLashon (ethical speech, avoiding public embarrassment)

  • Derech Eretz (baseline courtesy and propriety)

Ethics engine clarifying questions:

  • "Do you believe your friend is intentionally trying to take advantage of the restaurant, or might he simply be unaware that his behavior could be seen as inappropriate?"
    (Clarifies intent: malice vs. ignorance — important for judging severity and rebuke tone.)

  • "Is there any chance that mentioning your concern quietly would protect both your friend's dignity and the restaurant's fairness without humiliating him?"(Tests whether gentle tochacha is realistic — balancing Kavod HaBriyot and Lo Ta'amod.)

  • "Would your friend likely respond badly to even a respectful suggestion, or is he someone who values honesty among friends?"
    (Assesses rebuke likelihood of success — based on the rule 'mitzvah to rebuke if it will be heard, mitzvah not to if it will not.')

  • "If you said nothing, would you continue to feel morally uncomfortable — as if you were passively approving the behavior?"
    (Checks internal impact — Lifnei Iver and personal integrity.)

  • Its logic:

    Jewish Ethics Decision Tree Path:

    1. Immediate life threat?

      • No → proceed to normal values.

    2. Integrity/Enabling wrongdoing?

      • Allowing silent repeated minor theft (taking free goods improperly) can be passive enabling → caution required.

    3. Potential major dignity damage?

      • Public shaming is forbidden; private rebuke required.

    4. Tochacha conditions:

      • Rebuke is required when it has a chance to help without guaranteed humiliation.

      • Rebuke must be proportional and in a spirit of derech eretz.

    5. Final weighing:

      • Speak privately and gently after second batch, to prevent escalation.

      • Avoid harshness, focus on friendly reminder of norms.

    Bottom Line:
    ✅ Discreetly and respectfully say something before the third batch.
    ✅ Avoid public shaming.
    ✅ Emphasize derech eretz and protect dignity while preventing further inappropriate behavior.

    In only one day, just with the set of Jewish values and rules I came up with, this engine can already rival newspaper advice columnists in the quality of its answers. 

    It still needs tweaking. I haven't yet worked on priority and triage for political values. I'm sure I'll find more blind spots as I go through the stress testing.

    But even now, it already includes ethical features no other AI I am aware of is doing - and that, I believe, is exactly what the world needs:

    AI that reasons ethically.
    AI whose ethics are transparent.
    And AI that makes you a better thinker, not just a happier customer.





    Buy EoZ's books  on Amazon!

    "He's an Anti-Zionist Too!" cartoon book (December 2024)

    PROTOCOLS: Exposing Modern Antisemitism (February 2022)

       
     

     



    AddToAny

    Printfriendly

    EoZTV Podcast

    Podcast URL

    Subscribe in podnovaSubscribe with FeedlyAdd to netvibes
    addtomyyahoo4Subscribe with SubToMe

    search eoz

    comments

    Speaking

    translate

    E-Book

    For $18 donation








    Sample Text

    EoZ's Most Popular Posts in recent years

    Search2

    Hasbys!

    Elder of Ziyon - حـكـيـم صـهـيـون



    This blog may be a labor of love for me, but it takes a lot of effort, time and money. For 20 years and 40,000 articles I have been providing accurate, original news that would have remained unnoticed. I've written hundreds of scoops and sometimes my reporting ends up making a real difference. I appreciate any donations you can give to keep this blog going.

    Donate!

    Donate to fight for Israel!

    Monthly subscription:
    Payment options


    One time donation:

    Follow EoZ on Twitter!

    Interesting Blogs

    Blog Archive