f1 score

F1 score is the metric that keeps showing up across the most practical machine learning projects, and this section tracks where it lands when real people hit real data. You'll find it in audio tagging, where frontier models scored F1 values between 0.110 and 0.325 against human labels on ASMR clips, revealing that paper rustling and brushing are nearly invisible to current audio LLMs. It appears in radar classification, where macro F1 jumps from 0.381 to 0.764 as the number of detections per object increases from one to five. It surfaces in security classifiers, where a unified model hit 0.962 on injection detection and 0.916 on routing, the weak spot being genuinely overlapping intent classes. And it matters in calibration: one team improved confidence alignment by 68 percent while hallucination-detection F1 barely moved, proving that a well-calibrated score and a correct classification are not the same thing. Whether you are tuning JPEG constants, scoring document extraction, or debugging anomaly detection thresholds, the F1 score is where the assumptions meet the data.

Machine Learning

A Practical Framework for Scoring Intelligent Document Processing

Confidence is not correctness. That's the central tension in scoring Intelligent Document Processing, and the two-part series on medium tackles it head-on. It walks through how raw extraction outcomes map to the confusion matrix, where misreads, blanks, and invented values land, and why Accuracy inflates when correct blanks are counted. The tradeoffs between F1, Recall, and Jaccard are laid out clearly. It's a practical survey for anyone reading benchmark results, not a vendor pitch.

Machine Learning

Why AI struggled to tag 126,000 ASMR clips

If you're training a text-to-ASMR model on 126,000 recordings, you need every clip tagged with its sounds. Frontier models seemed like the obvious labelling shortcut. They weren't. Gemini 3.1 Pro hit a 0.325 F1 score against human judges on real ASMR clips. It detected brushing 92% of the time on clean sound effects, but only 0.18 on actual recordings. Paper rustling was nearly invisible. The lesson is straightforward: don't trust AI to hear what humans do. Build your own judging panel.

Tune your C code's hidden constants for sharper results on real-world data
Machine Learning

Tune your C code's hidden constants for sharper results on real-world data

Tuning constants in compiled C code usually means recompiling from source. LearnC sidesteps that entirely. It adjusts named constants directly in unmodified C files against a custom score function, then writes the updated values back. The results speak for themselves: a 9.1% BD-rate improvement on JPEG quantization tables and a significant F1 boost for Google's WebRTC VAD. This is a practical, focused tool for squeezing real-world performance out of existing codebases. For more on iterative model improvements, see our coverage of the Looped Diffusion Transformer.

Machine Learning

Optimize anomaly detection by using all training data in Isolation Forest

Using all your benign training data in Isolation Forest improved recall from 91% to 94% while cutting false positives from 10% to 7.6%. That's a meaningful gain for just 30 extra seconds of training time. The standard advice to keep `max_samples` low applies when anomalies contaminate the training set, your approach is cleaner. Keep `max_samples=1.0`. For deeper insight on detecting subtle shifts in feature relationships, see our related article on spotting hidden data drift.

Machine Learning

A sharper alignment: Jev's confidence accuracy jumps 68%

Jev's confidence accuracy improved 68% after learning from human-labeled examples, yet its hallucination-detection F1 barely budged. That distinction matters. When a judge score determines automatic approvals or human escalations, poorly calibrated confidence quietly becomes a production problem. This is why building calibration into evaluation frameworks, like Typed Evals, matters more than treating raw confidence as trustworthy. For those exploring deeper measurement challenges, our piece on "Measure Embedding Relevance" offers a complementary look at tying benchmarks closer to real-world retrieval needs.

Machine Learning

Explore how distance shapes radar classification and what it means for your models

A model that scores higher every time range is added should raise an eyebrow, even when validation looks clean. The concern here is legitimate: radar returns fewer points from distant objects, so the model may be latching onto distance as a proxy for size or class. Stress testing means breaking the data so range distributions differ between training and validation sets. That reveals whether the model generalizes or memorizes the environment. Dropping the feature entirely is also worth exploring if the performance gap remains acceptable.

Teaching a simple network to classify radar objects from point cloud data
Machine Learning

Teaching a simple network to classify radar objects from point cloud data

A single radar point can be enough to identify a car, yet the same sparse return leaves a two-wheeler indistinguishable from a pedestrian. That is the core tension in Bruno Pinto's work on 5-class object classification using RadarScenes point clouds. His 3-layer MLP, fed per-scan histograms, jumps from a 0.381 to 0.764 macro F1 as detections per instance grow from one to five. The takeaway is clear: sparsity is the real barrier, not architecture.

Machine Learning

One shared encoder, seven heads: training a unified security classifier

Masked losses are the quiet workhorse behind multi-task models, and this team's self-test for zero gradients on absent tasks is a genuinely smart safeguard. It caught two subtle bugs, which is exactly why you write those checks. The unified encoder's routing head lags at 0.916, and the semantic overlap there feels like a data problem, not a modeling one. We'd point curious readers to our related piece on deduplication stages, since both tackle messy real-world data pragmatically.