โ† Open Source

wanshuiyin/ARIS-in-AI-Offer on GitHub: Python, Tutorials, Interview guide, LLM fundamentals, Deep Research, Education, Recruiting.

TutorialsInterview guideLLM fundamentalsPython
Momentum
+0stars in 24 hours0.0%
678
Stars
26
Forks
+7
This week
2
Contributors
Created 2026-05-19 ยท Updated 2026-12-04 ยท #19275 today
Top developers
wanshuiyinlajictw
README

ARIS-in-AI-Offer (ARIS in ็ง‹ๆ‹›)

Hoping to make your ็ง‹ๆ‹› (qiลซzhฤo, Chinese AI campus recruiting season) a little easier ๐ŸŒฑ

๐Ÿ“– ไธญๆ–‡็‰ˆ (Chinese version): README_CN.md

๐Ÿ“ฑ One link for everything: easyaioffer.github.io (short address; the site itself is wanshuiyin.github.io/ARIS-in-AI-Offer) โ€” every sheet on one page, searchable, ไธญ/EN switch, dark mode, and a per-reader ๅทฒ่ฏป tracker. Save it on your phone.

๐Ÿ“š Jump to a topic โ€” 35 first-party cheat sheets across 8 categories, plus a community-contributed question bank:

๐Ÿง  General / Foundations ยท ๐ŸŽฏ Post-Training & Reasoning ยท ๐Ÿ›๏ธ LLM Architecture & Systems ยท ๐ŸŒŠ Generative Models โ€” Theory & Tokenizers ยท ๐ŸŽจ Generation Systems (Image / Video / 3D / Diffusion Post-Training) ยท ๐Ÿ‘๏ธ Multimodal ยท ๐Ÿค– Agents ยท ๐Ÿฆพ Embodied AI & World Models / ๅ…ท่บซไธŽไธ–็•Œๆจกๅž‹

Or browse the full ๐Ÿ“š Tutorial Index โ†“ ยท jump to ๐ŸŒ ARIS-Homepage โ†“.

ยท ยท ยท ยท ยท

๐Ÿ† Built on a battle-tested foundation โ€” the ARIS main repo has ~10k GitHub stars, was HuggingFace Daily Papers #1, won AI Digital Crew Project of the Day, and ships 74+ research skills across 7+ platforms. This isn't a vaporware preview โ€” every cheat sheet here is the production output of the same /interview-cheatsheet + /render-html workflow used in academic-research production.

A curated, bilingual (ไธญๆ–‡ + English) collection of ML / LLM / multimodal / diffusion / agent / generative-model interview cheat sheets, auto-generated by the ARIS โ€” Auto Research in Sleep /render-html workflow.

Each cheat sheet is a long-form Chinese tutorial with: formula derivations ยท from-scratch PyTorch code ยท 25 high-frequency interview questions (L1 essentials ยท L2 advanced ยท L3 top-tier lab).

๐Ÿ“– Preview (above): one snapshot per pillar, taken from the Diffusion Foundations cheat sheet โ€” โ‘  Foundations (formula derivations + intuition + TL;DR), โ‘ก Interview Q&A (25 high-frequency questions stratified L1/L2/L3), โ‘ข From-Scratch Code (runnable PyTorch, including CFG training + DDIM sampling). Every cheat sheet in this collection follows the same three-pillar structure.

๐ŸŒ ARIS-Homepage preview โ€” CV โ†’ fact-checked academic homepage (click to expand)

Same /render-html workflow turning a CV into a fact-checked academic homepage. Live demo at wanshuiyin.github.io. Details + pipeline diagram in the ARIS-Homepage section โ†“.

๐Ÿ“ Long-form blog preview โ€” A Survey on Continuous DLM (2026 H1) (click to expand)

A standalone hand-authored long-form technical survey. A Survey on Continuous DLM (2026 H1, 6 papers) โ€” Chinese-language survey by Ruofeng Yang (SJTU), written end-to-end via cross-model discussion (Claude Opus 4.7 + Codex GPT-5.5 xhigh + Gemini auto-gemini-3). ๐Ÿ“– Read full blog โ†—.

๐Ÿ“ฑ HTML reads cleanly everywhere

Phone on the subway, iPad at a cafรฉ, laptop in the library โ€” same HTML link opens equally well:

  • ๐Ÿงฎ MathJax renders all LaTeX formulas (not screenshots โ€” scalable, copyable, selectable)
  • ๐Ÿ’ป highlight.js colors all PyTorch code blocks
  • ๐Ÿ“ Responsive layout adapts to any window width โ€” no overflow, no blur
  • ๐Ÿ“‘ Sticky TOC for jumping around long documents
  • ๐Ÿ’พ Single-file HTML โ€” download once, read offline, no backend required

