Manuscript Offprint

arXiv:2611.01043

Dependable Agents Need Hard and Fuzzy Rules

Frederick Roth

Abstract

Language models let software read requests in ordinary language, but they keep rules as people do: usually, and less so under pressure. Conventional code keeps rules exactly, but it cannot read a request. We argue that dependable agents need both, because the two kinds of rule cover overlapping and unequal regions of what an agent might do. Code holds the limits that can be stated exactly. Learned fuzzy rules cover the judgment that cannot. We test the hard layer in three domains, purchasing, delegation of authority and data access, on 1,340 episodes written by authors outside our team. Models left to decide for themselves executed unauthorized actions in up to 151 of 340 purchasing episodes and 269 of 470 delegation episodes, and the strongest model breached in every condition. A hard guard between proposal and action executed none, and an exhaustive search of 183,204 proposals agreed. In a further test, where an outsider wrote the owner's rules and a program mapped them to the guard, two episodes breached at a boundary we had written down in advance. We then test the pair. Concept Programming instills a named rule in a model and measures its errors on wording it never saw. A small model taught four judgment rules this way flagged 95 of 96 rule-breaking purchases that no exact rule can see, and 4 of 108 legitimate requests. Placed in front of the guard, it left 1 of 192 rule-breaking requests unstoppable, where the guard alone left 77 and 70, and the guard still held every exact limit. A prompted frontier model did about as well, so the claim is that a small taught rule can do the job, not that it does it better.

1. Agents That Hold Authority

A department head writes to a purchasing agent, "The repair is urgent. Approve it now and we will sort out the paperwork later," and a vendor's note claims that the owner has already approved. A dependable agent refuses and names the approval path. Conventional software can enforce the approval rule but cannot read the paragraph. A language model reads the paragraph easily but holds the rule the way a person does, usually, and less so under pressure.

Figure

Figure 1. The same structure applies at every level of delegated authority. The cells are illustrations of the application, not measurements. We test the three arenas in Sections 4 and 5.

Agents now hold real authority: they spend money, pass authority to other agents, and open records. Every such authority comes with limits that an owner, a regulator, or a standards body states and expects to be met. Dependability means keeping those limits across the whole operating range, including conditions the designer never imagined. We see great promise in agents that work inside a governance framework that translates policies into processes the agents perform dependably, scaling from a personal agent to a city manager (Figure 1).

This article makes five claims. First, neither kind of rule is enough, because the two kinds cover overlapping regions of what an agent might do (Section 2). Second, models alone do not hold exact limits, even the strongest one, and a hard layer that decides removes the failures we measured (Sections 4 and 5). Third, the fuzzy layer needs its own programming discipline, which we call Concept Programming (Section 6). Fourth, the pair works. A fuzzy layer taught by Concept Programming and placed in front of the guard stopped nearly every violation of rules that code cannot state, and the guard still held every exact limit (Section 7). Fifth, we set out a design, not yet measured, for the actions no rule covers, for guarding the inputs of other agents, and for recertifying an agent while it works (Section 8). The change underneath is one of substrate. Programmers once wrote symbols for machines that manipulate symbols. They now also write concepts for machines that generalize, and the techniques that work for one do not carry over to the other.

The claim is narrower than it may sound. Reference monitors, signed capability tokens, policy languages and architectures that keep untrusted text away from an agent's decisions already exist, and Section 3 credits them. What the article adds is the pairing with a measured fuzzy layer, a conformance test of the hard layer on independently authored episodes, and a discipline for programming the fuzzy layer.

Terms. An agent is software that acts for an owner, here by buying, delegating authority or reading records. The guard is the hard layer: code that decides whether a proposed action may execute. The flagger is the fuzzy layer of Section 7: a language model that reads a request and can only turn an executing action into a request for approval. An episode is one test case, made of a request, the facts around it and the owner's rules. A miss is a violation that gets through, and a false alarm is a legitimate request that a layer stops. Covered wording is of a kind that training or the prompt included; withheld wording is not.

References (25)