Anti-AIClone

Log date · Sun

Can FRAME find app screens with similar functions?

Feature-oriented retrieval can match screens across visual changes. A small hand-labelled example shows why appearance alone can mislead.

The answer first

Screens can be retrieved by function even when their colors and shapes differ, but results depend on the representation, and a match is not proof of copying. In our four fictional screens, a style-label search for a login screen ranked checkout first at 1.00; a function-label search ranked the other login screen first at 1.00.

Our comparison
CaseFinding or recommendation
Style-label retrievalcheckout_blue: 1.00; login_dark: 0.00
Function-label retrievallogin_dark: 1.00; checkout_blue: 0.20
Function links at 0.75The two login screens are linked

This is a Python comparison of hand-written labels, not a test of FRAME, a replication of the paper, or image recognition. We supplied the functional labels in advance, so the experiment does not show that the program can understand a screen on its own.

What the paper actually measures

At 19:39 UTC on 2026-08-09, arXiv received v1 of the paper, classified under cs.SE; its record says it was accepted at ICSME 2026. [1] The authors define semantic similarity in terms of shared supported features and discuss retrieval and clustering for tasks including UI design and testing. [2] Retrieval ranks candidates for a query screen; clustering groups a collection of screens by similarity.

FRAME represents component relationships as a graph and combines visual and lexical encoding with UI-specific geometric weighting and embedding propagation. Its abstract reports up to 13% higher retrieval MRR and up to 7.6 percentage points higher clustering accuracy than strong baselines across three benchmarks, with an ablation study supporting the components. [1] Those are maximum improvements reported by the authors, not gains guaranteed for every dataset. The paper does not study clone detection; our protection implications below are an inference.

How the four-screen comparison works

We assigned each screen one set of style labels and one set of function labels. The login screens have completely different style labels but identical function labels. Blue checkout shares its style with blue login, but shares only the submit function label. Dark search shares its style with dark login.

Our fictional screens and hand-written labels; these are the experiment inputs.
login_blue    style={blue, light, rounded}  function={account, password, submit}
login_dark    style={black, dark, square}   function={account, password, submit}
checkout_blue style={blue, light, rounded}  function={address, payment, submit}
search_dark   style={black, dark, square}   function={query, results, submit}

The script divides the size of the intersection by the size of the union; Python sets provide both operations. [3] Login and checkout each have three function labels, one in common and five in their union, giving 1/5. This simple score does not account for layout, component relationships, synonyms or interaction order.

Verbatim output; ties are sorted by name.
== style retrieval for login_blue ==
checkout_blue: 1.00
login_dark: 0.00
search_dark: 0.00
== style links at threshold 0.75 ==
checkout_blue -- login_blue
login_dark -- search_dark
== function retrieval for login_blue ==
login_dark: 1.00
checkout_blue: 0.20
search_dark: 0.20
== function links at threshold 0.75 ==
login_blue -- login_dark

Thresholds and review

We linked pairs scoring at least 0.75. Style labels produced two links; function labels produced one. These links are a simple pairwise grouping rule, not the paper’s clustering algorithm. Change the threshold, labels or examples and the result changes. In particular, submit appears in multiple functions and cannot establish that screens serve the same purpose.

For a real collection, label a set of screens covering versions, languages, states and functions, including confusing negative examples. Inspect retrieval order and grouping errors separately: missed relevant screens reduce recall, while false matches increase review work. Freeze the dataset and labelling rules before comparing methods; do not treat our 0.75 as a universal threshold.

Record how each screen was captured and its state: the same page before and after sign-in, an error message, or an empty list can contain different controls. Agree which changes still count as the same function, then have two reviewers independently assess disputed examples, record disagreements and refine the rules. Keep the dataset version, candidate lists and threshold for each run so that results can be compared after the UI changes. A single average score can conceal which kinds of screens failed.

Apply this to your own app

Start with an inventory of your own test screenshots, recording version, screen state and function; remove personal data and restrict access. Change the fictional labels in the example below to see how rankings and links change. The example does not read images.

Reproduce this comparison.
python3 --version
python3 - <<'PY'
# Synthetic, manually annotated screen descriptions; no images or inference model.
screens = {
    'login_blue': ({'blue', 'light', 'rounded'}, {'account', 'password', 'submit'}),
    'login_dark': ({'black', 'dark', 'square'}, {'account', 'password', 'submit'}),
    'checkout_blue': ({'blue', 'light', 'rounded'}, {'address', 'payment', 'submit'}),
    'search_dark': ({'black', 'dark', 'square'}, {'query', 'results', 'submit'}),
}

def similarity(a, b):
    return len(a & b) / len(a | b)

query = 'login_blue'
for channel, index in [('style', 0), ('function', 1)]:
    scores = [(name, similarity(screens[query][index], values[index]))
              for name, values in screens.items() if name != query]
    scores.sort(key=lambda pair: (-pair[1], pair[0]))
    print(f'== {channel} retrieval for {query} ==')
    for name, score in scores:
        print(f'{name}: {score:.2f}')
    edges = []
    names = sorted(screens)
    for i, left in enumerate(names):
        for right in names[i + 1:]:
            if similarity(screens[left][index], screens[right][index]) >= 0.75:
                edges.append(f'{left} -- {right}')
    print(f'== {channel} links at threshold 0.75 ==')
    print('\n'.join(edges) if edges else '(none)')
PY
Recommendations by goal
CaseFinding or recommendation
Evaluate retrievalCheck ranking and misses against labelled relevant and irrelevant screens.
Monitor similar appsUse matches as leads for human review alongside flows and release dates.
Protect business valueTreat UI flows as observable; execute and validate sensitive rules on the server.
Preserve design evidenceKeep dated designs, screenshots and release records.

These are engineering recommendations, not protection effects measured by our experiment. Similar screens may use common design patterns, so a score alone cannot establish origin or a legal conclusion. Code obfuscation does not make a UI invisible to its users; assess server-side rules, data and operational capabilities against your own threat model.

Your checklist

  • Record screen version, state and function; protect personal data in screenshots.
  • Build a labelled set with confusing negative examples.
  • Inspect retrieval ranking, misses and incorrect groups separately.
  • Verify sensitive rules run on the server.
  • Keep dated designs and release records.

Primary sources

All sources and reproduction status ↗