Skip to content

In development. Expect rough edges and changes. The source code is not public yet.

Berkeley AI Research 5 min read Research hardMaster

Information-Driven Design of Imaging Systems

Imaging systems can be evaluated and optimized by estimating the mutual information between objects and noisy measurements, computed as H(Y) minus H(Y|X), where the noise term comes analytically from known physics (Poisson shot noise, Gaussian read noise) and H(Y) is learned by a probabilistic model such as a Gaussian process or PixelCNN, giving an upper bound on information. Across color filter arrays, radio telescope placement, lensless cameras and LED array microscopy, higher estimated information consistently predicted better downstream decoder performance. The IDEAL method runs gradient ascent on this estimate to design encoders without a decoder network, matching end-to-end optimization on color filter design while using less memory and compute.

Assumes: mutual information and entropycomputational imaging basicsautoregressive generative models

Related posts

  • Accelerate your models with 🤗 Optimum Intel and OpenVINO

    Hugging Face mediumAdept

    Optimum Intel now integrates OpenVINO, letting Transformers models run on OpenVINO Runtime across Intel processors and be quantized with the Neural Network Compression Framework (NNCF). A walkthrough applies post-training static quantization to a ViT image classifier fine-tuned on food101, using 300 calibration samples, then exports to OpenVINO IR and loads the result via OVModelForImageClassification pipelines. The quantized model shrinks 3.8x (344MB to 90MB) and cuts per-sample latency 2.4x (98ms to 41ms) with no measurable accuracy loss (87.6). Warm up the model before benchmarking, because compilation happens on the first inference. Encoder-decoder quantization is not yet supported.

  • Blazing Fast SetFit Inference with 🤗 Optimum Intel on Xeon

    Hugging Face mediumAdept

    Post-training static int8 quantization of a SetFit model body with Optimum Intel and Intel Neural Compressor speeds up inference on Xeon CPUs by up to 7.8x in throughput with negligible accuracy loss. The walkthrough calibrates on 100 rotten_tomatoes samples, quantizes a bge-small SetFit model with the IPEX backend, and benchmarks it against fp32 Transformers and IPEX bf16 with TorchScript. At batch size 1, latency drops from 15.69 ms to 4.55 ms (3.45x), model size shrinks from 127 MB to 45 MB, and sst2 accuracy moves only from 88.4% to 88.1%.

  • Optimizing Stable Diffusion for Intel CPUs with NNCF and 🤗 Optimum

    Hugging Face hardMaster

    Post-training 8-bit quantization breaks Stable Diffusion's UNet, so this workflow uses NNCF quantization-aware training with knowledge distillation from the original model as teacher and EMA on non-quantizer weights. It is stacked with an OpenVINO-compatible Token Merging (merge ratio 0.4) to speed up inference on Intel CPUs. Fine-tuning a Pokemon-tuned model for 4096 iterations on a single 24 GB GPU takes under a day. Against PyTorch FP32 on a Xeon CPU, OpenVINO FP32 gives 1.9x, 8-bit QAT gives 3.9x with a 4x smaller footprint, and ToMe plus 8-bit reaches 5.1x. The resulting pipeline loads through Optimum Intel's OVStableDiffusionPipeline, and more complex datasets call for lower merging ratios.

  • Falcon Perception

    Hugging Face hardMaster

    Falcon Perception is a 0.6B-parameter early-fusion Transformer that handles open-vocabulary grounding and segmentation in one backbone. A hybrid attention mask makes image tokens attend bidirectionally and text/task tokens causally. Each instance is decoded through a coord → size → seg token chain using Fourier-feature heads and a dot-product mask head, which avoids Hungarian matching. It scores 68.0 Macro-F1 on SA-Co versus 62.3 for SAM 3 and leads by wide margins on the new PBench capability benchmark (spatial +21.9, OCR-guided +13.4, dense +14.2), but trails SAM 3 on presence calibration (MCC 0.64 vs 0.82). Training uses DINOv3/SigLIP2 multi-teacher distillation, a 54M-image dataset with 1:1 hard negatives, a three-stage curriculum and Muon for the heads, and a 0.3B Falcon OCR variant reuses the same architecture.

  • How we used evals and inference-time compute scaling to generate beautiful QR codes that actually work

    Modal mediumAdept

    Generating aesthetic QR codes (QArt codes) with Stable Diffusion and ControlNet often produces images that don't scan, so the team built automated evals: the QReader library for scannability and a community aesthetic predictor. They validated both against roughly two thousand hand-scanned and hand-rated prompt-URL pairs. They then swept ControlNet guidance timing and strength on Modal, using a "toast plot" grid to choose a configuration with better aesthetics but a lower scan rate. To recover reliability, they moved the evals into production: they generate many candidates in parallel on GPUs and rank them by scan success and then aesthetic score. That reached a 95% scan-rate SLO with p95 latency under 20 seconds.

The quest for software engineering knowledge.

Look:
Layout: