Abstract

Music recommenders learn from what people have already played. Those histories carry the music industry’s existing imbalances, so a model can look accurate for listeners and still give male artists most of the attention in the lists people actually see. This article reports a study of that gap on a standard recommender, and of three ways to narrow it.

The study trains an Alternating Least Squares (ALS) model, a widely used collaborative-filtering method, on the Last.fm 360K dataset: 24,509 listeners, 10,362 artists, and 1,010,401 plays, after sparse users and artists are removed. Artist gender comes from MusicBrainz. Labels cover 3,867 artists, 37.3% of the catalog, and only those artists enter the fairness numbers. In the training data, 72.8% of labeled plays are of male artists. The trained baseline then gives male artists 69.8% of exposure in everyone’s top ten. Exposure here means attention in the ranked list, with a higher slot counting for more than a lower one.

Three corrections are compared. Post-processing raises female artists’ scores after training. A 28% boost brings the male share of exposure to 49.2%, with about a 1.6% drop in ranking quality (NDCG@10). A hard quota, at least four female artists in every top ten, overshoots to a 14.6% male share and costs about 37% of ranking quality. Fair-ALS, the method introduced in the study, changes the training data instead. It measures the male share on a sample of real top-ten lists, gives plays of female artists more weight, and retrains. At its strongest setting, the male share falls from 69.8% to 62.3%, a 7.5-point change, while NDCG@10 stays flat (0.1745 to 0.1748). Stacking the two — Fair-ALS first, then a smaller score boost — reaches a 49.97% male share with a smaller boost (+0.15 instead of +0.25) and about 30% less loss in ranking quality than post-processing alone.

A follow-up check shows that the gain comes from the reweighted training data. The measure-and-retrain loop’s job is to decide how large that extra weight should be. The article closes with what a team can take from this, and with the limits of the evidence: binary and incomplete gender labels, a small wobble at the strongest Fair-ALS setting, a single dataset, and no comparison yet with other fair-ranking methods.

1. Introduction

A playlist, a radio station, or a row of “artists you might like” looks like a small product decision. Made for millions of listeners, every day, it helps decide which artists get heard and which stay out of sight. The engineering question inside that decision is familiar. Given what someone has played, what should come next? The question this study adds is about the lists themselves: once the model has learned from past listening, how is the attention in those lists divided between male and female artists, and what can be changed without making the recommendations worse for the listener?

Most music recommenders use collaborative filtering. The model learns from plays and predicts which artists a listener is likely to play next. That is a strong way to personalize a catalog. Listening histories are not a neutral sample, though. They carry who was promoted, what is in the catalog, and long-standing gaps in whose music gets heard. A recommender can repeat those patterns, sending attention again and again to artists who are already widely played.

Earlier work on artist gender has found the same shape. Female artists tend to receive less exposure, meaning fewer and lower slots in recommendation lists, and ranking choices can widen that gap over time. A model can score well on the usual accuracy metrics and still spread attention unevenly. Accuracy answers “did we predict what this listener played?” It does not answer “who occupied the slots people actually saw?”

The study treats that second question as a measurement problem. It builds a standard recommender, records the male share of exposure in the top ten, and then compares three corrections: one applied after training, one applied to the training data, and one that uses both. The work was accepted at MuRS 2026, the Music Recommender Systems Workshop at ACM RecSys, which brings together researchers and practitioners working on music recommendation specifically.

This article contributes four things:

  • A measurement, on a public dataset and a standard model, of how male and female artists share exposure in top-ten recommendations.
  • A comparison of post-processing, Fair-ALS, and stacking, with ranking quality reported beside exposure in every case.
  • A check on where the Fair-ALS gain actually comes from, and a design lesson about measuring the gap from real lists rather than from inside the model.
  • Practical guidance for teams that can retrain and teams that cannot, together with the limits of the evidence.

2. What the Study Measures

2.1 Exposure

