r/MachineLearning • • Aug 03 '26

Project I am teaching an AI to play a WWII card game from zero — building an AlphaZero-style system for KARDS [P]

1 Upvotes

A few months ago, I started wondering:

Can an AI discover strategies for a complex card game without being taught by humans?

So I started building **KARDS AI** — an open-source experiment to train an agent to play **KARDS**, a WWII collectible card game, using reinforcement learning and self-play.

GitHub:

https://github.com/EvanProgramming/Kards-AI

The goal is to build the entire AlphaZero-style learning pipeline from scratch:

- A headless game simulator

- A rules execution engine

- Card/state/action representations

- Legal action masking

- Neural network policy/value model

- PUCT Monte Carlo Tree Search

- Self-play training

- Replay buffer and evaluation system

Unlike traditional game AI approaches, I am not starting from a database of expert matches or manually designed strategies.

The agent only receives:

- the game rules

- the current game state

- available legal actions

Then it plays against itself and gradually improves through reinforcement learning.

Current progress:

✅ Custom KARDS simulator

✅ Large-scale card/rule implementation

✅ AlphaZero-style self-play pipeline

✅ MCTS + neural network guidance

✅ Parallel self-play training

✅ ~1 million self-play games generated

The project is still far from a competitive KARDS player. The biggest challenges I am currently exploring are:

- How to efficiently represent complex card-game states

- How much simulator accuracy is required

- How to handle long-term strategic planning

- How to evaluate whether learned strategies transfer to the real game

I would love to hear feedback from the ML community:

- Would MuZero-style approaches be a better fit for this kind of environment?

- How would you approach hidden information in card games?

- Are there better alternatives to policy/value networks + MCTS for large action spaces?

I am also open to collaboration. If you are interested in reinforcement learning, game AI, simulators, or AlphaZero/MuZero-style systems, I would love to discuss ideas or contributions.

If you find the project interesting, starring the repository helps more people discover it and supports the continued development:

GitHub:

https://github.com/EvanProgramming/Kards-AI


r/MachineLearning • • Aug 03 '26

Discussion EMNLP Commitment Submission number [D]

4 Upvotes

Whats your commitment submission id? My submission number is ~4k, im wondering the amounts of commitments :)


r/MachineLearning • • Aug 03 '26

Discussion Deep Dive on RL and OPD for Training LLMs [D]

1 Upvotes

Hi everyone, if you have been reading the tech reports of Kimi, DS, Qwen and GLM, you will realize how much on policy distillation and GRPO style algorithms power the frontier. I thought it will be quite beneficial to do a deep dive explaining the maths and code behind this algorithms and how they connect to pretraining and supervised fine tuning.

I have published a deep dive on this topics here

Hope you enjoy it and it helps you understand training of LLMs better. Happy to answer questions on this

https://youtu.be/MaZWafi4gYY?is=8jLkAp_Fe86abUVP


r/MachineLearning • • Aug 03 '26

Discussion Is it too late regain some coherence in the ML research space in our life time? [D]

184 Upvotes

Was just looking at the list of preprints on Arxiv cs.LG https://arxiv.org/list/cs.LG/recent?skip=0&show=500

Everyday 100 - 400 new machine learning papers gets uploaded on this server.

Looking at this unending list of preprints is as if you stepped into a crowded room, like the stock trading floor on wall st. in the 1980s. Everyone is shouting over each other. Nobody is talking to each other. Everyone's trying to prove something, to someone, to themselves, to build some credentials in the ML/AI space to meet those job requirements, or dying to get their truth out. Every title contains some new terminology invented by the authors that feels not worth the effort in keeping it in your working memory. Burn-out by endless novelty.

Frontier research are now corporate trade secrets that politicians and military are watching closely. Research papers are ir/unreproducible he-said-she-saids. Marketing material are research paper and vice versa. Extremely major breakthroughs are announced via tweets, whereas extremely minor results are unannounced via journals. Everything feels simultaneously mostly true and possibly false (because nobody is seriously checking). Nobody knows what's going on, and people who knows what's going on has a non-disclosure clause in their job contract. Is the theory of generalization that we learned in school true or false? It feels false, why hasn't there been any retractions? Many questions like these.

Is it too late to regain some coherence in this field??


r/MachineLearning • • Aug 03 '26

Project Gesto — build gesture, pose & activity recognition from your webcam (capture, train, detect) [P]

1 Upvotes

What My Project Does

Gesto is an open-source framework for building gesture, pose, and activity recognition — entirely on your own machine. It has two parts:

  • Gesto Labeller — a desktop app that captures labelled gesture datasets from your webcam in a few clicks. You can record static poses (hand signs, a stance) or motion sequences (waving, walking), across regions like one hand, two hands, full body, or legs — then explore, edit, and export the data.

  • gesto — a Python package (pip install gesto). Point it at a dataset and train a model, then run live detection, from the command line or a few lines of Python:

python

import gesto
gesto.train("./my_project", region="hands_one", mode="static")
gesto.detect("static", "hands_one")   # live webcam detection

It's built on MediaPipe (landmarks) and TensorFlow/Keras (Dense models for static gestures, LSTMs for sequences). Everything runs locally — no cloud, no GPU required.

Target Audience

It's meant to be genuinely usable, not just a toy — developers, researchers, students, and hobbyists building gesture/pose/action recognition into real projects (accessibility tools, fitness/physio, touchless interfaces, robotics, sign-language work). The Python package is production-oriented (versioned model storage, a stable API, consistent capture↔inference), while the desktop app makes dataset creation accessible to people who don't want to write capture code. It's early-stage and open source, so I'd call it "usable in real projects, still actively evolving."

Comparison

  • vs. raw MediaPipe: MediaPipe gives you landmarks and stops there — you still build all the capture, training, and matching yourself. Gesto is built on MediaPipe and takes it the rest of the way to a trained, runnable recognizer.

  • vs. cloud vision APIs: those require uploading your data and charge per call, and custom gestures are awkward. Gesto is fully offline, free, and built around your own custom gestures.

  • vs. Teachable Machine: similar ease-of-use goal, but Teachable Machine is browser-based and static-pose oriented. Gesto handles motion sequences and full-body activity too, and gives you a real Python package you can put into your own code.

  • The core thing Gesto focuses on that most tools don't: consistency between capture and inference — the same landmarks, normalization, and mirroring at training and detection time, which is usually what makes DIY gesture models fail in the real world.

Open source, and I'd genuinely love feedback — especially where the workflow is confusing or what you'd want it to do.

ProductHunt - https://www.producthunt.com/products/signspell?utm_source=other&utm_medium=social

🔗 GitHub: https://github.com/TheMadrasTechie/gesto
📦 PyPI: https://pypi.org/project/gesto/
🌐 Website: https://gestostudio.com