๐Ÿ“ข What's New

  • 2026-09-11 โ€” ๐ŸŒ #35 World Models + a 2025โ€“26 refresh of 3D Generation and Quantization โ€” from community feedback ("3D ๅ’Œ WM ๆœ‰็‚นๅฐ‘/่€", "quant ไธปๆต็”จ PTQ ๅ’Œ QAT"). World Models is new and deliberately curated โ€” influential, representative, major-lab, open-weight work only, with the selection rule stated in the sheet and the famous-but-excluded listed with reasons: latent dynamics (RSSM โ†’ Dreamer v1โ€“4, MuZero, TD-MPC2) ยท JEPA (I-/V-JEPA, V-JEPA 2/2.1, DINO-WM) ยท generative/interactive (Genie โ†’ Genie 3, GameNGen, Cosmos 1โ†’3, Matrix-Game 3.0, Atlas) ยท three embodied routes ยท evaluation and the definition fight. 3D gains feed-forward reconstruction (DUSt3R โ†’ VGGT โ†’ MapAnything / DA3, with the confidence-loss derivation), feed-forward 3DGS, native mesh generation (MeshGPT โ†’ Meshtron, tokenization budgets), TRELLIS.2 / Hunyuan3D 2.x on a latent-representation axis, part-level and sim-ready assets; five duplicated L3 questions replaced. Quantization ยง10 rewritten around QAT: PACT/LSQ derivations, ParetoQ, Gemma 3/4 official QAT weights, Apple's 2-bpw on-device stack, DeepSeek FP8 / NVFP4 / MXFP8 training recipes โ€” and the 2026 PTQ-vs-QAT guidance with costs cited rather than asserted. All bilingual; new runnable code/world_models_toy.py (RSSM balanced-KL fixed point, JEPA shortcut, gridworld LAM โ€” asserts against analytic answers). Research fanned out to Opus 5 with every arXiv ID fetched; drafts reviewed by gpt-6-astra xhigh in 2โ€“3 rounds each. world_models_tutorial.html.
  • 2026-09-10 โ€” ๐ŸŽฏ #34 Modern Diffusion Post-Training: Flow-GRPO ยท DGPO ยท DiffusionNFT โ€” the three 2025 online-RL methods for flow-matching T2I, organised around the one thing that separates them: how the reward enters the gradient โ€” per-step policy gradient on a marginal-preserving SDE, group-level DPO with the $\log Z$ cancellation, or a reflected two-branch regression on the forward process. Flow-GRPO moves here out of the Diffusion Post-Training sheet, with its reverse-SDE sign and closed-form KL corrected on the way. Bilingual, with a runnable script (code/diffusion_online_rl.py โ€” analytic checks of marginal preservation, the NFT update sign, and DGPO's balanced weights) and 25 ้ซ˜้ข‘้ข˜. Design-reviewed before drafting (64 guardrails) plus three review rounds, all gpt-6-astra xhigh. modern_diffusion_post_training_tutorial.html.
