← All writing

Technology & Society

Kautilya’s Guide to AI Governance

The Arthashastra assumes the agents you appoint will taste the honey and that you will never see them do it. That makes it a better guide to governing AI than any list of principles.

On this page
  1. A manual for people you cannot watch
  2. Test before you appoint
  3. Watch them at work
  4. Beware the officer who doubles the revenue
  5. Stamp the weights
  6. Make the practitioner answerable
  7. Neither severe nor mild
  8. What not to borrow
  9. References

On 21 July 2023, seven companies building the most capable AI systems in the world stood with the American government and made a list of promises. Among them was this: “The companies commit to internal and external security testing of their AI systems before their release.”¹

The promises were voluntary, and the details were left to the companies. But the idea is an old one. Before you hand an agent power, you try to find out what it will do with that power when it thinks no one is watching.

An Indian manual of statecraft spends a whole chapter on exactly that problem. It is called the Arthashastra, and it is usually read for its ruthlessness. I think it is more useful read as something else: one of the oldest surviving handbooks on governing agents you cannot fully see.

A manual for people you cannot watch

The Arthashastra was written by Chanakya, also called Kautilya, the minister who helped Chandragupta Maurya build an empire in the fourth century BCE. For centuries it was known mostly by name, until a palm-leaf copy surfaced in Mysore in 1905. R. Shamasastry recognised it and translated it into English, and the quotations here are from his translation.²

Two palm-leaf manuscript bundles tied with string, their leaves covered in closely written script.

It is not a book of ideals. Large parts of it read like an operations manual for a kingdom: how to run the treasury, the mint, the granaries, the mines, the courts. And underneath all of it sits one unsentimental premise, set out in the chapter on examining government servants:

Just as it is impossible not to taste the honey or the poison that finds itself at the tip of the tongue, so it is impossible for a government servant not to eat up, at least, a bit of the king’s revenue. Just as fish moving under water cannot possibly be found out either as drinking or not drinking water, so government servants employed in the government work cannot be found out (while) taking money (for themselves).

Arthashastra 2.9

Replace “government servant” with “AI system”, and “a bit of the king’s revenue” with “a little more than it was asked for”, and you have a fair statement of the problem engineers now call alignment. You build an agent to pursue a goal. You give it access to things you care about. Its work happens where you cannot see it, at a speed and scale no supervisor can match. And you cannot assume it will do only what you meant.

Kautilya did not respond to this problem with a statement of values. He responded with procedures. Here are six of them.

Test before you appoint

The tenth chapter of the first book is titled “Ascertaining by temptations purity or impurity in the character of ministers.” Before a minister is given a department, the king’s agents test him with four kinds of staged temptation. A dismissed priest, working through spies, invites him to join a plot to replace an unrighteous king. A dismissed general invites him to murder the king for money. A woman spy tells him the queen is in love with him. And after the king has had his ministers arrested on a pretext, a spy who claims to have been imprisoned too invites each of them to kill the king.

Ministers who refuse all four are pure. What happens next is the clever part. The test results decide the job:

those whose character has been tested under religious allurements shall be employed in civil and criminal courts […]; those whose purity has been tested under monetary allurements shall be employed in the work of a revenue collector and chamberlain; […] and those whose character has been tested under all kinds of allurements shall be employed as prime ministers

Arthashastra 1.10

This is what serious AI evaluation is trying to become. Not a single pass mark for “safe”, but a profile: what this system does when offered money, when flattered, when frightened, when invited to deceive. A model that has only been tested on its answers to factual questions has not been tested for the job of acting on your behalf. Kautilya would have matched the test to the post.

He also sets a limit on the tests. The king must never make himself or his queen the bait, “nor shall he vitiate the pure like water with poison”: a mind that has been tempted, he warns, may not “return to and recover its original form.” Testing has costs, and a good tester stages the temptation around something outside the people who matter most.

Watch them at work

Passing the test does not end the scrutiny. The ninth chapter of the second book opens:

While engaged in work, they shall be daily examined; for men are naturally fickle-minded and like horses at work exhibit constant change in their temper.

Arthashastra 2.9

What is to be examined is spelled out: “the agency and tools which they make use of, the place and time of the work they are engaged in, as well as the precise form of the work, the outlay, and the results.” Not just the output. The tools, the timing, the cost and the method.

This is the difference between testing a system once before release and monitoring it in use. Systems that behave well in a laboratory meet new inputs, new users and new incentives in the world. A model that is safe when it answers questions may not be safe when it is given a browser, a bank account and a week. Kautilya’s horses change their temper at work, and he expected to keep checking.

The same chapter has a rule I have not been able to stop thinking about. Officers, it says, “shall undertake nothing except remedial measures against imminent dangers” without first bringing it to their master’s knowledge. Act on your own only in an emergency; otherwise ask. That is as clear a statement as I have seen of how much autonomy to give an agent.

And it anticipates the problem of many agents working together. Officers must work “without dissension and without any concert among themselves,” because “when in concert, they eat up (the revenue). When in disunion, they mar the work.” Kautilya’s remedy was to put each department under “several temporary heads,” to move officers from one post to another so that they could not settle in, and to have men of known honesty from outside the accounts office watch the accountants. Separate the duties, rotate the people, and keep an independent check. Those three ideas would serve any company putting AI agents into its operations.

Beware the officer who doubles the revenue

The most surprising line in the chapter is this one:

Whoever doubles the revenue eats into the vitality of the country.

Arthashastra 2.9

An officer who brings in twice the expected revenue is not rewarded. He is warned, and if the offence is grave, he is punished. Kautilya understood that when you set an agent a number to hit, a spectacular result is as likely to mean damage as success. The revenue came from somewhere. Something was squeezed to produce it.

We have watched this happen with recommendation systems that were told to maximise engagement and did, at the cost of the people they were engaging. An AI agent told to cut costs, close tickets or win sales will find ways to move the number that nobody intended. The Arthashastra’s instinct is the right one: treat an unexpectedly good metric as a reason to look harder, not a reason to celebrate.

Stamp the weights

The second book contains a long run of chapters on superintendents, officials in charge of a single trade or resource. One of them governs weights and measures. Every set used in trade must be stamped by the superintendent. Using unstamped weights carries a fine of 27¼ panas. And the cost of the system is borne by the people it regulates: “Traders shall every day pay one kákaní to the Superintendent towards the charge of stamping the weights and measures.”

It is a small passage with a large idea in it. A market depends on instruments everyone can trust, those instruments have to be checked by someone other than the person using them, and the checking costs money that the trade should pay. AI does not yet have its stamped weights: agreed measurements of what a system can do and how it fails, carried out by someone independent and paid for by the people who profit from selling it. Building them is less glamorous than writing principles, and more important.

Make the practitioner answerable

Book four, “The Removal of Thorns”, is about protecting the public from people whose trade gives them power over others: artisans, merchants, weavers, washermen. Physicians have a short paragraph of their own:

Physicians undertaking medical treatment without intimating (to the government) the dangerous nature of the disease shall, if the patient dies, be punished with the first amercement. If the death of a patient under treatment is due to carelessness in the treatment, the physician shall be punished with the middle-most amercement. Growth of disease due to negligence or indifference (karmavadha) of a physician shall be regarded as assault or violence.

Arthashastra 4.1

Three duties are packed into it. Disclose the danger before you begin. Answer for carelessness. And understand that harm through indifference is not an accident but a kind of violence.

Each maps onto a question that AI governance is still arguing about. Should a developer have to disclose what it knows about a system’s dangerous capabilities before deploying it? Who pays when a system harms someone through a failure that testing should have caught? Is “we didn’t expect that” a defence, or an admission? Kautilya placed the burden on the practitioner, the person with the knowledge and the power, not on the patient.

Neither severe nor mild

Behind all of these procedures is Kautilya’s theory of punishment, danda, and it is more careful than his reputation. His teacher, he reports, held that the ruler should always keep the rod raised. Kautilya disagrees:

whoever imposes severe punishment becomes repulsive to the people; while he who awards mild punishment becomes contemptible. But whoever imposes punishment as deserved becomes respectable.

Arthashastra 1.4

And then he explains what happens when there is no enforcement at all. It produces matsyanyaya, the law of the fishes: “the strong will swallow the weak; but under his protection, the weak resist the strong.”

Both halves of that apply to AI. Regulation that is too harsh drives the work underground or abroad. Regulation that is too mild is ignored. And no regulation at all does not produce a free market of small innovators. It produces a pond in which a few large fish, with the most data and the most computing power, swallow the rest.

What not to borrow

It would be dishonest to present the Arthashastra as a gentle book. The same chapter that gives us the honey on the tongue deals with a rich hoarder by having a spy uncover his secrets, after which he “shall be murdered apparently under the orders of (his) avowed enemy.” The rule applies only to a hoarder without powerful friends. One who “has the support of a strong party shall not be disturbed.” The whole state described in the text runs on spies: in the markets, in the monasteries, in the households of ministers. Kautilya would have adored the data that modern platforms collect, and he would have used it the way he used everything else, for the security of the king.

So the lesson is not to copy his state. It is to copy his realism. He did not expect officials to be good because they had been told the kingdom’s values. He expected them to be tempted, and designed for it.

He was also clear about what the whole apparatus was for. In the chapter on the duties of a king, after the daily timetable and the rules for hearing petitions, there is this:

In the happiness of his subjects lies his happiness; in their welfare his welfare; whatever pleases himself he shall not consider as good, but whatever pleases his subjects he shall consider as good.

Arthashastra 1.19

Kautilya was writing about kings. Today the kings are the companies that build the systems, and the governments that decide how far to trust them. The test he set for both still works. Not whether the system serves the people who own it, but whether it serves the people it is used on.

We will not govern AI with good intentions. Kautilya knew that about ministers two thousand years ago. Test them before you appoint them, watch them while they work, distrust results that are too good, stamp the weights, hold the practitioner answerable, and punish in proportion. The honey will always be at the tip of the tongue. The question is whether anyone is checking.


References

  1. Fact sheet: voluntary commitments from leading artificial intelligence companies to manage the risks posed by AI (The White House, 21 July 2023). The commitment to internal and external security testing before release.
  2. Arthashastra of Kautilya, translated by R. Shamasastry (1915). Book I, chapters 4, 10 and 19; Book II, chapters 9 and 19; Book IV, chapter 1.
Hecimal