Skip to content
View davidkny22's full-sized avatar

Highlights

  • Pro

Block or report davidkny22

Block user

Prevent this user from interacting with your repositories and sending you notifications. Learn more about blocking users.

You must be logged in to block users.

Content in all repositories owned by your account will be closed.
Maximum 250 characters. Please don’t include any personal information such as legal names or email addresses. This note will only be visible to you.
Report abuse

Contact GitHub support about this user’s behavior. Learn more about reporting abuse.

Report abuse
davidkny22/README.md

david kogan

self-taught ai researcher

i'm 22. built my first pc at 11. homebrewed my 3ds for pokemon nuzlockes. hex-edited games to get outside the map.
rules are silly. nothing's impossible till physics proves it.
technion pre-engineering, left after a missile hit campus. economics and philosophy undergrad at binghamton.
taught myself ml from scratch, december 2025.
i like making models safer and more efficient. i don't think the two are in tension. it's about how we build, not how fast.
conceptual builder, not traditional coder. i design, my agents work.
cofounder and cto at duino.

safety · interpretability · efficiency and optimization · agents · thinking

safety

  • check². reads a model's judgment of a user's pushback from its hidden states and trains the model to act on it. my submission for apart research's ai x epistemics sprint.
  • vision. a claude code mod that judges whether an agent's actions serve what the user meant and sends the agent a correction when they don't. built with noah kivel in 22 hours at a hackathon.
  • compass (unpublished/unreleased). six months on hardware-enforced alignment, with an fpga prototype. on hold, it only served closed labs (safety is not control).
  • wisemind. a mental-health companion for neurodivergent users. paused, because guardrails weren't reliable enough for someone in crisis.

interpretability

  • dcaf and noosphere. circuit discovery using fine-tuning as a controlled perturbation (not yet empirically validated), and a 3d explorer that shows where a model's embedding space places harmful and harmless concepts.
  • arrow field embeddings. keeps what a 3d projection throws away, encoded as arrow direction and magnitude. final results not yet public.
  • compass (unpublished/unreleased). my six-month hardware-enforced alignment project, with an fpga prototype that enforces a model's safety constraints in hardware the model can't access. for it i isolated a harmfulness direction, separate from the refusal direction, in open-weight models up to 14b.
  • see also check², under safety: a probe on a model's hidden states.

efficiency and optimization

because frontier ai should be radically cheaper to train and run. science shouldn't be this expensive.

  • hypertok. the fastest tokenization on the web. exact token ids in the browser and node, 6.2-42.9x the fastest incumbent per workload, up to 295x js-tiktoken. benchmark harness ships in the repo.
  • turboadam. drop-in adam replacement. 9.845x smaller optimizer state than adamw, 6.50 bits per parameter. +1.224% on tinystories, -0.094% on wikitext-103, matched 500-step gpt-2 124m runs.
  • upstream. five pull requests merged into nvidia's cutlass (#3392, #3410, #3427) and transformer engine (#3265, #3281). they came out of weeks of kernel work to train my own architecture in nvfp4 on a dgx spark (training recipe unfinished).
  • inference. open pull requests in flashinfer (#4146, #4154), a kernel library for llm serving. cut duino's spend on claude models by around 30%.
  • easywheels. prebuilt cuda wheels, no 30 to 120 minute source builds. retired when uv's team started building the same thing.

agents

  • tasteful-design. my 37-skill coding-agent scaffold. it guides agents through research, design, adversarial review and autonomous builds/write-ups. one skill is a 51-rule writing law naming what makes text read as ai slop. private for now.
  • duino. built the initial ai backend for its agentic ide for arduino and diy electronics.
  • halt. a plugin that checked each tool call an agent made against the user's rules. released, then shut down.
  • see also vision, under safety: a monitor that runs inside claude code.

thinking

  • safety is not control. my essay on why frontier model bans concentrate control and hurt safety research.
  • kantianism: an almost sound moral theory. a philosophy paper (link on request).
  • workers need more. a paper that designs a way to govern corporations (link on request).
  • navier-stokes. an enstrophy-weighted directional fisher information regularity criterion. conditional, not a proof of global regularity. many rounds of ai red teaming, no human expert has checked it.
  • entropy-attention and r-attention. two attention mechanisms i designed and tested. neither beat standard attention across an 8-task battery. published anyway.

brooklyn, new york

Pinned Loading

  1. Noosphere Noosphere Public

    Interactive 3D visualization of AI embedding spaces. Real-time bias probes, semantic analogies, nearest-neighbor search, and cluster analysis.

    TypeScript 3

  2. turboadam turboadam Public

    Drop-in Adam/AdamW replacement with ~10× optimizer-state memory reduction. Compresses both moments in-place during training with bounded per-element error guarantees.

    Python 1

  3. check2 check2 Public

    Check²: a channel that lets a language model act on its own judgment of a user's pushback

    Python

  4. hypertok hypertok Public

    The fastest tokenization on the web. Exact token ids for every major LLM vocabulary, in the browser and Node.

    Rust