Optimization methods improve separating human and AI text with graphs

Optimization Techniques for Solving the Minimum Red--Blue Separating Set Problem with an Application to Human--AI Text Separation

Artificial Intelligence

Summary

This paper looks at a puzzle from geometry involving separating two groups of points using the fewest selectors. The authors devise several ways to solve this problem, including fast guesses and exact methods that can confirm the best answer. They apply their methods to tell apart human-written and AI-generated texts by analyzing word patterns and connections. Their best exact method often finds or proves the optimal solution and reveals interesting details about which words are key for telling the texts apart. This shows that combining different solving strategies helps both find answers and understand what makes human and AI texts distinct.

What this means in practice

Authors

Marko Djukanović, Staša Vujičić Stanković, Žiga Zebec, Christian Blum

Abstract

We study the so-called Minimum Red''Blue Separating Set Problem (MRBSSP) which arises from computational geometry. In particular, we propose a compact Set-Cover ILP formulation, safe preprocessing rules, a Greedy Randomized Adaptive Search Procedure (GRASP), and two exact approaches: one is based on Logic-Based Benders Decomposition (LBBD) approach, and the second represents a novel Branch-and-Benders-Cut (BBC) approach. These two exact approaches are compared to ILP--alongside GRASP and the Variable Neighborhood Search (VNS) from literature. Experiments on 250 random graphs with up to 500 vertices reveal complementary strengths: ILP yields the best feasible solutions, LBBD provides the strongest lower bounds and smallest mean optimality gap, and BBC certifies optimality most frequently. We further introduce an NLP application distinguishing human- and AI-generated texts through vocabulary-based graph features. On 42 instances, BBC achieves the smallest mean optimality gap, certifying 16 optima, while GRASP outperforms VNS. Structural analysis of optimal vocabulary separators identifies 113 mandatory and 151 replaceable features across 272 tests, highlighting substantial variability among optimal solutions. Overall, our results demonstrate the effectiveness of complementary optimization strategies and the interpretability of optimal vocabulary-based discrimination.