The fairness metric is the male share of exposure. Take every listener’s top ten. Look only at the artists in those lists who have a male or female label. Ask what fraction of the attention goes to men. A higher slot counts for more than a lower one, using the same position discount as the ranking metric below, so the first recommendation weighs more than the tenth.

Two boundaries matter. MusicBrainz assigns each artist one of four labels: male, female, group, or unknown. Only male and female artists enter the fraction. Groups, unknown artists, and artists with no record are left out. The percentages in this article are shares among labeled male and female artists, not shares of the whole catalog. Second, the metric describes the lists the model produces. It is not a claim about the quality of any individual song, and it is not a listener-satisfaction score.

2.2 Ranking Quality

Recommendation quality is measured with NDCG@10, a standard score for how well a top-ten list matches music each listener played later, in data the model did not train on. Higher is better. On this dataset, the baseline score is 0.1745. The useful comparison is not the absolute score. It is whether the score stays steady when the male share of exposure changes. A correction that moves exposure and leaves NDCG@10 flat has not asked listeners to pay for the change. A correction that moves exposure by giving up a large share of NDCG@10 has.

2.3 What This Study Tests, and What it Does Not

The design is a controlled comparison on one public dataset. Only the correction changes between conditions. The data, the model family, and the way lists are scored stay fixed. That makes the comparison readable. It also sets a limit on what the numbers can support.

This study tests This study does not test
How a standard ALS recommender divides top-ten exposure between labeled male and female artists Whether the same pattern holds on other catalogs, products, or listening contexts
How three corrections change that exposure, and what each costs in NDCG@10 Whether other fair-ranking methods would do better or worse on the same data
Whether the Fair-ALS gain comes from reweighting the training plays How listeners would rate the lists in a live product, or how play behavior would change over time
Gender as recorded in the available metadata: male or female, for the artists that have a label Non-binary artists, unlabeled artists, or any gender category the metadata does not record

Those limits are discussed again in Section 8. They are stated here so the results below are read as a comparison of methods on this dataset, not as a verdict on the music industry as a whole.

3. Data and the Baseline

The study uses the Last.fm 360K dataset, a public collection of user–artist play counts available through the Last.fm API. Listeners with fewer than 25 plays, and artists with fewer than 15 plays are removed. For each remaining listener, 20% of their artists are held out for testing, and listeners with fewer than five artists after filtering are dropped. The data that remains contains 24,509 users, 10,362 artists, and 1,010,401 plays. Artist gender is taken from MusicBrainz. Of the 10,362 artists, 3,867 (37.3%) have a male or female label. Only those artists are included in the exposure numbers.

The recommender is Alternating Least Squares (ALS). It is a standard collaborative-filtering method for play-count data, which is implicit feedback: the data records what was played, not an explicit rating. Play counts are log-scaled and used as confidence weights, so a listener who played an artist many times counts for more than a single play, without a very large count dominating the model. The model uses 64 latent factors, 20 training passes, and a regularization coefficient of 0.08. From those plays, ALS learns which artists fit each listener.

The skew is already in the data. Of the labeled training plays, 72.8% involve male artists. After training, the baseline model gives male artists 69.8% of exposure in the top ten. The recommender has not invented the imbalance. It has carried a large share of it from the training plays into the lists.

from training Data

Figure 1. Male share of exposure at each stage: training data (72.8%), baseline recommendations (69.8%), a 12% score boost (60.3%), and a 28% score boost (49.2%). The imbalance is already in the listening data, and it shows up again in the recommendations. 

4. Three Corrections

The study compares three ways to narrow the gap between the baseline and a lower male share of exposure. They differ in when the change is made: after the model is trained, while it is learning, or both.

4.1 Post-processing

