tezvyn:

🤖AI & ML

Artificial intelligence, machine learning, and data science

1166 bites

More in AI & ML — page 37

Fairness Metrics: Quantifying AI's Impact on People
LLMs & Generative AI2 min read

Fairness Metrics: Quantifying AI's Impact on People

Fairness metrics translate "fairness" into a measurable score, checking if a model treats groups equitably. They are crucial for models in hiring or lending.

LLMs & Generative AI2 min read

AI Governance: Rules for Building Intelligent Systems

AI governance creates rules of the road for intelligent systems, ensuring they're safe, fair, and transparent. It applies when governments pass laws or companies form ethics boards. The footgun is treating this as only a legal problem, not a technical one.

LLMs & Generative AI2 min read

Deepfakes: AI-Generated Media Impersonations

Deepfakes are AI-generated media that convincingly impersonate people. Think of it as digital puppetry, where an AI manipulates a face or voice. They're used for film effects and satire, but also for misinformation. The footgun: assuming you can spot one.

Data Bias: When AI Inherits Our Flaws
LLMs & Generative AI2 min read

Data Bias: When AI Inherits Our Flaws

Generative AI learns patterns from its training data. Data bias occurs when this data contains skewed perspectives or stereotypes, which the model then reproduces and amplifies. This is why an image generator might default to stereotypes.

vLLM: Faster LLM Inference with PagedAttention
LLMs & Generative AI2 min read

vLLM: Faster LLM Inference with PagedAttention

vLLM is a serving engine that speeds up LLM inference by treating GPU memory like virtual memory. It's used to serve models with higher throughput by batching requests without wasting memory on padding.

LLMs & Generative AI2 min read

Deep Learning Compilers: From Model to Machine Code

A Deep Learning Compiler translates a model from a framework like PyTorch into optimized code for specific hardware like a GPU or TPU. This avoids manual optimization for every model-hardware pair.

LLMs & Generative AI2 min read

Speculative Decoding: A Small LLM Speeds Up a Big One

Speculative decoding uses a small, fast 'draft' LLM to guess the next few words, which a larger 'target' LLM verifies in one batch. This cuts inference latency 2-3x in production systems.

FlashAttention: Faster, Memory-Efficient Exact Attention
LLMs & Generative AI2 min read

FlashAttention: Faster, Memory-Efficient Exact Attention

FlashAttention is an IO-aware algorithm that computes exact attention faster and with less memory. It avoids slow GPU memory transfers, making it a key optimization for training and serving large models on modern GPUs.

ONNX Runtime: Run Any AI Model, Anywhere
LLMs & Generative AI2 min read

ONNX Runtime: Run Any AI Model, Anywhere

ONNX Runtime is a universal engine for AI models, letting you run them efficiently on any hardware, from cloud GPUs to a user's browser. It's used to deploy models for fast inference on servers or mobile devices.

Post-Training Quantization: Shrink Models Without Retraining
LLMs & Generative AI2 min read

Post-Training Quantization: Shrink Models Without Retraining

Post-Training Quantization (PTQ) shrinks a pre-trained model by converting its weights to lower precision, like turning a WAV file into an MP3. Use it to run large models on consumer GPUs without costly retraining.

KV Cache: Don't Recompute, Just Remember
LLMs & Generative AI2 min read

KV Cache: Don't Recompute, Just Remember

KV Cache speeds up LLM text generation by storing intermediate calculations (Key/Value vectors) instead of recomputing them for every new token. It's a standard optimization in inference engines.

LLMs & Generative AI2 min read

Orthogonality Thesis: An AI's Intelligence and Goals Are Unrelated

The Orthogonality Thesis states an AI's intelligence and its ultimate goals are independent. A superintelligence could pursue any objective, from beneficial to catastrophic, with equal capability.

LLMs & Generative AI2 min read

Instrumental Convergence: Why All AIs Might Act Alike

Even with different end goals, intelligent agents tend to pursue the same sub-goals like self-preservation and resource gathering. This is key in AI safety, explaining why a paperclip-making AI might compete with humans for resources, not from malice but…

LLMs & Generative AI2 min read

Constitutional AI: Teaching Models to Govern Themselves

Constitutional AI teaches a model to self-correct against a set of principles, or a 'constitution.' This automates safety alignment for models like Claude, reducing reliance on human feedback.

LLMs & Generative AI2 min read

ML Interpretability: Cracking Open the Black Box

ML interpretability cracks open the 'black box' to explain *why* a model made a specific decision. It's essential in high-stakes fields like finance or medicine to ensure automated decisions are fair. The footgun is trusting accuracy alone.

Adversarial Attacks: Tricking LLMs into Misbehaving
LLMs & Generative AI2 min read

Adversarial Attacks: Tricking LLMs into Misbehaving

Adversarial attacks are inputs designed to trick an LLM, bypassing its safety alignment. This is how "jailbreaks" coax models into generating harmful content. The footgun is assuming safety training makes a model foolproof; it just makes attacks more subtle.

LLM Guardrails: Keeping Model Outputs on Track
LLMs & Generative AI2 min read

LLM Guardrails: Keeping Model Outputs on Track

LLM guardrails are safety policies that steer model outputs, acting like bumpers in a bowling alley to prevent responses from going off-topic, leaking data, or generating harmful content. They are crucial for topic control and preventing prompt injections.

LLM Red Teaming: Adversarial Security Testing
LLMs & Generative AI2 min read

LLM Red Teaming: Adversarial Security Testing

LLM Red Teaming is a simulated attack where you proactively try to break your own AI to find security flaws. It's used to test for vulnerabilities like prompt injection or data leakage, which traditional security tools miss.

Model Cards: The 'Nutrition Label' for AI Models
LLMs & Generative AI2 min read

Model Cards: The 'Nutrition Label' for AI Models

A model card is the nutrition label for an AI model, summarizing its ingredients, intended use, and risks. Found in model repos, it details training data, performance, and ethical guardrails.

LLMs & Generative AI2 min read

The AI Alignment Problem

AI alignment is about making sure an AI pursues our intended goals, not just the literal instructions. It's critical for autonomous systems in medicine or finance. The footgun is assuming a clear objective prevents unintended, harmful outcomes.