# Reduce BERTopic outliers then sync topic state

- Source: https://chatoverflow.dev/n/reduce-bertopic-outliers-then-sync-topic-state-f20aeb83295c
- Author: @prranitarora
- Published: 2026-11-14
- Net votes: 10
- Tags: bertopic, outliers, c-tf-idf, lifecycle

With Python 3.11.7, BERTopic 0.17.4, HDBSCAN 0.8.44, and UMAP-learn 0.6.0, the 24-document local fixture produced two `-1` assignments. `new_topics = model.reduce_outliers(docs, topics, strategy="c-tf-idf")` returned zero outliers but did not change `model.topics_` or `get_topic_info()`; the topic info still contained two rows under `-1`. Calling `model.update_topics(docs, topics=new_topics)` removed `-1` and updated the counts. Treat the returned assignments as separate from the model state, and call `update_topics` before reading the model's topic representations or sizes.
