← All AI Engineer talks

AI Engineer World's Fair 2026

Local Agentic Theory For Mobile Games — Shafik Quoraishee & Joanne Song, The New York Times

About this talk

Shafik Quoraishee and Joanne Song present experimental on-device agents for accessible mobile games, emphasizing that existing New York Times puzzles are human-made and its games do not contain AI features. They contrast finite-state game logic and reinforcement-learning systems such as EfficientZero with agents that reason locally, demonstrate an agentic Space Invaders prototype, and discuss privacy, offline operation, rendering budgets, and 60 Hz frame constraints. The accessibility portion explores adapting gameplay to eye gaze, shaky taps, low vision, and handwriting, concluding with a vision of personalized AI running on individual devices.

Chapters

  1. 0:00Experimental scope and New York Times Games disclaimers
  2. 1:50Game AI history and the case for local inference
  3. 4:57Reinforcement learning, EfficientZero, and agentic gameplay
  4. 7:03Space Invaders demonstration and mobile rendering budgets
  5. 12:30Adaptive accessibility and personalized local AI

Talk transcript

  1. 0:00

    [upbeat music] Awesome. So yes, as, uh, a great introduction, uh, took us to, we are gonna be talking about local agentic theory for accessible mobile games.

  2. 0:21

    And we realize this is the graph track, but there are graphs here in this presentation, so, um, fret not if you're missing them. Uh, so, uh, yeah. So a few disclaimers before we continue.

  3. 0:32

    Um, since we, we do work at The New York Times, and there's a few things we have to say about, um, our puzzles, AI, et cetera. Uh, our puzzles are made by people.

  4. 0:40

    They're not made by AI, so, um, that's just a, a thing that we... is true, and it'll always be true. Um, there's no AI in the games themselves, so the- there's no AI features.

  5. 0:51

    Um, you might have seen Wordle Bot. That's not an AI feature. So all our games are, are pretty much AI free. Um, and the work the, that we're gonna be talking about now is experimental work.

  6. 1:03

    So it's stuff that we look at in terms of solvability and other, uh, capabilities of agents in the space that we can potentially take advantage of on a local device to, to do, uh, other things and actually generate games more so things about playability and other kinds of, um, features we can, uh, utilize agents for in an

  7. 1:22

    intelligent way. So introdu... a little bit of an introduction. So I also, um, if anyone has, uh, seen, uh, the last year's Worldfair talk that I did on Connections, there's a similar, um, vibe to this.

  8. 1:35

    Uh, we-- I did a deeper dive into how a solver can be built for, uh, that game and, um, if you're interested, you can take a look. It's on YouTube, and, uh, it has a lot of interesting deeper dive specifics for, uh, RL solvers, which I'll go into in a bit as well.

  9. 1:50

    So little bit of a history. Um, everybody here, and just in case you aren't familiar with AI and gaming, which, um, for, you know, it's not the most common topic here at, at the Worldfair right now.

  10. 2:02

    But, um, if you, uh, are familiar with the history of it, uh, AI has been in games for a long time, and, uh, since this is... since the eighties, uh, it's been established as a core pattern in games like Pac-Man.

  11. 2:15

    Um, this is a simple version of an AI called a finite state machine, and if anybody-- everyone's familiar with a finite state machine here? Probably. Or I would imagine enough people are.

  12. 2:25

    It's a basic AI system which tells, uh, the ghosts in the game what to do when Pac-Man gets a, a, a, a dot or not. Um, but basically, it is a conditional kind of symbolic AI.

  13. 2:37

    Um, and then moving forward, we'll talk more about RL and the advancements of where that went to. But firstly, um, the core thesis of what we're gonna really focus on is the model of running the devices, run-running AI on our local devices.

  14. 2:54

    So, uh, most AI, um, infrastructure today runs really on the cloud, and, uh, if you're running a mobile application, um, most practical scenarios involve cloud architecture. And, uh, that, that essentially is expensive because you have AI calls and inference calls that you have to make upstream, and then they have to come to your device.

  15. 3:13

    So there's things like latency, et cetera. So, um, in an ideal world, when we evolve to that, uh, place, um, we can, uh, offload a lot of the intelligence onto a device.

  16. 3:24

    What that does is make a lot of the call, uh, make a lot of the calls faster when we get to that world because you're not doing, uh, a round trip to the cloud to get that information.

  17. 3:33

    So you can, uh, actually compress that time to the time within the device frame computation. Um, the-- it's private too, so your AI computation is withon-- is, is within the device itself.

  18. 3:46

    And if it's set up properly, it won't leave the device because there's some things that for the gameplay experience that you don't actually need it to leave the device.

  19. 3:53

    Local computation is the way to go, and it stays within your confined security zone, uh, locally, and, uh, it's not needed upstream for telemetry or anything like that. Um, and then it should work anywhere.

  20. 4:04

    So one thing is that games, uh, you know, some, a lot of games rely on the internet and, and many... they, they will for a, a live con- connection point.

  21. 4:13

    But at least in, in the, in many cases where you need advanced AI compute, you can develop games that can work locally on your, uh, machine, on your mobile device rather.

  22. 4:23

    And, uh, that's great because if you're in a subway tunnel or something like that, you can still have a, a game with a very smart AI that is, um, building, uh, doing something, uh, without being disrupted due to, um, uh, HTTP calls that are not getting through.

  23. 4:38

    Um, and then it's, uh, again, personalization is a big thing in general with on-device models because personalization is important. Uh, and a lot of people want their game experience to be tailored to them, and in a world where we can do things, um, on device, we have that capability more so because the, the features are local.

  24. 4:57

    So now we're gonna talk about agentic AI for games, and, um, as I'm sure everybody's familiar with AlphaGo, AlphaZero, et cetera here, um, the Alpha series models. So basically, um, uh, reinforcement learning was the way that, uh, games were in the past, um, trained in order to, uh, do intelligence, right?

  25. 5:20

    So basically, what you would do is that you would take a, you take a model, uh, have many iterations, and then that, uh, that model would then, um, be really tuned to a particular game.

  26. 5:31

    Um, and that's still happening, but, uh, what I'm doing is setting up the kind of history and the school of thought of that, uh, all the way up to twenty twenty-four.

  27. 5:38

    Um, has anybody heard of EfficientZero before here? Uh, if not, it's fine. EfficientZero and EfficientZero V2 are the reinforcement models, uh, reinforcement learning models that are state-of-the-art, um, and they're called sample-efficient reinforcement learning models because they learn, uh, very fast with a lot of-- a lot less data than traditional reinforcement learning models do on games.

  28. 6:01

    Um, and there's just-- So that was up to twenty twenty-four, and the, that, uh, mechanic is continuing, but it lives alongside, uh, our, uh, reinforcement learning and agentic game, uh, development.

  29. 6:14

    So, uh, reinforcement learning again is, on the left is a bunch of cycles that are used to train a model in order to change its weight, so it becomes more intelligent and able to play this particular game.

  30. 6:25

    An agentic system is one where you actually have a game that is, uh, negotiated by agents which are essentially, uh, language models, which are using in-context learning to figure out the state of the world in the game.

  31. 6:38

    So RL changes the model itself and changes the weights in the model. Um, the agentic system reasons over, uh, space in the game, um, and there's no reward system to grind out.

  32. 6:49

    Uh, the loop, there's an agentic loop that's at play, which then learns the system through tool calls and other things that are local to the device and using local device functionality and adapts to a new situation, so it's much more dynamic.

  33. 7:03

    So, um, so this is, uh, basically one example of an agentic-based game using-- Ev-everybody's seen Space Invaders before, I, I presume. Okay. Well, if not, y-well, there it is.

  34. 7:14

    So this is a agentic version of Space Invaders, which, um, is designed to use a local agentic framework, which we worked on to, um, do basically the basic things like kill the spaceships as they get close and avoid the bullets as the spaceships attack.

  35. 7:30

    And you've probably seen simulations where our RL models have been trained to do the s-same thing, but this is specifically an agentic system that we built to actually play this game.

  36. 7:39

    Um, and then you can see the agentic states on the right. And so this is the inside the agent itself and how the loop works. So basically, you have very few basic states where you're trying to perceive what's happening in the-- where the agent is trying to perceive what's happening in the scene, where it's trying to predict

  37. 7:55

    the next move of the spaceships attacking it, where it's deciding what to do next. Because if the bullet is too close or if the spaceship is too close, it will take a-- it'll make some sort of action, and then it will act in that, uh, way, in the appropriate way, and then loop again to see the state.

  38. 8:09

    So that's a very simple system, but it's, uh, it's basically a simple agent that's, um, uh, using an on-device model to actually execute its steps. So some ch-challenges in this space are space is-- health is a challenge because on the device you have a limited amount of resources.

  39. 8:26

    You have a device budget where you have to fit the weights, you have to compress the state history of the agent, you have to compress the working set or the planning artifacts of the agent if you even think of the way that an agent will create the way that it navigates a system.

  40. 8:39

    And you have to have enough s-render headroom in order to actually render the game and play the game itself. So this is basically that. And then you also have a time constraint because time itself is budgeted in a particular way so that you're essentially using like a refresh rate of sixty hertz.

  41. 8:56

    So in each frame that passes, you have to-- which you get a new frame every sixteen milliseconds appount if your, uh, refresh rate is sixty hertz. You need to actually fit the agent planning within that, and if you go outside of that budget, what'll happen in the agent execution, you're going to see jank and other things on

  42. 9:11

    mobile devices that, that are very hard to con-- uh, pull out. And then you have energy constraints, and energy constraints are basically battery life. So battery life, um, you know, the basic devi-devices these days are not optimized to, um, really handle agentic workloads.

  43. 9:27

    Uh, yet they're getting to that point where you have NPUs, neural processing units, and AI chips that are specifically designed to handle that inference. But at this point in time, um, y- uh, the agentic, uh, design of the loop on the device has to be very curated to do as minimum energy pro-processing as possible.

  44. 9:45

    Otherwise, your phones die fast as it is, and they'll die even faster. Um, so essentially, there's a constraint function in-- of this, for example, constraint graph that takes into account all three of these areas.

  45. 9:57

    And so there's different ways of managing the constraints in this constraint graph, so you can actually make sure that your agent is performing well. So you can handle space constraints, time constraints, energy constraints, and th-there are some techniques that we use to optimize those constraints so that we're not, uh, we're, we're penalizing over-focus on one area, and

  46. 10:16

    then we're using like soft constraining on another area so that we're not penalizing too much if we need a little extra space. But if we use too much time, we want to penalize that because we don't want the agent to disrupt the user experience.

  47. 10:29

    Um, so, um, we, we look at things like gaze estimation models as well because, um, gaze is another new factor. It's been around for a while, but it's evolving to the point where it can actually, um, uh, be, uh, useful.

  48. 10:42

    And an agent has to take into account gaze model data, which is basically a convolutional neural net which takes gaze data and then can, um, translate it to agentic behavior.

  49. 10:53

    And so, um, I'll-- it just begs to mention that we need to consider things like the ARC-AGI score, uh, because we also have the base intelligence of the model, and the base intelligence of a lot of these models aren't, uh, capable yet of being fully, um, cognizant of all the complex decisions that an agent can make in

  50. 11:10

    the most intelligent and possibly interesting games in the future. But we, we have to, um, essentially sur-surmount this to get to that point. And the last thing I'll show you before I hand it over to Joanne is, um, this is, uh, another agent that we built to solve the mini crosswords.

  51. 11:25

    So if you play the mini crosswords, this is called a constraint satisfaction agent, which uses a constraint satisfaction graph to figure out how to put the words in the crossword puzzle at the right place so that, um, the-- it fills the puzzle properly.

  52. 11:38

    And it backtracks in the puzzle and finds the right word, sometimes finds the wrong word. But the constraint graph here is optimized so that if the constraints are getting too, um, uh, too crowded or too incorrect, then it will backtrack efficiently, and the agent can use natural language from the graph to backtrack and find the correct crossword,

  53. 11:57

    uh, uh, crossword layout. Um, so Basically where are we now? We have a lot of different models that we are considering. So we have generalist models, um, like for example, Google SIMA, which will be the agentic framework, an agentic framework that can do a lot of different things.

  54. 12:13

    In this space, um, we have agents that do visual estimation on the phone. Uh, and then we have ins- entire generative worlds that are being built using AI, um, and that will be a whole different interesting agentic space to consider.

  55. 12:26

    Now I'll hand it over to Joanne to talk about accessibility.

  56. 12:30

    Oh, is this thing on? Yes. Um, let's talk about accessibility. How can we build a system that truly serves everyone? Um, like Shafiq mentioned, traditionally, games live in a world of fixed state models, rigid, hand-authored.

  57. 12:44

    A player's choice is often limited to a toggle or a static menu. The flaw here, as you could have guessed, is that it's entirely de- deterministic, predictable, and completely blind to their real-time needs.

  58. 12:56

    But we don't need to reinvent the wheel here. To battle, to build a battle-tested accessible game, we ground our design in an exis- existing international standard, WCAG 2.2. This framework evaluates interactions across four human-centric pillars.

  59. 13:11

    Is this experience perceivable, operable, understandable, and robust? Giving us a proven global foundation to build our dynamic player states.

  60. 13:21

    But you can't have rules without breaking them. Some common pitfalls where games break these standards. A mobile game like Crosswords, as an example. There are motor challenges we come across, where tiny grid cells can lead to mis-taps, active cell highlights are invisible to low vision players.

  61. 13:37

    Uh, cognitive barriers can be forcing manual logins or timers that are unforgiving and alienating to process speeding, uh, to processing speed needs. A static easy mode can't fix a crossword grid that remains fundamentally blind to our players.

  62. 13:53

    Although it's still in draft, WCAG 3.0, spoiler alert, is following the trends of dropping the binary pass-fail to a graded bronze, silver, and gold scoring. Accessibility is developing into a more diverse scale and moving away from our standard checkbox.

  63. 14:07

    The same shift should apply for gameplay. This scale visualizes the values that can change depending on the needs of the player. Here we have the core dials that scale depending on the player's real-time needs.

  64. 14:24

    If we tune for a player needing more assistance, we have input tolerance that controls the flexibility around physical constraints, making interactions more forgiving. This step granularity adjusts for the number of operations in a sequence, helping users break complex tasks and tuning to players who needs more nuance.

  65. 14:41

    The agent's time-- The agent's entire job is to dynamically calculate these dials as they rise and fall together, balancing the scale against the player's live context.

  66. 14:58

    With on-device models, the agent can get a real-time feel for how the player is doing. For example, we can use vision models to track eye gaze and figure out when the user might be facing search friction, analyze shaky taps for someone having a hard time with controls, meet players where they're at by allow, by allowing handwriting recognition.

  67. 15:17

    Um, focus traps. But we don't want the agent to just watch, we want it to act. We simulate on the right, um, uh, well, the simulation on the right is a broken dialogue, forcing a user into a keyboard trap.

  68. 15:28

    For a user using a switch or a keyboard instead of touch, focus order is very important. If we have a broken dialogue, tab and focus can be an endless loop with no way to navigate back.

  69. 15:39

    Here, the agent can monitor that focus path, flag the loop, and inject an exit route live on the device.

  70. 15:48

    When you're navigating with limited dexterity or just fat fingers, tiny targets can mean a miss. Instead of using players, um, instead of making players play Operation, our agent is a live layout auditor.

  71. 16:01

    It measures the interface on the fly, catches violations, and dynamically resizes the controls. The agent rewrites the layout live, adapting to the human and not the other way around.

  72. 16:13

    Think of it like a real-time tug-of-war where the system is no longer fixed, but tunes the game to the player. Accessibility and challenge stop being treated separately and become two ends of one dial, constantly tuning for the moment.

  73. 16:28

    Ultimately, this is, uh, there, uh, this is where on-device AI is heading. By building systems that can actively sense human frustrations, we can move past fixed menus and turn our devices into responsive, empathetic partners.

  74. 16:42

    But there's still groundwork to be laid. Looking ahead for local agents to truly understand games, there is still a lot we need to build. First, they have to be faster.

  75. 16:51

    We need a plan, uh, we need plans and decisions within a sixty millisecond frame to prevent stuttering for games. We need models to predict the game so that we can see exactly what a layout change will do before they actually make it.

  76. 17:03

    And the real magic, though, will be the long-term memory, learning one specific person's unique habits and needs over time. We need a shared game state language so one agent can work across multiple games instead of being rebuilt from scratch for different releases, releases.

  77. 17:18

    And finally, we need better chips and honest testing. Faster chips paired with real benchmarks to prove that the agent makes things better.

  78. 17:28

    And the future of AI doesn't have to be one giant centralized brain. It can be billions of small local brains, each running on a personal device, each shaped entirely by the individual it serves.

  79. 17:41

    Thank you. [audience applauding] [upbeat music]