ALeRCE
Short version
ALeRCE turns alert streams into a dynamic catalog of objects with aggregated detections, crossmatches, features, and classifications. It is one of the clearest examples of a broker that adds a named machine-learning stack on top of alert packets rather than simply routing alerts.
How it uses Rubin alerts
| Topic | Plain-English answer |
|---|---|
| Stream role | Rubin lists ALeRCE as a full-stream broker. |
| Packet fidelity | ALeRCE publicly documents storage of original alert Avro files in its ZTF-facing pipeline, but the user-facing Rubin packet access path is not documented in the public docs linked below. |
| Cutouts | The early classifier uses alert cutouts internally, and the public Python client README lists access to stamps for ZTF and LSST through the multi-survey client. |
| Value added | Crossmatched light curves, corrected photometry, light-curve features, anomaly-oriented scores, and class probabilities. |
| Serving shape | Web explorer, APIs, Python tooling, and database-oriented access to object, feature, detection, non-detection, and probability tables. |
Classifier and context
| Aspect | Detail |
|---|---|
| Logic | Two-stage broker-side classifier. New objects get a fast stamp classifier; objects with enough detections can receive a richer light-curve classifier. |
| Inputs | Stamp stage uses image cutouts plus alert metadata. Light-curve stage uses corrected or uncorrected photometry plus 174 engineered features and external context. |
| Model family | Rotationally invariant convolutional neural network for stamps; balanced hierarchical random forest for light curves. |
| Output | Public docs describe 5-class stamp probabilities and a 15-class light-curve taxonomy with probabilities. |
| State | Early alert/object state for the stamp model; evolving object/light-curve state for the feature-rich classifier. |
Technical notes
| Area | Detail |
|---|---|
| pipeline shape | The public pipeline repo is a step-based monorepo. The README lists ingestion-adjacent steps for assigning ALeRCE IDs, unpacking previous candidates, classifying stamps, building light curves, applying magnitude correction, computing statistics, crossmatching, extracting features, and running the light-curve classifier. |
| database layout | Public docs describe tables for objects, detections, non-detections, magnitude statistics, features, and class probabilities. The client README also exposes objects, light curves, detections, non-detections, forced photometry, stamps, classifiers, and crossmatches. |
| feature layer | The light-curve classifier uses corrected or uncorrected photometry plus 174 engineered features. The feature set includes time-series behavior and contextual information. |
| model timing | The stamp model can run early because it uses cutouts and alert metadata. The light-curve model waits until enough detections exist to make feature extraction meaningful. |
| repo clues | The public repo names make the pipeline shape explicit: sorting_hat_step, stamp_classifier_step, lightcurve-step, correction_step, magstats_step, xmatch_step, feature_step, lc_classification_step, s3_step, watchlist_step, and scribe. |
| user-facing output | The technical product combines object history, features, probability tables, stamps, and crossmatch context. |
How to use it
| Mode | Status | Notes |
|---|---|---|
| web UI | Yes | Object exploration and watchlists are part of the public service model. |
| API / Python | Yes | The public alerce_client README describes a multi-survey client for ZTF and LSST with JSON, pandas, and VOTable-style return formats. |
| database queries | Yes | ALeRCE exposes database-style access to broker tables in the public ZTF-facing service. |
| stream/filtering | Likely | Watchlists and broker APIs support filtering workflows, but stream mechanics are not the strongest public documentation layer. |
| archive / bulk export | Unknown | No public Rubin bulk-export workflow is documented. |
Good fits
| Science case | Fit | Why |
|---|---|---|
| lensed AGN | Likely | Crossmatches, long-lived object records, and probabilities help triage context-rich candidates. |
| lensed SNe | Likely | Early stamp classification, stamp access through the client, and later light-curve classification are useful for transient narrowing. |
| anomalous transients | Likely | Broad taxonomy, feature tables, and anomaly-oriented products support custom searches. |
| variable stars | Likely | The light-curve classifier and feature tables are aligned with periodic and stochastic variability work. |
| solar system | Unknown | Solar-system-specific workflows are not documented publicly. |
Notes for users
- Treat ALeRCE as object-catalog first, raw-packet service second.
- The public technical story is strongest for the ZTF-facing stack; Rubin operations may expose the same concepts through different services or schemas.
- If your workflow depends on cutout retrieval or exact packet bytes, treat the Rubin-era API shape as a decision point before building around ALeRCE.
Sources
- Rubin Observatory, alerts and brokers: https://rubinobs.org/for-scientists/data-products/alerts-and-brokers
- ALeRCE homepage: https://alerce.science
- ALeRCE features: https://alerce.science/features/
- ALeRCE pipeline: https://science.alerce.online/alerce-pipeline/
- ALeRCE database overview: https://alerce.science/services/database/
- ALeRCE ZTF database API: https://alerce.science/services/ztf-db-api/
- ALeRCE GitHub organization: https://github.com/alercebroker
- ALeRCE Python client: https://github.com/alercebroker/alerce_client
- ALeRCE pipeline repo: https://github.com/alercebroker/pipeline