Kunal Jha

Kunal Jha

@kjha02.bsky.social

CS PhD Student @University of Washington, CSxPhilosophy @Dartmouth College Interested in MARL, Social Reasoning, and Collective Decision making in people, machines, and other organisms kjha02.github.io

132 Followers 354 Following 33 Posts Joined Nov 2024
1 month ago
Modeling Others’ Minds as Code How can AI quickly and accurately predict the behaviors of others? We show an AI which uses Large Language Models to synthesize agent behavior into Python programs, then Bayesian Inference to reason a...

Thanks for letting me know! kjha02.github.io/publication/...

0 0 0 0
1 month ago

Can't wait to present this work @iclr-conf.bsky.social this year!!! Looking forward to hearing everyone's thoughts on the paper and learning more about peoples' research!

Thanks again to my collaborators for all of their help on this project!

7 1 1 0
5 months ago
Modeling Others’ Minds as Code How can AI quickly and accurately predict the behaviors of others? We show an AI which uses Large Language Models to synthesize agent behavior into Python programs, then Bayesian Inference to reason a...

Sorry, try kjha02.github.io/publication/...

0 0 0 0
5 months ago
Modeling Others’ Minds as Code How can AI quickly and accurately predict the behaviors of others? We show an AI which uses Large Language Models to synthesize agent behavior into Python programs, then Bayesian Inference to reason a...

Sorry the emoji text got messed up, url is kjha02.github.io/publication/...

0 0 1 0
5 months ago

Correctly tagging @aydanhuang265.bsky.social !

2 0 0 0
5 months ago
Modeling Others’ Minds as Code How can AI quickly and accurately predict the behaviors of others? We show an AI which uses Large Language Models to synthesize agent behavior into Python programs, then Bayesian Inference to reason a...

For more analyses and insights, check out the paper and code: shorturl.at/siUYI

Can’t thank my collaborators @aydan_huang265, @EricYe29011995, @natashajaques.bsky.social , @maxkw.bsky.social enough for all the help and support!!!

2 0 1 0
5 months ago

The big takeaway: framing behavior prediction as a program synthesis problem is an accurate, scalable, and efficient path to human-compatible AI!

It allows multi-agent systems to rapidly and accurately anticipate others' actions for more effective collaboration.

1 0 1 0
5 months ago
Post image

ROTE doesn’t sacrifice accuracy for speed!

While initial program generation takes time, the inferred code can be executed rapidly, making it orders of magnitude more efficient than other LLM-based methods for long-horizon predictions.

0 0 1 0
5 months ago
Post image

What explains this performance gap? ROTE handles complexity better. It excels with intricate tasks like cleaning and interacting with objects (e.g., turning items on/off) in Partnr, while baselines only showed success with simpler navigation and object manipulation.

0 0 1 0
5 months ago
Post image

We scaled up to the embodied robotics simulator Partnr, a complex, partially observable environment with goal-directed LLM-agents.

ROTE still significantly outperformed all LLM-based and behavior cloning baselines for high-level action prediction in this domain!

1 0 1 0
5 months ago
Post image

A key strength of code: zero-shot generalization.

Programs inferred from one environment transfer to new settings more effectively than all other baselines. ROTE's learned programs transfer without needing to re-incur the cost of text generation.

0 0 1 0
5 months ago
Post image

Can scripts model nuanced, real human behavior?

We collected human gameplay data and found ROTE not only outperformed all baselines but also achieved human-level performance when predicting the trajectories of real people!

0 0 1 0
5 months ago
Post image

Introducing ROTE (Representing Others’ Trajectories as Executables)!

We use LLMs to generate Python programs 💻 that model observed behavior, then uses Bayesian inference to select the most likely ones. The result: A dynamic, composable, and analyzable predictive representation!

2 0 1 0
5 months ago

Traditional AI is stuck! Predicting behavior is either brittle (Behavior Cloning) or too slow with endless belief space enumeration (Inverse Planning).

How can we avoid mental state dualism while building scalable, robust predictive models?

1 0 2 0
5 months ago
Post image

Forget modeling every belief and goal! What if we represented people as following simple scripts instead (i.e "cross the crosswalk")?

Our new paper shows AI which models others’ minds as Python code 💻 can quickly and accurately predict human behavior!

shorturl.at/siUYI%F0%9F%...

37 14 3 4
7 months ago
Person standing next to poster titled "When Empowerment Disempowers"

Still catching up on my notes after my first #cogsci2025, but I'm so grateful for all the conversations and new friends and connections! I presented my poster "When Empowerment Disempowers" -- if we didn't get the chance to chat or you would like to chat more, please reach out!

16 3 0 1
7 months ago
Preview
Evolving general cooperation with a Bayesian theory of mind | PNAS Theories of the evolution of cooperation through reciprocity explain how unrelated self-interested individuals can accomplish more together than th...

Our new paper is out in PNAS: "Evolving general cooperation with a Bayesian theory of mind"!

Humans are the ultimate cooperators. We coordinate on a scale and scope no other species (nor AI) can match. What makes this possible? 🧵

www.pnas.org/doi/10.1073/...

92 36 2 2
7 months ago

Really pumped for my Oral presentation on this work today!!! Come check out the RL session from 3:30-4:30pm in West Ballroom B

You can also swing by our poster from 4:30-7pm in West Exhibition Hall B2-B3 # W-713

See you all there!

4 1 0 0
8 months ago

I'll be at ICML next week! If anyone wants to chat about single/multi-agent RL, continual learning, cognitive science, or something else, shoot me a message!!!

2 0 0 0
9 months ago

Oral @icmlconf.bsky.social !!! Can't wait to share our work and hear the community's thoughts on it, should be a fun talk!

Can't thank my collaborators enough: @cogscikid.bsky.social y.social @liangyanchenggg @simon-du.bsky.social @maxkw.bsky.social @natashajaques.bsky.social

9 2 0 0
10 months ago
Cross-environment Cooperation Enables Zero-shot Multi-agent Coordination How can AI develop the ability to cooperate with novel people on novel problems? We show AI learning to cooperate in “self-play” with one partner on many environments helps agents meta-learn to cooper...

For the paper and code, see kjha02.github.io/publication/...

Thank you so much to my collaborators @cogscikid.bsky.social @liangyanchenggg @
@simon-du.bsky.social @maxkw.bsky.social @natashajaques.bsky.social for making the first publication of my PhD a fun one!!!

2 0 0 0
10 months ago

The big takeaway: Environment diversity > Partner diversity

Training across diverse tasks teaches agents how to cooperate, not just whom to cooperate with. This enables zero-shot coordination with novel partners in novel environments, a critical step toward human-compatible AI.

1 0 1 0
10 months ago
Preview
GitHub - wcarvalho/nicewebrl: Python library for easily making web Apps to compare humans and AI Python library for easily making web Apps to compare humans and AI - wcarvalho/nicewebrl

Our work used NiceWebRL, a Python-based package we helped develop for evaluating Human, Human-AI, and Human-Human gameplay on Jax-based RL environments!

This tool makes crowdsourcing data for CS and CogSci studies easier than ever!

Learn more: github.com/wcarvalho/ni...

3 0 1 1
10 months ago
Post image

Why do humans prefer CEC agents? They collide less and adapt better to human behavior.
This increased adaptability reflects general norms for cooperation learned across many environments, not just memorized strategies.

0 0 1 0
10 months ago
Post image

Human studies confirm our findings! CEC agents achieve higher success rates with human partners than population based methods like FCP and are rated qualitatively better to collaborate with than the SOTA approach (E3T) despite never having seen the level during training.

1 0 1 0
10 months ago
Post image

Using empirical game theory analysis, we show CEC agents emerge as the dominant strategy in a population of different agent types during Ad-hoc Teamplay!

When diverse agents must collaborate, the CEC-trained agents are selected for their adaptability and cooperative skills.

3 0 1 0
10 months ago
Post image

The result? CEC agents significantly outperform baselines when collaborating zero-shot with novel partners on novel environments.

Even more impressive: CEC agents outperform methods that were specifically trained on the test environment but struggle to adapt to new partners!

2 0 1 0
10 months ago
Post image

We built a Jax-based procedural generator creating billions of solvable Overcooked challenges.

Unlike prior work studying only 5 layouts, we can now study cooperative skill transfer at unprecedented scale (1.16e17 possible environments)!

Code available at: shorturl.at/KxAjW

1 0 1 0
10 months ago

We introduce Cross-Environment Cooperation (CEC), where agents learn through self-play across procedurally generated environments.

CEC teaches robust task representations rather than memorized strategies, enabling zero-shot coordination with humans and other AIs!

1 0 1 0
10 months ago

Current AI cooperation algos form brittle strategies by focusing on partner diversity in fixed tasks.

I.e. they might learn a specific handshake but fail when greeted with a fist bump.

How can AI learn general norms that work across contexts and partners?

2 0 1 0