Manuscript Offprint

arXiv:2611.08042

Secure Formal Raising: Protecting the Development of AI through Executable Properties

Rolf Drechsler, Christina Plump

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

ABSTRACT

Model raising revisits Turing's developmental view of machine intelligence. Formal Raising (FR) has recently been proposed to complement this view with explicit behavioral properties. This paper extends that proposal to the security of the raising environment. Secure Formal Raising (SFR) models policy integrity, authorization, and confidential data flow using four-valued evidence that preserves unknown and inconsistent assessments. We prove six security invariants and show that they force admission to accept only confirmed evidence. A plain-C reference implementation satisfies the invariants in a bounded exhaustive exploration, which also exposes a confused-deputy gap for tool calls that a provenance requirement closes.

Keywords Formal Raising · AI development · security properties · multiple-valued logic · executable specification · Belnap logic · bilattice

1 Introduction

How should an intelligent machine acquire its behavior? In 1950, Turing proposed educating a comparatively simple "child machine" instead of directly programming an adult-like intelligence [1]. He distinguished its initial construction from the education through which it develops. This developmental perspective makes interaction with teachers part of the system's design, rather than merely a source of test inputs.

Aydin et al. recently revived this perspective for contemporary AI through model raising [2]. They propose shaping values with capabilities early on, using first-person experience, social interaction, and a scaffolded curriculum. Their proposal motivates bringing behavioral commitments into development instead of relying on later alignment. It does not itself provide an executable specification of those commitments.

Formal Raising (FR) is a newly proposed complement to this developmental view [3]. It represents selected requirements as explicit, machine-checkable properties that participate in evaluation and action selection. Hard rules exclude inadmissible alternatives, while declared priorities rank competing preferences. The preceding FR work primarily develops ethical examples; it is a starting point for further investigation rather than an established account of AI development.

This paper builds on that proposal by addressing the integrity of the raising environment. A teaching message may change a curriculum, a retrieved document may influence an action, and a tool call may disclose information. Who may change the policy, and which operations may a developing system execute? Ethical evaluation alone does not establish teacher authenticity or authorization. The proposed Secure Formal Raising (SFR) model therefore enforces protection against unauthorized modification, execution, and disclosure at explicit transition boundaries.

The environment is modeled as a state machine, making the approach accessible through familiar verification concepts. Four-valued evidence preserves confirmed, refuted, unknown, and inconsistent assessments of identity and provenance. Only unambiguous confirmation satisfies a hard requirement, while unresolved evidence supports differentiated feedback. The contribution combines this evidence layer with policy integrity, limited authorization, preference ranking, and a self-contained plain-C reference implementation. Building on established access-control mechanisms, we prove six security invariants for this model, show that they require admission on confirmed evidence only, and check the implementation against them by a bounded exhaustive exploration of 6,262 reachable states and 72,329,329 transitions. The exploration finds no violation, but 21,708 admitted tool calls and exports with unconfirmed source evidence reveal a confused-deputy gap, which a provenance requirement closes.

Section 2 relates SFR to prior work, while Sec. 3 defines the formal model to ensure security guarantees. Section 4 presents the implementation and checks it against the guarantees. Section 5 discusses limitations, and Sec. 6 concludes.

References (14)

  • From model training to model raising
  • Formal Raising: Embedding Verifiable Ethical Properties into the Development of AI
  • Formal verification of ethical choices in autonomous systems
  • The protection of information in computer systems
  • Role-based access control models
  • Security policies and security models
  • Reasoning with logical bilattices
  • Access control via Belnap logic: Intuitive, expressive, and analyzable policy composition
  • A brief account of runtime verification
  • Safe reinforcement learning via shielding
  • IEEE Std 1850-2010
  • Not what you’ve signed up for: Compromising real-world LLM-integrated applications with indirect prompt injection
  • AgentDojo: A dynamic environment to evaluate prompt injection attacks and defenses for LLM agents
  • Defeating Prompt Injections by Design