Post-processing is the usual lever, and the three settings below follow earlier work on artist-gender exposure in music recommenders. Train the model as usual, then raise female artists’ scores before the list is ranked. Nothing inside the model changes. The ranked list is adjusted at the end.
Three versions are reported.

  • A lighter boost raises female artists’ scores by 12%.
  • A stronger boost raises them by 28%.
  • A hard quota places at least four female artists in every top ten, regardless of score.

The first two are gentle. They keep the model’s ordering and nudge it. The quota is a different kind of rule. It replaces part of the ranking with a fixed count. Section 5 shows why that difference matters.

4.2 Fair-ALS

Fair-ALS is the method introduced in the study. It leaves the finished scores alone and changes what the model learns from. The procedure is a short loop.

  • Train ALS on the play data.
  • Sample 500 listeners, build their top tens, and measure the male share of exposure.
  • If male artists still receive the larger share, give plays of female artists more weight in the training data. A strength setting, λ, controls how large that extra weight is.
  • Retrain. Repeat for up to three rounds, and stop early once the male share of exposure reaches 52% or lower.

In plain terms, the model is asked to pay more attention to plays of female artists while it learns. The list people see is the list the retrained model produces. It is not patched afterward.

The sample of 500 listeners exists so the loop reads the gap from actual recommendation lists, not from a formula applied to the whole catalog. The strength setting is a knob, not a claim that one setting fits every product. The study reports the full sweep, and the strongest setting, λ = 1.0, is the one used when Fair-ALS is stacked with a later boost.

4.3 Stacking

Stacking uses both steps. Fair-ALS is trained at its strongest setting, and a smaller post-processing boost is applied on top. The bet is practical. If the model has already learned from a reweighted history, the list starts with a lower male share, so the correction at the end can be smaller. A smaller correction should give up less ranking quality.

4.4 A Design Lesson

One shortcut looks attractive but does not work. It is tempting to estimate the gap from inside the model; for example, from how strongly each artist is represented. ALS can give female artists larger representations precisely because it has fewer plays to learn from. It inflates those representations to compensate, and can still recommend the artists less often. A larger internal representation is not evidence that the artist is receiving more exposure.

Fair-ALS therefore does not read the gap from those internal values. It builds top-ten lists for a sample of listeners and measures the male share on those lists. The quantity being corrected is the quantity a listener would actually encounter.

5. Results

All figures below are for the top ten. Ranking quality is NDCG@10. The male share of exposure is the position-weighted share among labeled artists, as defined in Section 2.

5.1  Headline Comparison

Model Ranking quality (NDCG@10) Male share of exposure
Baseline ALS 0.1745 69.8%
Light boost (+12%) 0.1740 60.3%
Stronger boost (+28%)
0.1717 49.2%
Hard quota (≥4 female artists) 0.1095 14.6%
Fair-ALS (λ = 1.0) 0.1746 62.3%
Stacked (best) 0.1729 50.0%

Read down the ranking-quality column first. Five of the six rows sit between 0.1717 and 0.1746. The exception is the hard quota, at 0.1095. Read across, and the male share moves from 69.8% at the baseline to a range of outcomes, depending on which correction is used. The rest of this section takes each family in turn.

5.2 Post-processing

A score boost works, and the size of the boost decides both the exposure change and the quality cost.

The 12% boost lowers the male share from 69.8% to 60.3%. NDCG@10 moves from 0.1745 to 0.1740, which is a negligible change. The 28% boost lowers the male share to 49.2%. Ranking quality falls to 0.1717, about 1.6% relative to the baseline. For a team that cannot retrain, that is a real result: a large movement in exposure for a small movement in the ranking score.

