The Haifa Isotopes apps provides a convenient way produce provenance results using Lead Isotope Analysis (LIA).
The compares 206Pb/204Pb, 208Pb/204Pb, 208Pb/204Pb isotope rations of given samples to a larger geo-located isotope database with Lead and copper rich sources.
The app can aid in provenance analysis via:
The Haifa Lead Isotope Database (haifa_isotopes_v01.csv)- is a
curated, multi-regional compilation of lead (Pb) isotope ratios, ore
mineralogy, geospatial coordinates, and bibliographic metadata for
geological ore deposits and historical mines. Designed to support
research in archaeometallurgy, provenance studies, and economic geology,
the database aggregates published analytical data to facilitate the
tracing of ancient metallic artifacts back to their geological ore
sources.
v01The schema is organized into four logical domains that link each isotopic measurement to its geological context, spatial location, and primary literature source:
Country → Top Region → Region/Province →
Region → District/Deposit Location → Sector details → Mine)
paired with decimal GPS coordinates.ID Uniqe numerical ID (INT)
Presence of Pb
VARCHAR / TEXT)Pb Major, Pb Minor, No Pb,
No Pb?.Presence of Cu
VARCHAR / TEXT)Cu Major, Cu Minor, No Cu,
No Cu?.Purpose of the study
VARCHAR / TEXT)Archaeo (archaeometallurgical
study), Geol (geological/metallogenic study), Archaeo/Geol
(interdisciplinary study).Main minerals/metals mined
TEXT)"Old Cu-Pb mines",
"porphyry-style gold-copper mineralization",
"Chc > dg > cv > gn".Sample Number
VARCHAR)"MS5", "AG–18", "R307/48.45",
"PA11657".Country
VARCHAR)Italy, Spain, Finland, Turkey,
Iran, Greece, Cyprus.Top Region
VARCHAR)Sardinia, South Eastern Anatolia,
West Marmara, Taurus Mountains 2B (Bolkar Mounts).Region/Province
VARCHAR)Sardinia, Ossa Morena Zone,
Central Lapland greenstone belt, Alps.Region
VARCHAR)Region/Province.Monte Sisinni, Bortigiadas,
Calabona, Apuseni.District/Deposit Location
VARCHAR)Ergani, Yenice, Bayramic, Yenice.Sector details
TEXT)"Mine", "on the road to the pit",
"Banded polymetallic ore", "Los Frailes".Mine
VARCHAR)"Monte Sisinni (SS)",
"Aguablanca 2", "Soretiavuoma", "Lac des Perches".Latitude
DOUBLE / FLOAT64)Longitude
DOUBLE / FLOAT64)Mineral analyzed
VARCHAR / TEXT)"-") indicates
that the specific phase was not reported in the source study."Malachite, azurite, galena", "Ag",
"aikinite", "3 frgms of green powdery mineral".208Pb/206Pb
DOUBLE / FLOAT64)207Pb/206Pb
DOUBLE / FLOAT64)206Pb/204Pb
DOUBLE / FLOAT64)207Pb/204Pb
DOUBLE / FLOAT64)208Pb/204Pb
DOUBLE / FLOAT64)Sources
VARCHAR)"Oxalid",
"Tornos & Chiaradia, 2004", "Mänttäri, 1995".Full reference
TEXT)"Stos-Gale, Z.A., Gale, N.H., 2009. Metal provenancing using isotopes and the Oxford archaeological lead isotope database (OXALID). Archaeological and Anthropological Sciences 1, 195–213."v01)Users ingesting haifa_isotopes_v01.csv into relational databases
(PostgreSQL, MySQL, SQLite) or statistical environments (Python/pandas,
R) should note the following schema characteristics:
Latitude,
Longitude) and lead isotope ratio columns (208Pb/206Pb,
207Pb/206Pb, 206Pb/204Pb, 207Pb/204Pb, 208Pb/204Pb) parse
cleanly as 64-bit floating-point numbers (FLOAT64 / DOUBLE), with
previous string anomalies resolved in v01.Presence of Pb, Country, Top Region,
District/Deposit Location), and standardize minor case or
orthographic variants (e.g., "no Pb" → "No Pb", "Roumania" →
"Romania") when performing group-by aggregations.NULL/NaN/NA).Users have the choice of analysing a single data input or a group of samples by uploading data in bulk.
To use the single data mode set the ‘Upload Type’ to ‘Single’ from the drop down menu and enter the 206Pb/204Pb, 207Pb/204Pb and 208Pb/204Pb values in the respective fileds.
Note: the ID value in this case is set to one by default and can not be changed.
To analysis a group of samples select the ‘Upload Type’ to ‘Bulk’ and download the template file. The template file consists of:
Enter the sample data in the respective fields and upload the sample by dragging and droping the file or using the system file explorer to select the file.
Provenance studies using lead isotope analysis use three ratios of the
four naturally occurring lead isotopes. These are: 206Pb/204Pb,
207Pb/204Pb, 208Pb/204Pb.
The isotopic compositions in LIA are initially represented in a three dimensional coordinate system (Albarede, Davis, Blichert-Toft, et al. 2024).
However, current approaches to lead isotope analysis, such as amalia(), rely heavily on visual inspection or simple distance-based metrics, methods that struggle to capture the complex structure and overlaps within large isotopic datasets. As a result, provenance interpretations often differ substantially between researchers, even when studying the same assemblages. By contrast, an algorithmic framework provides a systematic, data-driven alternative that detects patterns, reduces overlaps, and minimizes subjective interpretation. This shift not only improves reproducibility but also opens the door to identifying previously unrecognised ore sources (Shnyr et al. 2026).
There are two main methods which can be used for provenance analysis. The first is the standard Euclidean distance function, with an added mass fractionation correction (Albarede, Davis, Blichert-Toft, et al. 2024), and the second is a machine learning method, where a pre-trained extreme gradient boosting (XGBoost) model is used to obtain provenance probabilities (Shnyr et al. 2026). In both cases, sample and reference data are provided as ASTR objects.
The standard model for estimating three dimensional distances for lead isotope values involves measuring the Euclidean distance between two vectors, x⃗ and \(\vec{x'}\). This calculation follows the established formula:
$$d(\vec{x}, \vec{x'}) = \sqrt{\sum\_{i=1}^{n} (x\_i - x'\_i)^2}$$
This is the method used by the function pb_iso_prov_dist() when the
dist_type value is set to "ed", which stands for ‘Euclidean
distance’.
According to Albarede, Davis, Gentelli, et al. (2024), the standard method fails to account for statistical errors. These errors are addressed by weighting the data with the full covariance matrix W of the NIST 981 lead isotope reference material. The adjusted distance is calculated as:
$$d = \sqrt{(x - x')^T W^{-1} (x - x')}$$ .
In this formula, T denotes the transpose of the vector.
Recently, Albarede, Davis, Blichert-Toft, et al. (2024) introduced a Pb isotope provenance algorithm that significantly improves the correction of mass-dependent fractionation, a long standing challenge in lead isotope analysis.
The methodology utilizes the distance di between an
artefact and the mass-dependent fractionation line passing through ore
i. This is implemented by setting dist_type to "mfd". Provided
that lead isotope ratios differ by less than one decimal point, the
respective fractionation lines are considered parallel.
The distance di is computed using the vector \(\vec{\Delta X\_{i}} = (\vec{x}\_{i} - \vec{x}\_{0})\), where x⃗0 represents the artefact and x⃗i represents the ore.The artefact is represented as:
x⃗0 = [(206Pb/204Pb)0, (207Pb/204Pb)0, (208Pb/204Pb)0]
The ore is represented as:
x⃗i = [(206Pb/204Pb)i, (207Pb/204Pb)i, (208Pb/204Pb)i]
The mass-dependent fractionation line is defined by the vector v⃗:
v⃗ = [2(206Pb/204Pb)0, 3(207Pb/204Pb)0, 4(208Pb/204Pb)0]
The digits in v⃗ correspond to the atomic mass differences of the isotopes. With n⃗ = v⃗/||v⃗|| as the unit vector, the distance di is calculated using the cross-product:
$$d\_i = ||\vec{\Delta X\_i} \times \vec{n}||$$
The fractionation factor fi is computed as a dot product:
$$f\_i = \vec{\Delta X\_i} \cdot \vec{n}$$
To obtain a dimensionless distance, the error matrix W is defined as:
$$W= \begin{bmatrix} 2x\_x & 0 & 0\\ 0 & 3x\_y & 0\\ 0 & 0 & 4x\_z\\ \end{bmatrix} \begin{bmatrix} 1 & 0.96 & 0.94\\ 0.96 & 1 & 0.96\\ 0.94 & 0.96 & 1 \end{bmatrix} \begin{bmatrix} 2x\_x & 0 & 0\\ 0 & 3x\_y & 0\\ 0 & 0 & 4x\_z\\ \end{bmatrix}$$
The outer matrices are diagonal standard deviation matrices for common lead, with a fractionation factor s of 0.001. Squared distances d2 are normalised to the two dimensional shadow of W perpendicular to n⃗. This requires Gram Schmidt orthogonalisation to find perpendicular vectors. Since W is derived from reference materials, this metric is not a formal Mahalanobis distance. Normalised squared distances follow a chi squared distribution with two degrees of freedom. Consequently, ores with d2 values exceeding 5.99 are rejected at the 95% confidence level.
Models trained go through a data processing pipeline as outlined by (Shnyr et al. 2026):
Outlier identification and elimination are achieved using the DBSCAN (Density Based Spatial Clustering of Applications with Noise) algorithm, which can identify outliers and subgroup patterns within regions.
DBSCAN facilitates the removal of outliers and the formation of clusters within lead isotopic data, reducing potential overlaps between regions.
The neighbourhood radius (ϵ) determines the appropriate value for clustering.
To ensure reliability, only samples above a certain number should be clustered.
SMOTE (Synthetic Minority Over sampling Technique) is a methodology that creates synthetic data points for the minority class through interpolation.
Using SMOTE enables ML models to better identify patterns in the data, potentially leading to more accurate predictions.
The k neighbour parameter in the SMOTE algorithm controls how many nearby data points are considered when generating synthetic samples for minority classes. A smaller k neighbour value focuses on closer neighbours, while a larger value includes a broader range of neighbours, affecting the diversity of synthetic samples (Chawla et al. 2002).
The XGBoost algorithm was applied to train a binary classification model using the three isotopic ratios as input features and the resulting regional cluster names, previously derived from DBSCAN, as target labels.
This iterative process involved encoding the data, applying SMOTE, and training the XGBoost model for each cluster. The final model is a list of individual XGBoost models that can effectively distinguish between target and non target classes, leveraging the refined dataset for reliable predictions.
Providing the sample data to model produces a new table object the provenance probabilities for the given reference data groups.
Albarede, Francis, Gillan Davis, Janne Blichert-Toft, et al. 2024. “A New Algorithm for Using Pb Isotopes to Determine the Provenance of Bullion in Ancient Greek Coinage.” Journal of Archaeological Science 163 (March): 105919. https://doi.org/10.1016/j.jas.2023.105919.
Albarede, Francis, Gillan Davis, Liesel Gentelli, et al. 2024. “Bullion Mixtures in Silver Coinage from Ancient Greece and Egypt.” Journal of Archaeological Science 162 (February): 105918. https://doi.org/10.1016/j.jas.2023.105918.
Chawla, N. V., K. W. Bowyer, L. O. Hall, and W. P. Kegelmeyer. 2002. “SMOTE: Synthetic Minority over-Sampling Technique.” Journal of Artificial Intelligence Research 16 (June): 321–57. https://doi.org/10.1613/jair.953.
Shnyr, Evgeny, Tsvi Kuflik, Karan Desai, and Tzilla Eshel. 2026. “Determining the Origins of Phoenician Silver: Exploring the Potential of Machine Learning for Lead Isotope Analysis.” Journal of Archaeological Science 188 (April): 106–499. https://doi.org/10.1016/j.jas.2026.106499.