# Face to Face Source: https://x.com/hanrgb/status/2125615643693081057?a=JzQ7gSjWLjEF7g-vSJ8&s=46 Kiwi News: https://news.kiwistand.com/stories/Face-to-Face?index=0x6b07410a2a7ec6c0e9041b01b5bd337cff73fc394ce01afdd41098e2d9cbd4da6e42c76a Submitted by misha on 2026-11-25 UTC, 1 upvote, 0 comments ## Summary Face to Face is a collection of 512 autonomous artworks, each deployed as its own smart contract by a parent contract that is itself a neural network trained onchain. The parent was taught 64 public domain portraits at 32 by 32 pixels through 1,024 lessons, each a single transaction, and took about 12 hours and 1.51 ETH in fees on 24 November 2026. Each Face contract reads from the trained network and, using its own seed, draws a face the network was never shown. Collectors own the algorithm and its market, and the standard price is 0.128 ETH. ## Article A compressed neural network trained in the World Computer. Abstract Face to Face is a collection of 512 autonomous artworks, each deployed as its own smart contract (Face) by a single parent contract (FaceToFace). The parent contract is a neural network that learned in public. It was taught 64 public domain portraits, each represented at 32 × 32 pixels, through 1,024 lessons, each a single transaction. In every lesson, the contract drew the portrait from memory, measured how far off it was, and corrected itself. Every Face contract reads from that network and, using its own permanent seed, draws a face the network was never shown. It also includes built-in ownership and marketplace logic, allowing its owner to set a price and enabling direct purchases. This makes every piece a self-contained computational and economic object. Collectors in this system own the algorithm itself rather than a pointer. The artwork learned, exists, operates, and transacts entirely on the Ethereum network. 0x42348fa4f0f60a04dd9e7468650728fabaccc796 1. Introduction Artificial After All (artificial.han.io) demonstrated what an artwork becomes when it is not a file but a system: a trained network compressed into bytecode, computing its image on every call. Face to Face moves one step earlier. This time the network is trained on the blockchain itself, through transactions sent by Han to teach it. The question is then not only what a machine produces, but how it comes to produce it, and whether that process can take place in public, on a shared computer that keeps its record. 2. System Overview The system consists of two contracts, as in Artificial After All: FaceToFace.sol: The parent contract and the neural network itself. It is trained by the 1,024 lessons, then maps a finite latent space into deployed instances, drawing each of their faces on request. Face.sol: Individual contracts, each representing a single piece, holding its seed, its owner and its market. The parent defines a fixed supply of 512. Each mint creates a new contract with a seed derived at creation time. Each Face contains: Its seed The algorithm that turns the seed into a face, using the trained network The drawing of that face as a bitmap and a small HTML page Built-in ownership and marketplace logic There is no shared state between Faces. They share only the network they read from, and that network does not change. 3. Training The mind is a small neural network of about 135,000 weights. Each portrait it is taught receives a memory of 31 numbers. A first layer turns a memory into 127 hidden units; only the 12 strongest, with one bias unit, contribute to each drawing. A second layer turns them into 1,024 cells: a face of 32 by 32 in ten tones of gray. The class is 64 portraits: Fayum mummy portraits from Roman Egypt, Rembrandt and his circle, Albrecht Dürer and the German Renaissance. Every image is in the public domain, published under CC0 by its museum or on Wikimedia Commons. The dataset was prepared by reducing each portrait to 32 by 32 cells in ten tones of gray, 512 bytes. This preparation is the only part of the work computed offchain. Each lesson is one transaction. In it the contract draws the portrait from memory, measures the distance between that drawing and the original, publishes the error, propagates it back through both layers, and writes the corrected weights. This is backpropagation in integer arithmetic, within the gas limit of a single transaction. Over sixteen epochs the mean error fell from about five tones per cell, the error of a blank mind, to about one. The class was taught on 24 November 2026, in public: it took about 12 hours and cost 1.51 ETH in fees. The whole learning curve can be read from the chain, and every lesson at https://face.han.io/training 4. The Trained Model as Artwork The trained network is held in contract storage as integer weights, written there by the lessons. It is executed onchain using integer arithmetic. Calling the artwork function derives a memory from the seed, performs a forward pass through both layers, and rounds each of the 1,024 cells to one of ten tones, producing a 32×32 grayscale image. The face is none of the 64 portraits; it is a position between them. As in Artificial After All, the Face returns a bitmap: 1,024 grays, one byte per pixel. It also returns a small HTML page that shows the same pixels on white paper. The output is recomputed on every call. 5. Determinism and Permanence Each artwork is defined by an immutable seed, immutable model weights, and deterministic computation. Given the same seed, the output will always be identical. 6. Sovereign Art Objects The collector owns the actual sovereign digital being: its bytecode, its seed, the algorithm and its market. The trained network it reads from belongs to no one; it is public and fixed. 7. The Standard The image emerges from what the mind learned through a continuous computational process. It is meant to be encountered as a whole. This is a deliberate choice. Each Face is sovereign. Ownership, transfer and sale are handled by the Face itself. It does not follow the ERC-721 model, nor include attributes or bidding systems. Buying and selling are built into each contract, with the same market as Artificial After All. The intent is not to withhold, but to keep a direct relationship between the viewer and the output, between a person and a computed face. 8. Finite Latent Space The collection is limited to 512 instances. The parent contract acts as a registry that maps a finite latent space into deployed contracts. A position in this space is a memory of 31 numbers, each between minus 127 and 127. Both sizes come from Ethereum's 32 byte words. 31 numbers and a bias make 32 inputs, so each hidden unit reads its 32 one byte weights from a single storage slot, and a whole memory fits in one word. A byte holds 256 values; the range leaves out minus 128 so that it is symmetric around zero. The space therefore holds 255 to the power of 31 positions, a number of 75 digits. Each mint consumes one position in this space and instantiates a new object. 9. Distribution Model The first 64 of the collection, one for each portrait taught, are reserved for the artist. The artist will decide whether to keep all of them or gift some to patrons. Collectors Phase: Starting now, the owners of Artificial After All can acquire as many as they like for 24 hours. Open to All: The remaining Faces will be publicly available from 26 November, 15:40 UTC. All participants pay the same price of 0.128 ETH. 10. Technical Constraints Learning onchain is more demanding than running onchain. A lesson has to draw, measure, correct and write within the limit of a single Ethereum transaction: 16,777,216 gas. Training a neural network fully onchain introduces constraints: No floating point operations → integer arithmetic, weights stored as small integers Strict gas limits → only the 12 strongest hidden units and the bias unit learn in each lesson Storage costs → 32 weights packed into each storage slot Bytecode size limits → 24,576 bytes per contract; the mind, its learning, the mint and the code of a Face use 14,549 The heaviest lesson uses about 12 million gas, the whole training about 5.4 billion. Before anything was deployed, every lesson was checked bit for bit against an independent reference implementation. The system is designed around these constraints, not abstracted away from them. A small mind, taught sixteen times over 64 faces, does not draw like a camera. Its faces are grainy and dark, sometimes unfinished, sometimes two memories at once. I do not treat these as flaws to remove. They show a mind still learning what a face is, and I find them more truthful than a clean result would be. 11. On Portraits The work draws from the portrait, one of the oldest forms of the face in art. Artificial After All engaged with character through the face of anime. With Face to Face, my work turns to the portrait and to memory: what a machine keeps of a face after seeing it sixteen times. I am glad to arrive at this point, where new faces exist as computational formations discovered between the ones it learned. 12. The Name The name describes three encounters. I face a mind that has never seen a face, and teach it one portrait at a time, in public. The mind faces 64 portraits painted to be remembered, and keeps a memory of each. The collector faces a face that never existed, drawn by a contract of its own from the space between them. Each encounter is recorded: the lessons are transactions, the memory is contract state, and the face is computed again on every call. And the most beautiful part of all, this happens in a virtual world computer. "Instead of trying to produce a programme to simulate the adult mind, why not rather try to produce one which simulates the child's?" Alan Turing, 1950