The hard quota does not behave like a slightly stronger version of the same idea. Requiring at least four female artists in every top ten drops the male share to 14.6% and drops NDCG@10 to 0.1095, about 37% below the baseline. The rule does not stop near the other corrections. It replaces a large part of the model’s ranking, and the lists match held-out listening much less well. On this evidence, a fixed count in every list is a blunt tool. The paper also reports two further gaps for these post-processing runs only. The rank gap compares the average list position of male and female artists. The coverage gap compares how many distinct male artists are surfaced with how many distinct female artists. In both cases, closer to zero means the groups are treated more alike. The coverage gap shrinks as the intervention gets stronger: +185 at the baseline, +158 after the 12% boost, +130 after the 28% boost, and +21 under the quota. The rank gap moves the other way: +0.090, +0.240, +0.451, and +4.875. Changing who fills the list changes both how many distinct artists from each group appear and the average slot each group occupies. These two gaps were not measured for Fair-ALS or stacking.

5.3 Fair-ALS

Fair-ALS moves exposure without giving up ranking quality. Across the strength settings, NDCG@10 stays between 0.1745 and 0.1748, while the male share falls steadily: 69.0% at λ = 0.1, 67.2% at 0.3, 65.7% at 0.5, 64.3% at 0.7, and 62.3% at λ = 1.0. That last step is a 7.5-point change from the 69.8% baseline. NDCG@10 at λ = 1.0 is 0.1746, in line with the baseline of 0.1745.

The reason the quality holds up is the point of the method. The change is in the training plays, so the model learns its listener–artist fit with those weights from the start. It is not being asked, after the fact, to promote artists the learned model ranked lower. The 7.5-point change is smaller than the change from the 28% boost. Fair-ALS, on its own, does not travel as far. It travels for free in ranking quality, and it changes the starting point for anything done afterward.

5.4 Stacking

Stacking is the comparison that matters once a team wants a male share near the level the 28% boost reaches, and also wants to keep as much ranking quality as possible. The head-to-head below sets post-processing alone beside Fair-ALS followed by a smaller boost, at a similar male share.

Approach Male share of exposure NDCG@10 Score boost Drop in NDCG@10
Post-processing only 51.15% 0.1722 +0.25 0.0023
Stacked (Fair-ALS, then a boost) 49.97% 0.1729 +0.15 0.0016

The stacked system reaches a 49.97% male share. It needs a smaller score boost, +0.15 instead of +0.25, and the drop in NDCG@10 is 0.0016 rather than 0.0023, about 30% less. In the headline table, the best stacked setting is a 50.0% male share, at the same NDCG@10 of 0.1729.

A closer check supports the gap. A paired comparison of per-listener NDCG found the stacked lists ahead of post-processing alone (t = 3.37, p = 7.6 × 10⁻⁴; Wilcoxon signed-rank p = 1.1 × 10⁻³). Repeated under five random seeds, stacked NDCG@10 was 0.1708 ± 0.0001 and post-processing was 0.1704 ± 0.0002, with stacking higher in every trial. Those seed scores sit a little below the headline table because they come from the repeated-run check, not from the main comparison. A bootstrap 95% interval for the stacked result in the main comparison puts the male share between 49.4% and 50.6%, and NDCG@10 between 0.171 and 0.175.

Male share od position

Figure 2. Ranking quality (NDCG@10) against the male share of exposure for post-processing alone, for Fair-ALS across its strength settings, and for stacking. Further left is a lower male share. Further up is higher ranking quality. The stacked curve stays above post-processing alone across the range. Stars mark the points highlighted on each curve. Figure from the paper.

The chart is the summary of the comparison. The orange points, Fair-ALS on its own, move left from the baseline while staying at the top of the ranking-quality scale. They do not travel all the way left. The dashed curve, post-processing alone, does travel further left, and ranking quality falls as it goes. The solid curve, stacking, sits above that dashed curve: at a given male share, the stacked lists score higher on NDCG@10, because they needed less of a last-step boost to get there.

6. Where the Gain Comes From

A method with a loop invites a wrong story. It is easy to think the repeated measuring and retraining is itself the source of the improvement. A follow-up comparison checks that.

