Given a group conversation, I want a measure to quantify the newness of a single…
- User
Given a group conversation, I want a measure to quantify the newness of a single contribution c.
To do so, I will use a sentence transformer to compute the semantic similarity between c and all earlier contributions separately. The similarity I'm interested in is the maximum of these.
Now, for the Newness measure, I want higher to be better. How can I get this?
- Assistant
Got it—you want a Newness score where higher means the contribution ccc is more novel compared to everything said before it. Right now:
You compute semantic similarity sim(c,ei)\text{sim}(c, e_i)sim(c,ei) between ccc and each earlier contribution eie_iei.
You take the maximum similarity S=maxisim(c,ei)S = \max_i \text{sim}(c, e_i)S=maxisim(c,ei).
But:
High SSS → ccc is similar to something earlier → less new.
Low SSS → ccc is different → more new.
So to make higher = better for newness, you just invert the similarity: Newness(c)=1−S\text{Newness}(c) = 1 - SNewness(c)=1−S assuming similarity is in [0,1][0,1][0,1].
If similarity = 1 (identical), newness = 0 → no novelty.
If similarity = 0 (totally different), newness = 1 → max novelty.
If your sentence transformer gives cosine similarity in [−1,1][-1,1][−1,1], you can first normalize: Snorm=S+12⇒Newness(c)=1−Snorm.S_{norm} = \frac{S + 1}{2} \quad \Rightarrow \quad \text{Newness}(c) = 1 - S_{norm}.Snorm=2S+1⇒Newness(c)=1−Snorm.
If you'd like, I can also show you how to make the measure less sensitive to small differences so it only rewards truly novel contributions. Do you want me to show you that version too?
- User
Yes. I use Cosine Similarity.
- Assistant
Perfect — cosine similarity gives values in [−1,1][-1,1][−1,1], so the normalization I mentioned works directly. But if you want less sensitivity so that only truly different contributions get high newness scores, you can apply a nonlinear transformation after normalizing. Here’s the step-by-step approach:
-
Normalize the cosine similarity Snorm=S+12so Snorm∈[0,1]S_{norm} = \frac{S + 1}{2} \quad \text{so } S_{norm} \in [0,1]Snorm=2S+1so Snorm∈[0,1]
-
Define basic Newness Newness(c)=1−Snorm\text{Newness}(c) = 1 - S_{norm}Newness(c)=1−Snorm
-
Add nonlinear scaling to reduce sensitivity You can use a power function or a sigmoid so small differences in similarity near 1 don’t drastically change newness:
Power scaling:
Newness(c)=(1−Snorm)α\text{Newness}(c) = (1 - S_{norm})^\alphaNewness(c)=(1−Snorm)α with α>1\alpha > 1α>1.
Larger α\alphaα → you only get high newness if similarity is very low.
Sigmoid scaling:
-
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.