DeepCausality v0.9 Introduces the Effect Ethos

Overview

The DeepCausality project announces the release of DeepCausality 0.9 that adds support for the Effect Ethos, a programmable ethos for dynamic adaptive causal inference.

Problem

DeepCausality was designed from the ground up to model a dynamic world that is constantly in motion. Its reasoning modes allow us to build systems that use dynamic reasoning models to react to evolving data streams. With adaptive reasoning, they can dynamically alter their own reasoning pathways, choosing the best strategy based on the current context.

But as a system’s reasoning becomes more dynamic, a new challenge arises: how do we guarantee its behavior remains safe and predictable?

This question becomes inescapable when DeepCausality introduced dynamic emergent causality in version 0.8. Emergent causality is a new paradigm where the system can generate entirely new causal rules in response to its dynamic context. While powerful, it also presents a critical risk: if a system can rewrite its own logic, how do we ensure it doesn’t evolve into an unsafe or undesirable state? How do we maintain control and trust?

Solution

In response, the DeepCausality project adds the Effect Ethos, a programmable machine ethos directly integrated into the core of the project based on a deontic reasoning engine. The Effect Ethos adds a governance layer designed specifically to manage the risks of dynamic and emergent causal systems. Its purpose is to ensure that no matter how a system adapts or evolves, its actions will always adhere to a set of fundamental, immutable principles defined by its human designer.

Effect Ethos

The foundation of the Effect Ethos is the Teloid. A Teloid is a single, computable representation of a norm, goal, or safety rule. Each Teloid is composed of:

  1. Activation Predicate: A function that determines if the norm is relevant in the current context. For example, a rule like “don’t exceed 25 mph” is only active if the context shows the system is in a school zone.

  2. Deontic Modality: The type of rule—is it a strict prohibition (Impermissible), a requirement (Obligatory), or simply a suggestion (Optional, with an associated cost)?

  3. Conflict Resolution Data: Each Teloid contains metadata for priority, specificity, and a timestamp, which are used to resolve conflicts between norms automatically.

Furthermore, a Teloid shares the exact same context and the causal rules to which it applies. This means that a Teloid can query the context, obtain relevant current information, i.e., current speed, location, and time, and then make a decision based on its internal normative logic.

Resolving Normative Conflicts

Real-world ethical decisions are rarely simple. A system may face multiple, conflicting rules simultaneously. The true power of the Effect Ethos lies in its ability to resolve these conflicts using a formal, deterministic calculus inspired by established principles in logic and legal theory:

By applying these principles, the Effect Ethos can take a set of active, potentially conflicting norms, reduce them automatically to a conflict-free set, and then derive a single, unambiguous verdict.

Why This Matters

The Effect Ethos is a foundational component for building trustworthy autonomous systems.

Further reading:

This blog post only scratches the surface of the capabilities of the Effect Ethos. For more information on the theoretical foundation of DeepCausality and the Effect Ethos, please see the following resources:

For all articles, sources, and citation, please see the paper repository.

Conclusion

DeepCausality 0.9 adds a programmable ethos to the core of the project. It enables the system to verify the safety of derivative actions, thereby enabling a system to safely and dynamically adapt its reasoning pathways, choosing the best strategy based on the current context while adhering to a set of permissible rules.

Get Started with DeepCausality 0.9. The Future is Now!

About

DeepCausality is a hyper-geometric computational causality library that enables fast and deterministic context-aware causal reasoning in Rust. Please give us a star on GitHub.

The LF AI & Data Foundation supports an open artificial intelligence (AI) and data community, and drives open source innovation in the AI and data domains by enabling collaboration and the creation of new opportunities for all the members of the community. For more information, please visit lfaidata.foundation.