Fair-ALS was compared with a one-shot alternative, Confidence-Boosted ALS, that applies the same total extra weight to female-artist plays in a single step, about 1.26 times, with no measure-and-retrain loop. The male share of exposure landed in the same place in both versions (0.6248 in each).

The gain comes from the reweighted training data. Giving those plays more weight while the model learns is what changes exposure. The loop’s job is narrower and still useful: it chooses how large the weight should be by reading the exposure gap on real lists, instead of asking someone to guess the multiplier in advance. For a team building this, the core change is simple. The loop is a way to set the size of that change.

7. What a Team Should Do

The results support a clear order of operations. They do not support a single setting for every product. The right first step depends on whether the model can be retrained.

Situation Start here What the study shows
The model can be retrained Fair-ALS, or the same idea: reweight plays of female artists and retrain A 7.5-point drop in male share of exposure, from 69.8% to 62.3%, with NDCG@10 unchanged
The model can be retrained, and a lower male share is still wanted Stack: Fair-ALS first, then a smaller score boost A 49.97% male share, with a smaller boost (+0.15 vs +0.25) and about 30% less loss in NDCG@10 than post-processing alone
The model cannot be retrained Post-processing: raise female artists’ scores before ranking A 28% boost reaches a 49.2% male share for about a 1.6% relative drop in NDCG@10. A 12% boost reaches 60.3% with almost no quality change
A fixed number of female artists in every list Treat a hard quota as a last resort, and measure the quality cost At least four female artists in every top ten produced a 14.6% male share and cost about 37% of NDCG@10

Two further points follow from the design, not only from the table.

Measure the lists, not the model’s internals. A larger learned representation for an artist is not evidence that the artist is being recommended. The exposure number has to come from the ranked lists, with higher slots counting for more. Fair-ALS is built that way because the internal shortcut pointed the wrong direction.

Expect the training-time step to do part of the work, not all of it. On this dataset, reweighting moved the male share from 69.8% to 62.3% and stopped there within the three rounds. The rest of the movement, toward the levels reached by a strong score boost, came from stacking. A team that retrains and then stops has still removed a real part of the gap at no cost to NDCG@10. A team that wants to go further should add a smaller boost, not a larger one than post-processing would have needed on its own.

None of this removes the need to look at the catalog the model is ranking. The corrections change how a given history is learned and how scores are turned into a list. They do not add artists the metadata cannot describe, and they do not repair a label set that covers 37.3% of the catalog. Section 8 is the list of those limits.

8. Limits

The study is explicit about where the evidence stops. Four limits should travel with the numbers.

Gender labels are binary and incomplete. The available metadata treats gender as male or female, so non-binary artists are not represented. MusicBrainz also marks some artists as a group or as unknown, and those artists are left out of the exposure numbers along with anyone who has no record. Male or female labels exist for 3,867 of 10,362 artists, 37.3% of the catalog. A male share computed on that subset can move while the rest of the catalog is not what the metric describes. Any use of these numbers in a product should start by asking how complete the gender metadata actually is.

Fair-ALS wobbles slightly at its strongest setting. At λ = 1.0, the male share measured during the three training rounds was 0.721, then 0.654, then 0.661. The loop settles after the second round and does not converge to one exact value. The result reported for this setting in Section 5 is a 62.3% male share. The round-by-round figures are there to show the wobble. They are not a smoother path to that 62.3%.

One dataset. Every result is from Last.fm 360K, with this filtering, this ALS setup, and these MusicBrainz labels. Listening on another service, a colder catalog, or a different mix of plays could move both the baseline share and the size of each correction. The order of the methods — reweighting first, a small boost second, a hard quota last — is the finding most worth re-testing. The exact percentages are not a forecast.

Other fair-ranking methods are not in the comparison. The study compares post-processing, Fair-ALS, and the combination of the two. It does not compare Fair-ALS with other established approaches to fair ranking, including methods that constrain exposure directly or that spread attention over time. Those comparisons are the natural next measurement. Until they exist, Fair-ALS is the strongest of the methods tried here, not a claim about every method in the literature.