๐Ÿ“‹ Earlier updates (22)
  • 2026-07-31 โ€” โœ‚๏ธ Interview-scannability overhaul for #30-33 + collection-wide table-scroll fix โ€” responding to reader feedback ("comprehensive but unscannable before an interview"): Transformer Block restructured โ€” the concrete block assembly + dataflow + runnable code moved from a buried ยง7 up to ยง1 (answer first, rationale after); all four de-hedged โ€” lead sentence states the conclusion, qualifiers demoted to notes, one canonical home per caveat (inference visible prose -33.5%, transformer_block -17.2%, eval -17.4%), zero factual changes; a quantitative screen confirmed the older 29 tutorials healthy. Renderer wide-table overflow fixed, all 67 HTMLs re-rendered; all four EN editions retranslated + fidelity-reviewed. Gate PASS. (#37 ยท 28e4fb9)
  • 2026-07-22 โ€” ๐Ÿงฑ 4 new cheat sheets (#30-33): Transformer Block ยท LLM Evaluation & Benchmarking ยท LLM Pretraining Pipeline ยท LLM Inference & Serving Stack โ€” four foundational/systems topics in one batch: residual topologies & the MQA/GQA/MLA design axes, unbiased pass@k estimation & LLM-as-judge, Kaplan vs Chinchilla & the corpus-factory data pipeline, the request state machine & PagedAttention/KV lifecycle โ€” 25-30 interview questions each. First batch to move the cross-model design review before drafting (90-105 numbered guardrails each), then 3-5 independent GPT-5.6-sol review batches; 3 real bugs were each caught independently by multiple batches (Bradley-Terry separation criterion, the best-of-n KV formula). All bilingual with runnable scripts, gate PASS. (#36 ยท 74644cf)
  • 2026-07-13 โ€” ๐Ÿ” Diffusion-cluster resweep completes the sweep โ€” 8 tutorials, 66 fixes, all 28 tutorials now under GPT-5.6-sol โ€” covers the diffusion/generative-media cluster deferred from the prior resweep (07-12). Same two-stage pipeline (GPT-5.6-sol finds โ†’ independent Claude adversarially verifies): 67 candidates โ†’ 66 fixed, 2 REFUTED left untouched; includes 5 real code bugs (iCT/FSQ/LFQ/DDPO) and a recurring "conditional path is straight" โ‰  "marginal ODE trajectory is straight" confusion. Gate PASS. (#32 ยท bfae8f1)
  • 2026-07-12 โ€” ๐Ÿ” Full-collection resweep โ€” 20 tutorials, 236 fixes, cross-model review upgraded to GPT-5.6-sol โ€” after the reviewer moved from GPT-5.5 to GPT-5.6-sol, re-audited training fundamentals / attention / RLHF / inference systems / PEFT / agents / RAGยทVLM (20 files). Same two-stage pipeline: 240 candidates โ†’ 236 fixed, 4 REFUTED left untouched; includes 5 real code bugs and StarPO's acronym settled from the paper's own abstract. Gate PASS. (#31 ยท 59636aa)
  • 2026-07-11 โ€” ๐Ÿ”ค #29 Tokenization cheat sheet โ€” fills the foundation the collection had been taking for granted: BPE / WordPiece / Unigram (training โ‰  encoding trap) ยท byte-level BPE vs byte fallback ยท the easily-confused vocab quantities ยท the tokenizer-free frontier. Bilingual, with a runnable script (code/tokenization.py โ€” exact GPT-2 bytes_to_unicode, Unigram DPs hand-checked, pure stdlib, verified on a real box) and 25 ้ซ˜้ข‘้ข˜. First tutorial with cross-model review moved up to the design stage (81 guardrails before drafting + 5 review batches + an ultra final pass, corrections flowing both ways). tokenization_tutorial.html.
  • 2026-06-29 โ€” โš™๏ธ #28 Optimizers & LR Schedules cheat sheet โ€” the optimizer/schedule training-mechanics gap: SGDยทMomentumยทNesterov ยท AdaGradโ†’RMSPropโ†’Adam (the adaptive lineage) ยท Adam bias correction (the uncorrected first step is ~3.16ร— too large, not small โ€” the direction trap) ยท AdamW decoupled weight decay (Adam's L2 โ‰  weight decay) ยท frontier (Muon / Lion / Shampoo / SOAP / Adafactor / LAMB / Sophia) ยท LR schedules (warmup / cosine / Noam / WSD / one-cycle) ยท weight decay + LR-batch scaling + no-decay groups ยท grad clipping + LLM hyperparams (ฮฒโ‚‚=0.95). Bilingual (ไธญๆ–‡ + EN), with a runnable script (code/optimizer_lr_schedule.py โ€” SGD/Adam/AdamW from-scratch vs torch.optim, the executable AdamWโ‰ Adam+L2 proof, the bias-correction direction, cosine-warmup, verified on a real box) and 25 ้ซ˜้ข‘้ข˜. optimizer_lr_schedule_tutorial.html.
  • 2026-06-19 โ€” ๐Ÿงฑ #27 Normalization / Residual / Init cheat sheet โ€” the foundational training-mechanics hole: BatchNorm / LayerNorm / RMSNorm / GroupNorm ยท Pre-vs-Post-LN (Xiong's gradient argument โ€” why Post-LN needs warmup) ยท DeepNorm / Sandwich / QK-Norm ยท residual connections + scaling (LayerScale / ReZero / GPT-2's 1/โˆš(2N)) ยท Xavier vs Kaiming (the ReLU factor-2, and why the preserved quantity is the second moment E[yยฒ], not Var) ยท ฮผP (width-invariant HP transfer) ยท Fixup / NFNets / DyT (norm-free) ยท plus the covariate-shift debunk (Santurkar). Bilingual (ไธญๆ–‡ + EN), with a runnable script (code/normalization.py โ€” from-scratch LN/RMSNorm vs torch + Pre/Post-LN gradient + Kaiming second-moment + GPT-2 residual scaling, verified on a real box) and 25 ้ซ˜้ข‘้ข˜. The cross-model review caught a real methodological confound in the Pre/Post-LN gradient demo (an output-normalization artifact) and redesigned it to a loss-robust top/bottom weight-grad ratio. normalization_init_tutorial.html.
  • 2026-06-18 โ€” โšก #26 Linear / Sparse Attention cheat sheet โ€” the sub-quadratic / efficient-attention hole the collection kept referencing but never derived: linear attention (kernel ฯ† + associativity โ†’ matrix-state RNN) ยท SSM / Mamba (selective S6) ยท Mamba-2 / SSD (1-semiseparable duality โ‰ก structured masked linear attention) ยท DeltaNet / Gated DeltaNet (overwrite update) ยท chunkwise-parallel training ยท trainable sparse (NSA three-branch / MoBA / Lightning / DSA) ยท hybrid (Jamba / Hymba / Qwen3-Next / Kimi-Linear / MiniMax-01). Bilingual (ไธญๆ–‡ + EN), with a runnable script (code/linear_sparse_attention.py โ€” chunkwise โ‰ก recurrent equivalence + delta-rule + block-sparse, verified on a real box) and 25 ้ซ˜้ข‘้ข˜, settled through multi-batch Codex GPT-5.5 xhigh citation / math / code / answer / overall + render-fidelity review. linear_sparse_attention_tutorial.html (#22 ยท b84e913).
  • 2026-06-13 โ†’ 06-14 โ€” ๐Ÿงฉ Two must-know cheat sheets shipped: #24 LoRA / PEFT + #25 RAG + Embedding / Retrieval โ€” the two glaring holes the collection used everywhere but never derived. LoRA/PEFT: B=0 identity start ยท ฮฑ/r vs rsLoRA โˆšr ยท zero-latency merge ยท QLoRA (NF4 / double-quant / paged) ยท DoRA ยท the family vs Adapter / Prefix / Prompt / BitFit. RAG: bi-encoder ยท InfoNCE + hard negatives ยท Matryoshka ยท BM25 ยท HNSW ยท RRF hybrid ยท cross-encoder vs ColBERT late interaction ยท HyDE / Self-RAG / CRAG ยท GraphRAG ยท RAGAS. Both bilingual (ไธญๆ–‡ + EN), each with from-scratch PyTorch, a runnable script (code/lora.py ยท code/rag_embedding.py, verified on a real box) and 25 ้ซ˜้ข‘้ข˜, settled through multi-round Codex GPT-5.5 xhigh math/code + render + EN translation-fidelity review. lora_peft_tutorial.html ยท rag_embedding_retrieval_tutorial.html.
  • 2026-06-08 โ€” ๐Ÿ”ง tools/render_html.py now strips a leading UTF-8 BOM before frontmatter detection (6cc4876).
  • 2026-06-05 โ€” ๐Ÿ”ญ Community Showcase: an online tutorial-collection site by @QiZishi โ€” merges all 23 Chinese tutorials here with Datawhale Hello-Agents' LLM interview Q&A into one card-index reading site (read online ยท from #3). The README gains a Community Showcase section listing community derivatives โ€” build something on top of these tutorials and open an issue to get it listed (f8e7d33).
  • 2026-06-02 โ€” ๐Ÿ“ Two new blogs โ€” Continuous DLM (representation perspective, v2) + Diffusion ร— Representation ร— Manifold โ€” the Continuous DLM survey is upgraded to a representation-perspective expansion (replacing the earlier v1), and a companion blog traces the "borrow representation / use the manifold" threads across image & video diffusion (SSL / Consistency / REPA / RAE / JiT / V-JEPA2). Both hand-authored, cross-model reviewed; the two cross-reference each other. Live: continuous_dlm_representation_perspective.html ยท diffusion_representation_manifold.html. See the Blog Index โ†“.
  • 2026-06-01 โ€” ๐Ÿ“ New blog: a deep-dive guide to NVIDIA Cosmos 3 (omnimodal world model ยท MoT architecture) โ€” a long-form Chinese popsci walkthrough of the 138-page Cosmos 3 technical report (15 sections ยท 12 figures): how understanding and generation are stitched into one Transformer (Mixture-of-Transformers), the training recipe, scaling / serving, and the three model sizes. Reviewed end-to-end across 5 rounds of Codex GPT-5.5 xhigh cross-model audit (numbers + mechanisms checked, overclaims trimmed). Self-contained single-file HTML at docs/blogs/cosmos3_mot_guide.html โ€” a hand-authored guide (ELF blog format), not part of the audited /render-html pipeline. All figures and numbers are from the NVIDIA Cosmos 3 report (github.com/nvidia/cosmos); ยฉ the original authors, used here as an attributed popsci guide.
  • 2026-05-31 โ€” ๐Ÿ” Cross-model audit pass โ€” real errors caught & fixed across the whole collection, now CI-enforced โ€” a fresh Codex GPT-5.5 xhigh re-review of every cheat sheet (ไธญๆ–‡ + EN) surfaced genuine technical mistakes the first pass had missed, and fixed them: DeepSeek-V3's FP8 GEMM accumulates in FP32, not bf16; Qwen2-VL M-RoPE base is 1e6; Molmo's vision tower is CLIP, not SigLIP; TensoRF complexity is O(Nยณ); a broken StreamingLLM render callout; plus 10 EN translation-fidelity fixes (meaning reversals, a dropped framework list). Every docs/ artifact now carries a traceable cross-model review, and a new CI gate (tools/verify_reviews.py --mode strict --reproduce, wired in review-audit.yml) blocks any PR whose HTML isn't a reviewed view that byte-reproduces from its source โ€” so no un-reviewed or hand-edited content can land. Also merged today: a Focus-dim reading mode for --blog-mode pages (dim non-current sections ยท floating ๐ŸŽฏ toggle ยท โ†‘/โ†“ section nav), reflowed from the dllm blog effort into the academic template โ€” dormant for the cheat sheets (gated under .aris-blog), it activates in blog-mode, ready for the first blogs rendered through it (landing soon). (5aae952 ยท 498ecf2)
  • 2026-05-28 โ€” ๐Ÿ“ First blog shipped: A Survey on Continuous DLM (2026 H1, 6 papers) โ€” long-form Chinese technical survey by Ruofeng Yang (SJTU); superseded by the v2 rewrite at the same path, see the 2026-06-02 entry, written end-to-end through cross-model discussion (Claude Opus 4.7 + Codex GPT-5.5 xhigh + Gemini auto-gemini-3). Compares ELF, ByteDance Cola-DLM, and Flow-Matching family across discrete-DLM problems, the "known-unknown" continuous space idea, training pipeline, architecture / params / shapes, inference grids + Tab 6/7 numerical results, denoising trajectories, and a Field Landscape against Cola-DLM. Lives at docs/blogs/continuous_dlm_representation_perspective.html (1.7 MB self-contained, no build) โ€” a hand-authored long-form HTML, outside the audited /render-html pipeline. Preview strip + live link at the top of this README. (8475a2d)
  • 2026-05-28 โ€” โšก render-html P0 polish + all 23 tutorials regenerated โ€” academic template gained 7 interactive features: print degradation fix (PDF no longer loses <details> content), TOC sidebar scrollspy (current section auto-highlights as you scroll), figure lightbox (native <dialog> with focus trap + Esc), long-code auto-collapse (<pre> โ‰ฅ30 lines wrapped in <details class="code-card">, per-block override via ```python {collapsed} / {open} fence flags), paper citation popover (new [[key]] MD syntax + --papers <papers.json> sidecar), eyebrow cleanup (marketing uppercase โ†’ body-serif gray), --blog-mode infrastructure (opt-in aris-blog body class). XSS-hardened script injection via json_for_script() (escapes </script> break-out). All 23 bilingual tutorial pairs (= 46 HTMLs) regenerated to pick up the new template shell โ€” source MDs untouched. Codex GPT-5.5 xhigh 4-round review (design ร— 2 โ†’ code ร— 1 โ†’ spot-check ร— 1). Try it: scroll attention_tutorial.html and watch the TOC sidebar follow (b79c57d, 8793f40).
  • 2026-05-26 โ€” ๐Ÿ 5 runnable PyTorch tutorial scripts โ€” first runnable-code contribution in docs/tutorials/code/: mha.py (MHA + causal mask) ยท axial_attention.py (H/W axial + complexity table) ยท flow_matching.py (Rectified Flow on 2D moons) ยท mmdit_block.py (double-stream MMDiT block) ยท toy_mmdit_t2i_pipeline.py (end-to-end T2I skeleton). Pure PyTorch, CPU-runnable in seconds, every script ships with built-in assert sanity checks (shape parity, numerical agreement with nn.MultiheadAttention where applicable). Pairs with attention_tutorial.md / flow_matching_tutorial.md / image_generation_systems_tutorial.md (f63f468).
  • 2026-05-24 โ€” ๐Ÿ™ ARIS-Homepage v1.1: --from-repos โ€” snapshot user-selected owner/repo list via gh CLI; LLM agent merges repo timelines into homepage News + featured_projects[].github. Private repos skipped by default. Closes #2 by @Yafei-Liu99 (cdcf9a2).
  • 2026-05-23 โ€” ๐ŸŒ ARIS-Homepage v1 shipped โ€” CV โ†’ fact-checked academic homepage (DBLP audit blocks wrong venue / year). Single-file HTML; Codex / Gemini reviews optional. Live demo: wanshuiyin.github.io. Skill: skills/homepage-generator/SKILL.md (b818c1d).
  • 2026-05-22 โ€” ๐Ÿฆพ Featured community contribution: ๅ…ท่บซๆ™บ่ƒฝ้ซ˜้ข‘้ข่ฏ•้ข˜ๅบ“ by @WinstonJQ โ€” 413 questions across 8 ๅท (VLA / ๆจกไปฟๅญฆไน  / RL / ไธ–็•Œๆจกๅž‹ / ๅทฅ็จ‹่ฝๅœฐ / ่…ฟ่ถณๆŽงๅˆถ / 3D ๆ„Ÿ็Ÿฅ / ็ณป็ปŸ่ฎพ่ฎก). Hosted externally; linked from the new "๐Ÿฆพ Embodied AI" category in the Tutorial Index (b1ebb6f).
  • 2026-05 โ€” ๐Ÿ“š 4 new bilingual cheat sheets: KL Divergence in RLHF (k1/k2/k3 ยท placement gradient bias), LLM On-Policy Distillation (MiniLLM / GKD / Qwen3 / Tinker), Diffusion Post-Training (DDPO / DPOK / DRaFT / AlignProp / Diffusion-DPO / Flow-GRPO), Diffusion / Flow Distillation (CM / iCT / sCM / CTM / LCM / DMD/DMD2 / ADD/LADD). Total now: 23 first-party cheat sheets.
  • 2026-05 โ€” ๐Ÿ“– README restructure โ€” preview-strip banner, ARIS credentials at top (badges + 10K-star foundation paragraph), shared WeChat community QR with the main ARIS repo.

๐Ÿ“ Blog Index

Long-form technical blogs โ€” hand-authored, cross-model reviewed; outside the audited /render-html pipeline (figures ยฉ their original authors, used with attribution).

Blog What it covers
NVIDIA Cosmos 3 โ€” MoT Architecture Deep-Dive (ไธญๆ–‡) Omnimodal world model ยท Mixture-of-Transformers ยท a walkthrough of the 138-page Cosmos 3 technical report ๐Ÿ“„ Read
A Survey on Continuous DLM โ€” Representation Perspective (ไธญๆ–‡) Continuous diffusion language models through a representation lens ยท ELF / ByteDance Cola-DLM / Flow-Matching family (2026 H1) ๐Ÿ“„ Read
Diffusion ร— Representation ร— Manifold (ไธญๆ–‡) The "borrow representation / use the manifold" threads in image & video diffusion ยท SSL / Consistency / REPA / RAE / JiT / V-JEPA2 ยท cross-referenced with the Continuous DLM survey ๐Ÿ“„ Read

๐Ÿ“š Tutorial Index

๐ŸŒ Bilingual editions: every cheat sheet ships with both a Chinese (default) and an English HTML โ€” filenames are *_tutorial.html (CN) and *_tutorial_en.html (EN). HTML columns below link to both.

๐Ÿง  General / Foundations

Topic HTML ไธญๆ–‡ HTML EN MD
Attention Interview Cheat Sheet ๐Ÿ“„ CN ๐Ÿ“„ EN MD
Transformer Block (Post-LN/Pre-LN/branch pre+post residual topologies ยท MHA/MQA/GQA/MLA ยท Dense FFN vs MoE ยท GPT-2โ†’Llama-style evolution) ๐Ÿ“„ CN ๐Ÿ“„ EN MD
LLM Evaluation & Benchmarking (pass@k unbiased estimation ยท evaluator ladder ยท benchmark contamination detection ยท LLM-as-judge ยท Bradley-Terry/Elo) ๐Ÿ“„ CN ๐Ÿ“„ EN MD
Normalization / Residual / Init (BatchNorm / LayerNorm / RMSNorm / Pre-vs-Post-LN / DeepNorm / QK-Norm / XavierยทKaiming / ฮผP) ๐Ÿ“„ CN ๐Ÿ“„ EN MD
Optimizers & LR Schedules (SGDยทMomentum / AdamยทAdamW / MuonยทLionยทShampooยทSOAP / warmupยทcosineยทWSD) ๐Ÿ“„ CN ๐Ÿ“„ EN MD
Tokenization (BPE / WordPiece / UnigramยทSentencePiece / byte-levelยทbyte fallback / vocabยทfertilityยทBPB / tokenizer-free) ๐Ÿ“„ CN ๐Ÿ“„ EN MD
KL Divergence in RLHF (k1/k2/k3 ยท placement gradient bias) ๐Ÿ“„ CN ๐Ÿ“„ EN MD

๐ŸŽฏ Post-Training & Reasoning

Topic HTML ไธญๆ–‡ HTML EN MD
RLHF / DPO / GRPO / PPO ๐Ÿ“„ CN ๐Ÿ“„ EN MD
Reasoning Models (o1 / R1 / Test-Time Compute / PRM) ๐Ÿ“„ CN ๐Ÿ“„ EN MD
LLM On-Policy Distillation (MiniLLM / GKD / Qwen3 / Tinker) ๐Ÿ“„ CN ๐Ÿ“„ EN MD
LoRA / PEFT (LoRA / QLoRA / DoRA / rsLoRA / PiSSA / AdaLoRA / (IA)ยณ) ๐Ÿ“„ CN ๐Ÿ“„ EN MD

๐Ÿ›๏ธ LLM Architecture & Systems

Topic HTML ไธญๆ–‡ HTML EN MD
MoE (DeepSeek-V3 / Mixtral / Llama 4) ๐Ÿ“„ CN ๐Ÿ“„ EN MD
Long Context (RoPE / YaRN / NTK / MLA / StreamingLLM) ๐Ÿ“„ CN ๐Ÿ“„ EN MD
Linear / Sparse Attention (Linear Attn / SSMยทMamba / Mamba-2ยทSSD / DeltaNet / NSAยทMoBA / Hybrid) ๐Ÿ“„ CN ๐Ÿ“„ EN MD
KV Cache + Speculative Decoding (Medusa / EAGLE / MLA) ๐Ÿ“„ CN ๐Ÿ“„ EN MD
Quantization (GPTQ / AWQ / SmoothQuant / FlatQuant ยท FP8 / NVFP4 ยท QAT: LSQ / ParetoQ / Gemma-QAT ยท FP4 training) ๐Ÿ“„ CN ๐Ÿ“„ EN MD
Distributed Training (DDP / FSDP2 / ZeRO / TP / PP / EP / SP) ๐Ÿ“„ CN ๐Ÿ“„ EN MD
LLM Pretraining Pipeline (Kaplan vs Chinchilla scaling laws ยท corpus-factory data pipeline ยท document packing/loss masking ยท checkpoint resume) ๐Ÿ“„ CN ๐Ÿ“„ EN MD
LLM Inference & Serving Stack (request state machine ยท exact sampling-operator definitions ยท PagedAttention/KV lifecycle ยท continuous batching/chunked prefill ยท disaggregation) ๐Ÿ“„ CN ๐Ÿ“„ EN MD

๐ŸŒŠ Generative Models โ€” Theory & Tokenizers

Topic HTML ไธญๆ–‡ HTML EN MD
Flow Matching Quick Reference ๐Ÿ“„ CN ๐Ÿ“„ EN MD
Diffusion Foundations (DDPM / Score / DDIM / EDM / CFG) ๐Ÿ“„ CN ๐Ÿ“„ EN MD
VAE / VQ-VAE / VQ-GAN / FSQ ๐Ÿ“„ CN ๐Ÿ“„ EN MD

๐ŸŽจ Generation Systems โ€” Image / Video / 3D / Diffusion Post-Training

Topic HTML ไธญๆ–‡ HTML EN MD
Image Gen Systems (LDM / SD / SDXL / SD3 / FLUX / ControlNet) ๐Ÿ“„ CN ๐Ÿ“„ EN MD
Video Gen (Sora / Hunyuan-Video / Kling / Wan / Movie Gen) ๐Ÿ“„ CN ๐Ÿ“„ EN MD
3D Gen (NeRF / Instant-NGP / 3DGS / SDS ยท DUSt3Rโ†’VGGT feed-forward ยท native mesh ยท TRELLIS / Hunyuan3D 2.x ยท part-level / sim-ready) ๐Ÿ“„ CN ๐Ÿ“„ EN MD
Diffusion Post-Training (DDPO / DPOK / DRaFT / AlignProp / Diffusion-DPO) ๐Ÿ“„ CN ๐Ÿ“„ EN MD
Modern Diffusion Post-Training (Flow-GRPO / DGPO / DiffusionNFT) ๐Ÿ“„ CN ๐Ÿ“„ EN MD
Diffusion / Flow Distillation (CM / iCT / sCM / CTM / LCM / DMD/DMD2 / ADD/LADD) ๐Ÿ“„ CN ๐Ÿ“„ EN MD

๐Ÿ‘๏ธ Multimodal

Topic HTML ไธญๆ–‡ HTML EN MD
VLM (CLIP / LLaVA / Qwen-VL / DeepSeek-VL) ๐Ÿ“„ CN ๐Ÿ“„ EN MD

๐Ÿค– Agents

Topic HTML ไธญๆ–‡ HTML EN MD
Agent Foundations (ReAct / MCP / A2A / SWE-bench / GAIA / OSWorld) ๐Ÿ“„ CN ๐Ÿ“„ EN MD
Agentic RL (AgentTuning / ToolRL / RAGEN / WebRL / SWE-RL / GRPO for tool use) ๐Ÿ“„ CN ๐Ÿ“„ EN MD
Multi-Agent & Long-Horizon (CAMEL / AutoGen / MetaGPT / MoA / Debate / MemGPT / LATS) ๐Ÿ“„ CN ๐Ÿ“„ EN MD
Self-Evolving Agents (Ctx2Skill / Native Evolution / AยฒRD / Voyager / Reflexion / STaR) ๐Ÿ“„ CN ๐Ÿ“„ EN MD
RAG + Embedding / Retrieval (InfoNCE / ้šพ่ดŸไพ‹ / Matryoshka / BM25 / RRF / ColBERT / GraphRAG) ๐Ÿ“„ CN ๐Ÿ“„ EN MD

๐ŸŽ‰ 23 tutorials live (bilingual) (2026-05) โ€” each ships with both Chinese and English HTML. Seven buckets: General ยท Post-Training ยท Architecture ยท Generative ยท Multimodal ยท Agents ยท Diffusion Post-Training. This round adds 4 new sheets: KL Divergence in RLHF, LLM On-Policy Distillation, Diffusion Post-Training, Diffusion Distillation. More (Flow-OPD / Audio Gen / further SOTA updates) coming โ€” PRs welcome (see CONTRIBUTING).

๐Ÿฆพ Embodied AI & World Models / ๅ…ท่บซไธŽไธ–็•Œๆจกๅž‹

Topic HTML ไธญๆ–‡ HTML EN MD
World Models (Dreamer / MuZero / TD-MPC2 ยท JEPA / V-JEPA 2 ยท Genie / GameNGen / Cosmos 3 / Matrix-Game / Atlas ยท embodied use ยท evaluation) ๐Ÿ“„ CN ๐Ÿ“„ EN MD

๐ŸŒŸ Community contribution by @WinstonJQ โ€” hosted externally on a separate repo, generously shared with the community. If it helps your interview prep, please โญ the source repo to thank the author ๐Ÿ™

Topic HTML ไธญๆ–‡ Source
ๅ…ท่บซๆ™บ่ƒฝ้ซ˜้ข‘้ข่ฏ•้ข˜ๅบ“ (VLA / ๆจกไปฟๅญฆไน  / RL / ไธ–็•Œๆจกๅž‹ / ๅทฅ็จ‹่ฝๅœฐ / ่…ฟ่ถณๆŽงๅˆถ / 3D ๆ„Ÿ็Ÿฅ / LeetCodeยท็ณป็ปŸ่ฎพ่ฎก โ€” 413 ้ข˜๏ผŒ8 ๅท) ๐Ÿ“„ CN (online) @WinstonJQ/embodied-interview-qa

๐Ÿค– How These Are Generated

Every tutorial uses ARIS's /interview-cheatsheet skill:

  1. Plan โ€” 12-14 sections (TL;DR ยท Intuition ยท Formulas ยท Code ยท Variants ยท Complexity ยท 25 Q&A)
  2. Draft โ€” 600-1000 lines of Chinese tutorial + runnable from-scratch PyTorch
  3. Cross-model review โ€” fresh-thread codex GPT-5.5 xhigh audit on 10 properties (formula correctness ยท code runnability ยท citation accuracy ยท table-pipe escapes ยท callout style ยท personal-info leak ยท ...)
  4. Fix loop โ€” trajectory-based; keep going if FAIL set is shrinking, stop if same issue recurs or ~6 rounds without convergence
  5. /render-html โ€” single-file HTML render + 13-property render audit (information fidelity ยท TOC ยท math ยท code highlight ยท safety ยท privacy ยท ...)
  6. .review.json โ€” full audit trail saved next to each tutorial

Cross-model adversarial review (executor โ‰  reviewer family) is ARIS's core invariant: an LLM auditing its own output is no audit.


๐ŸŒ ARIS-Homepage โ€” fact-checked academic homepage from CV

The only personal-site generator that fact-checks your CV before publishing.

A new skill in this repo: /homepage-generator turns your CV (.docx / .pdf / .txt) into a polished single-file academic homepage. A DBLP audit runs on every render unless you pass --no-audit โ€” a wrong venue or year, or a Best Paper / Spotlight / Oral / Outstanding badge asserted without a link to the paper, blocks the render until corrected or explicitly overridden. (It does not check author lists.)

Live demo: wanshuiyin.github.io โ€” generated by this skill from a CV + the maintainer's previous manual page as editorial reference. Preview strip is near the top of this README.

Quick start

There is no aris-homepage executable โ€” this repo ships no installer, so call the script directly. The path is relative to where you are standing, which changes at the cd:

python tools/aris_homepage.py init --from-cv ./cv.pdf --out ./site
cd ./site
# Calling agent fills .aris-homepage/extraction.json per EXTRACTION_HANDOFF.md
python ../tools/aris_homepage.py finalize
$EDITOR profile.yml             # tweak editorial choices
python ../tools/aris_homepage.py render --persona theory-minimal

๐ŸชŸ On Windows? Use \ in the paths above, and mind the Windows-only traps โ€” the python3 alias stub, silent .py file association, non-ASCII pdftotext paths, SSL certificates. Full walkthrough: WINDOWS_en.md (ไธญๆ–‡).

Output: index.html + audit-report.md. Drop the HTML on GitHub Pages, S3, university ~user/public_html/, or attach to email โ€” no build server. Minimum runtime is just Python + a calling LLM agent; Codex MCP optional for adversarial cross-model review; Gemini multimodal optional for visual critique.

How it works

                       ARIS-Homepage Pipeline

   ๐Ÿ“„ CV (.docx/.pdf/.txt)    ๐ŸŒ Manual Homepage URL    ๐Ÿ–ผ Assets Dir
   factual source             editorial (optional)      visual (opt.)
         โ”‚                            โ”‚                      โ”‚
         โ–ผ                            โ”‚                      โ”‚
   โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”                       โ”‚                      โ”‚
   โ”‚ init     โ”‚                       โ”‚                      โ”‚
   โ”‚ extract  โ”‚                       โ”‚                      โ”‚
   โ”‚ CVโ†’text  โ”‚                       โ”‚                      โ”‚
   โ””โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”˜                       โ”‚                      โ”‚
         โ–ผ                            โ–ผ                      โ–ผ
   โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
   โ”‚ ๐Ÿค– Calling LLM agent reads EXTRACTION_HANDOFF.md +              โ”‚
   โ”‚    optional manual-homepage URL + assets dir as context         โ”‚
   โ”‚ โ†’ writes .aris-homepage/extraction.json                         โ”‚
   โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜
                             โ–ผ
                       โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
                       โ”‚ finalize โ”‚
                       โ””โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”˜
                             โ–ผ
   โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
   โ”‚ โœ‹ Editable source files (truth lives here, edit in IDE):       โ”‚
   โ”‚   profile.yml ยท publications.bib ยท bio.md ยท news.md             โ”‚
   โ”‚   EXTRACTION_REVIEW.md  (review LLM uncertain extractions)      โ”‚
   โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜
                             โ–ผ
                  โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
                  โ”‚ render                 โ”‚
                  โ”‚   --persona            โ”‚
                  โ”‚     theory-minimal     โ”‚
                  โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜
                              โ”‚
              โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ผโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
              โ–ผ               โ–ผ               โ–ผ
        โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”    โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”    โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
        โ”‚ Layer-1  โ”‚    โ”‚ Layer-2  โ”‚    โ”‚ Layer-2      โ”‚
        โ”‚ DBLP     โ”‚    โ”‚ Codex MCPโ”‚    โ”‚ Gemini       โ”‚
        โ”‚ fact-chk โ”‚    โ”‚ adv-rev  โ”‚    โ”‚ visual       โ”‚
        โ”‚          โ”‚    โ”‚ (opt.)   โ”‚    โ”‚ critique     โ”‚
        โ”‚ (default)โ”‚    โ”‚          โ”‚    โ”‚ (opt.)       โ”‚
        โ””โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”˜    โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜    โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜
              โ”‚
              โ–ผ
        โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
        โ”‚ index.html + โ”‚
        โ”‚ audit-report โ”‚ โ”€โ”€โ–ถ ๐Ÿš€ Deploy: GitHub Pages ยท S3 ยท email ยท anywhere
        โ”‚   .md        โ”‚
        โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜

   Typical flow (7 steps, ~5 minutes):
     1. python tools/aris_homepage.py init --from-cv ./cv.pdf --out ./site
     2. (calling agent) read .aris-homepage/EXTRACTION_HANDOFF.md
        โ†’ fill .aris-homepage/extraction.json
     3. cd ./site && python ../tools/aris_homepage.py finalize
     4. $EDITOR profile.yml publications.bib bio.md news.md
     5. python ../tools/aris_homepage.py check --strict   # fact-check only
     6. python ../tools/aris_homepage.py render --persona theory-minimal
     7. inspect audit-report.md; fix โ†’ re-render OR --override-all

   Minimum runtime: Python + a calling LLM agent.
   Codex MCP optional (cross-model adversarial review).
   Gemini optional (multimodal visual critique).

๐Ÿค Contributing

One person can only cover so much. The hope is that many hands make this collection more complete.

Full contribution guide: CONTRIBUTING.md (English ยท ไธญๆ–‡) โ€” covers ARIS workflow invocation, strict style guide (headings / math / tables / callouts / personal-info banlist), and PR checklist.

TL;DR: use the /interview-cheatsheet + /render-html workflow to generate, then open a PR. Both skills enforce a cross-model codex GPT-5.5 xhigh review gate (math / code / citation / render fidelity), so anything merged via PR has a baseline quality floor. Skill source and tools/render_html.py are bundled in this repo so you can fork & extend.

Honest disclaimer: across the existing tutorials, the HTML structural foundations (math, code, tables, callouts, TOC, responsive layout) are solid. But the very latest frontier work in any given topic (e.g., methods released in late 2025, niche subfield updates) likely is not fully covered. If you spot something outdated or wrong, PRs and issues are equally welcome โ€” let's keep this resource alive together.


๐Ÿ’ฌ Community

Shared community with the main ARIS repo โ€” the same WeChat group covers ARIS skill workflows + this tutorial collection. Join to discuss interview prep, request new cheat-sheet topics, or share corrections / contributions:

๐Ÿ”ญ Community Showcase

Community-built projects derived from this collection (MIT license โ€” attribution-preserving reuse welcome):

Built something on top of these tutorials? Open an issue and we'll list it here.


๐ŸŒŸ What is ARIS โ€” A Quick Pitch

ARIS โ€” Auto Research in Sleep is one of the most-watched AI research agent skill platforms of 2025-2026. The /interview-cheatsheet + /render-html skills that produced this repo are 2 out of ARIS's 74+ skills.

ยท ยท ยท ยท ยท

  • โญ ~10k GitHub stars โ€” top-trending AI agent repo
  • ๐Ÿฅ‡ HuggingFace Daily Papers #1 โ€” top of the day, paper arXiv:2605.03042
  • ๐Ÿ† AI Digital Crew ยท Project of the Day (2026.03.14)
  • ๐Ÿ“ฐ Featured on PaperWeekly + VoltAgent/awesome-agent-skills
  • ๐Ÿ› ๏ธ 74+ research skills โ€” full lifecycle from idea exploration โ†’ experiments โ†’ papers โ†’ rebuttals โ†’ talk slides
  • ๐ŸŒ 7+ platforms supported โ€” Claude Code ยท Codex CLI ยท Cursor ยท Trae ยท Antigravity ยท GitHub Copilot CLI ยท OpenClaw
  • ๐Ÿ”ง ARIS-Code standalone CLI โ€” multi-provider runtime, no Claude Code dependency required

Core methodology: cross-model adversarial review โ€” executor and reviewer must come from different model families (Claude ร— GPT-5.5 xhigh ร— Gemini), so no LLM ever judges its own output. This protocol carries directly into interview cheat sheet generation: every formula, code block, and citation in every tutorial passes an independent audit (see each .review.json audit trail).

๐Ÿ‘‰ ARIS main repo: https://github.com/wanshuiyin/Auto-claude-code-research-in-sleep


๐Ÿ“– Citing ARIS

If this collection โ€” or any cheat sheet here โ€” helped you in your interview prep / research / paper, please consider citing the underlying ARIS methodology paper:

@article{yang2026aris,
  title={ARIS: Autonomous Research via Adversarial Multi-Agent Collaboration},
  author={Yang, Ruofeng and Li, Yongcan and Li, Shuai},
  journal={arXiv preprint arXiv:2605.03042},
  year={2026}
}

Every tutorial in this repo was generated end-to-end by the ARIS /interview-cheatsheet + /render-html workflow with cross-model adversarial review (Claude ร— GPT-5.5 xhigh ร— Gemini). The citation supports the methodology behind the workflow, not just this collection.


License

MIT โ€” use, modify, share, fork freely. Hope this helps your job search. ๐Ÿ’ช

Nearby in the ranking
Similar items

AI Rank for iPhone

Follow AI model rankings

Download on the App Store