A smaller caution sits beside those four. The statistical checks in Section 5.4 — the paired test, the five restarts, and the bootstrap interval — speak to whether the stacking advantage on this dataset is a one-off. They do not enlarge the dataset. A stable result on Last.fm 360K is still a result on Last.fm 360K.

9. Conclusion

On this dataset, a standard music recommender passes a large gender imbalance from the training plays into the top ten. Labeled plays are 72.8% male. Baseline recommendations put 69.8% of exposure on male artists. The model is accurate enough to be a serious baseline, with NDCG@10 of 0.1745, and that accuracy does not describe how the attention is divided.

The corrections are not equivalent. Raising scores after training can move the male share a long way, down to 49.2% at a 28% boost, for a small quality cost, and a hard quota can move it much too far, to 14.6%, at a large quality cost. Changing the training data, through Fair-ALS, moves the male share to 62.3% and leaves ranking quality where it was. Doing the training-time step first makes the later boost smaller, +0.15 instead of +0.25, and cuts the remaining quality cost by about 30%.

The practical reading is modest and useful. Fairness work in a recommender does not have to begin by damaging the lists listeners get. Part of the exposure gap can be closed by changing what the model learns from. The rest, if a team wants to close it, is cheaper to close afterward. The evidence for that claim is one dataset, one model family, and an incomplete set of gender labels. Within those bounds, the measurement is consistent: the same pattern in the headline table, in the head-to-head, in the trade-off chart, and across five restarts.

Recommenders do more than reflect taste. They shape whose music gets a chance to be heard. This study’s contribution is to show, with the numbers attached, that where a team intervenes — in the training data, in the final scores, or in both — changes both the exposure outcome and the price paid in ranking quality.

FAQ

1. What does fairness in recommender systems mean?

Fairness in recommender systems means evaluating not only whether recommendations are relevant to users, but also how the system distributes exposure across people, products or content providers. In music recommendations, this can include measuring whether certain artist groups receive disproportionately more attention in highly ranked positions.

2. How can gender bias enter a music recommender system?

Recommendation systems learn from historical interactions. If listening histories already contain gender imbalances, collaborative-filtering models can learn those patterns and reproduce them in ranked recommendations. In the study, 72.8% of labeled training plays were male-artist plays, while the baseline produced a 69.8% male share of top-ten exposure.

3. What is Fair-ALS?

Fair-ALS is the training-time method introduced in the study. It measures male exposure in sampled top-ten recommendations, gives plays of female artists additional weight, and retrains the model. At its strongest reported setting, male exposure moved from 69.8% to 62.3% while NDCG@10 remained essentially flat.

4. Does improving recommendation fairness reduce ranking quality?

Not necessarily. The effect depends on the intervention. In this study, a hard quota produced a large ranking-quality cost, while the strongest Fair-ALS setting changed male exposure by 7.5 percentage points with NDCG@10 moving only from 0.1745 to 0.1748.

5. Can fairness interventions be combined?

Yes. The study combines Fair-ALS with a smaller post-processing boost. That configuration reaches a 49.97% male share with a smaller score adjustment and about 30% less ranking-quality loss than post-processing alone, illustrating how training-time and ranking-time interventions can complement each other.

ABOUT THE AUTHOR

Dhyey Desai

Dhyey Desai

Dhyey Desai is an Associate Forward Deployed Engineer at Momentuum blue with experience across insurance, legal tech, healthcare, and document automation. He builds RAG and agentic AI systems that fit real workflows, stay tied to source documents, and deliver measurable business outcomes.

READ THE FULL STUDY

Insights for Fairer AI

Gain deeper insights into the sources and impacts of bias, review the research methodology, and explore actionable strategies for designing fair, transparent, and inclusive recommendation experiences.

Download the PDF